html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:sans-serif;  
}
body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    container-name:body;
    container-type: inline-size;
    
}

body::-webkit-scrollbar{
    display: none;
    
}


/*SECTION HOME PAGE*/
.home__page{
    background-image:url('../images/DSC04691EDIT.webp') ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
   

}

.home__header{
    background-color: #95a7a1a1; 
    position: absolute;
    width: 100vw;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    
    

}

.header__logo{
    max-width: 8rem;
    height: auto;
    margin-left: 10px;
    
}
.header__logo img{
    max-width: 100%;
    
}

.open__menu{
    display: none;
}
.menu__desplegable{
    max-width: 2rem;
    height: auto;
    margin-right: 15px;
    z-index: 4;
}
.menu__desplegable img{
    cursor: pointer;
    width: 100%;
}
.header__nav{
  
    opacity: 1;
    background-color: #95a7a1ea;
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;
    border-radius: 0 0 0 20px;
    right: 0;
    top:0;
    z-index: 2;
    transition: all 0.4s ease-in-out;
}

.open__menu:checked ~ .header__nav{
    opacity: 1;
    display: flex;
    width: 70vw;
    height: 68vh;
    
}
.header__nav-list{
    display: flex;
    flex-direction: column;
    height: 40vh;
    margin: auto;
    justify-content: space-evenly;
    text-decoration: none;

  
}
.header__nav-item{
    list-style: none;
    transition: transform 0.6s ease-out;
}
.header__nav-item:hover{
    transform: scale(1.30);
}
.header__nav-item a{
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;
}

.link label{
    cursor: pointer;
    display: block;
    box-sizing: border-box;
}

.home__presentation{
    color:#ffff;
    position: absolute;
    height: 85.6vh;
    width: 100%;
    bottom: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: aparecer 2.6s -.1s both;
}

/*Ventana modal*/

.home__presentation dialog{
    border: none;
    outline: none;

    
    &&::backdrop{
        background-color: #3d3d3dd2;
    }
}
.image__zoom{
    max-width:70%;
    height: 80vh ;
    margin: 0 auto;
    align-items: center;
    top: 10%;
    overflow: hidden;
}
.image__zoom img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;

}

.home__presentation-img{
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.562) ;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin: 0 auto;
    transition: transform .4s ease-out;

        &&:hover{
            transform:scale(1.02) ;
        }
    
}
.home__presentation-img img{
    display: block;
    position: relative;
    margin: 0 auto;
    top:-80px;
    left: -12px;
    width: 220px;
    height: 280px;
    object-fit:contain;
    cursor: pointer;
}
.main__nombre{
    padding-right: 3.8px;
    position: relative;
    font-size: 1.5em;
}
.main__nombre::before{
    content:'';
    height: 90%;
    width: 2.5px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    right: 0;
    animation: titilar .7s infinite alternate;
   
}
.home__presentation h4{
    color: #e7e7e7;
}



/*QUERIES HOME PAGE*/
@media screen and (min-width:56.25rem){

    body::-webkit-scrollbar{
        display: block;
        width: 6px;
    }
    body::-webkit-scrollbar-thumb{
        background-color: #5e8f7d;
        border-radius: 5px;
        
    }
    body::-webkit-scrollbar-track{
        background-color: transparent;
    }

    .home__header{
        padding: 0px;
    }
    .header__logo{
        max-width:12rem;

        margin-left:35px ;
    }
    .header__nav{
        display: block !important;
        position: static;
        width: 50% !important;
        height: 100% !important;
        border-radius: 0;
        z-index: 0;
        background-color: transparent;
    }
    
    .header__nav-list{
        flex-direction: row;
        gap: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        
    }
    .header__nav-item{
        opacity: 1;
        width: 100%;
        
        text-align: center;
        height: 100%;
        transform: none !important;
        transition: background-color 0.8s ease-in-out,
                    transform 0.5s ease-in-out;
    }
    .header__nav-item:hover{
        background-color: #95a7a1ec;
    }
    .header__nav-item a{
        display: block;
        line-height: 7.8rem;
        
    }

    .menu__desplegable{
        display: none;
    }
    .home__presentation-img{
        box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.562) ;
        width: 270px;
        height: 270px;
    }
    dialog{
        width: 27.8%;
        height: 80vh;
        margin: 0 auto;
        overflow: hidden;
        top: 10%;
        
    }
    dialog img{
        width:100%;
        height: 100%;
        position: relative;
        object-fit:contain;
    }
    

    .home__presentation-img img{
        left: -5px;
        width: 280px;
        height: 360px;
        
    }
    .animation__h1 h1{
        font-size: 2.0rem;
    }
    .home__presentation .main__nombre{
        font-size: 2em;
    }
    .home__presentation h4{
        font-size: 1.3rem;
    }

    }

