body {
    --color-black: #2a2f30;
    --color-white: #ffffff;
    --color-green: #095d64;
    --color-dark-green: #0b454a;
    --color-light-green: #00898d;
    --color-very-light-green: #d8f2ef;

    --fg-main: var(--color-black);
    --fg-primary: var(--color-dark-green);
    --bg-main: var(--color-white);
    --bg-primary: #00898d;
    font-size: 16px;
    font-weight: 400;
    color: var(--fg-main);
    background-color: var(--bg-main);
}

.banner__buttons {
    margin-top: 4em;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}


h1,
h2 {
    color: #0b454a;
}


.button_reverse {
    padding-right: 4em;
    padding-left: 4em;
    color: #00898d;
    background-color: #ffffff;
}


.banner {
    position: relative;
    padding-top: 99px;
    padding-bottom: 99px;
    background-color: #f4f4f4;
}

.banner__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(banner-bg.jpg);
    background-size: cover;
    background-position: 50% 100%;
}

.banner__content {
    position: relative;
    width: 242px;
}


.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

[data-toggle="collapse"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

[data-toggle="collapse"]::after {
    flex-shrink: 0;
    content: '';
    display: inline-block;
    width: 23px;
    height: 13px;
    margin-left: 23px;
    background-image: url(chevron.png);
    transform-origin: 50% 50%;
    transition: transform 0.3s ease-in-out;
}

[data-toggle="collapse"].active::after {
    transform: rotateZ(180deg);
}




.accordion__item {
    border: 2px solid var(--color-very-light-green);
  }

  .accordion__item:not(:last-child) {
    margin-bottom: 1em;
  }

   .accordion__header {
    display: flex;
    align-items: center;
    padding: 1.5em;
    background-color: var(--color-very-light-green);
    cursor: pointer;
  }

   .accordion__header::after {
    content: '';
    display: inline-block;
    width: 21px;
    height: 10px;
    margin-left: auto;
    background: url('./caret.svg') center no-repeat;
    background-size: contain;
    transform-origin: 50% 50%;
    transition: transform .4s ease;
    flex-shrink: 0;
  }
   .accordion__item_opened .accordion__header {
    background-color: var(--bg-main);
  }

   .accordion__item_opened .accordion__header::after {
    transform: rotateZ(180deg);
  }

   .accordion__title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--fg-main);
  }

   .accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s linear;
  }

   .accordion__inner {
    padding: 1.5em;
  }

   .accordion__item_opened .accordion__body {
    max-height: 1000px;
  }

   .accordion__buttons {
    padding-top: 2em;
    text-align: center;
  }
  @media (min-width: 768px) {
    .accordion__inner {
        padding: 0 4em 1.5em;
    }

     .accordion__buttons {
        padding-top: 4em;
    }
   }
.exclamation {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 992px;
    margin: 28px auto 0;
    font-weight: 700;
    line-height: 1.5;
    color: #095d64;
}

.exclamation::before {
    content: '!';
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-right: 19px;
    border-radius: 50%;
    border: 1px solid currentColor;
}


.author__photo {
    display: block;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
}

.author__name {
    margin-bottom: 22px;
    font-size: 18px;
    text-align: center;
}

.about {
    line-height: 1.5;
    color: #ffffff;
    background-color: #00898d;
}

.about__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.about h2 {
    color: #ffffff;
}

.about__content {
    padding: 31px 24px;
}

.about__row {
    display: flex;
    flex-direction: column;
}

.about__row:not(:last-child) {
    margin-bottom: 21px;
}

.about__description {
    margin-left: 1em;
}

.center-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mb-70 {
    margin-bottom: 70px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #BDBDBD;
    flex-wrap: wrap;
}

.check-list .checkbox {
    display: flex;
    font-weight: bold;
    font-size: 17px;
    min-width: fit-content;
    align-items: center;
}



.section {
    margin-bottom: 6.25em;

    width: 100%;
}

.section__title {
    margin-top: 0;
    margin-bottom: 1.5em;
    font-size: 1.875em;
    font-weight: 700;
    color: var(--fg-primary);
    text-align: center;
}

.check-list .checkbox label {
    padding-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-bottom: 0;
}

.section-check-list .summary {
    font-weight: 700;
    padding-top: 20px;
}

.section-check-list .summary #tarif-calc {
    margin-left: 0;
    margin-top: 10px;
    color: #00898D;
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.check-list .checkbox,
.check-list .checkbox input,
.check-list .checkbox label {
    cursor: pointer;
}


.check-list .checkbox input {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #00898d;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.check-list .checkbox input:checked::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 3px;
    left: 3px;
    background-color: #00898d;
    border-radius: 4px;
}

.check-list .checkbox input:checked::after {
    content: url(./check.svg);
    display: block;
    width: 14px;
    height: 8px;
    position: absolute;
    top: 5px;
    left: 7px;
}

.section__how-on ul {
    list-style: none;
}



