*{
    margin:0;padding:0;box-sizing:border-box;
}
html{scroll-behavior: smooth;}
/*Comienzo de estilo de la Barra de navegacion*/
body{
   background-image: url("https://cdn.pixabay.com/photo/2020/04/16/11/13/background-5050213_960_720.png");
    /* background-image: url("https://i.pinimg.com/originals/5d/03/31/5d0331415ed26d803aa27e1b6ae9b3b4.jpg"); */
    background-repeat: no-repeat;
    background-size: cover;
}
nav{
    width:100%;
    height: 50px;
    display: flex;
    z-index: 10;
    font-weight: 300;
    transition:0.2s ease-in-out;
    border-bottom: 1px solid black;
    background-color:aliceblue;
}
.logo{
    padding: 1vh 2vw;
    margin-top: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    color: rgb(9, 1, 1);
    width: 25rem;
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
}
.logo h1{
    margin-left: 10px;
}

.navLinks{
    display:flex;
    list-style:none;
    width: 70vw;
    padding-right: 2w;
    justify-content: space-evenly;
    align-self: center;
}

.navLinks li a{
    text-decoration: none;
    margin: auto;
    color:black;
    font-family:sans-serif;

}

.navLinks li a:hover{
    color:#61dafb;
}

.navLinks li{
    position: relative;
}

.navLinks li a::before{
    content: '';
    display: block;
    height: 3px;
    width: 0%;
    top:25px;
    background-color: #61dafb;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}

.navLinks li a:hover::before{
    width: 80%;
}

.hamburguesa div{
    width: 30px;
    height: 3px;
    background: #111;;
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburguesa{
    display:none;
}

/*Fin de estilo de la Barra de navegacion*/
/*Comienzo del diseño principal*/

main{
    display:flex;
    flex-direction:column;
}

header{
    width:100%;
    height: auto;
    margin: auto;
    text-align: center;  
}
.titulo{
    padding: 30px;
}

.contenedor{
    width: 50%;
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
    border: 2px solid black;
    border-radius: 4px;
    background-color: white;
}

.informaciom{
    margin-bottom: 5px;
}
.informaciom h3{
    padding: 5px 0;
    text-align: center;
   
}

.parrafo{
    text-align: justify;
    padding: 20px;
}
/*Comienzo del diseño del formulario*/
.formulario
{   align-items: center;
    margin:auto;
    padding: 10px;
}

legend{
    text-align: center;
    padding-bottom: 30px;
    text-decoration: underline;
}

input{
    border-radius: 10%;
    margin: 10px;
}
#nombre,#apellido{
    padding: 3px;
}

#edad, #aportes, #genero {
    width: 50px;
    padding: 5px;
}

input:hover{
    background-color:rgb(18, 82, 245);
}
.alerta{ /*Color que se va a usar con JS*/
    border-color: red;
}
/*Fin del diseño del formulario*/

button{
    text-decoration: none;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    transition: all 1s ease;
}
button:hover{
    color: #1883ba;
    background-color: #ffffff
}

#infoFinal{
    width: 50%;
    height:auto;
    font-size: 2rem;
    margin: 20px;
    padding: 10px;
}

footer{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content:space-around;
    width: 100%;
    height: auto;
    background-color:black;
    margin-top: 20px;
}

footer p{
    margin-left: 20px;
    padding: 10px;
    color: #ffffff;
    
}
footer a{
   
    padding: 10px;
    color: #ffffff;
    
}
