
@font-face {
    font-family: 'fonta';
    src: url('../fonts/Caveat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'dolce';
    src: url('../fonts/DolceVita.ttf');
}

@font-face {
    font-family: 'akaya';
    src: url('../fonts/ViaodaLibre-Regular.ttf');
    /*    src: url('../fonts/AkayaTelivigala-Regular.ttf');*/
}

/*========== BASE ==========*/

*,::before,::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul{
    padding: 0;
    list-style: none;
}

a{
    text-decoration: none;
    color: white;
}

a>.fa-home{
    font-size: 2vw;
}

/*=========================*/

/*========HEADER================*/
.l-header{
    width: 100%;
    position: fixed;
    font-family: 'fonta';
    z-index: 2;
    font-size: 1.4vw;
    text-align: center;
}

.nav__menu{
    margin-right: 2%;
    line-height: 30px;
    overflow: hidden;
    transition: .5s ease!important;
    transform: translate(-100%,-100%);
    margin: 0;
    border-radius: 50%;
}

.show-menu{
    transform: translate(0%);
    border-radius: 0;
}

.nav__list{
    justify-content: center;
    text-transform: uppercase;
}

.nav__item{
    padding: 1%;
}

.nav__item>a:hover{
    color: #3187eb;
}

.nav__item ul li a,a>i{
    color: white;

}

#sub-menu{
    text-align: center;
    height: 0px;
    overflow: hidden;
    transition: .3s ease!important;
}


.nav__item ul li a:hover{
    color: #000; 
}


.bot{
    cursor: pointer;
    color: white;

}

.nav__item ul li:hover{
    background: white;
    transition: .3s linear!important;
}


.nav__link{
    transition: .3s;
}

.nav__toggle{
    font-size: 1.4;
    cursor: pointer;
    z-index: 20;
}

.nav__logo>img{
    width: 20%;
    object-fit: cover;
}

.active-link{
    color: #f0f0f0;
    border-bottom: 2px solid;
}

/*==========================================*/

/*============PRINCIPAL SECCION A=====================*/
.l-main{
    font-family: 'fonta'; 
}

.sec-a{
    background: rgba(58,73,109,0.4);
    position: relative;
    overflow: hidden;
}

#vid-prin {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    z-index: -1;  
    width: 100%;
    object-fit: cover;
}

.home{
    position: absolute;
    text-align: center;
    width: 100%;
    color: white;
    top: 50%;
    transform: translate(0%,-50%);
    font-size: 3vw;
    
}

.yout a{
   position: absolute;
    bottom: 3%;
    right: 3%;
    font-size: 4vw;
}

.yout a i{
    color: #ce4343;
}

/*==========================================*/

/*=========SCROOLL*/
.scroll-header{
    background: rgba(20,20,20,0.8);
}

.scrolltop{
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: .4s;
    visibility: hidden;

}

.scrolltop>img{
    width: 50px;
    height: 50px;
    background: rgba(20,20,20,1);
    border-radius: 50%;
}


.show-scroll{
    visibility: visible;
    bottom: 1.5rem;
}
/*================================================*/

/*=========SECCION B===========*/

