/* Estilos generales */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Estilos para el menú desplegable */
.menu-desplegable {
    padding: 3.5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #333;
    color: #fff;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.boton-menu {
    background-color: transparent;
    color: #ffffff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    margin-top: -2.6px;
}

.opciones-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    font-family: 'Arial', sans-serif;
}

.opciones-menu li {
    display: block;
    border-bottom: 1px solid #000000;
}

.opciones-menu li a {
    display: block;
    padding: 20px;
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

.opciones-menu li a:hover {
    background-color: #f1f1f1;
}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    align-items: center;
    text-align: center;
    z-index: 100;
    top: 0;
    left: 0;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    align-items: center;
    text-align: center;
    background-color: #2c3e50;
    color: #fff;
    padding: 4px;
    padding-top: 50px;
    font-family: 'Times New Roman', sans-serif;
    font-size: 48px;
}

:root {
    --color-fondo: #2c3e50;
    --color-texto: #fff;
    --color-destacado: #f1c40f;
  }
  
  .ventana-emergente {
    display: none;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    padding: 20px;
    border-radius: 5px;
  }
  
  .animacion, .animacion-salida {
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  .animacion {
    animation-name: fadein;
  }
  
  .animacion-salida {
    animation-name: fadeout;
  }
  
  @keyframes fadein {
    from {
      opacity: 0;
      transform: translateY(50%);
    }
    to {
      opacity: 1;
      transform: translateY(0%);
    }
  }
  
  @keyframes fadeout {
    from {
      opacity: 1;
      transform: translateY(0%);
    }
    to {
      opacity: 0;
      transform: translateY(50%);
    }
  }
  
  .mensaje {
    color: var(--color-texto);
    font-family: 'Arial', sans-serif;
    text-align: center;
  }
  
  .mensaje::before {
    content: "!";
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1.2em;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin-right: 10px;
    background-color: var(--color-destacado);
    color: var(--color-texto);
    border-radius: 50%;
  }

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}


label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    max-width: 275px;
    margin-bottom: 20px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
}

button {
    background-color: #2c3e50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 5px;
    text-align: center;
}

button:hover {
    background-color: #34495e;
}

#informacion {
    text-align: center;
    background-color: #f2f2f2;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    margin-top: 23px;
}

#informacion h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
    margin-top: 1px;
}

#informacion h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    color: #1d1d1d;
    margin-top: 20px;
}

#informacion p {
    line-height: 1.5;
    text-align: center;
    margin-bottom: 10px;
    color: #1d1d1d;
}

#informacion img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: -25px;
    margin-bottom: -20px;
}

#informacion .redes-sociales {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 70px;
}

#informacion .redes-sociales a {
    display: flex;
    align-items: center;
    color: #0366d6;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
}

#informacion .redes-sociales a:last-child {
    margin-right: 0;
}

#informacion .redes-sociales img {
    height: 24px;
    width: 24px;
    margin-right: 5px;
}

#informacion ul {
    margin-bottom: 70px;
}

#informacion li {
    margin: 10px 0;
    color: #1d1d1d;
}

#informacion a {
    color: #0b0080;
    text-decoration: none;
}

#informacion a:hover {
    text-decoration: underline;
}

footer {
    background-color: #f1c40f;
    color: #fff;
    padding: 1px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
}

/* Estilos para dispositivos móviles */
@media only screen and (orientation: portrait) and (max-width: 350px) {
    .opciones-menu {
        display: none;
        width: 40%;
    }

    .boton-menu {
        display: block;
        text-align: left;
    }

    .boton-menu.active+.opciones-menu {
        display: block;
    }

    .opciones-menu li a {
        padding: 10px;
    }
}

@media only screen and (orientation: landscape) and (max-height: 428px) {
    .opciones-menu {
        display: none;
        width: 130px;
    }

    .boton-menu {
        display: block;
        text-align: left;
    }

    .boton-menu.active+.opciones-menu {
        display: block;
    }

    .opciones-menu li a {
        padding: 10px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 380px) {
    #informacion {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #informacion p {
        margin-top: 10px;
    }

    #informacion img {
        max-width: 100%;
    }

    #informacion .redes-sociales {
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    #informacion .redes-sociales a {
        display: flex;
        align-items: center;
        color: #0366d6;
        text-decoration: none;
        font-weight: bold;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    #informacion .redes-sociales a:last-child {
        margin-right: 0;
        margin-bottom: 50px;
    }

    #informacion .redes-sociales img {
        height: 24px;
        width: 24px;
        margin-right: 5px;
    }
}
