/* ======= HEADER ======= */

header {
    position: absolute;
    padding: 6vh 10vw;
    left: 0;
    right: 0;
    z-index: 999;
}

header .logos {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

header #tr-is-logo {
    font-size: 2vh;
    font-weight: 500;
}

header .as-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

header #as-header-logo {
    filter: brightness(0) invert(90%);
    height: 2vh;
}

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

section#hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 5vh;
    gap: 32px;
    position: relative;
    z-index: 99;
    overflow: hidden;
}

section#hero-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 40%, #09101100 0%, #0910116e 78%),
        linear-gradient(to bottom, #09101100 76%, #091011 94%);
    z-index: -1;
    pointer-events: none;
}

#hero-background {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -10;
}

#hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% top;
    z-index: -10;
}

.rick-and-morty-header-logo {
    display: flex;
    width: 100%;
    justify-content: center;
}

.rick-and-morty-header-logo img {
    width: clamp(200px, 50vw, 300px);
}

#max-watch-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
}

#max-watch-btn img {
    filter: brightness(0) invert(90%);
    height: 5vh;
}

#max-watch-btn a {
    color: var(--yellow-emphasis);
    background-color: var(--red-btn);
    padding: 2vh 2.5vh;
    font-size: 2vh;
    border-radius: 50px;
    text-decoration: none;
    transition: all ease 0.5s;
}

#max-watch-btn a:hover {
    font-weight: 500;
    background-color: rgb(255, 37, 37);
    transform: scale(1.05);
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}

@media only screen and (min-width: 600px) {
    .rick-and-morty-logo img {
        width: clamp(200px, 65vw, 100vw);
    }

    #max-watch-btn {
        flex-flow: row nowrap;
    }
}

/* ======= INFO CONTAINER - O QUE É RICK AND MORTY =======  */


#info-container {
    position: relative;
    padding: clamp(30px, 10vh, 160px) 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    gap: 64px;
    overflow: hidden;
    background-color: #091011;
}

.info-video-container {
    position: absolute;
    top: 0;
    left: 60px;
    width: 100%;
    height: 100%;
    z-index: 0; 
}

.info-video-container img {
    position: absolute;
    top: 50%;
    width: clamp(300px, 40vw, 1000px);
}

.info-oque-e {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    gap: 32px;
    z-index: 2;
    background-color: rgba(9, 16, 17, 0.7);
    backdrop-filter: blur(5px);
    padding: clamp(30px, 2vw, 5rem);
    border-radius: 30px;
    width: clamp(300px, 100%, 50vw);
}

.info-oque-e p {
    line-height: 1.5;
    color: var(--light-gray);
}

/* ======= CTHULHU CONTAINER ======= */

#cthullu-container {
    background-color: #091011;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 300px;
    padding: 160px 30px;
    overflow: hidden;
}

/* ======= ASSISTIR TRAILER ======= */

.trailer-temporada-container {
    display: flex;
    flex-flow: column nowrap;
    gap: 32px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: clamp(300px, 60vw, 1400px);
}

/* ======= EXPLORAR TEMPORADAS ======= */


.explorar-temporadas-container {
    display: flex;
    flex-flow: column nowrap;
    gap: 24px;
    width: 100%;
    padding: clamp(30px, 5vw, 160px);
}


.temporadas-carrossel {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 30px 20px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none; 
    user-select: none;
    -webkit-user-drag: none;
}

.temporadas-carrossel::-webkit-scrollbar {
    display: none;
}

.temporada-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: clamp(200px, 20vw, 500px);
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: grab;
}

.temporada-card:active {
    cursor: grabbing;
}

.temporada-card:hover {
    transform: scale(1.05);
    z-index: 3;
}

.temporada-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    pointer-events: none; 
}

.carrossel {
    position: relative;
    border-radius: 20px;
}

.proximo, .voltar {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    outline: 0;
    border: 0;
    background-color: #ffffff;
    box-shadow: 0px 0px 3px 5px rgba(0, 0, 0, 0.201);
    width: clamp(50px, 4vw, 120px);
    height: clamp(50px, 4vw, 120px);
    margin: 0 2vw;
    border-radius: 50%;
    z-index: 99;
    transition: all .3s ease-in-out;

    img {
        filter: invert(40%);
        width: clamp(18px, 2vw, 55px);
    }
}

.proximo {
    right: 0
}

.voltar {
    left: 0
}

.proximo:hover, .voltar:hover {
    background-color: #eaeaea;
    transform: scale(1.05) translateY(-50%);
    cursor: pointer;
    top: 50%;
}

/* ======= PARCEIROS ======= */

.parceiros-container {
    display: flex;
    flex-flow: column nowrap;
    gap: 32px;
    text-align: center;
    overflow: hidden;
}

.parceiros-carrossel {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
}

.parceiros-carrossel img {
    width: clamp(150px, 15vw, 500px);
}