:root {
    --soft-white: #F5F5F5;
    --blush-beige: #f9eedc;
    --maroon: #710100;
    --brown: #643318;
    --soft-pink: #FED2E1;
    --bubblegum-pink: #ffb1b1;
    --passion-red: #DF0714;
    --soft-black: #0A0A0A;

    --font-primary: 'Lobster', cursive;
    --font-secondary: "Barlow Condensed", sans-serif;
    --font-body: 'Montserrat', sans-serif;

}

nav {
    background-color: var(--maroon);
}

header {
    margin-top: 6rem;
    height: 400px;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/aboutUs/local.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    color: var(--soft-white);
}

header h1 {
    font-size: clamp(4rem, 3.358rem + 2.936vw, 6rem);
    text-shadow: 1px 1px 2px var(--soft-black);
}


header p {
    width: 100%;
    max-width: 450px;
    padding: 1rem;
    text-shadow: 1px 1px 5px var(--soft-black);
    text-align: center;
}


main {
    min-height: 100vh;
    width: 100%;
    background-color: var(--blush-beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

main section {
    width: 100%;
    max-width: 1024px;
    display: flex;
    padding: 2rem 0;
    gap: 1rem;
    justify-content: space-between;
}



main section h2 {
    font-size: clamp(2.5rem, 2.018rem + 2.202vw, 4rem);
    color: var(--maroon);
}

main .section__history .section__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

main .section__history .section__img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: maroon;
    min-width: 250px;
    height: 250px;
    border-radius: 50%;
    color: var(--soft-white);
    outline: 5px dashed var(--maroon);
    outline-offset: 5px;
}

main .section__history .section__img span:nth-child(1) {
    font-family: var(--font-primary);
    font-size: 6rem;
}

main .section__history .section__img span:nth-child(2) {
    font-size: 2rem;
    text-align: center;
    font-family: var(--font-secondary);
}


main .section__history .section__img span:nth-child(1) span {
    font-size: 5rem;
    font-family: var(--font-secondary);
}

main .section__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}


main .section__cards .titulo {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}


main .section__cards .container__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    width: 100%;
    justify-content: center;
}

main .section__cards .card {
    display: flex;
    flex-direction: column;
    max-width: 250px;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(139, 69, 19, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main .section__cards .card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

main .section__cards .card .card__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


main .section__cards .card h3 {
    font-family: var(--font-secondary);
    color: var(--maroon);
    font-size: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid #fff;
    overflow: hidden;
    border-radius: 2rem;
}

.video-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(30%);
}

.video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    line-height: 1;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

@media screen and (max-width: 768px) {
    main section {
        flex-wrap: wrap;
        justify-content: center;
    }


    main .section__history .section__img {
        margin-top: 2rem;
    }
}