html, body {
    overflow-x: hidden;
}
body {
    background-image: url("src/Background.png");
    background-repeat: repeat;
    font-family: "Nunito", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    margin: 0;
    padding: 0;
   /* Locks horizontal scrolling */
}

/* Estilos generales del header */
.header-background {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    color: #f6f4f0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Convierte el video a blanco y negro */
}

/* Capa de degradado para efecto de desvanecimiento */
.header-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 80%);
}

.overlay {
    position: relative;
    z-index: 2;
    padding: 0px;
}


h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #f6f4f0;
    position: relative;
    z-index: 2;
}

p.lead {
    text-align: center;
    margin: 50px 0;
    font-family: "Beth Ellen", cursive;
    font-weight: 200;
    font-style: normal;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7D6753;
}


h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #7D6753;
}
.main-title {
    text-align: center;    
    font-family: "Beth Ellen", cursive;
    font-style: normal;
    font-weight: 700;
    color: #ffffff;
}
.main-content {
    text-align: center;
    font-family: "Beth Ellen", cursive;
    font-style: normal;
    font-weight: 700;
    color: white;
}

.section-title {
    text-align: center;
    margin: 50px 0;
    font-family: "Beth Ellen", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 6.5rem;
    font-weight: 700;
    color: #7D6753;
}
.section-content {
    text-align: center;
    margin: 50px 0;
    font-family: "Beth Ellen", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    font-weight: 700;
    color: #7D6753;
}
.intersection-content {
    text-align: center;
    margin: 50px 0;
    font-family: "Beth Ellen", cursive;
    font-weight: 200;
    font-style: normal;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7D6753;
}
/*#a0bcd1*/
/*#ffde59*/
.form-label {
    font-weight: 700;
    color: #7D6753;
}

.form-control {
    border: 1px solid #7D6753;
    border-radius: 0;
    padding: 10px;
}

.form-control:focus {
    border-color: #7D6753;   
    box-shadow: 0 0 3px rgba(74, 59, 45, 0.5);
}

.btn-primary {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

/* Responsividad */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    p.lead {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 2rem;
    }
}
.left-scroll-transition {
    transform: translateX(-1000px);
    transition: transform 3s ease-out, opacity 3s ease-out;
    opacity: 0;
}
.left-scroll-transition.visible {
    transform: translateY(0px);
    opacity: 1;
}
.right-scroll-transition {
    transform: translateX(1000px);
    transition: transform 3s ease-out, opacity 3s ease-out;
    opacity: 0;
}
.right-scroll-transition.visible {
    transform: translateY(0px);
    opacity: 1;
}
.shade-in-transition{   
    transition: opacity 5s ease-out;
    opacity: 0;
}
.shade-in-transition.visible {
    transform: translateY(0px);
    opacity: 1;
}

video{
    opacity: 0.5;
    filter: blur(2px);
}