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

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-300-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-400-Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-500-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-600-Semi.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-700-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    --blue: #0000EE;
    --dark_black: #010203;
    --green_dark: #172925;
    --brown: #702825;
    --brown_light: #A04337;
    --brown_transparent: #EBD8D6;
    --black: #000000;
    --white: #ffffff;
    --gray: #c9c9c9;

    --br40: 40px;
    --animation_duration: 0.3s;
}

html {
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    /* overflow-x: hidden; */
}

h1 {
    font-size: 26px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 370px;
}

h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: var(--green_dark);
    text-transform: uppercase;
    line-height: 1.1;
}

h3 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 16px;
}

.main__title {
    margin-bottom: 12px;
}

.firstsection .main__title {
    display: flex;
    justify-content: center;
}

.main__title img {
    width: 40px;
    margin: 0 auto;
    margin-bottom: 6px;
}

@media (min-width: 576px) {
    h1 {
        max-width: 500px;
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .main__title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-bottom: 16px;
    }

    .main__title img {
        width: 50px;
        margin: 0;
    }

    p {
        font-size: 16px;
        line-height: 1.44;
    }

    h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 44px;
        line-height: 1.25;
        max-width: 560px;
    }

    p {
        font-size: 18px;
    }

    .main__title h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .main__title img {
        width: 60px;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 52px;
        max-width: 680px;
    }

    h2 {
        font-size: 44px;
    }

    p {
        font-size: 20px;
        max-width: 880px;
    }

    h3 {
        font-size: 28px;
    }

    .main__title h2 {
        gap: 20px;
    }

    .main__title img {
        width: 80px;
    }
}

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

    h3 {
        font-size: 34px;
    }

    .main__title h2 {
        gap: 26px;
    }

    .main__title img {
        width: 100px;
    }
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    .container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

.container-fluid {
    width: 100%;
}

header {
    position: relative;
}

nav {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--green_dark);
    padding: 12px;
    z-index: 22;
}

nav a img {
    width: 46px;
}

nav a {
    color: var(--white);
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.burger_button {
    cursor: pointer;
    z-index: 65;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}


.burger_button .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.burger_button.active .bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 10px;
}

.burger_button.active .bar:nth-child(2) {
    opacity: 0;
}

.burger_button.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    bottom: 10px;
}

/* Запрещаем прокрутку */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--green_dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 55;
}

.menu.show {
    opacity: 1;
    visibility: initial;
}

.menu li a {
    font-size: 18px;
    transition: 0.3s;
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.menu li a:hover {
    color: var(--brown_light);
}

@media (min-width: 768px) {
    .menu {
        position: initial;
        width: initial;
        height: initial;
        background: initial;
        flex-direction: row;
        opacity: 1;
        visibility: initial;
    }

    .menu li a {
        font-size: 16px;
    }

    .burger_button {
        display: none;
    }

    nav a img {
        width: 56px;
    }

    nav {
        padding: 12px 30px;
    }
}

@media (min-width: 992px) {
    nav a img {
        width: 88px;
    }

    .menu li a {
        font-size: 20px;
    }

    nav {
        padding: 12px 50px;
    }
}

@media (min-width: 1200px) {
    .menu {
        gap: 40px;
    }
}

.hero {
    width: 100%;
    height: 100vh;
    background-image: url('../images/herobg.webp');
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
        url('../images/herobg.webp') -400px center/cover no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: white;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero .hero__top,
.hero .hero_bottom,
.hero .hero__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 576px) {
    .hero {
        background-position: center center;
    }

    .hero .hero__top,
    .hero .hero_bottom,
    .hero .hero__bottom {
        gap: 20px;
    }
}

@media (max-height: 900px) and (min-width: 1200px) {
    .hero__top {
        margin-top: 10%;
    }
}

.hero button {
    background-color: var(--brown_light);
    border: none;
    padding: 10px 39px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--white);
    cursor: pointer;
    transition: 0.3s;
}

.hero button:hover {
    background-color: var(--green_dark);
    transition: 0.3s;
}

.hero .society {
    display: flex;
    gap: 15px;
}

