*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

header h1{
    background-color: black;
    color: white;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 50px 0;
}

nav{
    max-width: 100%;
    background-color: gray;
}

nav > ul{
    display: flex;
    text-align: center;
    /*max-width: max-content; #14A2F1*/
    /*margin: auto;*/
    font-weight: bold;
    background-color: gray;
}

.barraindex > ul{
    display: flex;
    text-align: center;
    /*max-width: max-content; #14A2F1*/
    /*margin: auto;*/
    font-weight: bold;
    background-color: #004577;
}

.barranoticias > ul{
    display: flex;
    text-align: center;
    /*max-width: max-content; #14A2F1*/
    /*margin: auto;*/
    font-weight: bold;
    background-color: red;
}

nav > ul > li{
    padding: 15px 2%;
    list-style: none;
    margin: auto;
    max-width: min-content;
}

nav > ul > li > a{
    text-decoration: transparent;
    color: white;
    transition: all 0.3s ease-out;
    padding: 5px;
    border: 3px transparent solid;
}

nav > ul > li > a:hover{
    /*text-decoration: 2px underline;*/
    border-radius: 20px;
    border: 3px white solid;
}

main{
    /*padding: 30px 0;*/
}

.section{
    text-align: center;
    background-color: #f0f0f0;
    padding-bottom: 30px;
}

.bienvenidos{
    color: white;
    font-size: 50px;
    padding: 100px 0;
    background-image: url('https://www.cflq.cl/gabriel-aranda/img/ucsh.jpg'); /* Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fondo fijo */
}

.noticias{
    color: white;
    font-size: 50px;
    padding: 100px 0;
    background-image: url('https://www.cflq.cl/gabriel-aranda/img/nintendo.jpg'); /* Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fondo fijo */
}

.contactenos{
    color: white;
    font-size: 50px;
    padding: 100px 0;
    background-image: url('https://static.videezy.com/system/resources/thumbnails/000/020/080/original/Diana_Cropped_20.jpg'); /* Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fondo fijo */
    text-align: center;
}

.article{
    background-color: white;
    width: 550px;
    max-width: 90%;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
    
    color: #a0a0a0;
    transition: all 0.3s ease-in-out;
}

.article:hover{
    box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.1);
}

.article img{
    aspect-ratio: 1;
    max-width: 100%;
    object-fit: cover;
}

.article > p{
    padding: 20px;
}

.formulario{
    background-color: black;
    text-align: left;
    width: 500px;
    margin: 30px auto;
    padding: 10px;
    border-radius: 20px;
    color: white;
    max-width: 85%;
}

.inputbox {
    position: relative;
    margin: 30px 0;

    /*max-width: 310px;*/
    border-bottom: 2px solid #fff;
}

.inputbox label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

input:focus ~ label, input:valid ~ label {
    top: -5px;
}

.inputbox input {
    width: 90%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0 35px 0 5px;
    text-align: left;
    color: #fff;
}

.inputbox select {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    text-align: left;
    color: #fff;
    outline: 0;
    display: block;
    cursor: pointer;
}

option{
    text-align: left;
    padding: 0 35px 0 5px;
    background-color: white;
    color: black;
}

option:hover{
    color: black;
    background-color: white;
}

.inputbox select:focus ~ label,
.inputbox select:valid ~ label {
  top: -5px;
}

textarea{
    width: 97.5%;
    height: 30px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    margin: 13px 0 0 0;
    padding: 5px;
    text-align: left;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

textarea:focus ~ label, textarea:valid ~ label {
    top: -5px;
}

textarea:focus, textarea:valid {
    background-color: white;
    height: 100px;
    color: black;
}

.button{
    text-align: center;
}

button {
    width: 50%;
    height: 40px;
    border-radius: 40px;
    background-color: rgb(255, 255, 255, 1);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    margin-bottom: 20px;
}

button:hover {
    background-color: rgb(255, 255, 255, 0.5);
}

footer{
    z-index: auto;
    display: flex;
    position: fixed;
    background-color: black;
    color: white;
    bottom: 0%;
    padding: 5px;
    font-weight: bold;
}



.tarea{
    text-align: center;
    padding: 50px;
}

.tarea > table{
    margin: 10px auto;
    /*background-color: rgb(255, 193, 193);*/
}

.tarea > table > tr,td{
    padding: 10px;
}