* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
:root {
    --bg-color: #fff;
    --second-bg-color: #fff;
    --text-color: #000;
    --white-text: #fff;
    /* --main-color: #e02b20; */
    --main-color: #944324;
    --small-p-tag: 2rem;
    --large-p-tag: 2.6rem;
    /* --medium-h2-font: 3.6rem;
    --large-h2-font:5.6rem;
    --x-large-h2-font: 8.6rem;
    --large-screen-text: 4.6rem; */
}
html {
    font-size: 62.5%; 
    overflow-x: hidden;
}
body {
    /* background: var(--bg-color); */
    color: var(--text-color);
}

label {
    color: white;
}

.hero {
    width: 100%;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

.hero .carousel {
    width: 125px;
    margin: 100px auto;
    overflow: visible;
}

.carousel img {
    -webkit-box-reflect: below 20px linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    height: 200px;
}

.forms {
    display: flex; 
    justify-content:center; 
    align-items:center; 
    flex-direction:column; 
    gap: 1.5rem; 
    border-radius:.5rem; 
    position:relative; 
    z-index:1000; 
    width: 350px;
}

.forms-input {
    width: 300px;
    height: 25px;
    border-radius: .5rem;
}

.forms-button {
    width: 50%;
}

.forms-button:hover {
    cursor: pointer;
}

textarea {
    resize: none;
}

#admin-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #caa394;
    width: 80vw;
    margin: 5rem auto 0 auto;
    /* padding: 5rem; */
    border: 1px solid black;
    border-radius: 20px;
}
h2 {
    font-size: var(--medium-h2-font);
}
.reviews-section {
    height: 70vh;
    /* height: 100vh; */
}
/* section {
    height: auto;
    padding: 16rem 9% 2rem !important;
} */
.img-slider-sec-height h2{
    margin-top: 20px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #000;
    padding: 2rem 9%;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.header.sticky {
    border-bottom: .1rem solid rgba(0,0,0, .2);
}
.header a h2 {
    color: #000;
}
.header a h2:hover {
    cursor: pointer;
    /* color: var(--main-color); */
}
.logo {
    height: 100px;
}
.logo:hover {
    cursor: pointer;
}
.navbar a {
    font-size: 1.5rem;
    /* color: var(--text-color); */
    margin-left: 1rem;
    transition: .3s;
}
.navbar a:hover,
.navbar a.active {
    /* color: var(--main-color); */
    opacity: .6;
}
#menu-icon {
    font-size: 3.6;
    color: var(--text-color);
    display: none;
}
.home {
    display: flex;
    justify-content: center;
    align-items: center;
}
#home-overlay {
    height: 100%;
    width: 100vw;
    background-color: #000;
    position:absolute;
    z-index: 3;
    opacity: .7;
}
.home-content {
    padding-top: 80px;
    position: relative;
    z-index: 3;
    padding-left:20px;
}
.home-img img {
    width: 35vw;
    animation: floatImage 4s ease-in-out infinite;
}
@keyframes floatImage {
    0% {
        transform: translateY();
    }
    50% {
        /* transform: translateY(-2.4rem); */
        transform: translateY(-2.4rem);
    }
    100% {
        transform: translateY();
    }
}
.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}
#contact {
    /* background-image: url("../images/randl27.png"); */
    /* background-image: url("../barbershop_bkgd.jpg"); */
    background-image: url("../images/randl4.jpg");
    /* background-color: #cccccc; */
    /* filter: brightness(100%); */
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
#contact form {
    opacity: .8;
}
/* .home {
    background-image: url("../images/randl28.png"); */
    /* background-image: url("../barbershop_bkgd.jpg"); */
    /* background-color: #cccccc; */
    /* filter: brightness(70%); */
    /* height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  } */
  .home-content {
    width: 100%;
  }

.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}
/* span {
    color: var(--main-color);
} */
.home-content h1 {
    font-size: 7.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-content p {
    font-size: 2.6rem;
    color: var(--white-text);
}
.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid black;
    border-radius: 50%;
    font-size: 2rem;
    color: #000;
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}
/* .social-media a:hover {
    background: var(--main-color);
    color: #fff;
    box-shadow: 0 0 1rem var(--main-color);
} */
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    /* background: var(--main-color); */
    border-radius: 4rem;
    /* border: 1px solid #fff; */
    /* box-shadow: 0 0 1rem var(--main-color); */
    font-size: 1.6rem;
    color: #111;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}
