/* ////////////////////// PÁGINA - INICIO /////////////////////////////// */
/* General */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: block;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
}

.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.left-aligned {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    height: 100%;
    text-align: left;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-subtext {
    font-size: 1.25rem;
}

.yellow-bg {
    background-color: #FFCF72;
    color: #494B4E;
}

.yellow-text {
    color: #FCE984;
}

.split-background {
    display: flex;
    height: 100%;
}

.left-image {
    width: 50%;
    object-fit: cover;
}

.right-column {
    width: 50%;
    position: relative;
}

.right-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* /////////////////////// DISEÑO RESPONSIVO ////////////////////////////// */
/* Para pantallas de tamaño máximo 768px (tablets y teléfonos móviles) */
@media only screen and (max-width: 768px) {

    /* Ajustar la altura de los elementos */
    .slide {
        height: auto;
    }

    /* Ajustar el tamaño del texto */
    .slide-title {
        font-size: 2rem;
    }

    .slide-subtext {
        font-size: 1.5rem;
        padding-right: 20px;
    }

    /* Centrar las imágenes y columnas en pantallas pequeñas */
    .split-background {
        flex-direction: column;
    }

    .left-image, .right-column {
        width: 100%;
        max-height: 50vh;
    }

    /* Ajustar el tamaño de las imágenes */
    .left-image {
        height: auto;
    }

    .right-background {
        background-size: cover;
        background-position: center;
    }

    /* Padding para evitar desbordamientos de contenido */
    .slide-content {
        padding: 10px;
    }
}

/* Para pantallas muy pequeñas (teléfonos de 480px de ancho o menos) */
@media only screen and (max-width: 480px) {
    .slide-title {
        font-size: 1.75rem;
    }

    .slide-subtext {
        font-size: 0.9rem;
    }

    .yellow-bg {
        padding: 5px;
    }
}
/* /////////////////////////// */

/* /////////////////////// PÁGINA - MAPA DE CALOR ////////////////////////////// */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.mapa-web-body {
    display: flex;
    justify-content: center;
}

.mapa-web-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

/* Para pantallas medianas y grandes, organizar en dos columnas */
@media (min-width: 768px) {
    .mapa-web-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 100px;
        height: 600px;
    }
}

/* Ajuste del contenedor de departamentos y mapa de alertas */
.mapa-web-map-departamentos-container, 
.mapa-web-alertas {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 560px;
}

/* Ajuste de títulos */
.mapa-web-departamento-title, 
.mapa-web-alertas-title {
    margin-top: 0;
    font-size: 1.5em;
    text-align: center;
}

/* Ajuste del tamaño de los mapas */
.mapa-web-map-departamentos, 
.mapa-web-map-alertas {
    height: 400px;
    border-radius: 8px;
    background-color: #e0e0e0;
    height: 500px;
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 767px) {
    .mapa-web-map-departamentos, 
    .mapa-web-map-alertas {
        height: 500px;
    }

    .mapa-web-container {
        padding: 350px;
        height: 600px;
    }
}
/* /////////////////////////// */

/* /////////// FOOTER //////////////// *//* Footer */
footer {
    width: 100%;
    color: white;
    font-size: 1em;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
}

.aliados {
    padding: 40px 20px;
    background-color: #C74D8B;
}

.nav-contact {
    background-color: #BD166C;

}

.footer-col {
    display: flex;
}

.footer-col-center{
    display: flex;
    text-align: center;
}

