:root {
    --background: #E2DFCC;
    --primary-text: #000000;
    --secondary-text: #625D37;
    --button-text: #ffffff;
    --border-color: #332F20;
    --accent-color: #F2F1E8;
    --facebook-button: #1877F2;
    --phone-button: #000000;
    --instagram-button: linear-gradient(90deg,rgba(249, 128, 52, 1) 0%, rgba(238, 42, 123, 1) 50%, rgba(98, 40, 215, 1) 100%);
    --bank-info-background: #EDEBDE;
    --bank-info-border: #F2F1E8;
    --footer-light-color: #FFFFFF;
    --footer-dark-color: #000000;
}

@font-face {
    font-family: "e-Ukraine-Medium";
    src: url("fonts/e-Ukraine-Medium.ttf") format("opentype");
}

@font-face {
    font-family: "e-UkraineHead-Bold";
    src: url("fonts/e-UkraineHead-Bold.otf") format("opentype");
}

@font-face {
    font-family: "e-UkraineHead-LOGO";
    src: url("fonts/e-UkraineHead-LOGO.otf") format("opentype");
}

html {
    background: var(--background);
    min-height: 100%;
}

ul {
    margin-top: 20px !important;
}

body {
    display: flex;
    justify-content: center;
    font-family: "e-Ukraine-Medium", sans-serif;
    color: var(--primary-text);
    background: none !important;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

header.sticky {
    background: #fff;
    border-bottom: solid 0.2rem var(--border-color);
    padding: 10px 100px;
    font-family: "e-UkraineHead-Bold", sans-serif;
    font-size: 0.8rem;
}

header .header-image {
    display: inline-block;
    height: 2.4rem;
    padding-right: 1rem;
}

@media (max-width: 300px) {
    header .header-image {
        display: none;
    }
}

header .inside-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1080px;
}

header .logo {
    color: var(--primary-text);
    font-size: 1.4em;
    text-decoration: none;
    display: flex;
    align-items: center;
    max-width: 50%;
    margin: 0 !important;
}

header .navigation {
    position: relative;
    display: flex;
}

header .navigation li {
    list-style: none;
    margin-left: 30px;
    text-align: center;
}

header .navigation li a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;
}

header.sticky .navigation li a {
    color: var(--primary-text);
}

header .navigation li a:hover {
    color: var(--secondary-text);
}

.burger-menu {
    display: none;
}

.burger-icon {
    cursor: pointer;
    padding: 0 10px;
}

.content {
    margin-top: 100px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
}

.columns {
    width: 100%;
    padding: 15px 10px 15px 10px;
    display: inline-flex;
    opacity: 0.3;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.columns.animate {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-family: "e-UkraineHead-LOGO", sans-serif;
    color: var(--primary-text);
    background: none !important;
}

.column {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 10px;
}

.point {
    margin-bottom: 0.2rem;
}

.partners {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px;
}

.team-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    overflow: hidden;
    padding: 1rem;
}

.team-table td {
    padding: 12px 16px;
    color: #333;
    border-bottom: 1px solid var(--accent-color);
}

.team-table tr:last-child td {
    border-bottom: none;
}

.chairman {
    font-weight: bold;
    background-color: #f8f8f8;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

button {
    border: none;
    border-radius: 0.4rem;
    padding: 0.5rem;
    width: 70%;
    min-width: max-content;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--button-text);
}


button .button-icon {
    display: inline-block;
    height: 1rem;
    max-height: 32px;
    padding-right: 0.5rem;
}

.facebook-button {
    background-color: var(--facebook-button);
}

.phone-button {
    background-color: var(--phone-button);
}

.instagram-button {
    background: var(--instagram-button);
}

.image-container {
    position: relative;
    width: fit-content;
    margin: 2rem auto;
    top: -5%;
}

.image-container-accounts {
    margin-bottom: calc(30vw - 40px);
}

.illustrative-image {
    position: relative;
    border-radius: 2rem;
    border: solid 2px var(--border-color, #ccc);
    display: block;
    transition: opacity 0.4s ease-in-out;
}

.info-image {
    z-index: 1;
    transform: rotate(7deg);
    width: 85%;
    left: 12%;
}

.help-image1 {
    z-index: 1;
    transform: rotate(-3deg);
    width: 75%;
    margin-top: 5%;
    left: 0;
}

.help-image2 {
    position: absolute;
    z-index: 2;
    transform: rotate(3.01deg);
    max-width: 50%;
    height: 95%;
    left: 53%;
    top: 6%;
}

.help-image3 {
    position: absolute;
    z-index: 2;
    transform: rotate(-3.72deg);
    max-width: 50%;
    height: 93%;
    left: 2%;
    top: 6%;
}

.help-image4 {
    z-index: 1;
    transform: rotate(3deg);
    width: 65%;
    margin-top: 5%;
    left: 35%;
}

.accounts-image1 {
    z-index: 1;
    transform: rotate(-3.11deg);
    width: 70%;
    height: 50%;
    left: 1%;
    top: 6%;
}

.accounts-image2 {
    position: absolute;
    z-index: 2;
    transform: rotate(5.55deg);
    height: 100%;
    left: 59%;
    top: 0;
}

.accounts-image3 {
    position: absolute;
    z-index: 4;
    transform: rotate(-3.55deg);
    height: 105%;
    left: 2%;
    top: 80%;
}

.accounts-image4 {
    position: absolute;
    z-index: 3;
    transform: rotate(5.17deg);
    width: 70%;
    top: 80%;
    left: 28%;
}

.emoji {
    position: absolute;
    width: 25%;
    z-index: 5;
    transition: opacity 0.4s ease-in-out;
}

.flag-emoji {
    bottom: -10%;
    left: 0;
    transform: rotate(-5deg);
}

.hands-emoji {
    bottom: -10%;
    left: 36%;
    transform: rotate(-5deg);
}

.helmet-emoji {
    bottom: -15%;
    left: 1%;
    transform: rotate(12.53deg);
}

.camera-emoji {
    bottom: -105%;
    left: 35%;
    transform: rotate(-10deg);
}

.currency-image {
    width: 30%;
}

.currency-column {
    justify-content: center;
}

small {
    color: #625D37;
}

.bank-info {
    width: calc(100% - 40px);
    background-color: var(--bank-info-background);
    border: solid 2px var(--bank-info-border);
    border-radius: 2rem;
    margin-top: 20px;
}

.bank-info .column-title-text .IBAN {
    word-break: break-all;
}

.bank-info .column-title-text {
    padding: 0 20px 0 20px;
}

.copy-icon {
    display: inline;
    height: 1rem;
}

.partner-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px;
    width: 100%;
}

