@font-face {
    font-family: 'Quicksand';
    src: url('/css/fonts/Quicksand-Medium.ttf');
}

@font-face {
    font-family: 'Montserrat';
    src: url('/css/fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: 'Montserrat Alternates';
    src: url('/css/fonts/MontserratAlternates-Regular.ttf');
}

:root {
    --image-count: 4;
}

body {
    background-color: #1f1f1f;
}

.closed-banner {
    display: none;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 25px;
    color: #fff;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
    font-size: 24px;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.salon-reel {
    cursor: pointer;
    overflow: hidden;
    display: flex;
    position: absolute;
    top: 110vh;
    background-color: #fff;
    box-shadow: 0px 0px 50px 15px #000;
    height: 50vh;
    transition: 500ms;
    overflow-x: hidden;
}

.salon-img {
    position: relative;
    display: block;
    height: 100%;
    width: calc(100vw / var(--image-count));
    object-fit: cover;
    animation: reel 20s linear infinite;
}

@keyframes reel {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(calc(-100vw / var(--image-count)) * 7));
    }
}

.background {
    top: 0;
    left: 0;
    position: fixed;
    background: url("../images/background.png");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: auto 120%;
    width: 100%;
    height: 100vh;
    z-index: -999;
    opacity: 0.5;
    animation: animatedBackground 400s linear infinite;
}

@keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px -10000px;
    }
}

.overlay {
    position: absolute;
    width: 70%;
    height: 85vh;
    background-color: #fff;
    right: 0;
    top: 0;
    z-index: -10;
    box-shadow: 0px 0px 40px 3px #000;
}

.home-img {
    position: absolute;
    width: 400px;
    height: 550px;
    top: 20%;
    margin-left: 15%;
    z-index: 50;
    object-fit: cover;
    box-shadow: 0px 0px 50px 1px #000;
    transform: scale(1);
    transition: 500ms;
}

.home-img:hover {
    transform: scale(1.05);
}

.title-wrapper {
    position: absolute;
    left: 20vw;
    top: 20vh;
    width: 40vw;
    height: 60vh;
}

.home-title {
    font-family: 'Montserrat';
    position: absolute;
    font-size: 64px;
    width: 400px;
    top: 15%;
    left: 0%;
    color: #1f1f1f;
}

.home-desc {
    position: absolute;
    font-size: 22px;
    top: 45%;
    left: 0;
    width: 95%;
    color: #1f1f1f;
}

.home-btn {
    cursor: pointer;
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 100px;
    height: 50px;
    background-color: #3cc7ad;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
    transition: 0.3s;
    transform: translateX(-50%);
}

.home-btn:hover {
    box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.3);
}

.banner-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999999;
    background-color: rgba(0,0,0,0.3);
}

.bg-disappear {
    animation: bg-disappear forwards ease-in-out 1s;
}

.banner-25 {
    position: fixed;
    width: 80%;
    height: 100%;
    left: 10%;
    top: 0;
    z-index: 999999;
    object-fit: contain;
    scale: 0;
    transition: 1s ease-in-out;
}

@keyframes bg-disappear {
    0% {
        background-color: rgba(0,0,0,0.3);
    } 100% {
        background-color: rgba(0,0,0,0);
        display: none;
    }
} 

@media screen and (max-width: 1080px) {
    :root {
        --image-count: 3;
    }

    .home-title {
        top: 5%;
    }

    .home-desc {
        top: 35%;
        font-size: 18px;
    }

    .home-img {
        top: 15%;
        width: 300px;
        height: 600px;
        margin-left: 5vw;
    }
}

@media screen and (max-width: 720px) {

    :root {
        --image-count: 2;
    }

    .home-desc {
        top: 35%;
        font-size: 17px;
    }

    .home-img {
        display: none;
    }
    .title-wrapper {
        left: 50px;
        width: 55vw;
    }
    .overlay {
        width: 80%;
    }
    .home-title {
        top: 5%;
        width: 100%;
        font-size: 58px;
    }
}

@media screen and (max-width: 450px) {
    .home-title {
        font-size: 42px;
    }
    .home-desc {
        top: 30%;
        font-size: 14px;
    }
}

@media screen and (max-height: 740px) {
    .home-title {
        top: 0%;
        font-size: 40px;
    }
    .home-desc {
        top: 25%;
    }
    .home-btn {
        bottom: 1%
    }
}