.footer-col-center ul {
    list-style: none;
    padding: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col-center ul li {
    margin: 10px 0;
}

.footer-col ul li {
    margin: 10px 0;
}

/* Estilo para los enlaces del footer */
.footer-col a {
    color: white; /* Mantiene el color del texto en blanco */
    text-decoration: none; /* Elimina el subrayado */
}

.footer-col a:hover {
    color: #FFD700; /* Puedes cambiar el color al pasar el cursor, si deseas un efecto hover */
}

.footer-col-center a {
    color: white; /* Mantiene el color del texto en blanco */
    text-decoration: none; /* Elimina el subrayado */
}

.footer-col-center a:hover {
    color: #FFD700; /* Puedes cambiar el color al pasar el cursor, si deseas un efecto hover */
}

.aliados-logos img, .redes-sociales img {
    width: 60px;
    height: 60px;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer; /* Cambia el cursor al pasar sobre los íconos */
}

.redes-sociales a {
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Hereda el color del texto del contenedor */
}
/* Estilos para pantallas pequeñas */
@media (orientation:portrait) {
    .footer-row {
        flex-direction: column;
        align-items: center;
    }

    .aliados-logos,
    .redes-sociales,
    .footer-col,
    .footer-col-center {
        text-align: center;
    }

    .footer-col ul,
    .footer-col-center ul {
        padding: 0;
        text-align: center;
    }
}
/* /////////////////////////// */

/* ////////// HEADER ////////// */

/* -----------------------HEADER GENERAL------------------------ */
header {
    display: flex;
    width: 98%;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
}

.logo-img {
    height: 50px; /* tamaño del logo del header */
    width: auto; /* Mantiene la proporción del SVG */
}

.navbar{
    padding-top: 0px;
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: #D5006E;
    font-weight: bold;
    position: relative;
}

.navbar a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #D5006E;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.navbar .donar-btn {
    padding: 10px 20px;
    background-color: #D5006E;
    color: white;
    border: none;
    border-radius: 0;
    font-weight: bold;
}

.donar-btn:hover {
    background-color: #C7005A;
}


/* Estilos para pantallas pequeñas */
.hamburger {
    display: none;
    font-size: 24px;
    color: #D5006E;
    background: none;
    border: none;
    cursor: pointer;
    padding-right: 30px;
}

.navbar {
    transition: max-height 0.3s;
}

/* Diseño responsivo para pantallas pequeñas */
@media (orientation:portrait) {
    .navbar {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
    }
    .navbar ul {
        flex-direction: column;
    }
    .navbar li {
        text-align: center;
        margin: 10px 0;
    }
    .hamburger {
        display: block;
    }
    .navbar.active {
        max-height: 300px; /* Ajusta el valor según la cantidad de elementos */
        margin-top: 10px;
        margin-bottom: 100px;
    }
    .opciones-hamburger {
        height: 250px;
        position: relative; /* Cambia a absolute o fixed según el caso */
        z-index: 9999; /* Valor alto para garantizar que esté sobre otros elementos */
        background-color: white;
    }
    
    .navbar a {
        text-decoration: none;
        color: #D5006E;
        font-weight: bold;
        position: relative;
    }
}
/* //////////////////// */

/* ////////////// PÁGINA - APP ALERTA AMBER /////////////////// */
.alerta-img {
    width: 50%;
    margin-bottom: 20px;
    padding-top: 60px;
}

.text-bar-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    width: 80%;
}

.pink-bar {
    width: 20px;
    height: 65%;
    background-color: #D5006E;
    margin-right: 10px;
}

.description-text {
    font-size: 2.5em;
    color: #333;
}

.app-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.screenshot-img {
    width: 80%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.amber-icon {
    width: 60px;
    height: 60px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff; /* Fondo blanco */
    border-radius: 15px; /* Esquinas redondeadas */
}

.download-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #D5006E;
}

.app-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}
.download-icon{
    width: 20px;
    height: 20px;
    margin-top: 10px;
    align-items: center;
}
.app-icons .playstore-icon {
    width: 100%;  /* Mantener el tamaño original */
    margin-top: 20px;
    margin-bottom: 100px;
    height: auto;
    max-width: 100%;  /* No exceder el 100% del contenedor */
    box-shadow: 0px 5px 20px rgb(68, 68, 68);
    border-radius: 15px; /* Esquinas redondeadas */
}

/* Segunda sección al scrollear */
#section2 {
    background-color: #ffffff;
}

