/* Подключаем локальные шрифты */
@font-face {
    font-family: 'Graphik';
    src: url('./fonts/graphik/graphik-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('./fonts/graphik/graphik-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

div {
    position: relative;
}

:root {
    --green: #D5E959;
    --dark: #262626;
    --gray: #707070;
    --light-dark: #383B3E;
}

a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.w-50 {
    width: 50% !important;
}

.pl-40 {
    padding-left: 40px !important;
}

.pl-20 {
    padding-left: 20px !important;
}

.ml-40 {
    margin-left: 40px !important;
}

body {
    font-family: 'Graphik', sans-serif;
    margin: 0;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.pb-40 {
    padding-bottom: 40px !important;
}

.d-block {
    display: block !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.d-flex.wrap {
    flex-wrap: wrap;
}

.d-none {
    display: none !important;
}

.ml-8 {
    margin-left: 8px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.flex-start {
    align-items: flex-start !important;
}

.ml-24 {
    margin-left: 24px !important;
}

.p-16 {
    padding: 16px !important;
}

.pb-16 {
    padding-bottom: 16px !important;
}

.pb-24 {
    padding-bottom: 16px !important;
}

.p-8 {
    padding: 8px !important;
}

.pt-40 {
    padding-top: 40px !important;
}

.p-20 {
    padding: 20px !important;
}

.br-24 {
    border-radius: 24px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.d-flex {
    display: flex !important;
}


.space-between {
    justify-content: space-between !important;
}

.center {
    justify-content: center;
}

.flex-column {
    flex-direction: column !important;
}

.bg-center {
    background-position: center !important;
}

.bg-no-repeat {
    background-repeat: no-repeat !important;
}

p {
    margin: 0;
    line-height: 30px;
    font-weight: 300;
}

.text-white {
    color: #fff !important;
}

.text-green {
    color: var(--green) !important;
}

.text-underline {
    text-decoration: underline !important;
}

.text-light-dark {
    color: var(--light-dark) !important;
}


.fw-light {
    font-weight: 300 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.text-center {
    text-align: center;
}

.text-dark {
    color: var(--dark) !important;
}


.container {
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
}

.heading {
    font-size: 32px;
    margin: 0;
    line-height: 40px;
    font-weight: 300;
}

.sub_heading {
    font-weight: 300;
    font-size: 20px;
    line-height: 30px;
    margin: 0;
}


.bg-green {
    background-color: var(--green);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-light-dark {
    background-color: var(--light-dark);
}

.radius {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.list > li {
    line-height: 28px;
    display: flex;
    padding-left: 32px;
    background-repeat: no-repeat;
}

.list > div > div {
    background-repeat: no-repeat;
}


.btn {
    cursor: pointer;
    box-shadow: none;
    outline: none;
    border: none;
    line-height: 28px;
    display: block;
    border-radius: 40px;
    padding: 8px 16px;
    white-space: nowrap;
}


.btn-gray {
    background-color: var(--dark);
    border: 1px solid var(--gray);
    color: #fff;
    transition: background-color .5s;
}

.btn-gray:hover,
.btn-gray.active {
    background-color: white;
    color: var(--dark);
}

.align-items-center {
    align-items: center !important;
}

.bottom-center {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-download {
    font-size: 20px;
    padding: 16px 20px;
    background-color: var(--dark);
    color: var(--green);
}

.map-buttons {
    display: flex;
    overflow-x: scroll;
}

.map-buttons::-webkit-scrollbar {
    display: none;
}

.download-img {
    position: absolute;
    top: 66px;
    right: -24px;
}

.map {
    padding-bottom: 460px;
    background-repeat: no-repeat;
    background-position: center calc(100% - 60px);
    background-image: url("./img/map.png");
}

#map::before,
#about::before,
#team::before {
    content: '';
    width: 100%;
    height: 24px;
    position: absolute;
    top: 0;
    z-index: -1;
}

#map::before {
    background-color: var(--green);
}

#about::before {
    background-color: var(--dark);
}

#team::before {
    background-color: var(--light-dark);
}

.card-team {
    width: 280px;
    display: flex;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-team .card-info {
    position: absolute;
    left: 12px;
    bottom: 12px;
}

.ellipse {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 400px;
}

#team-container {
    display: grid;
    gap: 16px;
    grid-template-columns: 280px;
    justify-content: space-between;
}

.text-about {
    font-weight: 300;
    color: white;
    font-size: 16px;
    max-width: 280px;
}

.container-padded {
    padding-top: 20px;
    padding-bottom: 0;
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 56px;
    background-color: white;
    color: var(--dark);
    display: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 5;
    overflow: hidden;
}

.close {
    display: none;
}

.open .close {
    display: block;
}

.open .burger {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

#slides > div {
    display: none;
}

#slides .active {
    display: block;
}

/* Медиазапрос для экранов планшетов */
@media (min-width: 768px) {
}

/* Медиазапрос для больших экранов */
@media (min-width: 1024px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-flex {
        display: flex !important;
    }

    .d-md-block {
        display: block !important;
    }

    .heading {
        font-size: 64px;
        line-height: 80px;
    }

    .sub_heading {
        font-size: 24px;
        line-height: 36px;
    }

    .container {
        max-width: 944px;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .flex-md-row {
        flex-direction: row !important;
    }

    .text-md {
        font-size: 24px;
        line-height: 40px
    }

    #team-container {
        grid-template-columns: repeat(3, 280px);
    }

    .text-md-left {
        text-align: left;
    }

    .container-padded {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


@media (min-width: 1440px) {
    .container {
        max-width: 1200px
    }

    .text-about {
        max-width: 424px;
    }

    #team-container {
        grid-template-columns: repeat(4, 280px);
    }

    .d-lg-none {
        display: none !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .flex-lg-row {
        flex-direction: row !important;
    }

    .download-img {
        right: -27px;
        bottom: 0;
        top: 0;
    }

    .container-padded {
        padding-top: 40px;
        padding-bottom: 140px;
    }
}