body {
    font-family: "Inter", sans-serif;

    background-color: #0e1823;
    color: #fbfbfb;

}

a {
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* #region Header */

.container-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
    border-radius: 8px;
    border: 1px solid #fbfbfb;
        max-width: 335px;
        margin-right: auto;
        margin-left: auto;
        background-color: #fbfbfb;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 20px;
        padding-left: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
}

.logo {
       font-weight: 500;
        font-size: 14px;
        letter-spacing: -0.03em;
        color: #1b414b;
}

.nav-page {
    display: none;
}

.header-addres-list {
    display: none;
}

.btn-mobile {
    border: none;
    background-color: transparent;
    padding: 0;
}

.mobile-icon-btn {
    stroke: #1b414b;
}


@media screen and (min-width: 768px) {
.container-header {
    max-width: 704px;
    padding-right: 28px;
    padding-left: 28px;
}

.logo {
    font-size: 20px;
}

.nav-page {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-item-link {
    display: flex;
        align-items: center;
        justify-content: center;
        width: 91px;
        height: 40px;
        border-radius: 8px;
        background-color: rgba(27, 65, 75, 0.5);
        color: #fbfbfb;
        font-size: 9px;
        text-transform: uppercase;
}

.nav-item-link:hover {
    background-color: #1b414b;
}

.header-addres-list {
    display: flex;
    gap: 8px;
        align-items: center;
        justify-content: center;
}

.header-icon {
    fill: #1b414b;
}

.header-icon:hover,
.header-icon:focus {
    fill: #062730;
}

.btn-mobile {
    display: none;
}
}

@media screen and (min-width: 1280px) {
.container-header {
        max-width: 1080px;
        padding-right: 30px;
        padding-left: 30px;
    }

}

@media screen and (min-width: 1440px) {
.container-header {
        max-width: 1240px;
        padding-right: 30px;
        padding-left: 30px;
    }

}




/* #endregion */


/* #region Main */

/* #region Section1 */

.section-first {
background-image: url(../images/bg-img.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    padding-top: 260px;
    padding-bottom: 243px;
}

@media (min-resolution: 2x) {
    .section-first {
        background-image: url(../images/bg-img@2x.jpg);
    }
}

.container {
    position: relative;
        max-width: 375px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-right: 20px;
        padding-left: 20px;
}

.section-first-title {
    max-width: 335px;
     font-weight: 500;
        font-size: 32px;
        line-height: 1;
        letter-spacing: -0.02em;
        text-align: center;
        color: #fbfbfb;
        margin: 0 0 20px 0;
}

.section-first-text {
    max-width: 335px;
        font-weight: 300;
        font-size: 12px;
        line-height: 1.16667;
        text-align: center;
        color: rgba(251, 251, 251, 0.7);
        margin: 0 0 38px 0;
}


.section-first-link {
    display: flex;
        align-items: center;
        justify-content: center;
border-radius: 15px;
    padding: 14px 32px;
    width: 141px;
    height: 46px;
    background-color: #1b414b;
   
        margin-bottom: 0;
        color: #fbfbfb;
        border: none;

         font-weight: 500;
            font-size: 14px;
            line-height: 1.28571;
            letter-spacing: -0.02em;
}

.section-first-link:hover {
    background-color: #fbfbfb;
    color: #1b414b;
}


@media screen and (min-width: 768px) {

    .section-first {
        background-image: url(../images/bg-img-tablet.jpg);
        padding-top: 280px;
        padding-bottom: 215px;
    }


        @media (min-resolution: 2x) {
            .section-first {
                background-image: url(../images/bg-img-tablet@2x.jpg);
            }
        }

.container {
    max-width: 704px;
    padding-right: 32px;
    padding-left: 32px;
}

.section-first-title {
    max-width: 704px;
    font-size: 70px;
}

.section-first-text {
    max-width: 597px;
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 48px 0;
}

.section-first-link {
    width: 179px;
        height: 52px;
    padding: 16px 40px;
}
    
}

@media screen and (min-width: 1280px) {
.section-first {
        background-image: url(../images/bg-img-desktop.jpg);
        padding-top: 235px;
        padding-bottom: 180px;
    }


  @media (min-resolution: 2x) {
      .section-first {
          background-image: url(../images/bg-img-desktop@2x.jpg);
      }
  }

.container {
        max-width: 1001px;
        padding-right: auto;
        padding-left: auto;
    }

.section-first-title {
    max-width: 1001px;
    font-size: 80px;
}

.section-first-link {
    width: 179px;
    height: 52px;
    padding: 16px 40px;
}

}


@media screen and (min-width: 1440px) {
    .section-first {
            background-image: url(../images/bg-img-desktop1.jpg);
            padding-top: 239px;
            padding-bottom: 175px;
        }

 @media (min-resolution: 2x) {
     .section-first {
         background-image: url(../images/bg-img-desktop1@2x.jpg);
     }
 }

.container {
        padding-right: auto;
        padding-left: auto;
    }

}


/* #endregion */

/* #region Section2 */

.section-second {
    padding-bottom: 180px;
}

.section-second .container {
    max-width: 375px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
}

.container-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 335px;
    background-color: #fbfbfb;
    border-radius: 24px;
    position: relative;
    padding: 40px 20px 335px 20px;
}

.container-info-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-second-title {
    
     font-weight: 500;
        font-size: 28px;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #1b414b;
        margin: 0;
}

.section-second-h3 {
    font-weight: 400;
        font-size: 18px;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #1b414b;
        margin: 0;
}

.section-second-text {

     font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: -0.02em;
    color: #040306;
    opacity: 0.4;
}

.section-second-img {
    position: absolute;
    top: 380px;
    right: 20px;
    border-radius: 24px;
}


@media screen and (min-width: 768px) {

.section-second {
    padding-bottom: 150px;
}
    
.section-second .container {
        max-width: 768px;
        padding-right: 32px;
        padding-left: 32px;
    }

        .container-info {
            max-width: 704px;
            padding: 50px 136px 450px 32px;
            gap: 50px;
        }

  .section-second-title {
                    font-size: 48px;
                    max-width: 536px;
                }

     .section-second-h3 {
        font-size: 23px;
        max-width: 370px;
     }

      .section-second-text {
font-size: 13px;
line-height: 1.15;
max-width: 385px;
         }
.section-second-img {
    right: 32px;
    top: 473px;
}

}


@media screen and (min-width: 1280px) {

    .section-second {
padding-bottom: 300px;
    }

    .section-second .container {
            max-width: 1280px;
            padding-right: 50px;
            padding-left: 50px;
        }

.container-info {
    flex-direction: row;
    gap: 0;
    max-width: 1180px;
    padding: 50px 50px 415px 50px;
}

 .section-second-title {
     max-width: 537px;
     margin-right: 189px;
 }

  .section-second-h3 {
      max-width: 354px;
  }

  .section-second-text {
    max-width: 354px;
  }

.section-second-img {
    right: 50px;
    top: 360px;
}

}

@media screen and (min-width: 1440px) {

.section-second {
    padding-bottom: 250px;
}

.section-second .container {
        max-width: 1440px;
    }

.container-info {
    max-width: 1340px;
    padding: 50px 50px 438px 50px;
}

 .section-second-title {
     margin-right: 299px;
 }

 .section-second-h3 {
     max-width: 404px;
 }

 .section-second-text {
     max-width: 404px;
 }

 .section-second-img {
    right: 50px;
     top: 338px;
 }

}


/* #endregion */


/* #region Section3 */

.section-third {
padding-bottom: 80px;
}


.section-third .container {
    max-width: 375px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-right: 20px;
    padding-left: 20px;
}

.section-third-title {
   
     font-weight: 500;
        font-size: 28px;
        line-height: 1;
        letter-spacing: -0.02em;
        text-align: center;
        color: #fbfbfb;
        max-width: 312px;
        margin: 0;
}


.card-2,
.card-3 {
    display: none;
}





.card-item-box {
    border-radius: 24px;
        max-width: 334px;
        background-color: #fbfbfb;
        padding: 16px 16px 32px 16px;
}


.section-third-h3 {
    max-width: 270px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        
            font-weight: 500;
            font-size: 14px;
            line-height: 1.18;
            letter-spacing: -0.04em;
            text-transform: uppercase;
            color: #1b414b;
        border-bottom: 1px solid rgba(4, 3, 6, 0.1);
            padding-bottom: 16px;
            padding-top: 32px;
}

.name-span {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #040306;
    opacity: 0.4;
}

.section-third-info-list {
    display: flex;
        flex-direction: column;
        max-width: 270px;
        margin: 0 auto;
}

.section-third-list-item {
    margin-top: 6px;
}

.section-third-list-item:first-child {
    margin-top: 16px;
}

.info-list-p {
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.18;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #040306;
}

.list-item-label {
    opacity: 0.4;
}

.section-third-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    width: 141px;
    height: 46px;
    background-color: #0e1823;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    color: #fbfbfb;
    border: 1px solid rgba(251, 251, 251, 0.35);

}