/* .btn:hover {
    box-shadow: none;
} */
/**** Popular Styles ********/
/* #styles {
    
    background-color: blue;
    padding-top: 200px;
} */
.rotate-img-heading {
    margin-top: 100px;
    margin-bottom: 150px;
}
.slider-heading {
    height: 10vh;
}
.reviews-container {
    /* height: 70vh; */
    display: grid;
    place-items: center;
    overflow: hidden;
}
#reviews-container {
    /* height: 70vh; */
    display: grid;
    place-items: center;
    overflow: hidden;
}
#reviews-slider {
    /* margin-top: 30px;
    margin-bottom: 60px; */
    /* margin-top: 40px; */
    overflow: hidden;
}
.slider-height {
    height: 490px;
    margin: auto;
    position: relative;
    /* width: 90%; */
    width: 100vw;
    display: grid;
    place-items: center;
}
.slider-heading {
    /* height: 10vh; */
    height: 100vh;
    /* padding-top: 100px; */
    position: relative;
}
.reviews-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    width: 50vw;
    height: auto;
    font-size: 1.6rem;
    border: 1px solid black;
    border-radius: 10px;
    margin: 0 10px;
    background-color: #000;
    color: white;
}
.slider {
    height: 350px;
    margin: auto;
    position: relative;
    /* width: 90%; */
    width: 100vw;
    display: grid;
    place-items: center;
}
.slide-track {
    display: flex;
    width: calc(25vw * 12);
    /* width: calc(250px * 12); */
    animation: scroll 40s linear infinite;
}
.slide-track:hover {
    animation-play-state: paused;
}

/******* ENABLE AUTO SCROLL *********/
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* transform: translateX(calc(-250px * 6)); */
        /* transform: translateX(calc(-25vw * 6)); */
        transform: translateX(calc(-25vw * 6));
    }
}
.slide {
    /* height: 200px;
    width: 250px; */
    height: auto;
    width: 25vw;
    display: flex;
    align-items: center;
    padding: 15px;
    /*** To make the image move on the Z axis(depth), we need to add to it's container (slide) a perspective ****/
    perspective: 100px;
}
.slide img {
    width: 100%;
    border-radius: 10px;
    transition: transform 1s;
}
.slide img:hover {
    border-radius: 10px;
    transform: translateZ(20px);
    
}

/**** GRADIENT SHADOWS ****/
.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: '';
    height: 100%;
    position: absolute;
    /* width: 15%; */
    width: 5%;
    z-index: 2;
}
.slider::before {
    left: 0;
    top: 0;
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
/******** End Scroll **********/

.images img {
    height: 100%;
    width: 100%;
}
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 10vh;
    margin-bottom: 8vh;
    /* height: 100vh; */
    background: var(--second-bg-color);
}
.about-img img {
    max-height: 60vh;
}
.heading {
    text-align: center;
    font-size: 4.5rem;
}
.about {
    overflow: hidden;
}
.about-content a {
    color: var(--main-color);
}
.about-content h2 {
    text-align: left;
    line-height: 1.2;
    color: black;
}
.about-content h3 {
    font-size: 2.6rem;
    color: black;
}
.about-content p {
    font-size: var(--large-p-tag);
    margin: 2rem 0 3rem;
    color: black;
}
/* .services {
    margin-top: 20vh;
} */
.services h2 {
    margin-bottom: 5rem;
}
.services-includes {
    text-align: center;
    margin-bottom: 7rem;
    font-size: var(--small-p-tag);
    font-style: italic;
    font-weight: 600;
}
.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius:2rem;
    text-align: center;
    /* border: .2rem solid #111; */
    transition: .5s ease;
}
.services-container .services-box:hover {
    border-color: #111;
    transform: scale(1.02);
}
.services-container .services-box a:hover {
    cursor: pointer;
}
.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}
.services-box h3 {
    font-size: 2.6rem;
}
.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.portfolio {
    background: #000;
    padding-bottom: 10rem;
}
.portfolio h2 {
    margin-bottom: 4rem;
    color: #fff;
}
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 20vh;
    place-items: center;
}
.portfolio-container .portfolio-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--main-color);
    /* box-shadow: 0 0 1rem var(--bg-color); */
    overflow: hidden;
    display: flex;
    height: 300px;
    width: 300px;
    border-radius: 50%;
}
.portfolio-box img {
    width: 100%;
    height: 300px;
    transition: .5s ease;
}
.portfolio-box:hover img {
    transform: scale(1.1);
}
.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 400px; */
    height: 300px;
    background: linear-gradient(rgba(0,0,0, .1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
}
.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
}
.portfolio-layer h4 {
    font-size: 3rem;
    color: var(--white-text);
}
.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}
.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.8rem;
    /* width: 5rem;
    height: 5rem; */
    background: var(--text-color);
    border-radius: 4rem;
}
.portfolio-layer a i {
    font-size: 2rem;
    color: var(--second-bg-color);
}
.contact {
    background:#000;
}
.contact h2 {
    margin-bottom: 3rem;
    color: var(--white-text);
}
.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea {
    width: 98%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
}
.contact form .input-box input {
    width: 48%;
    margin:  5px;
}
.contact form textarea {
    resize: none;
}
.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.contact-info {
    color: #000;
    padding: 50px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
    text-align: center;
}
.contact-info h3 br {
    text-align: center;
    color: #000;
    font-size: var(--large-p-tag);
}
#footer-copyright {
    text-align: center;
    font-size: var(--small-p-tag);
}
.footer-text, .footer-text a {
    font-size: 2rem;
    color: #000;
}
.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items:center ;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}
/* .footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
} */
.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/* Break points */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    /***** Image Scroll *********/
    .slide-track {
        display: flex;
        width: calc(33vw * 12);
        /* width: calc(250px * 12); */
        animation: scroll 40s linear infinite;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    
    /******* ENABLE AUTO SCROLL *********/
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            /* transform: translateX(calc(-250px * 6)); */
            transform: translateX(calc(-33vw * 6));
        }
    }
    .slide {
        /* height: 200px;
        width: 250px; */
        height: auto;
        width: 33vw;
        display: flex;
        align-items: center;
        padding: 15px;
        /*** To make the image move on the Z axis(depth), we need to add to it's container (slide) a perspective ****/
        perspective: 100px;
    }
}

