/*header*/
.cabecera
{
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    transition: left 500ms ease-in-out;
    background-color: var(--azul);
}
.cabecera_centrada
{
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cabecera_centrada a,.cabecera_centrada a img
{
    height: 100%;
    color: var(--blanco);
}
.cabecera_centrada nav
{
    display: flex;
}
.cabecera_centrada nav li
{
    padding:10px;
    margin: 10px;
    border: solid 1px var(--blanco);
    border-radius: 12px 0;
    position: relative;
    z-index: 100;
    overflow: hidden;
    cursor: pointer;
}

.olas
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
}
.cabecera_centrada nav li:hover>.olas
{
    background-color: var(--turquesa);
    animation: olas 3s ease-in-out infinite;
}
@keyframes olas 
{
    0%, 100% {
        clip-path: polygon(
            0% 47%,
            10% 48%,
            33% 54%,
            54% 60%,
            70% 61%,
            84% 59%,
            100% 52%,
            100% 100%,
            0% 100%
        );
    }
    50% {
        clip-path: polygon(
            0% 60%,
            15% 65%, 
            34% 66%, 
            51% 62%, 
            67% 50%, 
            84% 45%, 
            100% 46%, 
            100% 100%, 
            0% 100%
        );
    }
}
.boton_slider
{
    display: none;
}
.line
{
    width: 80%;
    height: 10%;
    background-color: var(--blanco);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.boton_slider.activado .line:nth-child(1) 
{
    transform: rotate(-45deg) translate(-1.3vh, 1.3vh);
}
.boton_slider.activado .line:nth-child(2) 
{
    opacity: 0;
}
      
.boton_slider.activado .line:nth-child(3) 
{
    transform: rotate(45deg) translate(-1.3vh, -1.3vh);
}
@media screen and (max-width:450px) 
{
    .cabecera_centrada a
    {
        height: 30%;
    }
    .cabecera
    {
        width: 100%;
        height: 100vh;
        left: -100%;
    }
    .cabecera_centrada
    {
        flex-direction: column;
        justify-content: space-around;
    }
    .cabecera_centrada nav
    {
        flex-direction: column;
    }
    .boton_slider   
    {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        top: 2vh;
        left: 2vh;
        width: 6vh;
        height: 6vh;
        border: solid 1px var(--blanco);
        background-color: transparent;
        border-radius: 8px;
    }
}
/*section*/
.section
{
    margin-top: 10vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.centrado
{
    width: 80%;
    min-width: 320px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.mid
{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.tomid
{
    width: 50%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
}
/*inicio*/
.inicio
{
    color: var(--blanco);
}
.inicio .tomid h1,
.inicio .tomid p
{
    margin: 2vh 0;
}
.inicio .tomid button
{
    width: 50%;
    min-width: 280px;
    padding: 20px;
    border: solid 1px var(--blanco);
    background-color: var(--azul);
    color: var(--blanco);
    cursor: pointer;
    transition:background-color 500ms ease-in-out, color 500ms ease-in-out ;
}
.inicio .tomid button:hover
{
    background-color: var(--blanco);
    color: #000;
}
.inicio .tomid .img
{
    width: 80%;
    min-width: 280px;
    height: 50vh;
    background-image: url("../img/1.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: solid 1px var(--blanco);
    animation: bordes 6s ease-in-out infinite;
    transition: background-image 200ms ease-in-out;
}
@keyframes bordes {
    0% {
        border-radius: 50% 50% 50% 50%;
    }  
    20% {
        border-radius: 60% 80% 50% 70%;
    }  
    40% {
        border-radius: 70% 90% 50% 60%;
    }  
    60% {
        border-radius: 80% 70% 60% 50%;
    }
    80% {
        border-radius: 90% 80% 50% 70%;
    }
    100% {
        border-radius: 50% 50% 50% 50%;
    } 
}
/*nosotros*/
.nosotros 
{
    background-color: var(--blanco);
}
.nosotros .mid
{
    padding: 20px;
    align-items: center;
    text-align: center;
}
.nosotros .mid h2
{
    margin: 2vh 0;
}
.nosotros .mid p
{
    width: 80%;
    min-width: 280px;
    margin: 2vh 0;
}
.mid_cards
{
    width: 80%;
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
beneficio
{
    margin: 2vh 0;
    width: 280px;
    height: 280px;
    padding: 20px;
    background-color: var(--celeste);
    border-radius: 12px;
    box-shadow: 10px 10px 30px #000;
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
beneficio h3
{
    margin-bottom: 20px;
}
/*proyectos*/
.proyectos
{
    color: var(--blanco);
}
.proyectos .mid
{
    padding: 20px;
    align-items: center;
    text-align: center;
}
.proyectos .mid h2
{
    margin: 2vh 0;
}
.proyectos .mid p
{
    width: 80%;
    min-width: 280px;
    margin: 2vh 0;
}
.trabajos
{
    margin: 2vh 0;
    width: 280px;
    height: 280px;
    padding: 20px;
    background-color: var(--celeste_claro);
    border-radius: 12px;
    box-shadow: 10px 10px 30px #000;
    color: var(--blanco);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.verMas
{
    padding: 20px;
    border: solid 1px var(--blanco);
    background-color: var(--azul);
    color: var(--blanco);
    cursor: pointer;
    transition: background-color 500ms ease-in-out, color 500ms ease-in-out;
}
.verMas:hover
{
    background-color: var(--blanco);
    color: #000;
}
/*CONTACTO*/
.contacto
{
    color: var(--blanco);
}
.contacto .centrado
{
    border: solid 1px var(--blanco);
    border-radius: 10px;
}
.contacto .tomid form
{
    display: flex;
    flex-direction: column;
}
.contacto .tomid form label
{
    margin: 20px 0;
}
.contacto .tomid form input
{
    outline: none;
    border: 0;
    border-bottom: solid 1px var(--blanco);
    background-color: transparent;
    color: var(--blanco);
    padding: 10px;
}
.contacto .tomid form textarea
{
    outline: none;
    border: solid 1px #fff;
    padding: 10px;
}
.contacto .tomid form button
{
    margin: 20px 0;
    width: 50%;
    min-width: 280px;
    padding: 10px;
    border: solid 1px var(--blanco);
    outline: none;
    background-color: var(--azul);
    color: var(--blanco);
    cursor: pointer;
    transition: color 500ms ease-in-out, background-color 500ms ease-in-out;
}
.contacto .tomid form button:hover
{
    color: #000;
    background-color: var(--blanco);
}
.titulo_redes
{
    margin: 20px 0;
}
.cont_redes i
{
    font-size: 30px;
    margin: 0 20px;
    color: var(--blanco);
}
/*footer*/
footer
{
    margin-top: 10vh;
    width: 100%;
    background-color: #000;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    color: var(--blanco);
}
.sec_footer
{
    margin: 20px 0;
    width: 280px;
    display: flex;
    flex-direction: column;
}
.sec_footer h2
{
    margin: 10px 0;
}
.sec_footer img
{
    width: 100px;
}
.sec_footer a
{
    color: var(--blanco);
    margin: 10px 5px;
}
/*ARTICULO*/
.articulo 
{
    background-color: var(--blanco);
}
.articulo .mid
{
    padding: 20px;
    align-items: center;
    text-align: center;
}
.img_principal
{
    width: 60%;
    min-width: 280px;
}
.articulo .mid h1
{
    margin: 2vh 0;
}
.articulo .mid p
{
    width: 80%;
    min-width: 280px;
    margin: 2vh 0;
}
.galeria
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.galeria img
{
    width: 280px;
    height: fit-content;
    box-shadow: 10px 10px 30px #000;
    margin: 20px 0;
}