.section-third-btn:hover {
    background-color: #fbfbfb;
    color: #1b414b;
}


@media screen and (min-width: 768px) {

.section-third {
    padding-bottom: 150px;
}


    .section-third .container {
            max-width: 768px;
            padding-right: 32px;
            padding-left: 32px;
            gap: 0;
        }

                .section-third-title {
                    font-size: 48px;
                    max-width: 613px;
                    margin-bottom: 75px;
                }

                .section-third-card {
    display: flex;
    gap: 31px;
    margin-bottom: 50px;
}

.card-item-box {
    max-width: 336px;
}

.card-2 {
    display: block;
}

.section-third-h3 {
    max-width: 272px;
    font-size: 16px;
    line-height: 1.2;
}

.name-span {
    font-size: 13px;
        line-height: 1.18;
}

.section-third-info-list {
    max-width: 272px;
}

.info-list-p {
    font-size: 14px;
        line-height: 1.18;
}

.section-third-btn {
padding: 16px 40px;
    width: 179px;
    height: 52px;
}


}


@media screen and (min-width: 1280px) {


.section-third .container {
    max-width: 1280px;
    padding-right: 50px;
    padding-left: 49px;
}
    
 .section-third-title {
    max-width: 690px;
 }

.section-third-card {
    max-width: 1181px;
    gap: 25px;
}

.card-item-box {
    max-width: 377px;
}

.card-3 {
    display: block;
}
 
.section-third-h3 {

    max-width: 313px;
}

.section-third-info-list {
    max-width: 313px;
}


}


