@font-face{
    font-family: "GalanoGrotesque";
    src: url("../fonts/galano/GalanoGrotesqueRegular.otf");
    font-style: normal;
}
@font-face{
    font-family: "GalanoGrotesqueBlack";
    src: url("../fonts/galano/GalanoGrotesqueBlack.otf");
    font-style: bold;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'GalanoGrotesque', sans-serif;
}
body{
    min-height: 100vh;
    width: 100%;
}
#detach-button-host{
    display: none;
}
header{
    height: auto;
    display: flex;
    width: 100%;
    height: 80px;
    justify-content: center;
    position: fixed;
    z-index: 3;
    align-items: center;
    transition: .3s ease;
    background: transparent;
    & .header_content{
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    & .header_logo{
        color: white;
        display: flex;
        flex-direction: column;
        text-decoration: none;
    }
    & .header_logo h4{
        font-size: 1.53rem;
        letter-spacing: 3px;
        font-family: 'GalanoGrotesqueBlack', sans-serif;
        font-weight: 200;
    }
    & .header_logo p{
        letter-spacing: 4px;
    }

    & nav{
        display: flex;
        gap: 30px;
    }
    & nav a{
        color: white;
        text-decoration: none;
        font-size: 1.3rem;
        position: relative;
    }
    & nav a::before{
        content: '';
        height: 1px;
        width: 0px;
        position: absolute;
        bottom: 0;
        left: 50%;
        right: 50%;
        display: flex;
        justify-self: center;
        background-color: white;
        transition: .3s width ease;
    }
    & nav a:hover::before,
    & nav a.pagActive::before{
        width: 100%;
    }
}
.matte_header{
    box-shadow: 0px 60px 40px -20px rgba(0,0,0,0.8) inset;
}
article{
    width: 100%;
    min-height: 100svh;
    position: relative;
    display: flex;
    justify-content: center;
}
.welcome_container{
    align-items: center;
    & video{
        z-index: -2;
        position: absolute;
        width: 100%;
        height: 100svh;
        display: inherit;
        justify-content: inherit;
        object-fit: cover;
    }
    & .background_filter{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    & .welcome_overlay{
        font-size: 2.5rem;
        font-weight: bold;
        color: white;
    }
}

.videos_container{
    flex-direction: column;
    align-items: center;
    justify-content:start;
    z-index: 0;
    & .videos_overlay{
        margin-top: 50px;
        margin-bottom: 50px;
        font-size: 1.3rem;
    }
    & .videosList_container{
        display: grid;
        width: 90%;
        gap: 20px;
        grid-template-columns: repeat(5, 1fr);
        height: 100%;
        position: relative;
        padding-bottom: 50px;
    }
    & .videosList_container .video_object{
        background-color: darkgray;
        width: 100%;
        height: 450px;
        position: relative;
        border-radius: 10px;
        display: flex;
        justify-content: center;
    }
    & .videosList_container .video_object::before{
        content: '';
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0%;
        border-radius: inherit;
        position: absolute;
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
        transition: .36s all ease-out;
        opacity: 0;
        z-index: 2;
        border-radius: 10px;
    }

    & .videosList_container .video_object:hover::before{
        height: 100%;
        opacity: 1;
    }
    & .videosList_container .video_object p{
        color: white;
        opacity: 0;
        position: absolute;
        bottom: 0;
        z-index: 3;
        text-align: center;
        transition: .2s opacity ease-out;
        margin-bottom: 20px;
    }
    & .videosList_container .video_object:hover p{
        color: white;
        opacity: 1;
    }
    & .videosList_container .video_object img{
        width: 100%;
        height: 100%;
        display: flex;
        object-fit: cover;
        position: relative;
        z-index: 1;
        border-radius: 10px;
    }
}
.contact_container{
    background-color: #000;
}



.curriculo_container .wallpaper_curriculo{
    position: absolute;
    width: 100%;
    height: 100%;
}
.curriculo_container .wallpaper_curriculo img{
    position: absolute;
    
    height: inherit;
    right: 0;
    z-index: 0;
}
.curriculo_container .curriculoElements{
    width: 90%;
    min-height: 100%;
    align-items: center;
    position: relative;
    display: flex;
    z-index: 1;
}
.curriculo_container .overlay_curriculo{
    display: flex;
    width: 580px;
    height: auto;
    flex-direction: column;
    text-align: right;
    margin-left: 100px;
}
.curriculo_container .overlay_curriculo p{
    font-size: 1.3rem;
}
.curriculo_container .overlay_curriculo h4{
    font-size: 1.5rem;
    font-family: 'GalanoGrotesqueBlack', sans-serif;
    font-weight: 100;
}

@media screen and (max-width: 760px){
    body{
        min-height: 80vh;
        height: auto;
    }
    .videos_container .videosList_container{
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .videos_container .videosList_container .video_object{
        height: 340px;
    }
    .curriculo_container .overlay_curriculo{
        width: 270px;
        margin: 0;
        text-align: left;
        margin-left: 15px;
        
    }
    .curriculo_container .wallpaper_curriculo img{
        opacity: 0.1;
        margin-left: 500px;
        right: -150px;
        position: fixed;
        
    }
    .curriculo_container .overlay_curriculo h{
        font-size: 1.7rem;
    }
    .curriculo_container .overlay_curriculo p{
        font-size: 1rem;
    }
    .welcome_container .welcome_overlay{
        font-size: 1.3rem;
        text-align: center;
        width: 350px;
    }
    .videos_container .videos_overlay{
        text-align: center;
        font-size: 1.1rem;
        width: 250px;
    }
    #mobileWelcome{
        height: 270px;
        min-height: 0;
    }
    .welcome_container video{
        height: 100%;
        top: 0;
    }
    header{
        & .header_logo h4{
            font-size: 1.2rem;
        }
        & .header_logo p{
            font-size: .77rem;
        }
        nav a{
            font-size: 1rem;
        }
    }
}

.fade_inOff{
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s ease;
}
.fade_inActive{
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}