@font-face {
    font-family: Exo2;
    src: url('./src/Exo2-Regular.otf');
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----------HOMEPAGE---------- */

.container {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    height: 100svh;
    width: 100vw;
    /* background-color: white; */
    background-image: url('./img/earthRender-7-11-23.jpg');
    background-size: cover;
    overflow-y: auto;
}

#navbar-dropdown{
    position: absolute;
    top: 10vh;
    font-family: 'Exo2';
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
}

#navbar-dropdown a {
    width: 100%;
    display: flex;
    justify-content: center;
}

#home, #products, #games, #music{
    display: flex;
    justify-content: center;
    margin: 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px 0px whitesmoke;
    width: 6.5rem;
}

#nav-section{
    width: 100vw;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    border: 1px solid white;
}

#nav-toggle img{
    width: 25%;
}

#logo {
    max-height: 9vh;
}

.spacer{
    width: 50px;
}

nav a{
    text-decoration: none;
    color: white;
}

#hero-image{
    max-height: 70vh;
}

#social-media{
    height: 10vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    border: 1px solid white;
}

.social-media-icon img{
    height: 3vh;
    margin: 0 2vw;
}

.apple-music img,
.patreon img{
    background-color: white;
    border-radius: 0.5em;
}

#quote{
    width: 80%;
    color: white;
    background-color: black;
    font-family: 'Exo2';
    text-align: center;
    border: 2px solid white;
    padding: 1em;
    margin: 1em;
}

iframe{
    margin-top: 2vh;
}

#music-title{
    font-family: 'Exo2';
    color: white;
    border-bottom: 1px solid white;
    margin-top: 5vh;
}

#product-container{
    display: flex;
    flex-direction: column;
    height: 50vh;
    justify-content: center;
    text-align: center;
    border: 1px solid white;
    background-color: black;
    margin-top: 10vh;
}

#productImg{
    max-width: 80vw;
    max-height: 80vh;
}

.product-title{
    color: white;
    border-bottom: 1px solid white;
}


/* MUSIC SECTION */
#music-container{
    overflow-y: auto;
}

.music-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    padding: 5%;
}

.music-item img{
    max-width: 80vw;
}

.music-item h2{
    color: white;
    font-family: "Exo2";
    padding: 10px;
    font-size: medium;
}

.music-item a {
    width: 15vw;
    display: flex;
    justify-content: center;
    background-color: white;
    text-decoration: none;
    border-radius: 2px;
}

/* GAMES SECTION */

#games-container{
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: black;
    /* overflow-y: auto; */
}

.game-item h1{
    color: white;
    font-family: "Exo2";
}

#game-icon{
    width: 80%;
    height: auto;
    border-radius: 10%;
}

/*carousel*/

.image-carousel{
    padding: 1em 0;
}

.carousel-img{
    max-width: 80vw;
    max-height: 60vh;
}

.loader-bar{
    background-color: white;
    height: 5px;
    width: 1%;
}

.animate-loader-bar{
    animation-duration: 4.9s;
    animation-name: slidein;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}

@keyframes slidein{
    from{
        width: 1%;
    }
    to {
        width: 100%;
    }
}

/* ATTATCHABLE CLASSES */

.flex{
    display: flex;
}
.hide{
    display: none;
}
.vertical-overflow{
    overflow-y: auto;
}

/* HOME PAGE ACTION BUTTONS */
.call-to-action{
    width: 80%;
    color: white;
    background-color: rgb(37, 35, 35);
    font-family: 'Exo2';
    text-align: center;
    padding: 1em;
    margin: 1em;
    border-radius: 0.5em;
}

.call-to-action a{
    text-decoration: none;
    color: white;
}

.call-to-action a div{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-to-action a div img{
    width: 50px;
    height: 50px;
    border-radius: 0.5em;
}

@media screen and (min-width: 1048px){
    .call-to-action{
        display: none;
    }
}