@keyframes bannerOverlay {
    0% {opacity: 1;}
    100% {opacity: .5;}
}

@keyframes bannerBackground {
    0% {background-size: 140%;}
    100% {background-size: cover;}
} 

@keyframes bannerTitle {
    0% {opacity: 0; letter-spacing: 0px;}
    100% {opacity: 1; letter-spacing: 40px;}
}

@keyframes bannerContent {
    0% {opacity: 1;}
    100%{opacity: 0;}
}

/* RESET */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;

    z-index: 0;
}

h1, h2, h3, h4, h5, h6, p, a, button, ul li {
    font-family: "Ubuntu", sans-serif;
    text-decoration: none;
}

h4 {
    font-weight: 400;
}

h5 {
    font-weight: 400;
    text-transform: uppercase;
    background-color: black;
    border-radius: 100px;
    padding: 10px;
}

p, a, li {
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
}

li {
    list-style: none;
}

b {
    font-weight: 500;
}

img {
    max-width: 100%;
}

section {
    margin: 0 auto;
}

/* GLOBALS */

body .none {
    display: none;
}

.--flex {
    display: flex;
}

.--f-sb {
    justify-content: space-between;
}

.--f-col {
    flex-direction: column;
}

.--f-c-c {
    justify-content: center;
    align-items: center;
}

.btn {
    padding: .875em 1.875em ;
    border-width: 1px;
    border-style: solid;
    border-radius: .3125em;

    font-weight: 200;
    text-transform: uppercase;

    font-size: 1rem;

    display: inline-block;
}

.btn--white {
    border-color: white;
    color: white;
    transition: .3s;
}

.btn--white:hover {
    background-color: white;
    color:black;
}

/* ELEMENTS */

body {
    background-color: #0C0D0D;
    overflow-x: hidden;
}

/* Header */

.header {
    padding: 1em 2rem;

    width: 100vw;

    position: fixed;
    top: 0;
    z-index: 999;

    transition: .3s;

    color:white;
}

.header.sticky {
    background-color: rgba(0, 0, 0, .8);
}

.header__logo {
    font-size: 1rem;
    font-weight: 400;
    color: white;
}

.header__icons {
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 999;
}

.header__menu {
    background-color: transparent;
    border: none;

    display: flex;
    flex-direction: column;

    height: 20px;
    width: 30px;
    justify-content: center;
    align-items: center;
}

.header__menu:hover {
    cursor: pointer;
}

.header__menu__linetop {
    display: inline-block;
    width: 20px;
    border-top:1px solid white;

    transform: translateY(-3px);

    transition: .2s;
}

.header__menu__linebottom {
    display: inline-block;
    width: 20px;
    border-top:1px solid white;

    transform: translateY(3px);

    transition: .2s;
}

.header__menu:hover .header__menu__linetop {
    transform: translateY(-5px);
}

.header__menu:hover .header__menu__linebottom {
    transform: translateY(5px);
}

.header__menu.opened .header__menu__linetop {
    transform: rotate(45deg) translateY(0px);
}

.header__menu.opened .header__menu__linebottom {
    transform: rotate(-45deg) translateY(-1px);
}

.header__menu.opened:hover .header__menu__linetop {
    transform: rotate(40deg) translateY(0px);
}

.header__menu.opened:hover .header__menu__linebottom {
    transform: rotate(-40deg) translateY(-1.5px);
}

.header__menu img, .header__icons svg {
    width: 1.25em;
    filter: invert(100%);
}

.header__overlay {
    background-color: black;
    width: 100vw;
    height: 100vh;
    position:fixed;
    top: 0;
    left:0;
    z-index: 99;

    display: flex;

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

.overlay__popup {

}

.overlay__popup nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
}

.overlay__popup nav ul li {
    list-style: none;
    text-align: center;
    transition: .5s;
}

.overlay__popup nav ul:hover li a{
    opacity: .6;
}

.overlay__popup nav ul li:hover a{
    opacity: 1;
}

.overlay__popup nav ul li a{
    color: white;
    font-size: 1.8rem;
    transition: .5s;
}


/* Banner */

.banner {
    animation: bannerBackground;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1);

    background: url("/assets/media/banner_img_1.webp");
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;

    width: 100vw;
    height: 100vh;

    position: relative;

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

.banner__cover {
    animation: bannerOverlay;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: .2s;

    background-color: black;

    width: 100vw;
    height: 100vh;
    
    position: absolute;
    z-index: 1;
}

.banner__content {
    color:white;
    gap: 1.25em;

    padding: 2em;

    align-items: center;

    z-index: 2;

    transition: .5s;
}

.banner__content__title {
    animation: bannerTitle;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);

    opacity: 0;
    text-align: center;
    font-family: "Yantramanav", sans-serif;
    font-size: 4rem;
    font-weight: 300;
    text-transform: uppercase;
}

.banner__content__title span{
    letter-spacing: 0px;
}

.banner__content a.btn span{
    font-size: 16px;
    padding-left: 1em;
}

/* Videobook */

.videobook {
    color: white;
    padding: 4em 2em;

    max-width: 940px;

    display: flex;
    flex-direction: column;

    gap: 1.25rem;
}