@media (max-width: 1035px) {
    #menu-icon {
        display: block;
        font-size: 3rem;
    }

    .social-media a {
        height: 3rem;
        width: 3rem;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0, .2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0, .2);
        display: none;
        z-index: 999999999999999999;
    }
    .navbar.active {
        display: block;
    }
    .navbar a {
        display: block;
        font-size: 16px;
        margin: 2rem 0;
    }
    /* .navbar a:hover {
        background: var(--main-color);
        color: #fff;
    } */
}

@media (min-width: 1024px) {
    #reviews {
        height: 50vh;
    }
    .hero .carousel img {
        height: 300px;
    }
}

@media (max-width: 991px) {
    header {
        padding: 2rem 3%;
    }
    /* section {
        padding: 10rem 3% 2rem;
    } */

    .services {
        padding-bottom: 7rem;
    }
    .portfolio {
        padding-bottom: 7rem;
    }
    .contact {
        min-height: auto;
    }
    .contact-info {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        width: 80vw;
        margin: 0 auto;
    }
    .contact-info h3 {
        text-align: center;
        
    }
    .footer {
        padding: 2rem 3%;
    }
    /***** Image Scroll *********/
    .slide-track {
        display: flex;
        width: calc(45vw * 12);
        /* width: calc(250px * 12); */
        animation: scroll 40s linear infinite;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    
    /******* ENABLE AUTO SCROLL *********/
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            /* transform: translateX(calc(-250px * 6)); */
            transform: translateX(calc(-45vw * 6));
        }
    }
    .slide {
        /* height: 200px;
        width: 250px; */
        height: auto;
        width: 45vw;
        display: flex;
        align-items: center;
        padding: 15px;
        /*** To make the image move on the Z axis(depth), we need to add to it's container (slide) a perspective ****/
        perspective: 100px;
    }
}
@media (max-width: 768px) {
    .hero .carousel {
        width: 150px;
        margin: 30px auto;
    }
    .home {
        flex-direction: column;
        /* webkit */
        -ms-flex-direction: column;
    }
    .home-content h3 {
        font-size: 2.6rem;
    }
    .home-content h1 {
        font-size: 5rem;
    }
    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }
    .about {
        flex-direction: column-reverse;
        margin-top: 130px;
        padding: 0 10px;
    }
    .about img {
        width: 70vw;
        margin-top: 4rem;
    }
    .services h2 {
        margin-bottom: 3rem;
    }
    .portfolio h2 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-container .portfolio-box {
        height: 200px;
        width: 200px;
}
.portfolio-box .portfolio-layer {
    height: 200px;
}

}
@media (max-width: 617px) {
    .portfolio-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .hero {
        height: 400px;
    }

    .hero .carousel {
        width: 90px;
        margin: 60px auto;
    }

    .hero .carousel img {
        height: 100px;
    }
    .home-content {
        width: 95vw;
      }
    .contact form .input-box input {
        width: 100%;
    }
    /***** Reviews Cards Scroll ******/
    .reviews-card {
        width: 90vw;
    }
    /***** Image Scroll *********/
    .slide-track {
        display: flex;
        width: calc(90vw * 12);
        /* width: calc(250px * 12); */
        animation: scroll 40s linear infinite;
    }
    .slide-track:hover {
        animation-play-state: paused;
    }
    
    /******* ENABLE AUTO SCROLL *********/
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            /* transform: translateX(calc(-250px * 6)); */
            transform: translateX(calc(-90vw * 6));
        }
    }
    .slide {
        /* height: 200px;
        width: 250px; */
        height: auto;
        width: 90vw;
        display: flex;
        align-items: center;
        padding: 15px;
        /*** To make the image move on the Z axis(depth), we need to add to it's container (slide) a perspective ****/
        perspective: 100px;
    }
    .forms {
        gap: 1rem; 
        width: 80vw;
    }
    
    .forms-input {
        width: 60vw;
        height: 25px;
        border-radius: .5rem;
    }
    
    .forms-button {
        width: 30vw;
    }
}

/* MOBILE STYLES */

@media (max-width: 365px) {
    /* #reviews {
        height: 100vh;
    } */
    .home-img img {
        width: 90vw;
    }
    .about-img img {
        width: 90vw;
    }
    .footer {
        flex-direction: column-reverse ;
        /* webkit */
        -ms-flex-direction: column-reverse;
    }
    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 320px) {
    #reviews {
        margin-bottom: 0px;
    }
}
    



