@font-face {
    font-family: 'Inter';
    src: url(fonts/Inter-Regular.otf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'InterBold';
    src: url(fonts/Inter-Bold.otf);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAF9F8;
    max-width: 1400px;
    width: 1400px;
    margin: 0 auto;
    padding: 0;
    font-size: 20px;
    font-family: 'Inter';
}

.link {
    text-decoration: none;
    color: #000;
}

.description {
    font-size: 15px;
    color: #7c7c7c;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dfdfdf;
}

.header__logo img,
.footer__logo {
    width: 135px;
    height: 50px;
    margin: 15px 0 0 10px;
}

.header__list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.list__item a{
    font-size: 15px;
    color: #535858;
    transition: 0.2s;
}

.list__item a:hover {
    color: #000;
}

.button {
    font-size: 15px;
    background-color: #172839;
    padding: 10px 24px;
    border-radius: 20px;
    margin: 15px 10px 0 0;
    color: #fff;
    transition: 0.3s;
}

.button:hover {
    background-color: #243f5b;
}


/* Баннер */

.banner {
    background-image: url(img/banner.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 1400px;
    height: 600px;
    background-color: rgb(0, 64, 64);
    margin: 10px auto;
    border-radius: 15px;
}

.banner__title {
    width: 900px;
    margin-bottom: 10px;
}

.banner__content {
    padding: 180px 20px;
}

.banner__title,
.date,
.gps {
    color: #fff; 
    padding: 10px 0;
}

.orange_line {
    font-size: 15px;
    padding-left: 20px;
    border-left: 5px solid #FD7861;
    color: #7c7c7c;
}

.banner__info {
    display: flex;
    gap: 40px;
    font-size: 15px;
    margin: 30px 0;
}

.banner__date, 
.banner__gps {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    background-color: #403f50;
    border-radius: 20px;
    border: 1px solid #6a6a6a;
}

/* МИССИИ */

.mission {
    display: flex;
    margin: 100px auto;
    gap: 50px;
}

.mission__info p {
    margin: 20px 0;
}

.mission__registration {
    background-color: #F4F3F2;
    padding: 30px;
    border-radius: 20px;
}

.mission__reg-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mission__details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 600px;
    gap: 50px;
}

.information {
    width: 200px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}

.information p {
    margin-top: 5px;
    font-family: 'InterBold';
    font-size: 15px;
}

/* ВИДЫ ДЕЯТЕЛЬНОСТИ */

.activity,
.directions {
    max-width: 100%;
    background-color: #F4F3F2;
    padding: 40px;
    border-radius: 20px;
}

.cards__line {
    display: flex;
    justify-content: space-around;
}

.card__icon {
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: #E9E8E7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icons_activity {
  height: auto;
  user-select: none;
}

.card {
    border: 2px solid #E3E2E1;
    padding: 20px 0 0 25px;
    margin: 30px 0 20px 0;
    background-color: #fff;
    border-radius: 20px;
    width: 600px;
}

.card__title {
    margin-bottom: 20px;
}

.card__desc {
    width: 300px;
    line-height: 1.5;
    padding-bottom: 50px;
}

.directions {
    background-color: #FAF9F8;
    margin: 100px 0;
}

.dir {
    gap: 30px;
}

.blue {
    background-color: #D2E4FB;
}

/* FOOTER */

footer {
    max-width: 100%;
    padding: 20px 0 0 10px;
    border-radius: 10px 10px 0 0;
    background-color: #172839;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    margin: 0 0 25px 20px;
}

.footer__text {
    color: #B6C8DF;
    font-size: 15px;
    margin: 0 20px 20px 20px;
}

.footer__policy, 
.footer__resources {
    display: flex;
    flex-direction: column;
}

/* =========================Адаптацмя========================= */

@media (max-width: 1399px) {
    body {
        width: 100%;
        max-width: 1400px;
    }

    .banner {
        width: calc(100% - 24px);
        box-sizing: border-box;
    }

    .banner__title {
        max-width: 900px;
        width: 100%;
    }

    .mission,
    .activity,
    .directions,
    footer {
        box-sizing: border-box;
    }
}

@media (max-width: 1199px) {
    .header__list {
        gap: 18px;
    }

    .banner {
        height: 520px;
    }

    .banner__content {
        padding: 145px 24px 0;
    }

    .banner__title {
        font-size: 38px;
        line-height: 1.15;
    }

    .mission {
        margin: 72px 24px;
        gap: 32px;
        align-items: flex-start;
    }

    .mission__data {
        min-width: 0;
        flex: 1 1 auto;
    }

    .mission__img {
        flex: 0 1 420px;
    }

    .mission__img img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 510px;
    }

    .mission__details {
        width: 100%;
        gap: 20px;
    }

    .information {
        width: calc(50% - 32px);
    }

    .activity,
    .directions {
        padding: 32px 24px;
    }

    .cards__line {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 26px 0 0;
    }

    .card__desc {
        width: 100%;
        box-sizing: border-box;
        padding-right: 20px;
    }

    .dir {
        gap: 20px;
    }

    footer {
        flex-wrap: wrap;
        gap: 12px 24px;
    }
}