.videobook__header {
    display: flex;
    width: 100%;

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

.videobook__header__title {
    font-size: 1.5rem;
    font-weight: 100;
    text-transform: uppercase;
}

.videobook__header hr {
    border-color: white;
    width: 100%;

    margin-left: 3em;
}

.videobook__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.videobook__content__cover {
    background: url(/assets/media/videobook_cover.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;

    border-radius: 5px;

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

.videobook__content__cover:hover {
    cursor: pointer;
} 

.videobook__content__cover .circle__out {
    border:solid 1px rgba(255, 255, 255, .2);
    border-radius: 100%;

    min-width: 80px;
    min-height: 80px;

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

    transition: 1s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
} 

.videobook__content__cover:hover .circle__out {
    border:solid 1px rgba(255, 255, 255, .5);

    min-width: 120px;
    min-height: 120px;
} 

.videobook__content__cover .circle__mid {
    border:solid 1px rgba(255, 255, 255, .5);
    border-radius: 100%;

    min-width: 60px;
    min-height: 60px;

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

    transition: 1s;
    transition-delay: .1s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
} 

.videobook__content__cover:hover .circle__mid {
    border:solid 1px rgba(255, 255, 255, 1);

    min-width: 80px;
    min-height: 80px;
} 

.videobook__content__cover svg {
    color: black;
    border-radius: 100%;
    padding: 10px;

    border: 1px solid transparent;

    background-color: white;
    min-width: 40px;
    min-height: 40px;

    transition: 1s;
    transition-delay: .2s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
} 

.videobook__content__cover:hover svg {
    color: white;

    border: 1px solid white;

    background-color: transparent;
    min-width: 50px;
    min-height: 50px;
} 

.videobook__content__popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background-color: #0C0D0D;

    z-index: 9999;

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

.videobook__content__popup__close {
    position: fixed;
    top: 1em;
    right: 1em;
    background-color: white;

    min-width: 40px;
    min-height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;

    transition: .3s;

    z-index: 9999;
}

.videobook__content__popup__close:hover {
    box-shadow: 0px 0px 60px 0px white;
    cursor: pointer;
}

.videobook__content video {
    border-radius: 5px;
}

/* Scenas */

.scenas {
    color: white;
    padding: 4em 2em;

    max-width: 940px;

    display: flex;
    flex-direction: column;

    gap: 1.25rem;
    z-index: 1;
}

.scenas__header {
    display: flex;
    width: 100%;

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

.scenas__header__title {
    font-size: 1.5rem;
    font-weight: 100;
    text-transform: uppercase;
}

.scenas__header hr {
    border-color: white;
    width: 100%;

    margin-right: 3em;
}

.scenas__content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.scenas__content iframe {
    flex-basis: 0;
    flex-grow: 1;

    min-width: 320px;

    object-fit: cover;
}

/* Gallery */

.gallery {
    color: white;
    padding: 4em 2em;

    max-width: 940px;

    display: flex;
    flex-direction: column;

    gap: 1.25rem;
    z-index: 1;
}

.gallery__header {
    display: flex;
    width: 100%;

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

.gallery__header__title {
    font-size: 1.5rem;
    font-weight: 100;
    text-transform: uppercase;
}

.gallery__header hr {
    border-color: white;
    width: 100%;

    margin-left: 3em;
}

.gallery__content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery__content img {
    flex-basis: 0;
    flex-grow: 1;

    min-width: 250px;

    object-fit: cover;
}

/* Curriculum */

.cv {
    color:white;
    padding: 4em 2em;

    max-width: 940px;

    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: start;
}

.cv__container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;

    flex-basis: 0;
    flex-grow: 1;
    min-width: 300px;

    gap: 1em;
}

.cv__container__section {
    display: flex;
    flex-direction: column;
    gap: 1.25em;

    background-color:#1f2525;
    padding: 1em;
    border-radius: 5px;

    flex-basis: 0;
    flex-grow: 1;
    min-width: 300px;
    width: 100%;
}

.cv__container__section ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* CV Banner */

.cv__banner {
    animation: bannerBackground;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function:cubic-bezier(0.075, 0.82, 0.165, 1);

    background: url("/assets/media/gallery_7.jpeg");
    background-position: top center;
    background-size: 200%;
    background-repeat: no-repeat;
    background-attachment: fixed;

    width: 100vw;
    height: 50vh;

    position: relative;

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

.cv__banner__cover {
    animation: bannerOverlay;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: .2s;

    background-color: black;

    width: 100vw;
    height: 100vh;
    
    position: absolute;
    z-index: 1;
}

.cv__banner__content {
    color:white;
    gap: 1.25em;

    padding: 2em;

    align-items: center;

    z-index: 2;

    transition: .5s;
}

.cv__banner__content__title {
    text-align: center;
    font-family: "Yantramanav", sans-serif;
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
}

.cv__banner__content__title span{
    letter-spacing: 0px;
}

.cv__banner__content a.btn span{
    font-size: 16px;
    padding-left: 1em;
}

/* Footer */

.footer__content {
    color:white;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding:2em;
}

.footer__content__contact a {
    color: white;
}

.footer__content__social ul {
    display: flex;
    gap: 10px;
}

.footer__content__social ul img {
    width: 20px;
}


/* QUERIES */

@media (min-width: 1000px) {
    .header__menu img, .header__icons svg {
        width: 1.6em;
    }

    .banner {
        background: url("/assets/media/banner_img_big.png");
        background-position: top center;
        background-size: 200%;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .cv__banner {    
        background: url("/assets/media/gallery_4.jpeg");
        background-position: 0px -200px ;
    }
}

@media (max-width: 680px) {
    .banner__content__title, .cv__banner__content__title {
        font-size: 2rem;
    }

    .gallery__content {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: scroll;
    }
    
    .gallery__content img {
        flex-basis: 0;
        flex-grow: 1;
    
        min-width: 250px;
    
        object-fit: cover;
    }
}

/* Personaliza toda la barra de desplazamiento */
::-webkit-scrollbar {
    width: 0px; 
}

body { 
scrollbar-width: thin; 
scrollbar-color: rgba(0, 0, 0, 0.8) transparent;
}