/* Fonts */
@font-face{
    font-family: 'BDSans-Black';
    src: url(../fonts/BDSans-Black.ttf);
    /* font-display: swap; */

}
@font-face{
    font-family: 'Roboto-Light';
    src: url(../fonts/Roboto-Light.ttf);
    /* font-display: swap; */

}
@font-face{
    font-family: 'Roboto-Bold';
    src: url(../fonts/Roboto-Bold.ttf);
    /* font-display: swap; */

}
@font-face{
    font-family: 'Syne';
    src: url(../fonts/Syne-VariableFont_wght.ttf);
    /* font-display: swap; */

}

/* Variables */
:root {
    --main-color-yellow: #F6B947;
    --main-color-mustard: #e1ad38;
    --main-color-white: #F8F6ED;
    --main-color-golden: #A4997E;
    --main-color-black: #2E2C2B;
    --main-color-gray: #8f8e8e;

    --transition-init-banner: transition: all 0.5s cubic-bezier(.55,.06,.74,.38);
    --transition-sec-elements: transition: all 0.3s cubic-bezier(.82,.42,.44,1);
  }

/* Estilos para el web portfolio */

*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: 'Syne';
    vertical-align: baseline;
}

html {
    box-sizing: border-box !important;
    overflow-x: hidden;
    max-width: 100vw !important;
  }
  *, *:before, *:after {
    box-sizing: inherit !important;
  }

body{
    position: relative;
}
.body-main-page{
    background-color: var(--main-color-yellow);

}

.navbar-toggler{
    box-shadow: none !important; 
    color: none !important;
    transition: all 0.25s cubic-bezier(.55,.06,.68,.19) !important;

}

main{
    width: 100%; 
    max-width: 100%;

    color: var(--main-color-white); 
    position: static;
}

ul{
    list-style-type: none;
}

a{
    color: whitesmoke;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(.55,.06,.68,.19) !important;
}


/* Swipe gallery */
.main{
    height: 100vh;
    width: 100%;
}
.swipper{
    width: 100%;
    height: 100%;

}
.wrapper-sw,.slide-sw{
    overflow: hidden;
    width: 100%;
    height: 100%
}
.slide.image{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.slide.image-data{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.swiper-slide img{
    max-width: 500px;
}
/* Swipe gallery */

.title-contact{
    color: var(--main-color-gray);
}

.a-stills{
    color: var(--main-color-golden);
    transition: all 0.25s cubic-bezier(.55,.06,.68,.19) !important;
    a:hover{
        cursor: pointer;
    }
}
.nav{
    transition: all 1.2s cubic-bezier(.54,.32,.63,.42) !important;

}
.nav-bg, .navbar{
    a:hover{
        color: var(--main-color-yellow) !important;   
    }
}
.contact-e{
    a:hover{
        color: var(--main-color-yellow) !important;   
    }
    .dropdown-menu{
        a:hover{
            color: var(--main-color-yellow) !important;   
        }
    }
}


.offcanvas{
    background-color: var(--main-color-yellow);
}

.offcanvas-header{
    h1{
        font-family: 'BDSans-Black'; 
        font-weight: lighter; 
        line-height:1em; 
        color: var(--main-color-white);
    };
    h3{
        font-family: 'Roboto-Light'; 
        font-size: 0.8rem;
        line-height:1.2em;
        letter-spacing: 0.28em; 
        color:var(--main-color-black)
    }
}

.offcanvas-body{
    a:hover{
        color: var(--main-color-black) !important;    
    };
    ul{
        li{
            font-weight: lighter; 
            line-height:1em; 
            color: var(--main-color-white);
            a{
                font-family: 'BDSans-Black';
                color: var(--main-color-white);
            }
        }
        hr{
            margin: 0.7rem 0;
        }
        
    }

}

.li-desplegable{
    margin: 1rem 0 !important;
    /* line-height:1em */
}


.n-active{
    color: var(--main-color-yellow) !important
}
.n-active-contact{
    color: var(--main-color-black) !important
}
.n-active-offcanvas{
    color: var(--main-color-black) !important
}

.openModal:hover{
    cursor: pointer !important;
}


.init_banner_sm, .init_banner_lg{
    height: calc(var(--vh, 1vh) * 100);
}

.init_banner_lg{
    display: none !important;
}
.init_banner_sm{
    display: none !important;
    
}

.init_banner_sm, .init_banner_lg{
    z-index: 2000;
    /* width: 100%;
    max-width: 100% !important; */
    height: 100%;
    overflow-y: hidden;
    transform: translateY(0);
}
.init_banner_sm, .init_banner_lg{
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
    max-height: 100vh;

    background-color: var(--main-color-yellow); 
    overflow-x: hidden; 
    transition: all 0.6s cubic-bezier(.55,.06,.74,.38);

    img{
        width: 100% !important;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
    }
    h1{
        font-size: 6rem;
    }
}

.init_banner_close{
    height: 50%;
    transform: translateY(-100%);

    /* transition: all .4s ease-in-out; */
}

dialog{
    display: grid;
    grid-template-rows: 1fr;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 3;
    min-width: 100%; 
    min-height: 100%;
}

.prev, .next{
    background-color: transparent;
    position: fixed;
    align-self: center;
}

.prev{
    justify-self: start;
    left: 3%
}
.next{
    justify-self: end;
    right: 3%
}

#prev, #next{
    background-color: transparent;
    text-transform: uppercase;
}

.icon-size{
    font-size: 2.5rem;
    color: var(--main-color-white);
}

#prev{
    justify-self: start;
    left: 15%
}
#next{
    justify-self: end;
    right: 15%
}