.full-screen-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 2em;
}
#section1 {
    background-image: url('images/citywhitebackground.png');
    background-size: cover;
    background-position: center;
    background-color: white;
}
/* ///////// PARA PRIMERA Y SEGUNDA SECCIÓN ///////// */
/* Responsividad para pantallas grandes */
@media (max-width: 960px) {
    .alerta-img {
        padding-top: 60px;
    }
    .app-secondframe-contenedor {
        margin-bottom: 170px;
    }
    #section1 {
        height: 1000px;
        padding-bottom: 150px;
    }
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
        align-items: center;
        margin-bottom: 850px;
    }

    .left-column, .app-right-column {
        width: 100%; /* Asegurar que ocupen el 100% del ancho */
        padding: 10px; /* Reducir el padding en móviles */
    }

    .description-text {
        font-size: 1.5em; /* Reducir tamaño de fuente en móviles */
    }

    .alerta-img, .screenshot-img {
        width: 70%; /* Ajustar el tamaño de las imágenes en móviles */
        padding-top: 60px;
    }

    .download-text {
        font-size: 1.5em; /* Ajustar el tamaño del texto de descarga */
    }

    .amber-icon {
        width: 50px; /* Ajustar tamaño del icono de descarga en móviles */
        height: 50px;
    }

    .playstore-icon {
        margin-bottom: 20px; /* Reducir el margen en móviles */
    }

    .alerta-img {
        padding-top: 60px;
    }

    #section1 {
        padding-bottom: 200px;
    }
}
/* -----SECCION DE INICIO DE SESIÓN "PARA APP ALERTA AMBER"----- */
.app-secondframe-background {
    background-image: url('images/fotoaula.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-secondframe-contenedor {
    position: relative;
    background-color: rgb(255, 255, 255); /* Fondo blanco con transparencia */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
    z-index: 1;
}

/* Imagen superpuesta en el formulario */
.app-secondframe-superpuesto {
    position: absolute;
    top: -75px;
    left: -75px;
    width: 150px;
    height: 150px;
    z-index: 2;
}
/* Estilos del formulario */
.app-secondframe-form h2 {
    font-size: 2em;
    font-weight: bold;
    color: #D5006E;
    margin-bottom: 20px;
}

.app-secondframe-form label {
    text-align: left; /* Alineado a la izquierda */
    font-size: 1em;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.app-secondframe-form input {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #E4E3E3;
    background-color: #E4E3E3;
    border-radius: 5px;
    font-size: 1em;
}

.app-secondframe-form button {
    background-color: #D5006E;
    color: #fff;
    font-size: 1.2em;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 95%;
}

.app-secondframe-form button:hover {
    background-color: #C7005A;
}

/* Enlace "¿Olvidaste tu contraseña?" */
.app-secondframe-forgot-password {
    display: block;
    text-align: right;
    font-size: 0.9em;
    margin-right: 10px;
    color: #000000;
    text-decoration: none;
    margin-bottom: 15px;
}

.app-secondframe-forgot-password:hover {
    text-decoration: underline;
}
/*Parte de abajo del inicio de sesión*/

.app-secondframe-footer {
    position: absolute;
    bottom: -5px;
    left: 50px;
    text-align: center;

    transform: translateX(9%);
}

.app-secondframe-footer img {
    width: 50px;
    height: 50px;

}

.app-secondframe-footer p {
    color: #fff;
    font-size: 1.2em;
    margin-top: 50px;
}

.app-secondframe-footer .app-secondframe-footer-playstore {
    width: auto;  /* Mantener el tamaño original */
    margin-top: 20px;
    height: 60px;
    max-width: 100%;  /* No exceder el 100% del contenedor */
    box-shadow: 0px 0px 20px rgb(255, 255, 255);
    border-radius: 15px; /* Esquinas redondeadas */

    margin-bottom: 55px;
    
}
/* General styles for the slider */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100vh; /* Full viewport height */
}

.slide.active {
    display: block;
}

.slide-background,
.right-background {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* Responsive image adjustments */
.slide-content img,
.left-image {
    max-width: 100%;
    height: auto;
}

.split-background {
    display: flex;
    flex-wrap: wrap;
}

/* Position content responsively */
.slide-content {
    position: absolute;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Right column background responsiveness */
.right-column {
    flex: 1;
    position: relative;
}

.left-image {
    max-width: 50%;
    height: auto;
}

.slide-subimage{
    padding-right: 55px;
    padding-left: 10px;

}

/* Media Queries */
@media (max-width: 768px) {
    /* Stack columns on top of each other on small screens */
    .split-background {
        flex-direction: column;
    }
    .left-image, .right-column {
        max-width: 100%;
        flex: 1;
    }
    /* Adjust padding and text alignment for small screens */
    .slide-content {
        padding: 1rem;
        text-align: center;
    }
    #slide-title-1{
        margin-right: 35px;
    }
    #slide-title-2{
        margin-right: 135px;
    }
    #slide-subtext-1{
        margin-right: 135px;
    }
}
/* ///////////////////////////////// */



