:root {
    --Tan: #a28d60;
    --Coral: #d8786b;
    --Beige: #e5dfd6;
    --White: #ffffff;
    --Grey: #595858;
    --Black: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    color: var(--Grey);
}

img.logo {
    max-width: 100%;
}

header {
    margin: 60px auto;
    padding: 0px 30px;
    width: 760px;
    max-width: 100%;
}

header .slogan {
    font-size: 28px;
    line-height: 36px;
}

header .wrapper {
    margin: 30px 0;
    display: flex;
    gap: 24px;
}

.btn {
    display: inline-block;
    background-color: #A3664C;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 24px;
    text-align: center;
    border: 1px solid black;
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.25);
    padding: 13px 36px;
    transition: all .4s ease;
}

.btn.second {
    color: #A3664C;
    border-color: #A3664C;
    background-color: white;
}

.btn:hover {
    transform: scale(1.05);
}

main {
    background-color: #F3F2F2;
    padding: 30px 0;
}

.container {
    margin: 0px auto;
    padding: 0px 30px;
    width: 760px;
    max-width: 100%;
}

h1 {
    font-family: 'SpaceGrotesk';
    margin: 24px 0;
    font-size: 96px;
    line-height: 100px;
    font-weight: 700;
    color: var(--Tan);
}

h2 {
    font-family: 'SpaceGrotesk';
    margin: 30px 0;
    font-size: 40px;
    font-weight: 700;
    color: var(--Tan);
}

h3 {
    font-family: 'SpaceGrotesk';
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    color: var(--Tan);
}

p {
    margin: 0 0 24px 0;
    font-size: 24px;
    line-height: 34px;
}

p a {
    color: var(--Coral);
}

.line {
    height: 4px;
    margin: 60px 0;
    background-color: var(--Beige);
}

footer {
    background-color: var(--Black);
}

/* .right-image,.left-image{
    text-align: justify;
}
.right-image .welcome-img {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    width: 300px;
    border-radius: 8px;
}
.welcome-img.mt10{
    margin-top: 10px;
}

.left-image .welcome-img {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 300px;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .right-image, .left-image{
        text-align: left;
    }
    .right-image .welcome-img {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 300px;
    }
    .left-image .welcome-img {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 300px;
    }
} */

.dedication {
    padding: 60px 0 0;
    /* background-color: var(--Black); */
}

.dedication h3 {
    margin-bottom: 24px;
}

.dedication p a {
    color: var(--Coral)
}

.dedication p {
    font-size: 24px;
    color: #DED7C2;
}

.footer {
    padding: 20px 0;
    /* background-color: var(--Black); */
}

.footer p {
    color: #DED7C2;
    margin: 0;
}

.logo-wrapper {
    display: flex;
    height: 90px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo-wrapper .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 5px;
    height: 85px;
    /* всі лого рівняються по висоті контейнера */
}

.logo-wrapper .logo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-wrapper .logo img.h50 {
    height: 50px;
}

.logo-wrapper .logo img.h65 {
    height: 65px;
}

@media (max-width: 575px) {
    h1 span {
        display: block;
    }

    header .slogan {
        margin: 30px 0;
    }

    header .wrapper {
        flex-direction: column;
    }

    .btn {
        display: block;
        max-width: 100%;
    }

    .logo-wrapper {
        flex-wrap: wrap;
        gap: 5px;
        height: 100%;

    }

    .logo-wrapper .logo {
        width: calc(calc(100% - 15px) / 2);
    }
}

/* form {
    max-width: 400px;
} */

form label {
    display: block;
    margin-bottom: 10px;
    font-size: 24px;
}

.donate {
    padding: 0;
}

.donate .paypal .submit {
    background-color: rgb(255, 196, 57);
    width: 150px;
    height: 50px;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    color: #2e2b2b;
    cursor: pointer;
    transition: all .4s ease;
}

.donate .paypal .submit:hover {
    transform: scale(1.07);
}

.pay-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0 60px;
}

@media (max-width: 575px) {
    .pay-row {
        gap: 10px;
    }
}

.zelle svg {
    width: 95px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
}

.zelle {
    transition: all .4s ease;
}

.zelle:hover {
    transform: scale(1.07);
}

.venmo svg {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.venmo {
    transition: all .4s ease;
}

.venmo:hover {
    transform: scale(1.1);
}

#venmo-modal,
#zelle-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    background: #fff;
    color: var(--Grey);
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    border-radius: 10px;
}
#venmo-modal{
    padding-bottom: 10px;
}

#venmo-modal p,
#zelle-modal p {
    color: var(--Grey);
}

#close_popup,
#close_popup_zelle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
}

#close_popup svg,
#close_popup_zelle svg {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 50;
    background-color: rgba(0, 0, 0, .4);
}

#contact2 p {
    color: #DED7C2;
}