@media (min-width: 400px) {
    .check-list .checkbox label {
        min-width: fit-content;
    }

    .check-list {

        flex-direction: row;
    }

    .check-list .checkbox {

        min-width: 40%;
    }
}

@media (min-width: 420px) {
    .banner__buttons {



        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 576px) {
    .check-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
}


@media (min-width: 576px) {
    .banner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .banner__image {
        background-image: url(banner-bg-sm.jpg);
    }

    .banner__content {
        width: 350px;
    }


    .author__photo {
        margin: 0 30px 0 0;
    }

    .author__name {
        text-align: left;
    }

    .about h2 {
        text-align: left;
    }

    .about__content {
        padding: 57px 67px;
    }

    .about__row {
        display: flex;
        flex-direction: row;
    }

    .about__row:last-child {
        margin-top: 57px;
    }

    .about__title {
        flex-shrink: 0;
        width: 100px;
        margin-right: 14px;
    }

    .about__description {
        margin-left: 0;
    }

    .button_reverse {
        padding-right: 5em;
        padding-left: 5em;
    }
}

@media (min-width: 768px) {

    .check-list .checkbox {

        min-width: 40%;
    }

    .section-check-list .summary #tarif-calc {
        display: inline;
        margin-left: 10px;

    }

    .check-list .checkbox label {
        min-width: fit-content;
    }
    .banner__image {
        background-image: url(banner-bg-md.jpg);
    }

    .banner__content {
        width: 420px;
    }


    .audience__title {
        padding: 24px 15px;
    }

    .audience__inner {
        padding-right: 15px;
        padding-left: 15px;
    }

    .exclamation {
        margin-top: 49px;
        margin-bottom: 64px;
        font-size: 18px;
    }

    .about {
        display: flex;
    }

    .about__content {
        width: 66.666666667%;
    }

    .about__image {
        width: 33.333333333%;
        background-image: url(about-bg-md.jpg);
        background-size: cover;
    }

    .about__image img {
        display: none;
    }
}


@media (min-width: 992px) {
    .banner {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .banner__image {
        background-image: url(banner-bg-lg.jpg);
    }

    .authors {
        display: flex;
        margin-right: -10px;
        margin-left: -10px;
    }

    .author__item {
        display: flex;
        width: 33.333333333%;
        padding-right: 10px;
        padding-left: 10px;
    }


    .author__photo {
        margin-right: auto;
        margin-bottom: 30px;
        margin-left: auto;
    }

    .author__name {
        margin-bottom: 22px;
        text-align: center;
    }

    .howto .section {
        margin-top: -50px;
    }
}

@media (min-width: 1200px) {
    .check-list .checkbox {
        min-width: fit-content;
    }

    .check-list {
        justify-content: space-around;
        padding-bottom: 50px;
        border-bottom: 1px solid #BDBDBD;
        flex-wrap: nowrap;
    }

    .banner {
        padding-top: 170px;
        padding-bottom: 170px;
    }

    .banner__content {
        width: 590px;
    }
}

@media (min-width: 1440.5px) {
    .banner {
        padding-top: 222px;
        padding-bottom: 222px;
    }

    .banner__image {
        background-image: url(banner-bg-xl.jpg);
    }

}
.banner__flag {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
}

.banner__flag-content {
    display: inline-block;
    max-width: 10em;
    margin-bottom: 2em;
    padding: 0.5em 2em;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    background-color: #ff8f3f;
    text-shadow: 0 0 0 #f37e28, 1px 1px 0 #f37e28, 2px 2px 0 #f37e28, 3px 3px 0 #f37e28, 4px 4px 0 #f37e28, 5px 5px 0 #f37e28, 6px 6px 0 #f37e28, 7px 7px 0 #f37e28, 8px 8px 0 #f37e28, 9px 9px 0 #f37e28, 10px 10px 0 #f37e28, 11px 11px 0 #f37e28, 12px 12px 0 #f37e28, 13px 13px 0 #f37e28, 14px 14px 0 #f37e28, 15px 15px 0 #f37e28, 16px 16px 0 #f37e28, 17px 17px 0 #f37e28, 18px 18px 0px #f37e28, 19px 19px 0 #f37e28, 20px 20px 0 #f37e28, 21px 21px 0 #f37e28, 22px 22px 0 #f37e28, 23px 23px 0 #f37e28, 24px 24px 0 #f37e28, 25px 25px 0 #f37e28, 26px 26px 0 #f37e28, 27px 27px 0 #f37e28, 28px 28px 0 #f37e28, 29px 29px 0 #f37e28, 30px 30px 0 #f37e28, 31px 31px 0 #f37e28, 32px 32px 0 #f37e28;
    overflow: hidden;
}

.banner__flag-icon {
    position: absolute;
    top: 0;
    right: -1.5em;
    display: flex;
    flex-direction: column;
    width: 1.5em;
    height: 2em;
}
