body {
    margin: 0 auto;
}


main {
    padding-left: 15.8vw;
    padding-top: 4.07vh;
    padding-bottom: 5vw;
}

main>div>img {
    width: 80.72vw;
    border-radius: 1.042vw;

}

main>p {
    width: 80.72vw;

}

main>h1 {
    font-size: 2.5vw;
    text-transform: uppercase;
    line-height: 2.925vw;
}

.logo {
    width: 80.72vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.6vw;
}

.logo>img {
    width: 9.375vw;
}

footer>.footer-wrapper {
    box-shadow: 0px 4px 25px 0px #00000014;
}

h2 {
    font-size: 1.875vw;
}

p {
    font-size: 1.25vw;
}
.carousel-main-wrapper{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 80.72vw;
}
.carousel {
    width: 80.72vw;
    overflow-x: auto;
}

.carousel .cards-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: fit-content;
    height: 100%;
    gap: 3vw;
}

.cards-wrapper> .card,
.cards-wrapper>a .card {
    width: 20vw;
    height: 25.36vw;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1vw;
    box-sizing: border-box;
    border-radius: 1.042vw;
    background-size: cover;
}
.cards-wrapper>a{
    text-decoration: none;
    color: #fff;
}
.cards-wrapper>a .card{
    height: 100%;
     display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1vw;
    box-sizing: border-box;
}

.cards-wrapper h3,
.cards-wrapper span {
    color: #fff;
}

.cards-wrapper h3 {
    font-size: 1.25vw;
}

.carousel {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

span {
    font-size: 0.677vw;
}

.carousel-buttons{
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: 1vw;
}
.carousel-buttons button{
    width: 5vw;
    font-size: 2.44vw;
    color: #262626;
    background-color: transparent;
    border: none;
}



    .card-link-wrapper h3{
        color: #fff;
        text-decoration: none;
    }
    .card-link-wrapper a{
        color: #fff;
        text-decoration: none;
    }
    .card-link-wrapper span{
        color: #fff;
        text-decoration: none;
    }



@media (max-width: 768px) {
    main {
        padding: 0;
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 10vw;
        padding-bottom: 30vw;
    }

    .main-image>img {
        width: 100vw;
        height: 40vh;

    }

    .main-image {
        border-radius: 0;
        margin-bottom: 10vw;
    }

    .logo>img {
        width: 40vw;
    }

    .logo {
        margin-bottom: 10vw;
    }

    main h2 {
        margin: 0;
        font-size: 9.6vw;
        width: 95vw;
    }

    p {
        font-size: 4vw;
    }

    main h1 {
        display: none;
    }

    .cards-wrapper {
        display: flex;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        box-sizing: border-box;
        /* можно уменьшить */
    }


    .card{
        flex: 0 0 60%;
        height: 60vh !important;
        border-radius: 4vw !important;
        padding: 5vw !important;
        width: 65vw!important;
    }

    .card:last-child {
        margin-right: 4vw;
        /* Добавляем отступ у последней карточки */
    }

    .card h3 {
        font-size: 6.4vw !important;
    }

    .card span {
        font-size: 3.2vw;
    }

.carousel-main-wrapper{
    margin: 0 auto
}

    .carousel {
        position: relative;
    }

    .carousel-buttons button{
        font-size: 10vw;
        width: 11vw;
    }
}