.hero .society div {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.hero .society div:hover {
    background-color: var(--brown_light);
    transition: 0.3s;
}

.hero .society svg {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
}

.hero .society div svg g {
    fill: var(--black);
    transition: 0.3s;
}

.hero .society div:hover svg g {
    fill: var(--white);
    transition: 0.3s;
}

@media (min-width: 576px) {
    .hero button {
        padding: 16px 68px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .hero .society {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
        display: flex;
        flex-direction: column;
    }

    .hero .society div {
        width: 32px;
        height: 32px;
    }

    .hero .society svg {
        width: 20px;
    }

    .hero button {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    .hero button {
        font-size: 24px;
    }
}

@media (min-width: 1200px) {
    .hero button {
        border-radius: 50px;
        font-size: 28px;
    }
}

section {
    padding-bottom: 60px;
}

.firstsection {
    margin-top: 50px;
}

.firstsection .main__title h2 {
    text-align: center !important;
    width: 100%;
}

.firstsection .desc {
    font-weight: 500;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.firstsection .desc img {
    height: 30px;
    width: 30px;
}

/* section h2, */
section p {
    margin-left: auto;
    margin-right: auto;
}

.firstsection h2 {
    max-width: 250px;
}

@media (min-width: 576px) {
    section {
        padding-bottom: 60px;
    }

    .firstsection {
        margin-top: 60px;
    }

    .firstsection h2 {
        max-width: 350px;
    }
}

@media (min-width: 768px) {
    section {
        padding-bottom: 70px;
    }

    .firstsection {
        margin-top: 70px;
    }

    .firstsection h2,
    .firstsection p {
        max-width: 880px;
    }
}

@media (min-width: 768px) {}

@media (min-width: 1200px) {
    section {
        padding-bottom: 80px;
    }

    .firstsection {
        margin-top: 100px;
    }
}

.newformcomfort {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newformcomfort .description {
    display: flex;
    flex-direction: column;
    flex: 40%;
    order: 2;
}

.newformcomfort button {
    cursor: pointer;
}

@media (min-width: 992px) {
    .newformcomfort .description {
        flex: 30%;
    }
}

.newformcomfort .description span {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.newformcomfort .fancybox {
    order: 1;
    flex: 65%;
}

.newformcomfort .desc_price {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.newformcomfort button {
    font-size: 14px;
    font-weight: 500;
    background-color: var(--brown_light);
    border: none;
    border-radius: 30px;
    color: var(--white);
    padding: 14px 40px;
    display: block;
    width: 100%;
    margin-top: auto;
}

@media (min-width: 576px) {
    .newformcomfort .description span {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .newformcomfort .desc_price {
        font-size: 18px;
    }

    .newformcomfort .description button {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .newformcomfort .description button {
        max-width: 205px;
    }

    .newformcomfort {
        flex-direction: row;
    }

    .newformcomfort .description {
        order: initial;
    }

    .newformcomfort .fancybox {
        order: initial;
    }

    .newformcomfort .desc_price {
        margin-bottom: 24px;
    }
}

@media (min-width: 992px) {
    .newformcomfort .description span {
        font-size: 16px;
    }

    .newformcomfort .desc_price {
        font-size: 20px;
    }

    .newformcomfort .description button {
        font-size: 20px;
        padding: 18px 50px;
        max-width: initial;
    }

    .newformcomfort {
        gap: 40px;
    }
}

@media (min-width: 1200px) {
    .newformcomfort .desc_price {
        font-size: 24px;
    }

    .newformcomfort .description button {
        max-width: 270px;
    }
}

.fancybox .grid-container {
    display: grid;
    height: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "main main"
        "left right";
    gap: 5px;
}

.fancybox .big-image {
    grid-area: main;
    width: 100%;
    object-fit: cover;
}

.fancybox .small-image1 {
    grid-area: left;
    width: 100%;
    object-fit: cover;
}

.fancybox .small-image2 {
    grid-area: right;
    width: 100%;
    object-fit: cover;
}

.fancybox a img {
    border-radius: 30px;
    height: 100%;
    max-height: 150px;
    width: 100%;
    object-fit: cover;
}

.fancybox .small-image1 img,
.fancybox .small-image2 img {
    max-height: 135px;
}

@media (min-width: 350px) {
    .fancybox a img {
        max-height: 222px;
    }

    .fancybox .small-image1 img,
    .fancybox .small-image2 img {
        max-height: 148px;
    }
}

@media (min-width: 576px) {
    .fancybox .grid-container {
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
            "main left"
            "main right";
        gap: 5px;
    }

    .fancybox .big-image img {
        max-height: initial;
    }

    .fancybox .small-image1 img,
    .fancybox .small-image2 img {
        max-height: initial;
    }
}


@media (min-width: 768px) {
    .fancybox a img {
        max-height: initial;
    }

    .fancybox .small-image1 img,
    .fancybox .small-image2 img {
        max-height: 200px;
    }

    .fancybox .grid-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas:
            "main right1"
            "main right2";
    }

    .fancybox .big-image {
        grid-area: main;
        height: 100%;
        max-height: 410px;
    }

    .fancybox .small-image1 {
        grid-area: right1;
    }

    .fancybox .small-image2 {
        grid-area: right2;
    }

    .fancybox a img {
        border-radius: 35px;
        height: 100%;
        object-fit: cover;
    }

}

@media (min-width: 768px) {

    .fancybox .small-image1 img,
    .fancybox .small-image2 img {
        max-height: 219px;
    }

    .fancybox .big-image {
        grid-area: main;
        height: 100%;
        max-height: 438px;

    }
}

/* FANCYBOX */
.fancybox div[hidden] {
    display: none;
}

/* FANCYBOX END */

.road .items {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.road .items li {
    color: var(--gray);
    position: relative;
    width: 50%;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 1px solid var(--gray);
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 10px;
}

.road .items li:hover {
    color: var(--green_dark);
    border-bottom: 1px solid var(--green_dark);
    transition: 0.3s;
}

.road .items li.active {
    transition: 0.3s;
    border-bottom: 1px solid var(--brown_light);
    color: var(--brown_light);

}

.road .text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.road .text span {
    font-size: 12px;
    text-align: center;
}

.road .content {
    position: relative;
}

.road .content_item img {
    width: 60%;
    max-width: 235px;
    margin: 0 auto;
}

.road .item {
    font-size: 16px;
}

@media (min-width: 576px) {
    .road .item {
        font-size: 18px;
    }

    .road .text {
        gap: 14px;
    }

    .road .text span {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .road .text {
        gap: 20px;
    }

    .road .text span {
        font-size: 14px;
    }

    .road .item {
        font-size: 20px;
    }

    .road .content_item {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .road .content_item.active {
        display: flex;
        flex-direction: row;
    }

    .road .content_item img {
        width: 30%;
        max-width: 235px;
    }

    .road .text span {
        text-align: right;
    }
}

@media (min-width: 992px) {
    .road .item {
        font-size: 24px;
    }

    .road .text span {
        font-size: 16px;
    }

    .road .items li {
        padding-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .road .item {
        font-size: 28px;
    }

    .road .text span {
        font-size: 20px;
    }
}

.road .content_item {
    display: none;
}

.road .content_item.active {
    display: flex;
    flex-direction: column;
}

.road .content {
    padding-top: 18px;
}

@media (min-width: 576px) {
    .road .content {
        padding-top: 30px;
    }
}

@media (min-width: 768px) {
    .road .content_item.active {
        display: flex;
        flex-direction: row;
    }
}


.question_wrapper {
    background: var(--green_dark);
    border-radius: 40px;
    box-shadow: -6px 7px 11px -1px rgba(34, 60, 80, 0.25);
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.question_wrapper .question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 30px;
    background: var(--green_dark);
    border-radius: 50px;
    cursor: pointer;
}

.question_wrapper.active {
    background: var(--brown_light);
}

.question_wrapper.active .question {
    background: var(--brown_light);
}

.question_wrapper .answer {
    max-height: 0px;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.7s ease, padding 0.7s, opacity 0.7s;
    display: block;
}

.question_wrapper span {
    color: var(--white);
}

.question_wrapper.active .answer {
    opacity: 1;
    max-height: initial;
    visibility: initial;
    padding: 0 30px 30px;
    transition: max-height 0.3s ease, padding 0.3s, opacity 0.7s;
}

.question_wrapper .question svg {
    cursor: pointer;
    transition: transform 0.3s ease;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.question_wrapper.active svg {
    cursor: pointer;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.questions_wrapper li {
    margin-bottom: 10px;
}

.question_wrapper .answer {
    font-size: 14px;
}

@media (min-width: 576px) {
    .question_wrapper .question span {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .question_wrapper .question span {
        font-size: 26px;
    }

    .questions_wrapper li {
        margin-bottom: 20px;
    }

    .question_wrapper .answer {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .question_wrapper .question span {
        font-size: 28px;
    }
}

.contacts_wrapper {
    display: flex;
    flex-direction: column;
}

.contacts {
    gap: 10px;
}

.contacts__map {
    margin-bottom: 20px;
}

.contacts li a {
    display: flex;
    width: 100%;
    justify-content: left;
    align-items: center;
    padding: 10px 14px;
    gap: 20px;
    box-shadow: -1px 2px 8px -1px rgba(34, 60, 80, 0.25);
    border-radius: 25px;
    transition: color 0.3s;

    user-select: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.contacts li a svg {
    fill: var(--brown_light);
    transition: fill 0.3s;
    width: 25px;
    flex-shrink: 0;
}

.contacts li a:hover svg {
    fill: var(--black);
    transition: fill 0.3s;
}

.contacts li a:hover {
    color: var(--brown_light);
    transition: color 0.3s;
}

.contacts__map {
    width: 100%;
}

.mapsiframe {
    width: 100%;
}

.contacts {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contacts_wrapper .contacts__group {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    order: 22;
    margin-top: 15px;
}

.contacts_wrapper .contacts__group span {
    display: none;
}

.contacts_wrapper .contacts__group li a {
    padding: 0;
    box-shadow: none;
}

.contacts_wrapper .contacts__group li a svg {
    width: 35px;
}


.contacts_wrapper .contacts__group li:hover a svg g,
.contacts_wrapper .contacts__group li:active a svg g {
    fill: var(--green_dark);
}

@media (min-width: 576px) {
    .contacts li a {
        padding: 16px;
        font-size: 20px;
        gap: 15px;
    }
}

@media (min-width: 768px) {
    .contacts_wrapper {
        flex-direction: row;
        gap: 20px;
    }

    .contacts__map,
    .contacts {
        flex: 1 1 60%;
    }

    .contacts li a {
        font-size: 22px;
    }

    .contacts_wrapper .contacts__group {
        justify-content: center;
    }

    .contacts_wrapper .contacts__group li a svg {
        width: 40px;
    }
}

@media (min-width: 992px) {
    .contacts li a {
        padding: 24px;
        font-size: 24px;
        gap: 36px;
        border-radius: 35px;
    }

    .contacts li {
        gap: 36px;
    }

    .contacts__map {
        height: 485px;
    }

    .contacts__map iframe,
    .contacts__map>div {
        height: 100%;
    }
}

@media (min-width: 1200px) {
    .contacts__map {
        flex: 1 1 60%;
    }

    .contacts {
        flex: 1 1 40%;
    }
}

.footer__wrapper {
    background: var(--green_dark);
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
}

.footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    padding: 30px 12px 30px;
}

.footer .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.footer .logo img {
    width: 50px;
}

.footer .navigation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;

}

.footer .navigation a {
    color: var(--white);
}

.footer .smalltext {
    display: grid;
    grid-auto-flow: column;
    gap: 16px;
    padding-top: 16px;
    justify-content: space-between;
}

.footer .smalltext span {
    font-size: 10px;
    color: var(--white);
    text-align: center;
    font-weight: 300;
}

.footer .navigation li:nth-child(even) {
    text-align: right;
}

.footer .navigation li:nth-child(odd) {
    text-align: left;
}


.footer_second_container {
    border-bottom: 1px solid #687471;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer .instagram_button {
    background: transparent;
    outline: none;
    border: 1px solid var(--white);
    border-radius: 20px;
    height: 43px;
    color: var(--white);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 15px;
    font-weight: 300;
    user-select: none;
    box-shadow: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.footer .instagram_button:hover {
    border: 1px solid var(--brown_light);
    color: var(--brown_light);
    transition: 0.3s;
}

.footer .instagram_button:hover svg path {
    fill: var(--brown_light);
    transition: 0.3s;
}

.footer .navigation a {
    transition: 0.3s;
}

.footer .smalltext a {
    transition: 0.3s;
}

.footer .navigation a:hover {
    color: var(--brown_light);
    transition: 0.3s;
}

.footer .smalltext a:hover {
    color: var(--brown_light);
    transition: 0.3s;
}

.footer .logo {
    margin-bottom: 20px;
}

.instagram_button svg {
    width: 20px;
    height: 20px;
}


@media (min-width: 576px) {
    .footer .footer_second_container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-bottom: 20px;
    }

    .footer .logo img {
        width: 120px;
    }

    .footer .navigation li:nth-child(even) {
        text-align: left;
    }

    .footer .smalltext span {
        font-size: 12px;
        font-weight: 400;
    }

    .footer .logo {
        margin-bottom: 25px;
    }
}

@media (min-width: 768px) {
    .footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 40px 10px 40px 0;
        gap: 30px;
    }

    .instagram_button svg {
        width: 32px;
        height: 32px;
    }

    .footer .instagram_button {
        height: 56px;
        border-radius: 30px;
        padding: 0 20px;
    }

    .footer .logo {
        width: 20%;
    }

    .footer .footer_first_container {
        width: 80%;
    }

    .footer .navigation a {
        font-size: 20px;
    }

    .footer .instagram_button {
        font-size: 18px;
    }

    .footer .smalltext span {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .footer {
        padding: 40px 40px 40px 0;
        gap: 0;
    }

    .contacts li a {
        padding: 24px;
    }
}

.road .items .item svg {
    width: 20px;
    fill: var(--gray);
}

.road .items .item.active svg {
    fill: var(--brown_light);
}

.road .items .item:hover svg {
    fill: var(--black);
}

.road .items .item.active:hover svg {
    fill: var(--brown_light);
}

.road .items .item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 576px) {
    .road .items .item svg {
        width: 30px;
    }
}

@media (min-width: 992px) {
    .road .items .item svg {
        width: 40px;
    }
}

@media (min-width: 1200px) {
    .road .items .item svg {
        width: 40px;
    }
}

.gallery_wrapper {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
}

.gallery_wrapper .gallery_item {
    max-height: 490px;
}

.gallery_wrapper .gallery_item a {
    display: block;
    height: 100%;
}

.gallery_wrapper .gallery_item a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}


@media (min-width: 992px) {
    .gallery_wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        grid-template-rows: unset;
    }
}


/* 404 */

.notfound {
    background: var(--green_dark);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notfound_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.notfound__logo {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.notfound__logo img {
    height: 100px;
    filter: invert(1);
}

.notfound__text {
    font-size: 52px;
    color: var(--white);
    font-weight: 700;
    line-height: 0.8;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.notfound_wrapper a {
    font-size: 14px;
    font-weight: 500;
    background-color: var(--brown_light);
    border: none;
    border-radius: 30px;
    color: var(--white);
    padding: 14px 40px;
    display: block;
    margin-top: auto;
    display: block;
}

.notfound_wrapper a:hover {
    background-color: var(--brown);
    transition: 0.3s;
}

@media (min-width: 768px) {
    .notfound__logo {
        margin: 0 40px 0 0;
    }

    .notfound__text {
        margin: 0 60px 0 0;
        order: -1;
    }

    .notfound_wrapper {
        flex-direction: row;
    }

}

@media (min-width: 992px) {
    .notfound__text {
        font-size: 80px;
        line-height: 1.2;
    }

    .notfound__logo img {
        height: 200px;
    }
}

/* scroll btn */

.scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--brown);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    user-select: none;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.scroll-btn:hover {
    background-color: var(--green_dark);
}

/* scroll btn end */


/* scroll animation */
[data-ane="bottom-top"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.2s ease-out, transform 0.5s ease-in-out;
}

[data-ane="bottom-top"].show {
    opacity: 1;
    transform: translateY(0);
}

/* scroll animation end */


@media (min-width: 992px) {
    [data-ane="bottom-top"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}