section {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* PRIMERA VISTA */
.nosotros-primeravista {
    background-color: #ffffff;
    padding: 40px 20px;
}

.nosotros-primeravista-titulo {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.nosotros-primeravista-columnas {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.nosotros-primeravista-columna {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    max-width: 600px;
}

.nosotros-primeravista-imagen {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.nosotros-primeravista-texto h2 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 10px;
}

.nosotros-primeravista-texto p {
    font-size: 1rem;
    color: #666;
}

/* SEGUNDA VISTA */
.nosotros-segundavista {
    background-color: #f1f1f1;
    padding: 40px 20px;
}

.nosotros-segundavista-columnas {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nosotros-segundavista-columna.imagen .imagen-contenedor img {
    max-width: 100%;
    border-radius: 8px;
}

.nosotros-segundavista-columna.texto {
    text-align: left;
    padding: 0 20px;
}

.nosotros-segundavista-columna h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.nosotros-segundavista-columna p {
    font-size: 1rem;
    color: #555;
}

.nosotros-segundavista-columna ul {
    margin-top: 15px;
    padding-left: 20px;
    list-style: disc;
    color: #555;
}

/* TERCERA VISTA */
.nosotros-terceravista {
    background-color: #ffffff;
    padding: 40px 20px;
}

.nosotros-terceravista-columna {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.nosotros-terceravista-columna h2 {
    font-size: 2rem;
    color: #333;
}

.nosotros-terceravista-sabias-que-imagen {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

.nosotros-terceravista-columna p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.nosotros-terceravista-divcentrado {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.select-estilizado {
    padding: 10px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

canvas {
    max-width: 100%;
    margin: 20px 0;
}

/* CUARTA VISTA */
.nosotros-cuartavista {
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.nosotros-cuartavista-titulo {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.nosotros-cuartavista-columnas {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.nosotros-cuartavista-columna {
    max-width: 600px;
    text-align: center;
}

.nosotros-cuartavista-columna h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #444;
}

.nosotros-cuartavista-columna p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.nosotros-cuartavista-columna h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    color: #0066cc;
    cursor: pointer;
}

.nosotros-cuartavista-columna a {
    text-decoration: none;
    color: inherit;
}

/* VERIFICACION Y CAMBIO DE CONTRASEÑA*/

/* General Styles */
.verificacion-body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Titles */
.verificacion-titulo {
    color: #D5006E;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Error Messages */
.verificacion-error {
    color: #d9534f;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 0.8rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Forms */
.verificacion-formulario {
    background-color: white;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Labels */
.verificacion-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

/* Inputs */
.verificacion-input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.verificacion-input:focus {
    border-color: #D5006E;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 74, 173, 0.5);
}

/* Buttons */
.verificacion-boton {
    background-color: #D5006E;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
}

.verificacion-boton:hover {
    background-color: #c20064;
}

/* Security Question */
.verificacion-pregunta {
    font-weight: bold;
    margin: 1rem 0;
    color: #D5006E;
    font-size: 1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .verificacion-formulario {
        padding: 1.5rem;
    }

    .verificacion-titulo {
        font-size: 1.5rem;
    }
}


/* Estilo general para la página */
body.vista-proyecto-body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffcde7;
    color: #333;
    text-align: center;
}

h1 {
    margin: 20px 0;
    color: #D5006E;
    font-size: 2em;
    font-weight: bold;
}

/* Contenedor principal para los proyectos */
.vista-proyecto-proyectos-contenedor {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    display: block;
}

/* Estilo para cada proyecto individual */
.vista-proyecto-proyecto {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Título de cada proyecto */
.vista-proyecto-proyecto-titulo {
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
    color: #D5006E;
    margin-bottom: 10px;
}

/* Imagen del proyecto */
.vista-proyecto-proyecto img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* Contenido del proyecto */
.vista-proyecto-proyecto-contenido {
    font-size: 1em;
    color: #555;
    text-align: left;
    line-height: 1.6;
}