@media screen and (min-width: 1440px) {
    
.section-third .container {
        max-width: 1440px;
        padding-right: 100px;
        padding-left: 100px;
    }

.section-third-card {
    max-width: 1240px;
    gap: 32px;
}

.card-item-box {
    max-width: 392px;
}

.section-third-h3 {

    max-width: 328px;
}

.section-third-info-list {
    max-width: 328px;
}

}



/* #endregion */

/* #region Section4 */

.section-fourth {
    padding-bottom: 80px;
}


.section-fourth .container {
max-width: 375px;
margin: 0 auto;
padding-right: 20px;
padding-left: 20px;
display: flex;
flex-direction: column;
gap: 20px;
}

.fourth-box {
max-width: 335px;
border-radius: 24px;
    background-color: #1b414b;
    padding: 80px 20px;
}

.section-fourth-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-fourth-list-item {
    max-width: 295px;
}

.item-1::before {
content: "01";
}
.item-2::before {
    content: "02";
}
.item-3::before {
    content: "03";
}
.item-4::before {
    content: "04";
}

.section-fourth-list-item::before {
 font-weight: 500;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #fbfbfb;
    display: block;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(251, 251, 251, 0.1);
}

.section-fourth-list-item-text {
   font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: -0.02em;
    color: #fbfbfb;
    opacity: 0.8;

}


.section-fourth-img {
    border-radius: 24px;
}


@media screen and (min-width: 768px) {

.section-fourth {
    padding-bottom: 150px;
}

    
.section-fourth .container {
        max-width: 768px;
        margin: 0 auto;
        padding-right: 32px;
        padding-left: 32px;
        display: flex;
        flex-direction: column;
        gap: 32x;
    }

.fourth-box {
    max-width: 704px;
    padding: 90px 32px;
}

.section-fourth-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.section-fourth-list-item {
    max-width: 300px;
    width: calc((100% - 32px) / 2);
}

.section-fourth-list-item-text {
    font-size: 13px;
    line-height: 1.15;
}


}



@media screen and (min-width: 1280px) {
    
.section-fourth .container {
        max-width: 1280px;
        margin: 0 auto;
        padding-right: 50px;
        padding-left: 50px;
        display: flex;
        flex-direction: row;
        gap: 32x;
    }

  .fourth-box {
      max-width: 716px;
      padding: 90px 32px;
  }
      
.section-fourth-list-item {
    max-width: 292px;
}

.item-1 > .section-fourth-list-item-text {
    max-width: 249px;
    margin-bottom: 12px;
}



}


