* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

body {
    background-color: rgb(211, 211, 211);
    font-family: Arial, sans-serif;
}

header {
    background-color: rgb(227, 176, 35);
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 0; 
    z-index: 1000;
}

.contact-header {
    font-size: 1.1vw; 
    color: black;
    margin: 10px 0; 
    font-weight: bold;
    text-decoration: none;
}



.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    width: 100%;
}

.LOGO {
    width: 11%;
    height: auto;
}

.Menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 20px
}

.required{
    color: black;
}

.required:hover{
    color: black;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    margin: 10px 0;
}

.menu-items {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.men {
    font-size: 1.5em;
    color: black;
    padding: 10px;
    text-decoration: none;
}

.men:hover {
    color: white;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.linea {
    border-bottom: 3px solid rgb(227, 176, 35);
    width: 200px;
    margin: 0 auto;
    font-size: 30px;
    animation: zoomIn 0.5s ease-out;

}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    animation: zoomIn 0.5s ease-out;
}

.gallery-item {
    width: 370px;
    height: 280px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative; 
}

.gallery-item img {
    width: 100%;
    height: 100%; 
    display: block;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 15% auto;
    max-width: 800px;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.prev {
    position: absolute;
    top: 50%;
    left: 10px; 
    transform: translateY(-50%); 
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.5); 
}

.next {
    position: absolute;
    top: 50%;
    right: 10px; 
    transform: translateY(-50%); 
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.5); 
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

footer {
    background-color: rgb(227, 176, 35);
    color: black;
    padding: 20px;
    width: 100%;
}

.text, .text2, .text3 {
    display: inline-block;
    width: 30%; 
    vertical-align: top;
    margin: 10px 0;
    font-size: 21px; 
}

.text2 {
    text-align: left;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1em;
    }


    .menu-items {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: rgb(227, 176, 35);
        padding: 10px;
        width: 100%;
        text-align: center;
    }

  .menu-items a {
        border-right: none;
        font-size: 1em; /* Aumenta el tamaño de la fuente */
        padding: 5px;
        display: block;
    }

    .text, .text2, .text3 {
        width: 100%;
        margin-bottom: 20px;
    }

    header{
        height: 10%;
    }

    .LOGO {
        width: 30%;
        height: auto;
    }

    .contact-header {
        width: 90%;
        font-size: 1em; /* Más grande para pantallas pequeñas */
    }
}

.social-buttons {
    position: fixed; 
    bottom: 30px; 
    right: 30px;
    z-index: 1000; 
    display: flex;
    flex-direction: column; 
    gap: 10px;
}

.social-icon img {
    width: 50px; 
    height: 50px; 
    border-radius: 30%; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); 
    transition: transform 0.3s ease; 
}

.social-icon img:hover {
    transform: scale(1.2); 
}

@media (max-width: 768px) {
    .social-buttons {
        right: 10px; 
    }

    .social-icon img {
        width: 40px; 
        height: 40px;
    }
}

@media (max-width: 480px) {
    .social-buttons {
        right: 5px; 
    }

    .social-icon img {
        width: 35px; 
        height: 35px;
    }
}

@media (max-width: 800px) {
    .gallery-item {
        width: calc(50% - 15px); 
        height: auto; 
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: calc(100% - 15px); 
        height: auto;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto; 
        max-width: 90%; 
    }

    .prev, .next {
        font-size: 1.5em;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 15% auto; 
        max-width: 95%; 
    }

    .prev, .next {
        font-size: 1.2em; 
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .text, .text2, .text3 {
        display: block; 
        width: 100%; 
        margin: 10px 0; 
        font-size: 16px; 
    }
}
