@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

@font-face {
    font-family: 'main-font';
    src: url('../fonts/artford-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-white: #FFFAF5;
    --color-black: #141210;
    --color-green: #729380;
    --color-purple: #595D80;
    --color-pink: #BB877A;
    --color-orange: #FCA311;
    --color-border: #ddd;
    --color-gris: #454545;
    --font-primary: "main-font"
}

body {
    margin: 0 auto;
    background-color: var(--color-black);
    font-family: sans-serif;
    padding: 0 20px 0;
    display: block;
    width: min(100vw, 1500px);
    height: auto;
    font-family: "Instrument Sans", sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 140%;
    color: var(--color-black);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    padding-left: 30px;
    padding-right: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 58px;
    border-radius: 0 0 12px 12px;
    background-color: var(--color-white);
}

header .menu {
    display: flex;
    gap: 4px;
    width: auto;
    height: 40px;
}

.menu .services {
    padding: 0 20px;
    display: flex;
    gap: 24px;
    align-items: center;
    border-radius: 8px;
    /* border: 1px solid var(--color-border); */
    font-family: var(--font-primary);
    font-size: 13px;
}

.custom-dropdown {
    position: relative;
    width: auto;
}

.dropdown-selected {
    padding: 0 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font-family: var(--font-primary);
    font-size: 13px;
    cursor: pointer;
    height: 100%;
}

.dropdown-selected svg {
    height: 20px;
    width: 20px;
}

.dropdown-options {
    position: absolute;
    top: 90%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 10;
    display: none;
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: 14px;
}

.dropdown-options.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

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

.dropdown-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
}

.menu .lang div {
    display: flex;
    gap: 0px;
    align-items: center;
}
.menu2{
    display: flex;
    gap: 0px;
    align-items: center;
}
.menu2 a {
    padding: 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 13px;
    /* font-weight: 400; */
    width: auto;
    height: 40px;
    color: var(--color-black);
}

.menu a {
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: bold;
    color: var(--color-white);
    background: var(--color-orange);
    width: auto;
    height: 40px;
    border-radius: 8px;
    color: var(--color-black);
}

.menu a svg {
    width: 16px;
    height: 16px;
    color: var(--color-black);
}

.grid-container {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, calc(50% - 4px)));
    gap: 8px;
    width: 100%;
    height: auto;
    transform: scale(0.95);
    opacity: 0;
}

.grid-container .side {
    display: grid;
    gap: 12px;
    height: 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.left-side .top,
.left-side .bottom {
    width: 100%;
    height: 100%;
}

main .backTohome {
    margin-bottom: 44px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    height: auto;
    color: var(--color-black);
}


@media (max-width: 1150px) {
    .menu2 {
        display: none;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 8px 0;
    }

    header {
        margin-top: 8px;
        border-radius: 12px;
    }

    .menu a {
        display: none;
    }

    .right-side {
        grid-row-start: 1;
    }

    .left-side {
        grid-row-start: 2;
    }

    h2 {
        line-height: 130%;
    }
}

/* @media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .header,
    .left-1,
    .left-2,
    .left-3,
    .right,
    .bottom-left,
    .bottom-right {
        grid-column: auto;
        grid-row: auto;
        height: auto;
    }

    .box {
        min-height: 120px;
    }

} */