@media screen and (min-width: 1440px) {
    .section-fourth .container {
        max-width: 1440px;
    }

    .fourth-box {
        max-width: 768px;
    }

.section-fourth-list-item {
    max-width: 318px;
}

}

/* #endregion */

/* #region Section5 */


.section-fifth {
    padding-bottom: 80px;
}

.section-fifth .container {
    max-width: 375px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column-reverse;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-title {
    max-width: 222px;
     font-weight: 500;
        font-size: 28px;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #fbfbfb;
        margin: 0;
}

.contact-form {
display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
}

.contact-form .form-btn {
    margin-top: 22px;
    margin-bottom: 80px;
    border-radius: 15px;
        padding: 14px 44px;
        width: 122px;
        height: 46px;
        background-color: #1b414b;
        color: #fbfbfb;
        border: none;
            font-weight: 500;
            font-size: 14px;
            line-height: 1.28571;
            letter-spacing: -0.02em;
}

.form-btn:hover {
    background-color: #fbfbfb;
    color: #1b414b;
}

.input-name {
    border: 1px solid rgba(251, 251, 251, 0.2);
    border-radius: 12px;
    padding: 14px 18px 14px 18px;
    width: 335px;
    background-color: transparent;
    color: #fbfbfb;

}


.input-name::placeholder {
    color: rgba(251, 251, 251, 0.4);
}

.input-name:focus {
    border: 1px solid rgba(251, 251, 251, 0.5);
    color: #fbfbfb;
    border-color: transparent;
}

.section-fifth img {
    border-radius: 24px;
}

@media screen and (min-width: 768px) {

.section-fifth {
    padding-bottom: 150px;
}
    
.section-fifth .container {
        max-width: 768px;
        padding-right: 32px;
        padding-left: 32px;
        display: flex;
        flex-direction: column-reverse;
    }

.form-block {
    gap: 50px;
}

.form-title {
    max-width: 381px;
    font-size: 48px;
}

.contact-form .form-btn {
    width: 194px;
    height: 56px;
    margin-top: 32px;
    margin-bottom: 100px;
    padding: 18px 75px;
    font-size: 18px;
    line-height: 1.1;
}

.input-name {
width: 472px;
padding: 18px 18px 18px 18px;
}


}


@media screen and (min-width: 1280px) {
.section-fifth .container {
    max-width: 1280px;
    padding-right: 50px;
    padding-left: 50px;
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.contact-form .form-btn {
    margin-bottom: 0;
}

}

@media screen and (min-width: 1440px) {
.section-fifth .container {
        max-width: 1440px;
        padding-right: 100px;
    }

}

/* #endregion */

/* #region Section6 */

.section-six {
    padding-bottom: 80px;
}

.section-six .container {
    max-width: 375px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.section-six-title {
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    max-width: 324px;
    margin: 0 auto 25px auto;
}

.section-six-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    opacity: 0.4;
    margin-bottom: 40px;
}

.person-2,
.person-3 {
    display: none;
}


.section-six-list-item {
    background-color: #fbfbfb;
    max-width: 335px;
    border-radius: 24px;
    padding: 32px 16px;
}

.section-six-container-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #040306;
    margin-bottom: 8px;
}

.section-six-container-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-align: center;
    color: rgba(4, 3, 6, 0.4);
}

.person-img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 24px;
}


@media screen and (min-width: 768px) {

    .section-six {
        padding-bottom: 150px;
    }

    .section-six .container {
        max-width: 768px;
        padding-right: 32px;
        padding-left: 32px;
    }

    .section-six-title {
        font-size: 48px;
        max-width: 704px;
    }

    .section-six-text {
        font-size: 14px;
        line-height: 1.28571;
        margin-bottom: 75px;
        max-width: 571px;
    }


    .person-2 {
        display: block;
    }

    .section-six-list {
        display: flex;
        gap: 32px;
    }

    .section-six-list-item {
        max-width: 336px;
    }

}

@media screen and (min-width: 1280px) {


    .section-six .container {
        max-width: 1280px;
        padding-right: 50px;
        padding-left: 50px;
    }

    .section-six-title {
        max-width: 800px;
    }

    .person-3 {
        display: block;
    }


    .section-six-list-item {
        max-width: 376px;
        padding: 32px 28px;
    }

    .section-six-list {
        gap: 26px;
    }

}

@media screen and (min-width: 1440px) {

    .section-six {
        padding-bottom: 144px;
    }

    .section-six .container {
        max-width: 1440px;
        padding-right: 100px;
        padding-left: 100px;
    }

.section-six-list {
    gap: 32px;
}

    .section-six-list-item {
        max-width: 392px;
        padding: 32px 36px;
    }

}