@media (max-width: 900px) {
    header {
        padding: 0 12px;
    }

    .header__logo img {
        margin-left: 0;
    }

    .header__list {
        gap: 14px;
    }

    .list__item a,
    .button {
        font-size: 14px;
    }

    .button {
        margin-right: 0;
    }

    .mission {
        flex-direction: column;
    }

    .mission__data,
    .mission__img {
        width: 100%;
    }

    .mission__img {
        flex: none;
    }

    .mission__img {
        display: flex;
        justify-content: center;
    }

    .mission__img img {
        width: 100%;
        max-width: 510px;
    }

    footer {
        padding-right: 10px;
    }

    .footer__info {
        flex: 1 0 100%;
    }
}

@media (max-width: 720px) {
    header {
        min-height: 72px;
    }

    .header__menu {
        display: none;
    }

    .header__logo img {
        width: 112px;
        height: auto;
        margin-top: 10px;
    }

    .button {
        display: inline-block;
        padding: 9px 18px;
        margin-top: 10px;
        white-space: nowrap;
    }

    .banner {
        width: calc(100% - 24px);
        height: 520px;
        margin: 12px auto;
        border-radius: 14px;
    }

    .banner__content {
        padding: 90px 20px 0;
    }

    .banner__title {
        font-size: 32px;
        line-height: 1.15;
        overflow-wrap: break-word;
    }

    .banner__desc {
        line-height: 1.45;
    }

    .banner__info {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 24px;
    }

    .banner__date,
    .banner__gps {
        min-height: 38px;
        box-sizing: border-box;
    }

    .mission {
        margin: 60px 16px;
        gap: 28px;
    }

    .mission__registration {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .mission__details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .information {
        width: auto;
        min-width: 0;
        box-sizing: border-box;
    }

    .activity,
    .directions {
        margin-left: 12px;
        margin-right: 12px;
        padding: 26px 16px;
        border-radius: 16px;
    }

    .directions {
        margin-top: 64px;
        margin-bottom: 64px;
    }

    .cards__line {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card {
        padding: 20px 18px 0;
        margin-top: 20px;
        border-radius: 16px;
    }

    .card__title {
        margin-bottom: 12px;
    }

    .card__desc {
        padding-right: 0;
        padding-bottom: 32px;
    }

    footer {
        padding: 24px 16px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        border-radius: 0;
    }

    .footer__info,
    .footer__policy,
    .footer__resources {
        width: 100%;
    }

    .footer__logo {
        width: 112px;
        height: auto;
        margin: 0 0 20px;
    }

    .footer__text {
        margin: 0 0 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 500px;
        background-position: center;
    }

    .banner__content {
        padding: 76px 18px 0;
    }

    .banner__title {
        font-size: 29px;
    }

    .orange_line {
        padding-left: 14px;
        border-left-width: 4px;
    }

    .mission__reg-title {
        align-items: flex-start;
    }

    .mission__reg-title h3 {
        font-size: 18px;
        line-height: 1.25;
    }

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

@media (max-width: 360px) {
    .header__logo img {
        width: 100px;
    }

    .button {
        padding: 8px 14px;
        font-size: 13px;
    }

    .banner {
        width: calc(100% - 16px);
        height: 510px;
    }

    .banner__content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .banner__title {
        font-size: 27px;
    }

    .mission {
        margin-left: 12px;
        margin-right: 12px;
    }
}
