:root {
    --base-font: "Source Sans 3";
    --alt-font: "Google Sans";
    --base-color: #639e51;
    --primary-font-color: #1a4a3a;
    --secondary-font-color: #999;
}

#banner-home {
    background-image: url("../img/banner-background.jpg");
    background-color: #ccc;
    height: 600px;
}

.wave {
    width: 100%;
    min-width: 1000px;
    height: 300px;
    position: absolute;
    bottom: -120px;
    left: 0;
}

#about {
    z-index: 1;
    background-color: #f9f9f9;
    padding: 0 calc((100% - 800px) / 2);
    padding-top: 100px;
    padding-bottom: 110px;
}

#about svg {
    transform: scaleX(-1);
}


#commitee {
    background-color: #f0eef6;
    padding: 60px 20px;
    z-index: 1;
}


#themes {
    z-index: 0;
    background: url("../img/lines.svg") no-repeat center right, linear-gradient(120deg, #474747 0%, #7b7b7b 100%);
    display: flex;
    flex-wrap: wrap;
    padding: 100px calc((100% - 900px) / 2);
}

#themes .title {
    display: block;
    font-size: 5rem;
    writing-mode: vertical-rl;
    text-align: right;
    transform: rotate(180deg);
    margin-right: 0px;
    color: #ccc;
    padding-bottom: 30px;
}

#themes .title strong {
    color: #fff;
}

#themes .text {
    display: flex;
}

#themes .text-block h2 {
    font-family: "Google Sans", sans-serif;
    color: #fff;
    background: #639e51;
    max-width: 600px;
    padding: 10px 38px;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    position: relative;
    top: 36px;
}

#themes .text-block ul {
    padding-top: 35px;
    color: #eee;
}

#themes span {
    color: #eee;
}

#certificates {
    padding: 35px calc((100% - 800px) / 2);
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}

#certificates .item1 {
    top: -180px;
    bottom: auto;
    clip-path: polygon(0 40%, 100% 40%, 100% 80%, 0% 80%);
}

#certificates .item2 {
    bottom: -110px;
    clip-path: polygon(0 40%, 100% 40%, 100% 80%, 0% 80%);
    transform: scaleX(-1);
}

#remember {
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(90deg, rgba(56, 118, 68, 0.9) 0%, rgba(62, 96, 87, 0.9) 40%, rgba(42, 75, 68, 0.9) 100%);

    padding: 100px calc((100% - 1100px) / 2);
}

#production {
    padding: 100px calc((100% - 1300px) / 2);
    z-index: 2;
}

.boxes {
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.boxes .box {
    font-family: var(--alt-font);
    display: inline-block;
    background: #f4f4f4;
    border-radius: 30px;
    text-align: center;
}

.boxes .box,
.boxes .box a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.boxes .box a {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 20px 40px;
}

.boxes .box p {
    color: #999;
}

.boxes .box h2 {
    text-transform: uppercase;
    font-size: 1.3rem;
    line-height: 1.3rem;
    margin-bottom: 20px;
    color: #000;
}


section form {
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

section form span {
    color: #f00;
}

section form ul {
    gap: 20px;
}

section form ul li ul {
    gap: 20px;
}

section form label {
    font-weight: 700;
    color: var(--primary-font-color);
    font-size: 1rem;
    color: #555;
}

section form label:has(input[type="radio"]) {
    font-size: 0.9rem;
    color: #555;
}

section form label input[type="checkbox"] {
    margin-right: 10px;
}

section form input,
section form textarea,
section form select {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 1rem;
}

section form .radio-group,
section form .checkbox-group {
    gap: 10px 30px;
    padding: 20px 0px;
}

section form .radio-group label {
    gap: 8px;
    font-size: 1rem;
}

section form .submit {
    margin-top: 20px;
    gap: 40px;
}

#call-to-action svg {
    position: absolute;
    top: -180px;
}

#location {
    z-index: 0;
    position: relative;
    overflow: hidden;
    height: 700px;
}

#location iframe {
    display: block;
    width: calc(100% + 640px);
    margin-left: -320px;
    height: calc(700px + 12px);
    border: none;
}

#location #overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    padding: 80px 20px 0px 20px;
    color: #fff;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

@media (max-width: 1280px) {
    header #main-menu {
        display: flex;
    }

    header #menu {
        display: none;
        transition: all 0.3s ease;
    }

    header #menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    header #menu ul li a {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .menu-open #menu {
        display: block;
        position: absolute;
        top: 70px;
        right: 30px;
        background: linear-gradient(90deg, rgba(56, 118, 68, 1) 0%, rgba(62, 96, 87, 1) 40%, rgba(42, 75, 68, 1) 100%);
        padding: 20px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .wave {
        min-width: auto;
    }
}

@media (max-width: 768px) {

    .title {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    header #logo {
        height: 30px;
        margin-left: 20px;
    }

    .menu-open #menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 70px);
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 0;
        overflow-y: auto;
    }

    .menu-open #menu ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        width: 100%;
    }

    .menu-open #menu ul li {
        width: 100%;
    }

    .menu-open #menu ul li a {
        font-size: 1rem;
        padding: 12px 30px;
        display: block;
        width: 100%;
    }

    header #menu ul li.button.highlight {
        margin-top: 50px;
    }

    header #menu ul li.button {
        display: flex;
        justify-content: center;
    }

    header #menu ul li.button a {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 12px 30px;
        margin: 0;
    }

    #about {
        padding: 70px 20px 70px 20px;
    }

    .commitee-members {
        gap: 30px;
    }

    .member {
        max-width: 140px;
    }

    .member img {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }

    #themes {
        flex-direction: column;
        align-items: center;
        padding: 80px 20px;
    }

    #themes .section-title {
        writing-mode: initial;
        transform: none;
        font-size: 1.5rem;
        text-align: center;
    }

    .certificates-links {
        flex-direction: column;
        gap: 20px;
        padding: 0px 30px;
    }

    .certificates-links a {
        width: auto;
    }

    #remember {
        padding: 70px 10px;
    }

    #remember .section-title {
        font-size: 1.8rem;
    }

    #remember .remember-card .remember-photos {
        flex-direction: column;
        padding: 0px;
    }

    #remember .remember-card a {
        text-align: center;
        font-size: 1rem;
    }

    #production {
        padding: 50px 20px;
    }

    #production .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .production-box {
        gap: 0px 30px;
    }

    .production-box a img {
        max-width: 30dvw;
    }

    #call-to-action {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    #call-to-action p {
        text-align: center;
        font-size: 1.2rem;
    }

    #call-to-action a {
        font-size: 0.9rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    #themes .text {
        flex-direction: column;
    }

    #themes .title {
        font-size: 2rem;
        writing-mode: initial;
        text-align: center;
        transform: none;
    }

    #certificates .title {
        margin-top: 10px;
    }

    .boxes {
        flex-direction: column;
    }

    #remember .boxes {
        padding: 0px 20px;
    }
}


/*LOGIN*/

#login {
    min-width: 300px;
    width: 80%;
    border: solid 1px #77bc51;
    background-color: whitesmoke;
    padding: 30px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.login-header {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: -30px;
}

/*PAYMENT*/
#payment-subscription {
    width: 100%;
    border: solid 1px;
    background-color: whitesmoke;
    padding: 10px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}