body{
    background-color: #9dacb4;
}

.navbar-top {
    display: flex;
    margin: 10px;
}

.txt-navbar {
    background-color: antiquewhite;
    width: 50%;
    padding: 0 15px 0 15px;
    border-radius: 20px;
    text-align: center;
}

.links-navbar {
    width: 50%;
    text-align: right;
    align-content: center;
    padding-right: 40px;
    word-spacing: 15px;
}

.links-navbar a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
    transition: color 0.3s ease;
    display: inline-block;
}

.links-navbar a:hover {
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

.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;
}