form#contact-form2 input,
form#contact-form2 textarea {
    width: 100%;
    padding: 15px;
    font-size: 24px;
    color: #A28C5F;
    margin-bottom: 20px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    background-color: #D9D9D9;
}

form#contact-form2 select {
    appearance: none;
    /* Прибирає стандартну стрілку */
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #D9D9D9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px 40px 15px 14px;
    font-size: 24px;
    line-height: 1.4;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666'><path d='M4 6l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    color: var(--Tan);
}

form#contact-form2 select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
    outline: none;
}

form#contact-form2 select option {
    color: #333;
    /* color: var(--Tan); */
}

form#contact-form2 select:invalid {
    /* color: #777; */
    color: var(--Tan);
}
form#contact-form2 .submit{
    margin-top: 20px;
}

form#contact-form2 .name-row {
    display: flex;
    gap: 20px;
}

form#contact-form input,
form#contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 24px;
    color: #A28C5F;
    margin-bottom: 20px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    background-color: #D9D9D9;
}

form button {
    display: block;
    width: 100%;
    background-color: #A3664C;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 24px;
    text-align: center;
    border: 1px solid #A3664C;
    /* box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.25); */
    padding: 13px 36px;
    margin: 10px 0 20px;
    transition: all .4s ease;
    cursor: pointer;
}

form button:hover {
    transform: scale(1.05);
}

form .required {
    color: red;
}
.checkage{
    display: flex;
    align-items: center;
    margin: 20px 0;
    cursor: pointer;
}
.checkage label{
    cursor: pointer;
}
form#contact-form2 input#age{
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    accent-color: #A3664C; 
}
form#contact-form2 label{
    margin-bottom: 0;
    color: #DED7C2;
    margin-left: 15px;
}
#response, #response2 {
    display: none;
    width: 100%;
    text-align: center;
    padding: 15px;
    /* color: white; */
    color: green;
    font-size: 24px;
    /* background-color: green; */
    border-radius: 8px;
}

#response.errormes, #response2.errormes {
    /* background-color: #e82a2a; */
    color: #e82a2a;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ====================
# FONTS
==================== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/Roboto-Regular.eot');
    src: local('Roboto-Regular'),
        url('./fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Roboto-Regular.woff2') format('woff2'),
        url('./fonts/Roboto-Regular.woff') format('woff'),
        url('./fonts/Roboto-Regular.ttf') format('truetype');
}


@font-face {
    font-family: 'SpaceGrotesk';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/SpaceGrotesk-Regular.eot');
    src: local('SpaceGrotesk-Regular'),
        url('./fonts/SpaceGrotesk-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
        url('./fonts/SpaceGrotesk-Regular.woff') format('woff'),
        url('./fonts/SpaceGrotesk-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'SpaceGrotesk';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/SpaceGrotesk-Medium.eot');
    src: local('SpaceGrotesk-Medium'),
        url('./fonts/SpaceGrotesk-Medium.eot?#iefix') format('embedded-opentype'),
        url('./fonts/SpaceGrotesk-Medium.woff2') format('woff2'),
        url('./fonts/SpaceGrotesk-Medium.woff') format('woff'),
        url('./fonts/SpaceGrotesk-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'SpaceGrotesk';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/SpaceGrotesk-Bold.eot');
    src: local('SpaceGrotesk-Bold'),
        url('./fonts/SpaceGrotesk-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/SpaceGrotesk-Bold.woff2') format('woff2'),
        url('./fonts/SpaceGrotesk-Bold.woff') format('woff'),
        url('./fonts/SpaceGrotesk-Bold.ttf') format('truetype');
}


/* @font-face {
    font-family: 'Barlow';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/Barlow-Regular.eot');
    src: local('Barlow-Regular'),
        url('./fonts/Barlow-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Barlow-Regular.woff2') format('woff2'),
        url('./fonts/Barlow-Regular.woff') format('woff'),
        url('./fonts/Barlow-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Barlow';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/Barlow-SemiBold.eot');
    src: local('Barlow-SemiBold'),
        url('./fonts/Barlow-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Barlow-SemiBold.woff2') format('woff2'),
        url('./fonts/Barlow-SemiBold.woff') format('woff'),
        url('./fonts/Barlow-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Barlow';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/Barlow-Bold.eot');
    src: local('Barlow-Bold'),
        url('./fonts/Barlow-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Barlow-Bold.woff2') format('woff2'),
        url('./fonts/Barlow-Bold.woff') format('woff'),
        url('./fonts/Barlow-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Barlow';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url('./fonts/Barlow-Black.eot');
    src: local('Barlow-Black'),
        url('./fonts/Barlow-Black.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Barlow-Black.woff2') format('woff2'),
        url('./fonts/Barlow-Black.woff') format('woff'),
        url('./fonts/Barlow-Black.ttf') format('truetype');
} */