@media screen and (min-width: 920px) {
    .homepage {
        display: flex;
        min-height: 100vh;
        padding-top: 1%;
    }
}

/* ================================================== */
/* ===================== HERO ====================== */
/* ================================================== */

.hero {
    position: relative;
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.hero h2 {
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3vw;
    line-height: 6rem;
    white-space: nowrap;
}

.hero h3 {
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin: 1rem 0;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 4rem;
}


.flip-horizontal {
    display: inline-block;
    transform: scale(-1, 1);
}

.flip-vertical {
    display: inline-block;
    transform: scale(1, -1) translateY(4.5px);
}

.homepage-cover {
    right: 200%;
    display: block;
    position: absolute;
    /* border: 2px solid yellow; */
    height: 80%;
    z-index: 3;
    filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.3));
}


/* ================================================== */
/* ===================== VINYL ====================== */
/* ================================================== */


.homepage-vinyl {
    /*     border: 3px solid blue; */
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.hero__content button {
    border-radius: 100vmax;
    border: 3px solid var(--main-white);
    background: none;
    font-size: 1.4rem;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    padding: .7rem 2.5rem;
    margin: 1.5rem 0;
    cursor: pointer;
    transition: ease-out .2s;
}

.hero__content button:hover {
    background-color: white;
    color: black;
    transition: ease-out .3s;
}

.hero__content button:hover:active {
    filter: invert(1);
}

.hero__content button:focus {
    outline: none;
}

.home-vinyl-frame {
    /*     z-index: -2; */
    width: 100%;
    display: flex;
    justify-content: center;
}


#home-vinyl {
    width: 90%;
    position: static;
    transition: ease-out all .5s;
    z-index: -999;
    overflow: hidden;
}

#home-vinyl:hover {
    margin-bottom: 30px;
    transition: ease-out all .8s;
}



/* ================================================== */
/* =================== ANIMATIONS =================== */
/* ================================================== */


.--rotate {
    animation: rotation 2.8s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
    overflow: hidden;
}

.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1.5s;

    animation-fill-mode: both;
}


@keyframes slideInLeft {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.animate__slideInLeft {
    -webkit-animation-name: slideInLeft;
    animation-name: slideInLeft;
}


.--slide-right {
    animation: slide-left 3s linear;
    animation-fill-mode: forwards;
}

@keyframes slide-left {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}


.--game-transition {
    animation: game-transition 3s ease-in-out forwards;
}

@keyframes game-transition {
    from {
        right: 100%;
    } 

    to {
        right: -195%;
    }
}

.--vinyl-disappear {
    animation: vinyl-disappear .5s linear forwards;
}

@keyframes vinyl-disappear {
    from {
        transform: translateX(0%);
    } 

    to {
        transform: translateX(120%);
    }
}




/* ================================================== */
/* ====================== MENU ====================== */
/* ================================================== */

.overlay-menu {
    z-index: 3;
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(19, 19, 19, 0.692);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);

}

.overlay-menu__close {
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    background: #000;
}

.overlay-menu__close:hover {
    background: rgb(36, 36, 36);
}

.overlay-menu__frame {
    border: 1px solid #eee;
    padding: 3rem 4.7rem;
    backdrop-filter: brightness(0%) opacity(100%);
    position: relative;
}

.overlay-menu__frame ul li a, form .anchor {
    font-family: "Data Trash";
    font-size: 5rem;
    cursor: pointer;
    position: relative;
    padding: 0 10px;
    transition: 0.6s;
    /*     line-height: 6rem; */
}

.overlay-menu__frame p{
    font-family: "Data Trash";
    color: aquamarine;
}

.overlay-menu__frame li a:hover, .anchor:hover {
    color: rgb(226, 224, 204);

}

.overlay-menu__frame li a:before,
.overlay-menu__frame li a:after,
form .anchor:before,
form .anchor:after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    top: 50%;
    margin-top: -0.5px;
    background: #ffffff;
}

.overlay-menu__frame li a:before, form .anchor:before {
    left: -2.5px;
}

.overlay-menu__frame li a::after, form .anchor::after{
    right: 2.5px;
    background: #ffffff;
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.overlay-menu__frame li a:hover:before, form .anchor:hover:before{
    background: #ffffff;
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.overlay-menu__frame li a:hover:after, form .anchor:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
    color: #ffffff;
}


/* ==================================================
                       My Code Start
===================================================*/




.--active {
    width: 29rem !important;
}

.vinyl-carrousel__item img {
    max-width: 40%;
}
/* ==================================================
                       My Code End
===================================================*/



/* ================================================== */
/* ================== RESPONSIVE ==================== */
/* ================================================== */


@media screen and (min-width: 1300px) {
    #home-vinyl {
        width: 79%;
    }
}

@media screen and (max-width: 1280px) {

    .hero {
        width: 60%;
    }

    .hero h3 {
        font-size: 1.5rem;
    }

    .homepage-vinyl {
        width: 40%;
    }

    .home-vinyl-frame {
        z-index: -2;
        height: 25rem;
        width: 25rem;
        /*height: 40rem;
        width: 40rem;*/
    }

    #home-vinyl {
        width: auto;
        height: 100%;
        /*margin-right: -11rem;*/
    }
}

@media screen and (max-width: 920px) {

    .homepage {
        display: grid;
        min-height: 100vh;
        padding-top: 20%;
        padding-bottom: 20%;
    }

    .overlay-menu__frame li>a {
        font-size: 3rem;
    }

    .overlay-menu__frame {
        padding: 2rem;
    }

    .hero h2 {
        line-height: 3rem;
    }

    .hero h3 {
        font-size: 2.2rem;
    }

    .hero {
        display: block;
        min-height: fit-content;
        order: 2;
    }

    .hero__content {
        padding: 2rem;
    }

    .homepage-vinyl {
        display: block;
        height: 300px;
        width: 300px;
        margin: auto;
        order: 1;
    }
    .home-vinyl-frame {
        display: block;
        width: 100%;
        height: 100%;
    }
    #home-vinyl {
        width: 100%;
        margin: auto;
    }

    #play-btn {
        align-self: center;
    }

}

@media screen and (max-width: 600px) {
    .overlay-menu__frame li>a, .anchor {
        font-size: 2.2rem;
    }
}


@media screen and (max-height: 350px) {

    .hero__content {
        padding: 4rem 2rem;
        margin: 3rem 0;
    }
}