.about{
    background: linear-gradient(rgba(20,20,20,.5), rgba(20,20,20,.3)), url('../talleres/piso2_b.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    font-family: 'akaya';
}

.about__data{
    text-align: center;
    padding: 2% 0;
}

.about__description{
    color: white;
    text-align: justify;
    padding: 2% 0% 0% 0%;
    margin: auto;
    font-weight: 100;
}

.about__description>centro{
    text-align: center;

}

/*================================================*/


/*===========GALERIA============*/
.sec_c{
    margin: auto;
    background: #1c1d1f;
    overflow: hidden;

}

.galeria>img{

    width: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;

}

.peque {
    opacity: 0.7;
}

.active,
.peque:hover {
    opacity: 1;
}

.fade>img {

    animation-name: fade;
    animation-duration: 7.1s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes fade {
    from {
        transform: translate(1%);
        opacity: 0.9;
    }

    5%,95%{
        transform: translate(0%);
        opacity: 1;
    }

    to {transform: translate(-1%);
        opacity: 0.9;
    }
}

/*============================================*/

/*========== Equipo sec-d ==========*/
.equipo{
    text-align: center;
    font-family: 'akaya';
    color: black;

}

.section_title{
    padding: 3%;
}

.equipo__container{
    display: grid;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
}

.equipo__content:nth-child(1){
    grid-column: 1/ span 3;
    margin: auto;
}



.team {
    font-family: 'akaya','Playfair Display', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    max-height: 230px;
    width: 84%;
    color: #000000;
    text-align: right;
    background-color: rgba(20,20,20,.5);
    box-shadow: 10px 10px 5px -3px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 5px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px -3px rgba(0,0,0,0.75);
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
}
.team * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.team img {
    width: 100%;
    backface-visibility: hidden;
    object-fit: cover;
    height: 230px;
    /*    background-attachment: fixed;*/
}
.team figcaption {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    opacity: 1;
    padding: 30px 0 30px 0px;
    background-color: #ffffff;
    width: 49%;
    -webkit-transform: translateX(150%);
    transform: translateX(150%);
}
.team figcaption:before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 100%;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 120px 120px 120px 0;
    border-color: transparent #ffffff transparent transparent;
}
.team:after {
    position: absolute;
    bottom: 50%;
    right: 49%;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 120px 120px 0 120px;
    border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.team h3,
.team p {
    line-height: 1.5em;
    -webkit-transform: translateX(-30px);
    transform: translateX(-20px);
    margin: 0;
}
.team h3 {
    margin: 0 0 5px;
    line-height: 1.1em;
    /*    font-weight: 900;*/
    opacity: 0.75;
}

.team i {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 30px;
    font-size: 44px;
    color: #ffffff;
    opacity: 0;
}
.team a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}
.team:hover img,
.team.hover img {
    zoom: 1;
    filter: alpha(opacity=50);
    -webkit-opacity: 0.5;
    opacity: 0.5;
}
.team:hover:after,
.team.hover:after,
.team:hover figcaption,
.team.hover figcaption,
.team:hover i,
.team.hover i {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

/*==================================================*/

/*==============footer sec-f======================*/

.footer{
    margin-top: 5%;
    font-family: 'akaya';
}

.footer__container{
    text-align: center;
    margin: auto;
    color: black;
}

.footer__logo{
    color: black;
    font-family: 'dolce';
}

.footer__description{
    display: block;
    margin: 2%;
}

.icon-social{
    margin-top: 3%;
}

.footer__social>i{
    color: black!important;
    margin-right: 2%;
}

.footer__link{
    color: black;
}

.footer__link:hover{
    color: #3187eb;
    transition: all 0.3s linear;
}

.footer__title{

    margin-bottom: 3%;
}

.nota-fin{
    display: grid;
    grid-template-columns: 80% 20%;
/*    padding: 1% 0% 0% 4.7%;*/
    margin-top: 3%;
    background: #ffcc41;
    background: #000000;
/*
    text-align: left;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    justify-self: center;
    align-self: center;
*/
/*    vertical-align: middle;*/
}

.nt:nth-child(1){
    display: flex;
    flex-direction: column;
/*    background: red;*/
    justify-content: center;
    border-right: 1px solid;
    font-size: 1.5em;
}

.nt:nth-child(2){
        display: flex;
    flex-direction: column;
/*    background: blue;*/
    align-items:center;
    width: 100%;
}

.nt script{
    width: 10%;
}

.nota, .nota-desc{
    color: white;
    font-family: 'akaya';
    width: 100%;
}

.footer__copy{
    text-align: center;
    color: #18326c;
}

/*========================================================*/



/*========== MEDIA QUERIES ==========*/



@media screen and (min-width: 350px){

.nav__menu{
    line-height: 29px;
    margin: 0;
}


.nav__list{
    justify-content: center;
    text-transform: uppercase;
}

.nav__item{
    padding: 1%;
    font-size: 1.2em;
}

.nav__toggle{
    font-size: 1.4em;
    cursor: pointer;
    z-index: 20;
}

    .sec-a{
        height: calc(31vh);

    }

    .about{
        height: calc(50vh + 1%);
        width: 100%;
        display: flex;

    }

    .about__data{
        width: 100%;
        font-size: 2.4vw;
        padding: 2%;
        margin: 0;

    }

    .centro{
        width: 80%;
        text-align: center;
        margin: auto;
    }

    /*===========GALERIA============*/
    .sec_c{
        width: 100%;
        height: calc(45vh);
    }

    .galeria>img{
        height: 35vh;
    }

    /*========== Equipo sec-d ==========*/


    .equipo__container{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .equipo__content:nth-child(1){
        width: 100%;
    }

    .team {
        max-height: 230px;
        width: 100%;
        font-size: 5vw;
    }

    .team h3,
    .team p {
        line-height: 2em;

    }
    .team h3 {
        line-height: 1.1em;
        font-weight: 300;

    }
    .team p {
        font-size: 4vw;
    }

    /*==============footer sec-f======================*/

    .footer__logo{
        font-size: 5vw;
        font-weight: 100;
    }

    .icon-social{
        margin-top: 3%;
    }

    .nota-fin{
/*        height: calc(22vh);*/
        width: 100%;
        padding: 3%;
    }
    .nota{
        font-size: 1.2rem;
    }

    .nota-desc{
        font-size: 0.8rem;
    }
    .footer__copy{
        margin: 3%;
        font-size: 3.2vw;
    }
}

@media screen and (min-width: 450px){

    .sec-a{
        height: calc(36vh);
    }

    /*===========GALERIA============*/
    .sec_c{
        width: 100%;
        height: calc(65vh);
    }

    .galeria>img{
        height: calc(53vh);
    }

    /*========== Equipo sec-d ==========*/


    .equipo__container{
        width: 100%;
    }
    .team p {
        font-size: 3.5vw;
    }

    /*==============footer sec-f======================*/

    .footer__logo{
        font-size: 4vw;
        font-weight: 100;
    }

    .icon-social{
        margin-top: 3%;
    }

    .nota-fin{
/*        height: calc(20vh);*/
/*        padding: 3%;*/
    }
    .nota{
        font-size: 2.8vw;
    }

    .nota-desc{
        font-size: 2.5vw;
    }
}
@media screen and (min-width: 650px){

    .sec-a{
        height: calc(49vh);
    }

    /*===========GALERIA============*/
    .sec_c{
        width: 100%;
    }

    /*========== Equipo sec-d ==========*/


    .equipo__container{
        display: grid;
        grid-template-columns: repeat (2,1fr);
        width: 100%;
    }

    .equipo__content:nth-child(1){
        width: 50%;
    }

    .team {
        font-size: 2.2vw;
    }

    .team h3,
    .team p {
        line-height: 2em;
    }
    .team h3 {
        line-height: 1.1em;
        font-weight: 600;

    }
    .team p {
        font-size: 2vw;
    }  

    /*==============footer sec-f======================*/

    .footer__logo{
        font-size: 3.5vw;
        font-weight: 100;
    }

    .icon-social{
        margin-top: 3%;
    }
    .nota{
        font-size: 2vw;
    }

    .nota-desc{
        font-size: 1.5vw;
    }
    .footer__copy{
        font-size: 1.5vw;
    }
}

@media screen and (min-width: 920px){
    .nav__toggle{
        display: none;
    }


    .l-header{
        width: 100%;
        font-size: 1em;
    }

    .nav__menu{

        transform: translate(0%);
        border-radius: 0%;
    }


    .nav__list{
        display: flex;
    }

    .scroll-header{
        background: rgba(20,20,20,.8);
    }

    .nav_item>.bot{
        display: none;
        color: red;
    }

    .nav_item .bot:hover{
        display: block;
    }



    .nav__item ul li:hover{
        background: white;
        transition: .3s linear!important;
    }


    .nav__link{
        transition: .3s;
    }
    .nav__link p{

    }



    .sec-a{
        height: calc(71vh);
    }

    /*===========GALERIA============*/
    .sec_c{
        width: 95%;
        height: calc(95vh);
    }

    .galeria>img{
        height: calc(83vh);
    }

    /*========== Equipo sec-d ==========*/


    .equipo__container{
        display: grid;
        grid-template-columns: repeat (3,1fr);
        grid-template-columns: repeat(3, 1fr);
        width: 90%;
    }

    .equipo__content:nth-child(1){
        width: 50%;
    }

    .team {
        font-size: 2vw;
    }

    .team h3,
    .team p {
        line-height: 2em;
    }
    .team h3 {
        line-height: 1.1em;
        font-weight: 600;

    }
    .team p {
        font-size: 1.8vw;
    }  

    /*==============footer sec-f======================*/

    .footer__logo{
        font-size: 2.5vw;
        font-weight: 600;
    }

    .icon-social{
        margin-top: 3%;
    }
    .nota{
        font-size: 1.6vw;
    }

    .nota-desc{
        font-size: 1.2vw;
    }
    .footer__copy{
        font-size: 1.2vw;
    }
}

@media screen and (min-width: 1135px){

    .sec-a{
        height: calc(88vh);
        width: 100%;
    }

    /*=========SECCION B===========*/

    .about{
        width: 100%;
        height: calc(110vh);
    }

    .about__data{
        font-size: 1.6vw;
        font-weight: 100;
    }

    .about__description{
        width: 80%;
        margin: auto;
    }

    /*===========GALERIA============*/
    .sec_c{
        width: 95%;
        height: calc(95vh);
        display: grid;
        grid-template-columns: 100%;
        gap:0;
    }

    .galeria>img{
        height: calc(83vh);
    }

    /*========== Equipo sec-d ==========*/
    .equipo{
        width: 100%;
    }

    .equipo__container{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .equipo__content:nth-child(1){
        width: 35%;
    }

    .team {
        font-size: 1.8vw;
        width: 80%;
    }

    .team h3,
    .team p {
        line-height: 2em;
    }
    .team h3 {
        line-height: 1.1em;
        font-weight: 600;
        font-size: 1.8vw;
    }
    .team p {
        font-size: 1vw;
    }  

    /*==============footer sec-f======================*/

    .footer__logo{
        font-size: 2vw;
        font-weight: 600;
    }
    .footer__description{
        font-size: 0.8vw;
    }

    .footer__social>i{
        font-size: 2.5rem;
    }

    .nota-fin{
/*        display: flex;*/
/*        flex-direction: column;*/
/*        height: 70px;*/
    }

    .nota{
        font-size: 1vw;
    }

    .nota-desc{
        font-size: .6em;
    }
    .footer__copy{
        margin: 0;
        padding: 0;
        margin-top: 2%;
        width: 100%;
    }
}

@media screen and (min-width: 1300px){
    .sec-a{
        height: calc(100vh);
    }
}

@media screen and (max-width: 920px){


    .nav__list .fa-home{
        font-size: 5.5vw;
    }

    .nav__item .fa-home:hover{
        color: black;
    }

    .nav__toggle{
        position: fixed;
        font-size: 6vw;
        padding: 3%;
        color: white;
        text-align: center;
    }

    .nav__list{
        display: grid;
        width: 100%;
        font-size: 3vw;
        padding-top: 5%;
        transition: .3s ease;

    }

    .nav__item{
        display: grid;
    }

    .nav__list li a:hover{
        background: white;
        color: black;
        justify-content: center;

    }

    .active-link{
        border-bottom: 0;
    }

    .nav__menu{
        display: flex;
        justify-content: space-around;
        background: rgba(20,20,20,.9);
        opacity: 1;
    }

    .scroll-header{
        background: rgba(20,20,20,0);
    }


}