*{
    font-family: 'Bebas Neue', sans-serif;
    margin: 0;
    color: white;
}

body{
    background-color: #404258;
}

.container{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header{
    margin-top: 50px;
    display: flex;
    gap: 10px;
    align-items: baseline;
    background-color: #474E68;
    border-radius: 5px;
    padding: 5px 15px 5px 5px;
}

.logo{
    font-size: 44px;
    border-radius: 5px;
    cursor: pointer;
}

.logo:hover, .recommendation-logo:hover{
    background-color: rgb(94, 102, 129);
    transition: 0.2s;
}

.logo:active, .recommendation-logo:active{
    transform: scale(0.95);
}

.title{
    font-size: 44px;
    margin: 0 auto 0 auto;
    letter-spacing: 2px;
}

.subheader{
    margin-top: 20px;
    letter-spacing: 2px;
    font-family: 'Arial Rounded MT Bold', Arial;
    text-align: center;
    padding: 10px;
}

.hook{
    margin-top: 50px;
    letter-spacing: 1px;
    font-family: 'Arial Rounded MT Bold', Arial;
    text-align: center;
    padding: 10px;
    font-size: 28px;
}

.mood-selection{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 70vw;
}

.mood-button{
    height: 50px;
    width: 200px;
    font-size: 28px;
    background-color: #5c5188;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

.mood-button:active, .nav-button:active, .change-mood-button:active, .nav-buttonB:active, .change-mood-buttonB:active{
    transform: scale(0.95);
}

.mood-button:hover, .nav-button:hover, .change-mood-button:hover, .nav-buttonB:hover, .change-mood-buttonB:hover{
    transition: 0.2s;
    background-color: #49296a;
}

.overlay{
    position: fixed;
    z-index: 1;
    height: 100%;
    width: 100%;
    background-color: #404258;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading{
    font-size: 26px;
    margin-top: 50px;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 5px 0 5px;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 30px;
  margin-top: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FF9BCA; /* Changed to #FF9BCA */
  box-shadow: 0 0 0 0 rgba(255, 155, 202, 0.25); /* Changed to RGBA for transparency */
  animation: l2 1.5s infinite linear;
  position: relative;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 155, 202, 0.25); /* Changed to RGBA for transparency */
  animation: inherit;
  animation-delay: -0.5s;
}

.loader:after {
  animation-delay: -1s;
}

@keyframes l2 {
    100% {box-shadow: 0 0 0 40px rgba(255, 155, 202, 0);} /* Changed to RGBA for transparency */
}

.recommendation-header{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60vw;
    background-color: #474E68;
    border-radius: 5px;
    padding: 5px;
}

.recommendation-title{
    font-size: 24px;
    margin: 0 auto 0 auto;
    letter-spacing: 2px;
}

.recommendation-logo{
    font-size: 32px;
    border-radius: 5px;
    cursor: pointer;
}

.nav-buttons{
    margin-top: 10px;
    display: none;
}

.nav-buttonB{
    height: 30px;
    width: 105px;
    font-size: 18px;
    background-color: #474E68;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.change-mood-buttonB{
    height: 30px;
    width: 105px;
    font-size: 18px;
    background-color: #474E68;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.ui-container{
    display: flex;
    gap: 20px;
}

.nav-button{
    margin-top: 35%;
    height: 50px;
    width: 125px;
    font-size: 24px;
    background-color: #474E68;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

.anime-card{
    margin-top: 25px;
    width: 40vw;
    background-color: #474E68;
    padding: 20px;
    border-radius: 5px;
}

.youtube-trailer{
    width: 100%;
    height: 22.5vw;
    border: none;
}

.title-container{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 5px;
    letter-spacing: 2px;
}

.anime-title{
    font-size: 32px;
}

.type-icon{
    font-size: 32px;
}

.anime-info{
    font-size: 28px;
    display: flex;
}

.year{
    margin-right: 10px;
}

.episode-number{
    opacity: 50%;
}

.genre-container{
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.genre{
    font-family: 'Arial Rounded MT Bold', Arial;
    font-weight: 600;
    padding: 2px 5px 2px 5px;
    color: #FF9BCA;
    border: 1px solid;
    border-radius: 15px;
    font-size: 16px;
}

.synopsis{
    font-family: 'Arial Rounded MT Bold', Arial;
    letter-spacing: 0.75px;
    margin-top: 12px;
    text-align: justify;
}

.score{
    margin-top: 10px;
    display: flex;
    align-items: baseline;
}

.star{
    font-size: 26px;
}

.rating{
    font-size: 24px;
}

.out-of-rating{
    font-size: 20px;
    opacity: 50%;
}

.change-mood-button{
    margin-top: 10px;
    margin-bottom: 20px;
    height: 50px;
    width: 125px;
    font-size: 24px;
    background-color: #474E68;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

@media (max-width: 768px){
    .recommendation-header{
        width: 90vw;
    }

    .logo{
        font-size: 32px;
    }

    .title{
        font-size: 32px;
    }

    .subheader{
        margin-top: 10px;
        font-size: 20px;
    }

    .hook{
        margin: 0;
        font-size: 18px;
    }

    .mood-selection{
        max-width: 90vw;
        gap: 10px;
    }

    .mood-button{
        height: 30px;
        width: 100px;
        font-size: 16px;
        border-radius: 10px;
    }

    .nav-button{
        display: none;
    }

    .nav-buttons{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .anime-card{
        margin-top: 10px;
        width: 85vw;
    }

    .youtube-trailer{
        height: 45vh;
    }

    .anime-title{
        font-size: 26px;
    }

    .type-icon{
        font-size: 26px;
    }

    .anime-info{
        font-size: 20px;
    }

    .genre{
        font-size: 14px;
    }

    .synopsis{
        font-size: 12px;
    }

    .rating{
        font-size: 20px;
    }

    .out-of-rating{
        font-size: 18px;
    }

    .change-mood-button{
        display: none;
    }
}

.zoro{
    margin: 10% 0 20px 0;
}
