@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* GENERICS */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

li {
    list-style-type: none;
}

img {
    width: 100%;
    height: 100%;
}

#landing {
    background-color: rgba(115, 66, 214, 0.1);
    /* background: url(./assets/stuff-2.png);
    background-size: cover;
    background-position:top;
    background-attachment: fixed;
    background-repeat: no-repeat; */
}

.purple {
    color: #7342d6;
}

button {
    cursor: pointer;
}

button:active {
    transform: translateY(1px);
}

h1 {
    font-size: 32px;
    color: black;
}

p {
    line-height: 1.5;
}

.no-cursor {
    cursor: not-allowed;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* NAVIGATION BAR */

nav {
    height: 80px;

    display: flex;
}

#navContainer {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo {
    width: 160px;

}

.logoImg {
    width: 100%;
}

.nav__links {
    display: flex;
}

.nav__link {
    margin-left: 16px;
    padding: 8px;

    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #7342d6;
}

.nav__link:hover {
    text-decoration: underline;
}

.nav__link--primary {
    border: 2px solid #7342d6;
    border-radius: 4px;
}

.nav__link--primary:hover {
    text-decoration: none;
}


/* HEADER */

header {
    height: calc(100vh - 80px);
}

#header__container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#headerImage {
    width: 100%;
    height: 100%;
    max-height: calc((100vh - 80px) / 2);
    padding: 20px;
    z-index: 50;
}

#header__description {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

#header__description--prompt {
    margin-bottom: 50px;
    text-align: center;
}

#headerButton {
    padding: 12px 24px;
    border: none;

    font-size: 30px;
    background-color: #7342d6;
    color: white;
    border-radius: 6px;
    transition: smooth;
}

#headerButton:hover {
    opacity: 0.9;
} 

/* HIGHLIGHTS */

#highlights {

    width: 100%;
    height: 100%;
    position: relative;
}

#highlights:before,
#highlights:after {
    background: url('./assets/wave.svg');
    content: "";
    position: absolute;
    width: 101vw;
    height: 12vw;
    left: 0;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
}

#highlights:before {
    top: 1px;
    transform: translateY(-100%);
}

#highlights:after {
    bottom: 1px;
    transform: translateY(100%) rotate(180deg);
}

.container {
    padding: 56px 0;
}

.row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section__title {
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.highlight__boxes {
    display: flex;
}

.highlight__box {
    padding: 0 24px;
    width: calc(100% / 3);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight__image {
    width: 100px;
    height: 100px;
    border: 2px solid #7342d6;
    border-radius: 4px;
    margin-bottom: 24px;

    font-size: 32px;
    color: #7342d6;

    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight__subtitle {
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.highlight__para {
    text-align: center;
    max-width: 240px;
}

/* POPULAR */

#popular {
    padding-top: 8vw;
    background-color: rgba(115,66,214,0.1);
    z-index: 51;
}

.anime__list {
    display: flex;
    justify-content: space-around;

}

.anime {
    padding: 24px;
    width: calc(100%/4);
}

.anime__figure {
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.anime__img {
    max-height: 350px;
    width: 100%;
    transition: all 300ms ease;
    cursor: no-drop;
}

.anime:hover .anime__img{
    transform: scale(1.03);
}

.anime__title {
    text-align: center;
    margin-bottom: 8px;
}

.anime__title:hover {
    text-decoration: underline;
    cursor: no-drop;
}

.anime__rating {
    text-align: center;
}

.fas.fa-star,
.fas.fa-star-half-alt {
    margin-bottom: 8px;
    color: #fabf2a;
}

/* UPCOMING */

.anime__wrap {
    flex-wrap: wrap;
}

.anime__release {
    text-align: center;
}

/* EXPLORE */

#explore {
    background-color: rgba(115,66,214,0.1);
}

.explore__container {
    display: flex;
    flex-direction: column;
}

.explore__button {
    text-decoration: none;
    color: white;
    background-color: #7342d6;
    padding: 8px 16px;
    border: none;
    border-radius: 2px;
    cursor: pointer;

}

button {
    border: 0;
}

.explore__button:hover {
    opacity: 0.9;
}

/* footer */

footer {
    background-color: #242424;
}

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

.footer__logo {
    width: 160px;
    display: flex;
}

.footer__img {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(1);
}

.footer__links {
    display: flex;
    margin: 20px 0 24px 0;
}

.footer__link,
.footer__copyright {
    color: white;
}

.footer__link {
    padding: 0 8px;
    text-decoration: none;
}