body {
    margin: 0;
}

body * {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0;
    /* background-color: hsl(0, 7%, 76%); */
}

.font-nav {
    font-weight: 500;
    font-size: 14px;
    line-height: 200%;
    color: rgb(51, 51, 51);
}

.font-title {
    font-weight: 600;
    font-size: 60px;
    line-height: 110%;
    letter-spacing: -0.04em;
    color: #333;
}

.font-subtitle {
    font-weight: 400;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: #333;
}

.font-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -0.03em;
    color: #333;
}


.font-advantages-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: #fff;
}

.font-advantages-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: #fff;
}

.font-btn {
    color: rgb(255, 255, 255);
    /* font-family: Inter; */
    font-size: 14px;
    font-weight: 500;
    line-height: 23.88px;
    letter-spacing: 0%;
    text-align: center;
  }

.font-footer {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: rgb(51, 51, 51);
}

.container {
    max-width: 1272px;
    margin: 0 auto;
    margin-top: 0;
}

.header {
    /* background-color: rgba(98, 231, 102, 0.654); */
}

.header-content {
    display: flex;
    justify-content: space-between;
    padding-top: 0px;
    height: 150px;
    /* align-items: center; */
}

.logo {
    margin-top: 34px;
    margin-left: 71px;
}

.logo:hover {}

.header-nav-link:visited {
    color: white;
}


.front-cover {
    /* background-image: url("../images/resultsCover.png"); */
    /* background-repeat: no-repeat; */
}

.header-nav {
    margin-top: 60px;
    margin-right: 75px;
    list-style: none;
    display: flex;
    padding-inline-start: 80px;
    text-align: center;
}

.header-nav-item {
    margin-right: 0px;
    margin-left: 27px;
}

.header-nav-link {
    text-decoration: none;
    color: rgb(51, 51, 51);
}

.header-nav-link:hover {
    color: #E3B873;
}

a.header-nav-link:active,
/* активная/посещенная ссылка */
/* a.header-nav-link:hover, */
/* при наведении */
a.header-nav-link {
    text-decoration: none;
    color: rgb(51, 51, 51);
}


.header-nav-link:visited {
    color: rgb(51, 51, 51);
}

.header-nav-container {
    position: relative;
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 40px;
    width: 40px;
    background-color: white;
    border-radius: 50%;
    align-items: center;
    padding: 8px;
    margin-top: 40px;
    margin-right: 40px;
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: rgb(0, 199, 255);
    border-radius: 1px;
}

a.nodecoration:active, /* активная/посещенная ссылка */
a.nodecoration:hover,  /* при наведении */
a.nodecoration {
  text-decoration: none;
  color: #333;
}


.paper {
    margin-top: 45px;
}

.paper-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 70px;

}

.paper-title {
    margin-top: 10px;
    margin-left: 0px;
    margin-bottom: 0px;
    padding-bottom: 209px;
    /* border-bottom: 0.88px solid rgb(51, 51, 51); */
}

.paper-subtitle {
    margin-top: 25px;
    margin-bottom: 0;
    margin-left: 0px;
    padding-bottom: 156px;
    padding-top: 27px;
    border-top: 0.88px solid rgb(51, 51, 51);
    border-bottom: 0.88px solid rgb(51, 51, 51);
}

.derma {
    margin-left: 70px;
    margin-right: 75px;
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
    /* background-color: #F5F5F5; */
}

.derma-item {
    width: 300px;
    margin-right: 50px;
}

.derma-title {
    margin-top: 36px;
    margin-bottom: 10px;
    color: #333;
}

.derma-text {
    margin-top: 11px;
    /* margin-right: 90px; */
    color: #333;
}

.img-derma {
    margin-top: 22px;
    border-radius: 16px;
    /* width: 353px;
    height: 278px; */
}

.paper-text {
    margin-top: 0px;
    margin-bottom: 40px;
    text-align: justify;
}

.paper-block {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}

.paper-column1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0px;
    max-height: 1000px;
}

.paper-column2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 45px;
    margin-top: 40px;
    margin-right: 50px;
}

.paper-column3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 5px;
    margin-top: 40px;
    margin-right: 50px;
}

.medicaments {
    /* background-color: rgba(98, 231, 102, 0.654);; */
    padding-top: 110px;
    padding-bottom: 50px;
    margin-bottom: -12px;
  }

  .derma-item-2 {
    display: flex;
  flex-direction: column;
  width: 320px;
  margin-right: 30px;
  /* justify-content: space-around; */
}

