@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,800;1,800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');


/* Reset CSS */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

html {
  color-scheme: dark light;
  scroll-behavior: smooth;
}

body, html {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background: url('/images/Fondo.jpg') no-repeat center center/cover;
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: inherit; 
    text-decoration: none; 
}

/* home page */

.page-menu {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background: url('/images/Fondo.jpg') no-repeat center center/cover;
    overflow: auto;
}

.container {
    max-width: 800px;
    text-align: center;
    color: #fff;
}

.logo img {
    max-width: 200px;
    margin-bottom: 20px;
}

.text p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding: 20px 10%;
}

.menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Añade un pequeño margen si es necesario */
}

.menu-button button {
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-button button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.menu-button i.icon {
    margin-right: 10px;
}

.social-links {
    margin-top: 40px;
}

.social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0073ff;
}

@media (max-width: 800px) {
    .container {
        padding: 0 20px;
    }

    .logo img {
        max-width: 150px;
    }

    .text h1 {
        font-size: 1.5rem;
    }

    .menu-button button {
        font-size: 1.4rem;
        padding: 8px 16px;
    }

    .social-links a {
        font-size: 1.4rem;
    }
}

/* Menú */
.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 10%;
    color: #fff;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.contact-button {
    position: absolute;
    top: 20px;
    right: 10%;
}

.contact-button a {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-button a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.logo2 img {
    max-width: 100px;
    margin: 30px auto;
    padding-top: 60px;
}

.menu-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.menu-options button a {
    color: inherit; /* Hereda el color del botón */
    text-decoration: none; /* Quita el subrayado */
}

.menu-options button {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    width: 100%;
    height: 60px; /* Ajusta la altura del botón */
    padding: 0; /* Elimina el padding */
}

.menu-options button img {
    width: 20%;
    height: 100%; /* La imagen ocupará el 100% del alto del botón */
    object-fit: cover; /* La imagen se ajusta al tamaño sin perder proporción */
    margin: 0; /* Elimina los márgenes */
    border-radius: 5px;
}

.menu-options button span {
    width: 80%;
    text-align: left;
    font-size: 1.2rem;
    padding-left: 10px; /* Un poco de espacio entre la imagen y el texto */
}

.menu-options button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.social-links-menu {
    margin-top: 40px;
    padding-bottom: 60px;
}

.social-links-menu a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links-menu a:hover {
    color: #ffcc00;
}

@media (max-width: 800px) {
    .menu-options {
        grid-template-columns: 1fr;
    }

    .menu-options button {
        width: 90%; /* Ocupa el 80% del ancho en dispositivos móviles */
        margin: 0 auto;
    }

    .logo img {
        max-width: 100px;
    }

    .menu-options button span {
        font-size: 1rem;
    }
}

/* Overlay for the pop-up */
.popup-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 30, 45, 0.8); /* White background with 80% opacity */
    z-index: 999; /* Ensure it's on top */
    justify-content: center;
    align-items: center;
}

/* Pop-up content box */
.popup-content {
    background-color: white;
    color: #04556a;
    padding: 60px 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.popup-content h4 {
    font-weight: 600;
}

/* Close button (X) */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Style for the button that triggers the pop-up */
.contact-button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #04556a;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
}