.partner {
    background-color: white;
    aspect-ratio: 1 / 1; /* Квадратна форма */
    border: 2px solid var(--accent-color);
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.partner img:focus {
    width: 70%;
    height: 70%;
}

hr {
    display: none;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--footer-light-color);
    width: 100vw;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    max-width: 1080px;
}

.copyright {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-color: var(--footer-dark-color);
    font-size: 0.7rem;
    width: 100vw;
    color: white;
}

.copyright p {
    margin: unset;
    padding: 1rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: start;
    width: calc(33vw - (4rem / 3));
    padding: 2rem;
}

.footer-column img {
    align-self: start;
    max-height: 2rem;
    margin: 0.2rem 0 0.2rem 0;
    margin-bottom: 0.2rem;
}

.footer-column p, a {
    color: var(--footer-dark-color);
    font-size: 0.7rem;
    margin: 0.2rem 0 0.2rem 0;
}
.footer-column a {
    text-decoration: underline;
}

.underline {
    text-decoration: underline;
}

.social-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    width: 5rem;
    margin-bottom: 0.2rem;
}

.social-buttons a {
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
}

.social-buttons a img {
    width: 1rem;
    height: 1rem !important;
    align-self: center;
    margin: 0;
}

@media (max-width: 750px) {
    .burger-menu {
        display: block;
    }
    
    .nav__links {
        display: none;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 60px; /* Регулируйте отступ в зависимости от вашего дизайна */
        right: 0;
        z-index: 2;
        width: 100%;
    }
    
    .nav__links.active {
        display: flex;
        gap: 1rem;
        list-style: none;
        box-sizing: border-box;
        margin: 0 0 0 0;
        color: black;
    }
    
    .nav__links li {
        padding: 1em;
        margin-left: 4.5em;
    }
    
    p {
        margin-bottom: 1rem;
    }
    
    button {
        width: 100%;
    }
    
    .columns {
        padding: 3%;
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 90%;
    }
    
    .column {
        width: 100%;
        margin-bottom: 3%;
    }
    
    .first {
        order: 1;
    }
    
    .second {
        order: 2;
    }
    
    .bank-info {
        width: 84% !important;
    }
    
    .bank-info .column-title-text {
        padding: 0;
    }
    
    .partners {
        width: 100%;
    }
    
    .partners {
        border-radius: 1rem;
    }
    
    .team-table {
        border-radius: 1rem;
    }
    
    .image-container {
        top: 0;
        margin: 0.5rem auto;
    }
    
    .illustrative-image {
        border-radius: 1rem;
    }
    
    .image-container-accounts {
        margin-bottom: 50vw;
    }
    
    .partner-list {
        grid-template-columns: 1fr;
    }
    
    hr {
        display: block;
        border: 1px solid var(--footer-dark-color);
        width: 40vw;
        height: 0;
        margin: 0 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: start;
        text-align: start;
        width: 100%;
    }
    
    .footer-column {
        min-width: calc(100vw - 4rem);
    }
    
    .footer-column p, a {
        font-size: 1rem;
        margin: 0.5rem 0 0.5rem 0;
    }
    
    .footer-column img {
        height: 2rem;
        margin: 0.5rem 0 0.5rem 0;
    }
    
    .social-buttons {
        width: 7rem;
    }
    .social-buttons a {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 1.25rem;
    }
    
    .social-buttons a img {
        width: 1.5rem;
        height: 1.5rem !important;
    }
}

@media (max-width: 991px) {
    header, header.sticky {
        padding: 10px 20px;
    }
    
    header .navigation {
        display: none;
    }
    
    header .navigation.active {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 40px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: #fff;
        padding: 0;
    }
    
    header .navigation li {
        margin-left: 0;
        padding-top: 20px;
    }
    
    header .navigation li a {
        font-size: 2.6em;
    }
    
    .menuToggle {
        position: relative;
        width: 40px;
        height: 40px;
        background: url(images/menu.svg);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }
    
    .menuToggle.active {
        background: url(images/close.svg);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .sticky .line {
        height: 1px;
        background: #111;
        width: 75%;
        margin: 0 auto;
        margin-top: 20px;
    }
}

@media (min-width: 1080px) {
    .image-container-accounts {
        margin-bottom: 270px;
    }
}

@media screen and (min-width: 1600px) {
    .footer {
        margin-top: -1px;
    }
    .footer-column {
        min-width: 360px;
    }
}