/*ENDS HOME PAGE*/
/*SECTION ABOUT ME*/
main{
    background: linear-gradient(180deg, rgba(140, 159, 199, 1) 23%, rgba(148, 162, 187, 1) 50%, rgba(103, 106, 111, 1) 100%);
    container-name:main;
    container-type: inline-size;
}
.main__content{
    padding: 2.5rem;
    padding-bottom: 4rem;
    display: grid;
    justify-content: center;
    gap: 3.5rem;  
    position: relative;
}
.main__image{
    display: none;
    animation: aparecer both;
    animation-timeline: view();
    animation-range: cover -5%  contain 70% ;
    
    
}




.main__description{
    background-color: #272727c7;
    color: #ffff;
    padding: 1rem;
    border-radius: 1px;
    box-shadow: 23px 23px 0px #7d9c92af,
                12px 12px 7px #080808c5;
    width: 100%;
    max-width: 680px;
    animation: aparecer both;
    animation-timeline: view();
    animation-range-start: cover -12%;
    
}

.main__description h2{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.point__green{
    color:#71bea5ec;
    font-size: 2.7rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.sangria__texto{
    font-size: 2rem ;
    margin-left: 3rem;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.main__skill{
    background-color: #272727c7;
    color: #ffff;
    padding: 1rem;
    border-radius: 1px;
    box-shadow: 23px 23px 0px #7d9c92af,
                12px 12px 7px #080808c5;
    width: 100%;
    max-width: 680px;
    animation: aparecer both;
    animation-timeline: view();
    animation-range-start: cover -10%;
}
.main__skill h3{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}
.skill__set-grid{
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(2, minmax(120px,1fr));
    grid-template-rows: repeat(2,120px);
    justify-content: center;
    padding: 15px;

}


.skill__set-cell{
    background-color: #404040b4;
    overflow: hidden;
    
    border-radius: 6px;
    border:1px solid #7d9c92;
    align-content: center;
    text-align: center;
    padding: 10px 10px ;
    transition:border .4s ease-in-out,
               box-shadow .8s ease-in;
    position: relative;
               
}
.skill__set-cell a{
    display: inline-block;
}

.icon__select{
    transform: scale(.8);
    transition: transform .2s ease-out;
}


.content__learning-ul{
    
    list-style: none;
    display: block;
    position: absolute;
    top: 20%;
    right: 0;
    transform: translateX(105px);
    transition: transform .4s ease-out;
}

/*CELDAS MAS PEQUEÑAS PARA PHONE*/
.skill__set-cell.small-cell:hover .icon__select{
    transform: scale(.7) translateX(-50px);
}

.skill__set-cell.small-cell:hover .content__learning-ul{
    font-size: .8em;
}

.skill__set-cell.small-cell:hover .content__learning-ul.git{
    font-size: .7em;
    transform: translateY(10px);
}
/*FIN DE CELDAS PEQUEÑAS*/
.skill__set-cell:hover .icon__select{
    transform: translateX(-40px) scale(.8);
    
}
.skill__set-cell:hover .icon__select:last-child{
    transform: translateX(-100px);
}

.skill__set-cell:hover .content__learning-ul{
    transform: translateX(0px);
}

.skill__set-cell:hover{
    border: 1px solid #71bea5ec;
    box-shadow: 0px 0px 5px  #71bea5ec ;
    
}
.skill__set-cell:hover svg{
    fill: #71bea5ec;
}

.icon__select svg{
    fill: #fff ;
    transition: fill .6s ease-in;
}

/*QUERIES ABOUT ME*/
@container main (min-width:60rem){
    .main__content{
        grid-template-columns: repeat(2,minmax(120px,1fr)).5fr  repeat(2,1.5fr);
        grid-template-rows: 3fr .2fr 3fr .2fr;
        padding-left: 9rem;
        padding-top: 3.5rem;
        position: relative;
    }
    .main__image{
        display: block;
        grid-column: span 3;
        grid-row: span 3;
        justify-self: center;
        align-self: center;
        width: 85%;
        height: auto;
        overflow: hidden;
        box-shadow: 23px 23px 0px #7d9c92a1,
                    12px 12px 7px #080808a1;
        
    }
    .main__image img{
        object-fit: cover;
        width: 100%;
        height: 100%;
        height: auto;
        
    }
    .main__description{
        width: 100%;
        grid-column: 4/span 2;
        grid-row: span 2;
        background-color:#272727a9; 
        justify-self: center;
        padding: 0 2rem 2.5rem 2rem;
        
    }
    .main__description h2{
        text-align: left;
        margin-left: 3rem;
        padding-top: 1rem;
        padding-bottom: .3rem;
        font-size: 2rem;
    }
    .main__description p{
        font-size: 1.1rem;
    }
    .point__green{

        font-size: 3.5rem;
    }

    .main__skill{
        grid-column: 4/span 2;
        grid-row: 3/span 2;
        background-color:#2727276e; 
        justify-self: center;
        height: 100%;
    }
    .main__skill h3{
        padding-top: 1rem;
        padding-bottom: .3rem;
        font-size: 2rem;
    }

    .content__learning-ul{
        transform: translateX(110px);
    }

    .skill__set-cell:hover .icon__select, .skill__set-cell.small-cell:hover .icon__select{
    transform: translateX(-60px);
    }
    .skill__set-cell:hover .content__learning-ul, .skill__set-cell.small-cell:hover .content__learning-ul{
    transform: translateX(-15px);
    }
    .skill__set-cell.small-cell:hover .content__learning-ul, .skill__set-cell.small-cell:hover .content__learning-ul.git{
        transform: translateX(-10px);
        font-size: 1em;
    }
}

@container main (min-width:85rem){
    
    .main__content{
        grid-template-columns: 13rem 13rem 2.5rem  repeat(2,1fr);
        grid-template-rows: 377px 5rem 300px 5rem;
        padding-left: 9rem;
        padding-top: 3.5rem;
    }
    .main__image{
        display: block;
        grid-column: span 3;
        grid-row: span 3;
        justify-self: center;
        align-self: center;
        width: 85%;
        height: 73%;
        overflow: hidden;
        box-shadow: 23px 23px 0px #7d9c92a1,
                    12px 12px 7px #080808a1;
        
    }
    .main__image img{
        object-fit: cover;
        width: 100%;
        height: 100%;
        height: auto;
        
    }
    .main__description{
        width: 100%;
        grid-column: 4/span 2;
        grid-row: span 2;
        background-color:#272727a9; 
        justify-self: center;
        padding: 0 2rem 2.5rem 2rem;
        animation: aparecer both;
        animation-timeline: view();
        
    }
    .main__description h2{
        text-align: left;
        margin-left: 3rem;
        padding-top: 1rem;
        padding-bottom: 2rem;
        font-size: 2.5rem;
    }
    .main__description p{
        font-size: 1.2rem;
    }
    .point__green{

        font-size: 3.5rem;
    }

    .main__skill{
        grid-column: 4/span 2;
        grid-row: 3/span 2;
        background-color:#2727276e; 
        justify-self: center;
        height: 100%;
    }
    .main__skill h3{
        padding-top: 1rem;
        padding-bottom: .3rem;
        font-size: 2rem;
    }
    .skill__set-grid{
        grid-template-columns: repeat(3, minmax(120px,1fr));
        grid-template-rows: repeat(auto-fill,1fr);
        
    }
}

/*ENDS ABOUT ME*/


/*SECTION PORTFOLIO*/
.portfolio__mobile{
    width: 100%;
    height: 100vh;
    background-color:rgba(103, 106, 111, 1) ;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-direction: column;
    container-type: inline-size;
    container-name: portfolio;
    
}
/*QUE NO SE VEA EL PORTFOLIO PC*/

.portfolio__pc{
    display: none;
}
.portfolio__mobile-grid{
    color: #ffff;
    
    width: 80%;
    height: 80%;
    
    justify-content: space-between;
    
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,1fr);
}
.portfolio__mobile h3{
    color: #ffff;
    text-align: center;
    margin-bottom: 1.3em;
    font-size: 2.5rem;
    animation: aparecer both;
    animation-timeline: view();
    animation-range-start: cover -20%;
}
.grid__mobile-item{
    background-color: #62a58c;
    transition: transform 0.5s ease,
                box-shadow 0.2s linear;

    animation: aparecer both;
    animation-timeline: view();
    animation-range: cover 5% cover 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.grid__mobile-item:first-child{
    
    border-radius: 45px 0px 0px  0px ;
}
.grid__mobile-item:nth-child(2){
    grid-column: span 2;
   background-color:  #507064;
    
}
.grid__mobile-item:nth-child(3){
    grid-column: span 3;
   background-color:  #91bbac;
    
}
.grid__mobile-item:nth-child(4){
    grid-column: span 2;
   background-color:  #507064;
    
}
.grid__mobile-item:last-child{
    border-radius: 0px 0px 45px  0px ;
}

.grid__mobile-item:hover{
    transform: scale(1.05); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.589);
    z-index: 50;
}

/*IMAGES PROYECT PHONE*/
.content__back-blog{
    width: 100%;
    height: 100%;
    color: #ccc;
    background-color: #4646469c;
    font-size: 24px;
    transition: background-color .2s ease-in-out;
}
.content__back-blog:hover{
    background-color: transparent;
}


.portfolio__mobile-grid .grid__mobile-item.premio-AI{
   max-width: 100%;
   height: 100%;
   background-image: url(../images/proyectos/premio-AI-mobile.jpg);
   background-size: contain;
   
}
.portfolio__mobile-grid .grid__mobile-item.cantv{
   max-width: 100%;
   height: 100%;
   background-color: lightgrey;
   background-image: url(../images/proyectos/Cantv-mobile.jpg);
   background-size:cover;
   background-repeat: no-repeat;
   background-position: top;
   
}
.portfolio__mobile-grid .grid__mobile-item.shopitt{
max-width: 100%;
   height: 100%;
   background-color: lightgrey;
   background-image: url(../images/proyectos/shopitt.jpg);
   background-size:cover;
   background-repeat: no-repeat;
   background-position: top;
}


/*QUERIES PORTFOLIO*/

@container body (min-width:56.25rem){
    .portfolio__mobile{
        display: none;
    }
    
    .portfolio__pc{
        display: block;
        height: 4.5rem;
        width: 4.5rem;
        background-color: #59776c;
        position: fixed;
        z-index: 1000; /* Asegura que esté por encima */
        top:17vh;
        right: 0;
        box-shadow: 10px 0 25px 15px rgba(0, 0, 0, 0.411);
        border-radius: 10px 0 0 10px;
        transition: box-shadow .8s ease-in;

        animation: aparecer 2.6s -.1s both;
    }

    .portfolio__pc:hover{
        box-shadow: 15px 0 25px 15px rgba(206, 206, 206, 0.658);
    }
    
    .portfolio__pc label{
        display: block;
        height: 100%;
        width: 100%;
        text-align: center;
        
    }
    
    .portfolio__pc label svg{
        fill: #fff;
        height: 70%;
        width: 70%;
        margin-top: .5em;
        transition: fill .6s ease-out,
                    height .3s ease-in-out,
                    width .3s ease-in-out;
        
    }
    .portfolio__pc:hover label svg{
        fill: #71bea5ec;
        height: 74%;
        width: 74%;
        cursor: pointer;
    }
    


    .content__pc{
        display:none;
        background-color: #0009;
        flex-direction: column;
        overflow: hidden;
        height: 0;
        width: 0;
        
        position: fixed;
        right: 4.6rem;
        padding: 3rem;
        border-radius: 35px 0 35px 35px;
        transition: all .7s ease-out;
        animation: abrir .8s linear both ;
        
       
    }
    .open__portfolio{
        display: none;
    }

    .open__portfolio:checked ~ .content__pc{
        display: flex;

        
    }

    .cerrar__content-pc{
        position: absolute;
        display: block;
        color: #fff;
        top: 20px;
        left: 25px;
        width: .5em;
        height: .5em;
        font-weight: 900;
        cursor: pointer;
    }
    
    .portfolio__mobile-grid{
        width: 98%;
        height: 85%;
        
    }
    


    .content__pc h3{
        color: #ffff;
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1.6rem;
    }

/*IMAGES PROYECT PC*/

.content__back-blog{
    width: 100%;
    height: 100%;
    color: #ccc;
    background-color: #4646469c;
    font-size: 24px;
    transition: background-color .2s ease-in-out;
}
.content__back-blog:hover{
    background-color: transparent;
}
.portfolio__pc .portfolio__mobile-grid .grid__mobile-item.premio-AI{
    max-width: 100%;
   height: 100%;
   background-image: url(../images/proyectos/premio-AI-PC.jpg);
   background-size: contain;
   background-size:cover;
   background-repeat: no-repeat;
   background-position: top;
}

.portfolio__pc .portfolio__mobile-grid .grid__mobile-item.cantv{
   max-width: 100%;
   height: 100%;
   background-color: lightgrey;
   background-image: url(../images/proyectos/Cantv-PC.jpg);
   background-size:cover;
   background-repeat: no-repeat;
   background-position: top;
   
}

.portfolio__pc .portfolio__mobile-grid .grid__mobile-item.shopitt{

    max-width: 100%;
   height: 100%;
   background-color: lightgrey;
   background-image: url(../images/proyectos/shopitt.jpg);
   background-size:100%;
   background-repeat: no-repeat;
   background-position: top;
}

}

/*ENDS PORTFOLIO*/


/*SECTION CONTACT*/
.contact{
    background-color: #507064;
    background-image:  linear-gradient(30deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(150deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(30deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(150deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(60deg, #395c5077 25%, transparent 25.5%, transparent 75%, #395c5077 75%, #395c5077), linear-gradient(60deg, #395c5077 25%, transparent 25.5%, transparent 75%, #395c5077 75%, #395c5077);
    background-size: 34px 60px;
    background-position: 0 0, 0 0, 17px 30px, 17px 30px, 0 0, 17px 30px;
    container-name:contacto ;
    container-type: inline-size;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form{
    
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0;

    animation: aparecer both;
    animation-timeline: view();
    animation-range: cover -5% cover 70%;
}
.form__title{
    font-size: 2.5rem;
    color: #ffff;
    margin-bottom: 1.3em;
    
}
.form__form{
    color: #ffff;
    flex: 1;
    padding: 10px;
    max-width: 700px;
    width: 80%;
    display: grid;
    gap: 2em;
    
}

.form__input-container{
    position: relative;
}

.form__input-container label{
    margin-left:15px ;
    font-size: 1.3rem;
    position: absolute;
    top: 0;
    transform: translateY(-25px);
}
.form__input-container input, textarea{
    max-width: 98%;
    width: 98%;
    padding: 9px 6px;
    font-size: 16px;
    margin: 4px;
    border: none;
    outline: none;
    box-sizing: 2px 2px 4px #0003;
    border-radius:10px 0px 10px  0px ;
}

.form__input-container textarea{
    height: 60px;
    
    resize: none;
    font-family: inherit;
}
.form__input-container .boton{
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-radius:10px 0px 10px  0px ;
    color:rgba(53, 52, 52, 0.801);
    border: none;
    font-size: 1.3em;
}

/*QUERIES CONTACT*/
@container contacto (min-width:65.25rem){

    

    .form{
        height: 90%;
    }
    .form__form{
        display: grid;
        gap: 1.5em;
        background:#62a58c ;
        padding: 2rem;
        border-radius:25px 0px 25px  0px ;
        box-shadow: 6px 0 50px 8px rgba(39, 49, 39, 0.856);
        
    }
    .form__input-container{
        position: relative;
    }

    .form__input-container label{
        color: #ecececdc;
        cursor: pointer;
        position: absolute;
        margin: 0;
        top: 0;
        left: 3px;
        transform: translateY(10px);
        transition: transform .5s, color .3s;
    }
    .form__input-container .label__textarea{
        transform: translateY(25px);
        transition: transform .5s, color .3s, left .3s;
    }

    .form__input-container input:focus + label,
    .form__input-container input:not(:placeholder-shown) + label {
        transform: translateY(-10px) scale(.8);
        color:#fff;
        transform-origin: left top;
    }

    .form__input-container textarea:focus + .label__textarea,
    .form__input-container  textarea:not(:placeholder-shown) + .label__textarea{
        transform: translateY(-12px) scale(.8);
        transform-origin: left top;
        color:#fff;
        
    }

    .form__input-container input, textarea{
        border: none;
        outline: none;
        background-color: transparent;
        border-bottom: 2px solid #ffff;
        color: #ffff;
        border-radius: 0px ;

        
    }
    
    .form__input-container input::placeholder, textarea::placeholder{
        color: #fff;
    }
    .form__input-container .boton{
        width: 100%;
        height: 50px;
        background-color: #fff;
        border-radius:10px 0px 10px  0px ;
        color:rgba(53, 52, 52, 0.801);
        border: none;
        font-size: 1.3em;
    }
}
/*ENDS CONTACT*/

/*SECTION FOOTER*/
footer{
    background-color: #507064;
    background-image:  linear-gradient(30deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(150deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(30deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(150deg, #395c50 12%, transparent 12.5%, transparent 87%, #395c50 87.5%, #395c50), linear-gradient(60deg, #395c5077 25%, transparent 25.5%, transparent 75%, #395c5077 75%, #395c5077), linear-gradient(60deg, #395c5077 25%, transparent 25.5%, transparent 75%, #395c5077 75%, #395c5077);
    background-size: 34px 60px;
    background-position: 0 0, 0 0, 17px 30px, 17px 30px, 0 0, 17px 30px;
    height: 10vh;
    position: relative;
    container-name: footer;
    container-type: inline-size;
}
.social__contact{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 5em;
    background-color: #2727279d;
    position: absolute;
    bottom:0;
    
    justify-content: space-between;

}
.menu__second{
    margin-left: .3em;
}
.ul__menu-second{
    font-size: .7rem;
    height: 100%;
    
    list-style:none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .3em;
}

.li__link-second{
    text-decoration: none;
    color: #fff;
}
.li__link-second:link{
    text-decoration: none;

}

.social{
    display: flex;
    gap:1em;
    align-items: center;
    margin-right: 1em;
}

.social h4{
    font-size: 1.3em;
    color: #ffff;
}

.li__social{
    display: inline-block;
}

.li__social a img{
    width: 2em;
    height: auto;
}

/*QUERIES FOOTER*/

@container footer (min-width:56.25rem){


    .menu__second{
        margin-left: .8em;
    }
    .ul__menu-second{
        font-size: .8rem;
        
        gap: .2em;
    }
    .social{
        
        gap:1.3em;
        
        margin-right: 2em;
    }
    
    .social h4{
        font-size: 1.5em;
        color: #ffff;
    }
    
    .li__social{
        display: inline-block;
    }
    
    .li__social a img{
        width: 2.3em;
        height: auto;
    }
}

    

/*ENDS FOOTER*/

/*ANIMACIONES*/
@keyframes titilar{
    from{opacity: 0;}
    
    to{opacity: 1;}
    
}


@keyframes abrir{
    0%{
        width: 21%;
        height: 0vh;
    }
    
    35%{
        width: 42%;
        height: 10vh;
    }

    65%{
        width: 62%;
        height: 15vh;
    }

    70%{
        width: 73.6%;
        height: 20vh;

    }
    75%{
        height: 30vh;
    }

    80%{
        width: 78.6%;
        height: 50vh;
    }
    90%{
        width: 83.6%;
        height: 70vh;
    }

    100%{
        width: 83.6%;
        height: 80vh;
    }
}
@keyframes cerrar{
    0%{ 
 
        width: 83.6%;
        height: 80vh;
    }
    
    50%{
        opacity: 0.5;
        width: 41.8%;
        height: 35vh;
    }


    100%{
        opacity: 0;
        width: 0%;
        height: 0%;
    }
}
@keyframes aparecer{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}