body { 
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.seccion{
    width: 100%;
    overflow-y: auto;
}

@media screen and (orientation: landscape) {
    .seccion {
        width:50%;
        min-width: 600px;
    }
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #616568;
    margin-top: 2.5vh;
    border-radius: 15px 15px 0px 0px;

    display: flex;
    flex-direction: row;
    justify-content: center;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: large;
    width: 50%;
    color: white;
    font-weight: bold;
}

.btnSalir{
    width: 100%;
    background-color: #f28c00;
    border: none;
    transition: 0.3s;
    font-size: large;
    color: white;
    font-weight: bold;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.tab button:hover {
    background-color: #888;
}

.tab button.active {
    background-color: #f28c00;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent > form{
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    
}

.tabcontent > div{
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media screen and (orientation: portrait) {
    .tabcontent > form,
    .tabcontent > div {
        min-height: 70vh;
    }
}

.tabcontent div > h1{
    text-align: center;
}

.container_sore{
    display: flex;
    align-items: center;
    margin: 0;
}

.score{
    font-size: 6em;
    margin: 0;
}

.decimals {
    font-size: 3em; /* Ajusta el tamaño según necesites */
}

/* Media query para pantallas de hasta 600px de ancho */
@media (max-width: 600px) {
    .score {
        font-size: 4em; /* 1em menos que el tamaño original */
    }
    
    .decimals {
        font-size: 2em; /* Ajusta el tamaño en 1em menos si es necesario */
    }
}

.tabcontent form > div{
    display: flex;
    flex-direction: column;
}

.form-container {
    width: 300px;
    margin: auto;
    padding: 20px;
}

.button-link {
    padding: 10px;
    margin: 10px 0;
    background-color: #f28c00;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.button-link:hover {
    background-color: #444;
}


/* Estilos para inputs y etiquetas */
input[type="text"],
input[type="submit"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="password"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="submit"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:hover,
input[type="submit"]:hover,
input[type="date"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="password"]:hover {
    border-color: #f28c00; /* Color naranja */
}

input[type="submit"] { 
    background: #f28c00; /* Color naranja */
    color: white;
    font-weight: bold;
    font-size: large;
    margin: 0% 30%;
}

select {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

select:focus,
select:hover {
    border-color: #f28c00; /* Color naranja */
}

select option {
    padding: 10px;
    border-bottom: 1px solid #ccc; /* Añade un borde inferior */
    transition: background-color 0.3s;
}

select option:hover {
    background-color: #f8f8f8; /* Color de fondo gris claro */
}

label {
    color: #616568; /* Color gris */
    font-weight: bold;
}

/* Estilos para las pestañas de login y registro */
.tabcontent {
    border-radius: 0px 0px 15px 15px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.RankingContent table {
    width: 100%;
    border-collapse: collapse;
}
.RankingContent th, .RankingContent td {
    border-top: 1px solid #000; /* Borde superior para cada celda */
    padding: 8px; /* Espaciado interior para hacerlo más legible */
    text-align: left; /* Alineación del texto */
}
.RankingContent th {
    background-color: #f2f2f2; /* Color de fondo para los encabezados de la tabla */
}

.introduccion p{
    font-size: large;
    text-align: justify;
}

.background-img-agua {
    position: relative;
    z-index: 1;
}

.background-img-agua::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./img/background-agua.png");
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
}







.social-share-container {
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.social-link {
    display: block;
    margin: 5px;
    background-color: #fff; /* Fondo blanco */
    border: 2px solid #000; /* Borde negro */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: border-color 0.3s ease, background-color 0.3s ease; /* Transición suave para el cambio de color */
}

.social-link img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease; /* Transición suave para el filtro */
}

/* Aplicar el filtro negativo al pasar el mouse o al hacer clic */
.social-link:hover img, .social-link:focus img {
    filter: invert(100%);
}

/* Estilos para pantallas grandes */
@media (min-width: 768px) {
    .social-share-container {
        flex-direction: row;
        right: auto;
        bottom: 10px;
    }
}

/* Colores característicos y cambio de color de borde y fondo al hacer hover o clic */
.facebook:hover, .facebook:focus { 
    border-color: #3b5998; 
    background-color: #3b5998; 
    color: #fff; /* Cambia el color del texto/icono si es necesario */
}
.whatsapp:hover, .whatsapp:focus { 
    border-color: #25D366; 
    background-color: #25D366; 
    color: #fff;
}
.twitter:hover, .twitter:focus { 
    border-color: #1DA1F2; 
    background-color: #1DA1F2; 
    color: #fff;
}