#closeModal{
    position: fixed;
    justify-self: end;
    z-index: 4;
    top: 5px;

    background-color: transparent;
    font-family: 'BDSans-Black';
    color: var(--main-color-white);
    font-size: 1.8rem;
    
}

/* .gallery-gen-video{
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
} */

.img-container{
    max-width: 100%;
    height: 100%;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    
    
}

.img-container:hover{
    cursor: pointer;
}

.project-title-transition{
    transition:  0.25s cubic-bezier(.55,.06,.68,.19) 
}

.nodisplay{
    display: none !important;
}

.displayImg{
    /* background-image: url("../img/nuria.png"); */
    background-color: var(--main-color-yellow);
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.no-display-title{
    opacity: 0;
    /* display:none; */
    transition: all 1s ease-in-out;

}

.nodisplayImg{
    background-image: url(../img/black_bg.png)
}

.ddm-mobile{
    margin: 0.5rem 0 !important;
}

.ddm-mobile-d-none{
    display: none
}

.displayVideo{
    display: grid;
}

.video-container video{
    width: 70%;
    align-self: center;
    justify-self: center;
}
.video-container:hover{
    cursor: pointer;
}

/* galería */
.video-proyecto{
    margin: 0 auto;
}


.modal-container{
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noModal{
    display: none;
}

.modal-container img{
    z-index: 1;
    min-width: 400px;
    width: 1080px;
    height: auto;
    position: relative;
    /* right: 5%; Media query*/ 
    /* height: 350px; */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* margin-top: 3rem; */
}

.btn-g-izq{
    position: relative;
    top:50%;
    bottom: 50%;
    left: 30px;
    z-index: 3;
    width: 3rem;
    height: 3rem;
}

.btn-g-der{
    position: relative;
    top:50%;
    bottom: 50%;
    right: 30px;
    z-index: 3;
    width: 3rem;
    height: 3rem;
}

.img-gallery{
    width: 380px;
    height: 280px;
    border-radius: 3px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modal-container.active::after{
    content: "";
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: -1;
    
}

.img-modal{
    width: 90%;
    max-width: 90%;
}

/* Puesta en escena */
.img-general{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 350px;
}

.before-video{
    height: 0vh !important;
}

#gallery-gen-video{
    width: 95% !important;
    bottom: 3rem !important;
}
.botones-avance{
    padding-top: 15px;
    bottom: 4rem !important;
    margin: 0 5rem !important;
}

.contact-grid{
    height: 100vh;
    display: grid;
    grid-template-columns: 25% 1fr 20%;
}

.contact-items{
    margin: auto 0;
    padding-inline: 5rem;
    /* max-height: 60%; */
   /*  padding-right: 3rem */

}

footer{
    background-color: var(--main-color-yellow);
    position:fixed;
    left:0px;
    bottom:0px;

    transition: all 0.3s cubic-bezier(.82,.42,.44,1);
    a:hover{
        cursor: pointer;
        color: var(--main-color-yellow);
    }
    span{
        font-family: 'Roboto-Light';
        font-size: 0.9rem;
    }
    .mailto{
        color: var(--main-color-black) !important
    }
}

.footer-text-initial{
    color: var(--main-color-white)
    
}

.footer-hide-text{
    color: transparent;
}
.footer-hide-bg{
    background-color: transparent;
}

.footer-project{
    background-color: transparent !important;
    p{
        color: var(--main-color-black) !important;

    }
}
.footer-rrss-end{
    color: var(--main-color-black) !important;
}

.footer-photos{
    background-color: transparent !important;
}

/* .init_banner{
    h3{
        margin-top: 1rem;
    }
} */
.pum{
    background-size: cover; 
    background-position: center;
    background-position-x:15%;
    background-repeat: no-repeat;
}
/* .project-title{
    transition: var(--transition-init-banner)
} */

.offcanvas-transition{
    /* transition: all 0.5s cubic-bezier(.55,.09,.68,.53) !important; */
    transition: transform 1.2s cubic-bezier(0.6,0,0.4,1)
   /*  transition: all 0.56 ease-in; */
}

.titulo-galeria-lg{
    font-family: 'BDSans-Black'; 
    color: var(--main-color-golden);
}

/* ESTE ES EL QUE ACTÚA SOBRE LOS TÍTULOS */
.img-container{
    h2{
        font-size: 4rem !important;
        opacity: 0 !important;
        transition: all 0.25s cubic-bezier(.55,.06,.68,.19) !important;
    }
    h2:hover{
        opacity: 1 !important;
    }
}

.series-descr{
    width: 75%;
    margin-inline: auto !important;
    color: var(--main-color-black) !important;
    
}
/* .mt-video-container{
    transition: all 0.30s ease-in;
} */

.contact-body{
    background-size: cover; 
    background-repeat: no-repeat;
    h5{
        color: var(--main-color-white)
    }
    p{
        color: var(--main-color-white)

    }
}

.rrss-projects a{ 
    color: var(--main-color-black) !important;
    opacity: 0.8;
}

.footer-sm{
    display: none;
}
/* .name{
    h1{
        font-size: 3.8rem;
        line-height: 3.5rem !important;
    }
    
} */
@media (min-width: 1200px){
    .mt-video-container{

        margin-top: 6rem !important;
    }
}

@media (max-width: 1200px){
    .init_banner_sm, .init_banner_lg{
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        img{
            width: 100%;
            max-width: 100%;
            height: 100%;
            max-height: 100%;
            /* position: relative;
            bottom: 40% !important; */
        }
        h1{
            font-size: 6rem;
        }
    }
    
    .series-descr{
        width: 65%;
        margin-inline: auto !important;
    }
    
    .before-video{
        height: 16vh !important;
    }

    .img-modal{
        width: 80% !important;
        max-width: 80% !important;
    }

    /* width: 320px; */
    .img-gallery{
        width: 380px;
        height: 280px;
        border-radius: 5px;
    }

    #gallery-gen-video{
        width: 100% !important;
        /* position: relative;
        padding-bottom: 56.25%; 
        height: 0; 
        overflow: hidden; 
        margin: 0 auto */
    }

    .botones-avance{
        bottom: 3rem !important;
        margin: 0 !important;
    }
    
    /* #prev, #next{
        font-size: 1.2rem !important; 
    } */
}

@media (max-width: 820px){
    .init_banner_sm, .init_banner_lg{
        width: 100%;
        max-width: 100% !important;
        height: 100vh;
        max-height: 100vh;
        img{
            width: 100%;
            max-width: 100% !important;
            height: 100%;
            max-height: 100%;
            /* position: relative;
            bottom: 40% !important; */
        }
        h1{
            font-size: 6rem;
        }
    }
    .img-gallery{
        width: 340px;
        height: 280px;
        border-radius: 5px;
    }
    .series-descr{
        width: 75%;
        margin-inline: auto !important;
    }

    .contact-grid{
        display: grid;
        grid-template-columns: 0% 1fr 0% !important;
    }
}

@media (min-width: 768px){
    .init_banner_sm{
        display: none ;
    }
    .init_banner_lg{
        display: inline-block !important;
    }
}

@media (max-width: 768px){
    .init_banner_sm{
        display: inline-block !important ;
    }
    .init_banner_lg{
        display: none !important;
    }
    .init_banner_sm{
        width: 100%;
        height: 100vh;
        max-width: 100%;
        max-height: 100vh;
        img{
            /* width: 100% ; */
            height: 100%;
            /* position: relative;
            bottom: 40% !important; */
        }
        /* h1{
            font-size: 6rem;
        } */
    }
}

@media (max-width: 720px){


    .prev, .next{
        display: none;
    }
    .before-video{
        height: 12vh !important;
    }

    .footer-project{
        p{
            color: var(--main-color-white) !important;
        }
    }

    .footer-sm{
        background-color: var(--main-color-yellow);
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr;

        
    }
    .footer-dp-logo{
        display: inline-block;
        margin-top: 1.5rem;
        margin-left: 0.5rem
    }

    .footer-menu{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 88px 1fr;
        margin-left: 1rem
    }
    .footer-sm-group-1, .footer-sm-group-2{
        display: grid;
        grid-template-columns: 115px 2fr ;
        grid-template-rows: 20px 20px 20px;
        row-gap: 5px;
        align-content: start;
        /* display: flex;
        flex-direction: row;
        flex-wrap: wrap; */
        /* p{
            line-height: 0.5em;
        } */
        p{
            max-width: min-content;
            line-height: 1rem;
            
        }
        a{
            display: inline-block;
            padding-right: 1rem !important;
            text-transform: uppercase;
            font-family: 'Syne' !important;
            font-size: 0.9rem;
            text-align: left;
            letter-spacing: 0.1em;
            /* font-weight: bold; */
            /* height: 2rem */

        }
    }
    .footer-sm-group-1{
        margin-top: 1.5rem;
        column-gap: 1rem;

    }
    .footer-sm-group-2{
        margin-top: 1rem;
        grid-template-columns: 120px 2fr;
        a{
            /* padding-right: 0 !important; */
            /* padding-right: 5px!important; */
            p{
                text-align: left;
                color: var(--main-color-black) !important;
                letter-spacing: 0em;
                /* padding-right: 0.5rem; */
                

            }
        }

    }

    .img-modal{
        width: 100% !important;
        max-width: 100% !important;
        
    }
    .banner-content{
        margin-left: 0.3rem !important;

    }

    .name{

        h1{
            padding-left: 0 !important;
            margin-left: 0 !important;
            font-size: 3.5rem
        };
        
    }

    .img-container h2{ 
        opacity: 0 !important;
        font-size: 1.8rem !important;
        justify-self: center !important;
        text-align: center !important;
        margin: 0 !important;
        /* padding-inline: 3rem; */
    }

    .prev{
        justify-self: start;
        left: 0% !important;
    }
    .next{
        justify-self: end;
        right: 0% !important;
    }

    .contact-grid{
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .rrss-projects a{
        color: var(--main-color-white) !important;
    }
}

@media (max-width: 720px){
    
    .name{
        height: 75%;
        align-self: end;
        margin-bottom: 1rem;
    }
    .series-descr-cont{
        margin-top: 2rem !important;
        
    }
    .series-descr{
        width: 95%;
        margin-inline: auto !important;
    }
    
    /* .init_banner{
        h3{
            
            margin-left: 1rem !important
        }
    } */
    /* .video-container{
        width: 120%;
        align-items: start !important;
        overflow-x: hidden !important;
    } */
    .nav-bg{
        background-color: transparent !important;
    }

    .project-body{
        background-color: var(--main-color-black) !important;
    }

    .project-div{
        height: 25vh !important;
        
    }
    
   /*  .project-title-gallery{
        justify-content: start !important;
        transition: all 0.3s cubic-bezier(.82,.42,.44,1);
    } */

    
    .before-video{
        height: 20vh !important;
    }

    #gallery-gen-video{
        width: 100% !important;
    }

    #prev, #next{
        font-size: 1rem !important; 
        
    }

    .img-gallery{
        width: 95%;
        height: 280px;
        border-radius: 5px;
    }
    .footer-project{
        position: fixed;
        align-self: flex-end;
    }
    

    .contact-items{
        padding-inline: 0;
        padding-right: 3rem;
        padding-left: 3rem !important;
        padding-top: 1rem !important;
        grid-template-columns: 25% 1fr 25%;
    }
    
}

@media (max-width: 520px){
    .init_banner_lg{
        display: none !important;
    }
    .init_banner_sm{
        width: 100% !important;
        max-width: 100% !important;
        img{
            position: relative;
            bottom: 3% !important; 
        }
    }

    .before-video{
        height: 24vh !important;
    }

    #prev, #next{
        font-size: 0.8rem !important; 
        
    }
    
}