.img-derma-2 {
    margin-top: 15px;
  padding-right: 1px;
  border-radius: 16px;
  width: 107%;
  /* width: 353px; */
  /* height: 278px; */
}

.medicaments-title {
    margin-top: 87px;
    margin-bottom: 10px;
    color: #333;
  }

  .medicaments-text {
    margin-top: 2px;
    margin-bottom: 27px;
    /* margin-right: 90px; */
    color: #333;
    /* text-decoration: none; */
  }

  .btn-medicaments {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 7.46px;
    background: rgb(0, 199, 255);
    width: 330px;
    height: 48px;
    color: #fff;
    /* padding: 1rem 1.5rem;  */
    text-decoration: none;
  }
  
  .btn-medicaments:hover {
    color: #E3B873;
  }

.footer {
    display: flex;
    padding-top: 50px;
    padding-bottom: 50px;
    justify-content: space-between;
    background-color: #fff;
}

.copyright {
    /* text-align: center; */
    margin: auto;
    margin-top: 10px;
}

.designed {
    /* text-align: center; */
    margin: auto;
    margin-top: 10px;
}

.designed-link {
    text-decoration: none;
    color: rgb(51, 51, 51);
}

.designed-link:hover {
    color: #E3B873;
}

@media (max-width: 1210px) {
    .font-footer {
        font-size: 10px;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        background: rgba(51, 51, 51, 0.8);
        /* position: absolute; */
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    .header-nav-link {
        color: rgb(255, 255, 255);
    }

    .header-nav-link:visited {
        color: rgb(255, 255, 255);
    }


    .burger-menu {
        display: flex;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav-item {
        margin: 10px 0;
    }

    .paper-block {
        flex-direction: column;
    }

    .paper-subtitle {
        margin-right: 15px;
    }

    .paper-column1 {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .paper-column2 {
        margin-left: 5px;
    }

    .img-derma {
        margin-right: 20px;
    }

    .derma {
        flex-direction: column;
        margin-left: 5%;
        margin-right: 5%;
        /* background-color: #F5F5F5; */
    }

    .derma-item {
        display: flex;
        width: auto;
    }

    .derma-item-mob {
        /* width: 100%; */
        margin-left: 64px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }

    .derma-item-2 {
        display: flex;
        /* width: auto; */
      }

}

@media (max-width: 790px) {
    .logo {
        margin-top: 16px;
        margin-left: 20px;
    }

    .logo-img {
        width: 58px;
        height: 58px;
    }

    .burger-menu {
        margin-top: 20px;
        margin-right: 20px;
    }

    .font-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 120%;
        letter-spacing: -0.02em;
        color: #333;
    }

    .font-subtitle {
        font-weight: 400;
        font-size: 20px;
        line-height: 130%;
        letter-spacing: -0.04em;
        color: #333;
    }

    .font-text {
        font-weight: 400;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.03em;
        color: #333;
    }


    .font-advantages-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 160%;
        letter-spacing: -0.03em;
        color: #fff;
    }

    .font-advantages-text {
        font-weight: 400;
        font-size: 14px;
        line-height: 160%;
        letter-spacing: -0.03em;
        color: #000;
    }

    .font-footer {
        font-size: 8px;
    }

    .paper-content {
        margin-left: 5%;
    }

    .paper-title {
        padding-bottom: 0px;/
    }

    .paper-subtitle {
        padding-bottom: 30px;
        margin-right: 5%;
    }

    .paper-block {
        margin-top: 40px;
        margin-bottom: -40px;
    }

    .paper-column1 {
        max-height: 1200px;
    }

    .paper-column2 {
        margin-left: 0;
        margin-right: 5%;
    }

    .paper-column3 {
        margin-left: 0;
        margin-right: 5%;
        margin-top: 0;
    }


    .img-derma {
        margin-top: 15px;
        width: 96%;
    }

    .derma {
        margin-top: 20px;
    }

    .derma-item {
        flex-direction: column;
        margin-right: 0;
    }

    .derma-item-mob {
        margin-left: 10%;
        margin-top: 10px;
    }

    .img-derma-2 {
        margin-top: 15px;
        width: 96%;
        /* width: auto */
        /* height: 278px; */
      }

      .derma-item-2 {
        flex-direction: column;
        margin-right: 0;

}