body{
    background-color: #9dacb4;
}

header {
    padding: 20px;
}

.txt-navbar {
    background-color: antiquewhite;
    padding: 5px 15px;
    border: 1px solid #333;
    border-radius: 5px;
    text-align: center;
}

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

}

nav ul li {
    display: inline;
    margin: 0 15px;
}

 nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
    color: #333;
}


.img-main{

    width: 50%;

    display: flex;

    align-items: center;

    padding: 20px;

    min-height: 300px;

    margin-left: 25%;

}

.img-main img {

    max-width: 100%;

    height: auto;

    border-radius: 8px;

}



.txt-main{

    text-align: center;

    font-family: sans-serif;

    font-size: large;

}

.div-imagen-txt-main{

    display: flex;



}

.div-imagen-txt-main p{

    font-size: larger;

    font-weight: bold;



}



.containter-title{

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    margin: 20px;

    color: red;

    font-family: Verdana, Geneva, Tahoma, sans-serif;

    letter-spacing: 2px;

}



.section-noticias{

    width: 100%;

    display: flex;

    margin: 15px;

    padding: 20px;

    gap: 50px;

}

.noticia-1{

    border: 3px solid black;

    background-color: antiquewhite;



}

.section-noticias section{

    width: 50%;

    padding: 20px;

    text-align: center;

}

.section-noticias img{

    width: 50%;

    border: 3px solid black;

}



.section-noticias h2, p{

    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

    text-align: left;

}



.noticia-2{

    margin-bottom: 20px;

    border: 3px solid red;

    background-color: antiquewhite;

}

.noticia-3{

    border: 3px solid violet;

    background-color: antiquewhite;

}

.noticias-extra{

    width: 100%;

}



.formulario {

    background-color: white;

    max-width: 600px;

    margin: 40px auto;

    padding: 30px;

    border-radius: 8px;

    box-shadow:  0px 3px 10px #333 ;

}



.formulario h2 {

    text-align: center;

    color: #333;

}



.formulario p {

    text-align: justify;

    color: #666;

    margin-bottom: 20px;

}



form label {

    display: flex;

    color: #555;

}



.input{

    width: 100%;

    padding: 10px;

    margin-bottom: 20px;

    border: 1px solid #ccc;

    border-radius: 5px;

    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */

}



form input[type="submit"] {

    margin: 0 auto;

    display: block;

    background-color: rgb(7, 161, 7);

    padding: 15px 20px;

    color: white;

    border: none;

    font-size: 16px;

    width: 50%;

    border-radius: 5px;

    cursor: pointer;

}



form input[type="submit"]:hover{

    background-color:  rgb(4, 116, 4);

}



select{

    width: 50%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 5px;

}



textarea{

    width: 50%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 5px;

}

.contenedor{

    display: flex;

    gap: 40px;

    margin-left: 20px;

}

.texto-central{

    text-align: center;

    font-family: sans-serif;

    text-decoration: underline antiquewhite;

}



.ejercicio{

    background-color: antiquewhite;

    border: 3px solid black;

    padding: 15px;

    margin: 20px;

    text-align: center;

    font-family: sans-serif;

    box-shadow: #333 0px 3px 10px;

    width: auto;

}

.container-tabla{

    margin: 30px;

    font-size: medium;

    font-family: sans-serif;

}

.tabla-registros th{

    text-decoration: underline;

}



.tabla-registros{

    width: 100%;

    border-collapse: collapse; /* Elimina el espacio entre las celdas */

    margin: 20px 10px;

    font-size: 18px;

    text-align: left;

}

