:root{
    --color--gray: #3E3E3E;
    --color--orange: #FA8256;
    --color--orange-darker: #D86B44;
    --color--beige: #FFE5BC;
    --color--dark-brown: #6D5F49;
    --color--green: #9FE57A;
}

@font-face {
    font-family: winterSelfie;
    src: url(./assets/fonts/WinterSelfie.woff);
    font-weight: bold;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    color: var(--color--gray);
}

a {
    color: inherit;
    text-decoration: none;
}

html,
body {
    max-width: 100vw;
    background: #9CD3F2;
    background: radial-gradient(circle, rgba(156, 211, 242, 1) 0%, rgba(192, 232, 255, 1) 100%);
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

main{
    margin-left: 4%;
    margin-right: 4%;
}

/* main{
    max-width: 1200px;
    margin: 0 auto;
} */

h1, h2{
    font-family: winterSelfie;
}

/**** HEADER ***/

.page-header{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-left: 12%;
    padding-right: 12%;

    width: 100%;
    height: 80px;
    background-color: white;

}

.ph-buttons{
    display: flex;
    font-size: 1.25rem;
    gap: 32px;
}


/***** HERO BANNER ****/
.hero-banner{
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: calc(100dvh - 80px);

    /* margin-bottom: 10%; */

    /* background-color: rebeccapurple; */
}

.logo{
    width: clamp(260px, 100%, 500px);
}


/********* TRAILER BANNER *********/
.trailer-banner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15%;

    width: 100%;
    height: 600px;
    margin-bottom: 80%;
    /* background-color: rebeccapurple; */

}

.welcome{
    position: relative;
    width: 80%;
    height: fit-content;
}

.cloud--L{
    position: absolute;
    width: 150%;
    height: 170%;
    top: -30%;
    left: -30%;
}

.welcome__title{
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
}

.welcome__description{
    position: relative;
    margin-top: 16px;
    font-size: 1rem;
}

/**** TRAILER ***/
.cloud--M{
    position: absolute;
    width: 150%;
    height: 130%;
    top: 0%;
    left: -30%;
}

.trailer{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: fit-content;
}

.trailer__title-wrapper{
    position: relative;

    display: inline-block;
}

.trailer__title{
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2.25rem;
    margin-bottom: 16px;
    /* background: #F7EB1C;
    background: radial-gradient(circle, rgba(247, 235, 28, 1) 0%, rgba(118, 191, 67, 1) 100%); */
}

.trailer__title--reference{
    visibility: hidden;
    position: unset;
}

.trailer__title--stroke{
    -webkit-text-stroke: 4px white;
    z-index: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.trailer__title--fill{
    background: -webkit-linear-gradient(rgba(247, 235, 28, 1), rgba(118, 191, 67, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.trailer__iframe-wrapper{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: 4px solid white;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.trailer__iframe{
    border-radius: 20px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

/******* GAMEPLAY ******/
.gameplay-banner{

}

.gameplay__wrapper{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: fit-content;

    background-color: var(--color--beige);
    outline: 6px solid white;
    border-radius: 20px;
    padding: 15% 5%;
}

.gameplay__title{
    background-color: var(--color--orange);
    border-bottom: 8px solid var(--color--orange-darker);
    border-radius: 10px;
    color: white;
    position: absolute;

    font-size: 2.25rem;
    padding: 8px 24px;
    top: -34px;
}

.gameplay__games{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 32px;

}

.gameplay__game{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gameplay__game-title{
    font-size: 2rem;
    color: var(--color--dark-brown);
    margin-bottom: 16px;
}

.gameplay__iframe-wrapper{
    width: 100%;
    border-radius: 20px;

}

.gameplay__iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: 6px solid white;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/******** FOOTER *********/
footer{
    margin-top: 15%;
    background-color: var(--color--green);
    width: 100%;
    height: 80px;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    main{
        margin-left: 5%;
        margin-right: 5%;
    }

    .trailer-banner{
        align-items: flex-start;
        margin-bottom: 40%;
    }

    .welcome{
        width: 60%;
        margin-left: 10%;
        align-self: flex-start;
    }

    .trailer{
        width: 60%;
        margin-right: 10%;
        align-self: flex-end;
    }

    .gameplay-banner{
        width: 80%;
        margin: 0 auto;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .welcome{
        width: 40%;
    }

    .trailer{
        width: 45%;
    }

    .gameplay-banner{
        width: 100%;
        margin: 0 auto;
    }

    .gameplay__wrapper{
        padding: 6% 4%;
    }

    .gameplay__games{
        flex-direction: unset;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .logo{
        width: clamp(260px, 100%, 600px);
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .trailer-banner{
        height: auto;
        margin-bottom: 20%;
        flex-direction: unset;
    }

    .welcome{
        width: 35%;
    }

    .trailer{
        width: 35%;
        align-self: unset;
    }
}