/* #endregion */



/* #endregion */


/* #region Footer */

.footer .container {
    max-width: 375px;
    padding: 0px 10px;
}

.footer-obj {
    background: #1b414b;
    border-radius: 24px 24px 0 0;
    width: 355px;
    margin-right: auto;
    margin-left: auto;
    padding: 40px 30px 20px 30px;

}


.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.footer-logo {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #fbfbfb;
}

.footer-nav-list {
    display: flex;
    gap: 4px;
}

.footer-nav-list-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(251, 251, 251, 0.3);
    color: #fbfbfb;
        font-weight: 400;
        font-size: 9px;
        line-height: 1.3;
        text-transform: uppercase;
        text-align: center;
        color: #fbfbfb;
}

.footer-nav-list-item-link:hover {
    background-color: #fbfbfb;
    color: #1b414b;
}

.footer-addres {
    margin: 80px auto 40px auto;
}

.footer-addres-list {
    display: flex;
    gap: 8px;
}

.footer-title {
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    margin-bottom: 82px;
    max-width: 277px;
    margin-right: auto;
    margin-left: auto;
}


.privacy-box {
    display: flex;
    gap: 20px;
    justify-content: center;
}


.footer-text-company {
        font-weight: 400;
        font-size: 12px;
        line-height: 1.16667;
        letter-spacing: 0.03em;
        text-align: center;
        color: rgba(251, 251, 251, 0.4);
}



.footer-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.03em;
    text-align: center;
    color: rgba(251, 251, 251, 0.4);
}

.footer-icon {
    fill: #fbfbfb;
}

.footer-icon:hover,
.footer-icon:focus {
    fill: rgba(251, 251, 251, 0.8);
}

@media screen and (min-width: 768px) {
    
.footer .container {
        max-width: 768px;
        padding: 0px 16px;
    }

.footer-obj {
    background: #1b414b;
    width: 736px;
    padding: 50px 48px 20px 48px;

}

.footer-links {
    flex-wrap: nowrap;
    margin-bottom: 96px;
}

.footer-logo {
    font-size: 20px;
}

.footer-nav-list-item-link {
    width: 91px;
}

.footer-addres {
    margin: 0;
}

.footer-title {
    font-size: 32px;
    max-width: 612px;
}


.footer-text-company {
    font-size: 14px;
    line-height: 1.18;
}

.footer-text {
    font-size: 14px;
    line-height: 1.18;
}

}

@media screen and (min-width: 1280px) {
.footer .container {
        max-width: 1280px;
        padding: 0px 25px;
    }

.footer-obj {
    width: 1230px;
    padding: 50px 75px 20px 75px;
}

.footer-title {
    max-width: 689px;
}

}

@media screen and (min-width: 1440px) {
    
.footer .container {
        max-width: 1440px;

    }
.footer-obj {
    width: 1390px;
}

}

/* #endregion */


/* #region Modal */


.modal-overley {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

.modal {
    width: 375px;
    max-height: 100%;
    background: #0e1823;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-header {
    position: absolute;
    top: 16px;
    right: 20px;
    left: 20px;
    width: 335px;
    height: 42px;
    background-color: #fbfbfb;
    border: 1px solid #fbfbfb;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.modal-logo {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #1b414b;
}

.modal-header-btn {
    margin: 0;
    border: none;
    background: none;
    padding: 0;
}

.modal-header-icon {
    fill: #055545;
    margin: 0;
}

.modal-nav {
    margin-right: auto;
    margin-left: auto;
    margin-top: 259px;
    margin-bottom: auto;
}

.modal-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;


}

.modal-nav-link {
    background: rgba(27, 65, 75, 0.5);
    border-radius: 8px;
    width: 91px;
    height: 40px;
    font-weight: 400;
    font-size: 9px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    color: #fbfbfb;
    display: flex;
    justify-content: center;
    align-items: center;

}

.modal-nav-link:hover {
    background: #1b414b;
}

.modal-social-list {
    display: flex;
    margin-top: 361px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
}

.modal-icon {
    fill: #fbfbfb;
}

.modal-icon:hover {
    fill: rgba(251, 251, 251, 0.8);
}

@media screen and (min-width: 768px) {
    .modal-overley {
        display: none;
    }
}

/* #endregion */