:root {
    --bg: #f1e6dd;
    --title-color: #70645a;
    --subtitle-color: #d6abac;
    --text-color: #a69688;
    --input-color: #f7eee7;
    --button-color: var(--subtitle-color);
    --button-text-color: #ffffff;
}



body {
    margin: 0;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background: var(--bg) url('../images/bg.png') repeat center;
    background-attachment: fixed;
    color: var(--text-color);
    font-size: 20px;
}

header {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

h1,
h2
{
    font-family: "Courgette", cursive;
    font-weight: 400;
    font-style: normal;
    color: var(--title-color);
}

h1 {
    margin: 0;
    font-size: 100px;
}

h2
{
    margin: 40px 0 10px;
    font-size: 64px;
    color: var(--title-color);
}

h3
{
    margin: 15px 0;
    color: var(--subtitle-color);
    font-size: 48px;
}

p
{
    font-size: 26px;
    font-weight: 500;
}

hr
{
    border: none;
    height: 28px;
    background: no-repeat center url('../images/hr.png');
}

.container
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.program
{
    text-align: center;

    ul
    {
        list-style: none;
        padding: 0;
        font-size: 48px;
        font-weight: 600;
        margin: 20px 0;
    }

    li
    {
        padding: 6px 0;
    }
}

.fotos
{
    text-align: center;

    input
    {
        appearance: none;
        border: none;
        background: var(--input-color);
        font-family: "Jost", sans-serif;
        color: var(--text-color);
        font-size: 18px;
        padding: 15px 20px;
        border-radius: 10px;
    }

    button
    {
        appearance: none;
        border: none;
        font-size: 18px;
        padding: 15px 20px;
        border-radius: 10px;
        font-family: "Jost", sans-serif;
        background: var(--button-color);
        color: var(--button-text-color);
        cursor: pointer;
        transition: background-color 0.3s;
    }

    button:hover
    {
        background-color: color-mix(in srgb, var(--button-color) 90%, black);
    }
}

footer
{
    text-align: center;
    padding: 120px 0;
}

.popup
{
    display: none;
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    background: var(--bg);
    box-shadow: 0px 10px 40px rgba(0,0,0,0.08);
    padding: 30px;
    border-radius: 20px;
    border: 1px var(--button-color) solid;
    transform: translateY(-50%) translateX(-50%);
    width: calc(100% - 40px);
    box-sizing: border-box;
    max-width: 710px;

    h3
    {
        margin: 0;
        font-size: 40px;
    }

    .button a
    {
        display: block;
        padding: 12px 85px;
        background: var(--button-color);
        color: white;
        width: fit-content;
        border-radius: 14px;
        margin: 0 auto;
        cursor: pointer;
        transition: background 0.2s;
    }

    .button a:hover
    {
        background-color: color-mix(in srgb, var(--button-color) 90%, black);
    }
}

.popup.visible
{
    display: block;
}

body.popupOpen
{
    header,
    section,
    footer
    {
        filter: blur(10px);
    }
}

@media(max-width: 640px)
{
    h1
    {
        font-size: 60px;
    }

    h2
    {
        font-size: 36px;
    }

    h3
    {
        font-size: 28px;
    }

    p
    {
        font-size: 22px;
    }

    .program ul
    {
        font-size: 28px;
    }

    .fotos
    {
        input,
        button
        {
            margin-top: 10px;
        }
    }
}