body{
    font-family: 'Outfit', sans-serif;
    font-family: 'Roboto', sans-serif;
}
* {
    padding: 0 px;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --primaryColor:rgb(112, 112, 170);
    --secundaryColor:rgb(255, 171, 171);
    --terciaryColor:rgb(68, 68, 124);
}
html{
    scroll-behavior:smooth
}
.headerWrapper{
height: 17vh;
padding: 3%;
}
header{
    position: fixed;
    display: flex;
    padding: 1%;
    background-color: whitesmoke;
    height: 17vh;
    width: 100vw;
    z-index: 10;
}
h1{
    text-align: center;
    position: relative;
    left: 10vw;
    top: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: normal;
    width: 80%;
    color:var(--secundaryColor);
}
#headerLeft{
    width: 30%;
    display: flex;
    justify-content: center;
}
#headerRight{
    width: 70%;
    padding: 2%;
}
.toggleMenu {
    display: none;
}
.toggleMenu img{
    max-width: 100%;
}
main{

    background-color: white;
}
.logo{
    position: relative;
    height: 100px;
    width: 190px;
}
.navbar{
    display: flex;
    width: 80%;
    justify-content: space-around;
    
}
.navbar li{
    display: flex;
    font-size: 1.25rem;
    width: 18%;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    padding: 3px;
}

.nav-item:hover{
    background-color: rgb(212, 212, 254);
    transition: 0.4s ;
}

.navbar li a{
    text-decoration: none;
    text-align: center;
    color: var(--terciaryColor);
}
.title{
    color: var(--secundaryColor);
    font-size: 2rem;
}
.indexIntro{
    padding: 10%;
    width: 50%;
}

#table-section{
    width: 98vw;
    display: flex;
    padding: 50px;
    align-items: center;
   flex-direction: column;
}
#index{
    background-color:var(--primaryColor);
    width: 100%;
}
#indexNovedades{
    background-color:var(--primaryColor);
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;


}
#asamblea{
    margin: 15px;
    align-self: center;
    z-index: 9;
}
.img-hemo{
    width:78% ;
    height: 78% ;
    border-radius: 15px;
}
figure{
    position: relative;
}
/* Animación de cambio de imagen:*/
#img1{
    z-index: 1;
    animation-name: changeImage;
    animation-iteration-count: infinite;
    animation-direction:alternate;
    animation-duration: 7s;

}
#img2{
    position: absolute;
    z-index: 0;
}
@keyframes changeImage {
    0% {opacity: 1;}
    40% {opacity: 1;}
    60% {opacity: 0;}
    100% {opacity: 0;}
}
figure{
    display: flex;
    align-items: center;
}
#introandimage{
    display: flex;
    flex-direction: row;
}
table{
    padding: 0px;
    background-color:rgb(221, 221, 252) ;
    border: solid 1px #000;
    width: 43vw;

}
h2{
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}
th, td{
    border-bottom: 1px solid gray;
    border-right: 1px solid gray;
    font-weight: normal;
    font-size: 1.3rem;
    text-align: center;
}
th{
    font-size: 1.4rem;
    height: 65px;
    background-color:rgb(200, 200, 254)
}

hr{
    width: 30vw;
}
footer{
    background-color: var(--terciaryColor);
}
form{
    display: flex;
    flex-direction: column;
    position: relative;
    left: 30vw;
    width: 30vw;
    padding: 10px;
}
#footer-main{
    display: flex;
    flex-direction: row;
}
footer h2,p{
    color: white;
}
h3{
    color: rgba(255, 255, 255, 0.4);
}
input, textarea, button{
    border-radius: 8px;
    font-size: 0.85rem;
}
textarea{
    width: 75%;
}
input{
    height: 30px;
    width: 50%;
}
button{
    width: 150px;
    font-weight: bold;
    position: relative;
    bottom: 10px;

}
footer hr{
position: relative;
left: 35vw;
}
#contact{
    display: flex;
    position: relative;
    left: 8%;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    
}
#contact p, #contact h3{
    font-size: 1.4rem;

}
/*Inicio del escalado responsive del nav*/
@media (max-width: 1200px) {
    #headerRight{
        width: 85%;
    }
    #headerLeft{
        width: 15%;
    }
    .navbar{
        width: auto;
    }  
}
@media (max-width: 750px){
    #footer-main{
        flex-direction: column;
    }
    form{
        left:30px;
        width: 90%;
    }
    #contact{
        padding: 20px;
        width: 90%;
    }
    h1{
        font-size: 2rem;
    }
    .title{
        font-size: 1.3rem;
        font-weight:lighter;
    }
    figure{display: none;}
    .indexIntro{
        width: auto;
        padding: 15%;
    }
    th, td{

        font-size: 0.7rem;
        padding: 5px 25px;
    }
    h2{
        font-size: 1.9rem;
    }
    #contact p, #contact h3{
        font-size: 1.1rem;
    
    }
    .vanish{
        display: none;
    }
    .navbar{
        visibility: hidden;
        flex-direction: column;
        transform: translateX(150%);
        transition: transform 0.4s;
    }
    .navbar-show{
        visibility:initial;
        transform: translateX(50%);
    }
    .toggleMenu{
        display: initial;
        width: 40px;
        position: absolute;
        top: 7vh;
        left: 75%;
    }
    #navbar{
        background-color: whitesmoke;
    }
    #headerRight{
        width: 70%;
    }
    #headerLeft{
        width: 30%;
    }
    #headerRight ul{
        height: 50vh;
        width: 45vw;
        border-radius: 2px;
    }
    #headerRight ul li{
        position: relative;
        right: 6vw;
        width: 35vw;

    }
}