* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-dark: #170312;
    --purple-medium: #33032d;
    --purple-light: #a14fa1;
    --gray-light: #eaeaea;
    --white: #f4fffd;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

body {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
}

p {
    font-size: 22px;
}

/* header */

.contenido-header {
    width: 100%;
    height: 90vh;
    background-image: url(../img/2025-10.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.contenido-header .fondo {
    width: 0%;
    height: 100%;
    max-width: 100%;
    background-image: url(../iconos/bg-top.png);
}

.contenido-header .texto {
    width: calc(100vw - 20px);
    height: 100vh;
    font-size: 90px;
    font-weight: 400;
    font-family: 'Noto Serif', serif;
    font-style: italic;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: var(--purple-dark);
    mix-blend-mode: multiply;
}

/*navbar*/

.menu {
    background-color: var(--purple-medium);
    width: 100%;
    position: sticky;
    top: 0;
    padding: 5px;
    z-index: 999;
    text-align: center;
    display: flex;
    justify-content: center;
    font-family: 'Noto Serif', serif;
    font-style: italic;
    margin-bottom: 60px;
}

.menu a {
    display: inline-block;
    padding: 10px 30px;
    font-size: 26px;
    background-color: var(--purple-medium);
    margin: 0 10px;
    transition: .5s ease all;
    color: var(--gray-light);
    text-decoration: none;
}

.menu a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.menu a:hover {
    transform: translateY(18px);
    background-color: var(--purple-light);
    outline: none;
}

/* Nosotros */

.nosotros .enlace:hover,
.nosotros .enlace:focus {
    text-decoration: none;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--purple-light);
    outline: none;
}

.nosotros .enlace:focus {
    outline: 2px solid var(--purple-light);
    outline-offset: 2px;
}

.subtitulo {
    font-size: 20px;
    color: var(--purple-dark);
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.subtitulo span {
    background-color: var(--gray-light);
    padding: 0 15px;
    z-index: 99;
    position: relative;
}

.subtitulo::after {
    content: "";
    display: inline-block;
    height: 2px;
    width: 100%;
    background: var(--purple-dark);
    position: relative;
    top: -29px;
    z-index: 1;
}

.nosotros .titulo {
    width: 70%;
    font-size: 44px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 50px;
}

.nosotros .enlace {
    display: inline-block;
    margin-top: 40px;
    color: var(--purple-light);
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: .3s ease all;
}

.nosotros .enlace:hover {
    text-decoration: none;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--purple-light);
}

/* Productos */

.productos {
    background: var(--gray-light);
    padding: 20px;
    margin-bottom: 60px;
}

.productos .titulo {
    width: 70%;
    font-size: 44px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 50px;
}

.productos .producto {
    position: relative;
    width: 100%;
}

.productos img {
    max-width: 100%;
    height: auto;
}

.productos .overlay {
    width: 0%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--purple-light);
    overflow: hidden;
    transition: .5s ease;
}

.productos .producto:hover .overlay {
    width: 100%;
    opacity: .8;
}

.productos .producto .overlay-texto {
    top: 50%;
    left: 50%;
    position: absolute;
    white-space: nowrap;
    color: var(--white);
    font-size: 14px;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.productos .btn-productos {
    background-color: var(--purple-light);
    color: #fff;
    padding: 7px 20px;
    text-transform: uppercase;
    font-size: 16px;
    border: 2px solid transparent;
    transition: .3s ease;
}

.productos .btn-productos:hover {
    background-color: transparent;
    border: 2px solid var(--purple-light);
    color: var(--purple-light);
}

/* Estilo del enlace al video */

.enlace-video {
  /* Estilos de fuente y color */
  color: #044f0c; /* Color de texto blanco */
  background-color: #b2d29a; /* Color de fondo rojo (similar a YouTube) */
  font-family: sans-serif;
  font-size: 16px;
  text-decoration: none; /* Elimina el subrayado predeterminado */
  
  /* Relleno y esquinas redondeadas para que parezca un botón */
  padding: 10px 15px;
  border-radius: 5px;
  
  /* Efecto al pasar el ratón por encima */
  transition: background-color 0.3s ease;
}

.enlace-video:hover {
  background-color: #efe2e7; /* Rojo más oscuro al pasar el ratón */
}

/* Separador */

.separador {
    width: 100%;
    height: 250px;
    background-image: url('../img/ladrillos.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin-bottom: 50px;
}

.separador p {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: 'Noto Serif', serif;
    padding: 10px;
    text-shadow: -4px 3px 0 black;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Acerca de */

.acerca-de {
    margin-bottom: 60px;
}

/* Galeria */

.galeria {
    margin-bottom: 60px;
}

.galeria img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.contacto {
    margin-bottom: 60px;
}

.redes-sociales {
    padding: 10px;
    background-color: var(--purple-dark);
}

.redes-sociales img {
    padding: 5px;
    border-radius: 100%;
    width: 50px;
    transition: .3s ease all;
}

.redes-sociales img:hover {
    transform: scale(1.2);
}

.redes-sociales a:focus {
    outline: 2px solid var(--purple-light);
    outline-offset: 2px;
    border-radius: 100%;
}

.corto {
    visibility: hidden;
}

/* Mediaqueries */

@media screen and (max-width: 992px) {
    p {
        font-size: 18px;
    }

    .contenido-header .texto {
        font-size: 40px;
    }

    .menu a {
        font-size: 20px;
    }

    .nosotros .titulo,
    .productos .titulo {
        font-size: 30px;
    }

    .largo {
        visibility: hidden;
    }

    .corto {
        visibility: visible;
    }
}