@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Gochi+Hand&display=swap');

@font-face {
    font-family: 'MARSNEVENEKSK-Clean';
    src: url('../fonts/MARSNEVENEKSK-Clean.otf') format('truetype');
}

@font-face {
    font-family: 'MARSNEVENEKSK-Regular';
    src: url('../fonts/MARSNEVENEKSK-Regular.otf') format('truetype');
}

 body {
    margin-top: 120px;
    padding: 0;
    background-color: #2B2B2B; 
    background-repeat: no-repeat; 
    background-position: center; 
    background-attachment: fixed; 
    font-family: 'Gochi Hand', cursive; 
    color: #FFFFFF; 
    flex-direction: column; 
    height: calc(var(--vh, 1vh) * 100);
}

.container, .container_2, .container_login {
    width: 50%;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    background: #3F3F3F;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-top: 30px;
}

.container_2, .container_login {
    flex: 1; 
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rock Salt', cursive;
    text-align: center;
    margin: 0;
    padding: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.titulo_inicio {
    font-family: 'MARSNEVENEKSK-Regular';
    font-size: 4em;
    color: darkred;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

form {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

label, input, textarea, select, button {
    margin: 10px 0;
    padding: 10px;
}

.flash {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1em;
}

.flash.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.flash.error {
    background-color: #f2dede;
    color: #a94442;
}

.flash.info {
    background-color: #d9edf7;
    color: #31708f;
}

.hero {
    color: white;
    text-align: center;
}

.hero p {
    font-size: 20px;
}

.indicador_click {
        display: inline-block;
        margin-top: 10px;
        font-size: 16px;
        color: darkred;
        font-weight: bold;
        text-transform: uppercase;
        text-shadow: 1px 1px 2px #ffffff, -1px -1px 2px #ffffff;
        animation: breathe 2s infinite;
    }

    @keyframes breathe {
        0%, 100% {
            opacity: 1;
            transform: scale(1);
        }
        50% {
            opacity: 0.7;
            transform: scale(1.1);
        }
    }

.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.gallery-image {
    object-fit: cover;
    margin: 10px;
    border-radius: 10px;
    width: 300px;
    height: 200px;
}

 .image-container {
        display: flex;
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente */
        height: auto; /* Ajusta la altura automáticamente */
        padding: 10px;
        background-color: #222; /* Fondo oscuro */
        border-radius: 15px; /* Bordes redondeados */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Sombra para profundidad */
        margin: 0 auto; /* Centra el contenedor */
    }

    .centered-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover; /* Escala la imagen correctamente */
        border-radius: 10px; /* Redondea los bordes de la imagen */
        border: 3px solid darkred; /* Borde rojo oscuro */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación suave */
    }

    .centered-image:hover {
        transform: scale(1.05); /* Efecto de zoom al pasar el ratón */
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.8); /* Sombra más intensa al hover */
    }

.map-image {
    width: 100%;
    height: auto;
    margin: 10px auto;
    border-radius: 10px;
}

.about .about-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about .about-text {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin-left: 20px;
    transition: transform 0.3s;
}

.about .about-text:hover {
    transform: scale(1.05);
}

footer {
    width: 100%;
    background-color: rgba(128, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    position: absolute;
    left: 0;
}

.logo-container {
    display: flex;
    justify-content: space-around; 
    align-items: center; 
    padding: 20px;
}

.logo-item {
    text-align: center; 
    max-width: 100px; 
}

.logo {
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block; 
    margin: 0 auto; 
    transition: transform 0.3s ease-in-out;
    border-radius: 10px; 
}

.logo:hover {
    transform: scale(1.1); 
}

.logo-text {
    margin-top: 10px; 
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF; 
}

.logo-instagram {
    background-image: url('/static/images/instagram.png');
}

.logo-phone {
    background-image: url('/static/images/telefono.png'); 
}

.logo-email {
    background-image: url('/static/images/gmail.png'); 
}

.responsive-video {
   width: 100%; 
    height: auto; 
    max-width: 400px; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
    display: block;
    margin: 0 auto; 
}

@media (max-width: 768px) {
    body {
        background-size: 140%;
        background-attachment: fixed;
    }
   .logo-container {
        gap: 15px; 
    }

    .logo {
        width: 60px; 
        height: 60px;
    }
    .responsive-video {
        max-width: 100%; 
        height: auto; 
        border-radius: 10px; 
        aspect-ratio: 9 / 16; 
    }

    .container, .container_2 {
        width: 85%;
        padding: 19px;
    }
    .container_login{
          width: 90%;
        padding: 19px;
        margin-top: 130px;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        flex: 1 1 100%;
    }

    .gallery-image, ul li img {
        width: 90%;
        height: auto;
        margin: 10px auto;
    }
    
    .map-image{
        width: 100%;
        height: auto;
        margin: 10px auto;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    
    .hero p {
        font-size: 16px;
    }

    .button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .menu-item-title {
        font-size: 1.5em;
    }
}
