@font-face {
    font-family: 'Righteous';
    src: url("../fonts/Righteous-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto-Condenced';
    src: url("../fonts/RobotoCondensed-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(136, 136, 136, 0.5) rgba(241, 241, 241, 0);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(136, 136, 136, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(85, 85, 85, 0.7);
}

/* Для устройств с сенсорным экраном */
@media (hover: none) {
    ::-webkit-scrollbar-thumb {
        background-color: rgba(136, 136, 136, 0.3);
        /* Менее заметный цвет по умолчанию */
    }
}

body {
    font-family: 'Roboto-Condenced', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1430px;
    margin: 0 auto;
    padding-inline: 10px;
}

/* header */

.header {
    max-height: 80px;
    margin-top: 20px;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 100;
    transform: translateY(-100px);
    transition: 0.5s ease;
}

.header.visible {
    transform: translateY(0);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 20px;
    height: 80px;
    border-radius: 30px;
    border: #1B3C36 3px solid;
    background-color: rgba(241, 241, 241, 0.75);
}

.nav__logo-lite {
    width: 70px;
    transition: 0.3s ease;
}

.nav__logo-lite:hover {
    opacity: .8;
}

.nav-burger__button {
    display: none;
    flex-direction: column;
    width: 50px;
    height: 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.nav-burger-el:nth-child(2),
.nav-burger-el:nth-child(3) {
    margin-top: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 40px;
}

.nav__list__img {
    width: 60px;
    transition: 0.3s ease;
    border-radius: 50%;
}

.nav__list__img:hover {
    background-color: #f1f1f1;
}

.nav__switcher {
    display: flex;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

.nav__switcher-img {
    width: 50px;
}

.nav__switcher-arrow {
    width: 50px;
    transition: 0.3s ease;
}

.nav__switcher-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav__switcher-item {
    position: absolute;
    padding-top: 70px;
    padding-left: 50px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s ease;
}

.switcher-opened.nav__switcher-item {
    transform: translateY(0);
    opacity: 1;
}

.switcher-opened.nav__switcher-arrow {
    transform: rotate(180deg);
}

/* hero section */

.hero {
    background-image: url(../img/background-for-hero.jpg);
    background-color: rgba(60, 97, 90, .8);
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    border-bottom: #1f1f1f 3px solid;
}

.hero__title {
    visibility: hidden;
    height: 0;
}

.hero__img {
    margin: 0 auto;
    width: 100%;
    height: 450px;
    padding-top: 50px;
    transition: 0.3s ease;
}

.hero__img {
    animation: outlineMove 3s ease infinite;
}

@keyframes outlineMove {
    0% {
        filter: drop-shadow(1px 1px 8px rgba(255, 255, 255, .5));
    }

    50% {
        filter: drop-shadow(1px 1px 8px rgba(255, 255, 255, .9));
    }

    100% {
        filter: drop-shadow(1px 1px 8px rgba(255, 255, 255, .5));
    }
}

.hero__abilities {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-top: 50px;
}

.hero__abilities-text {
    font-family: 'Righteous', sans-serif;
    text-align: center;
    font-size: 48px;
    font-weight: 400;
    color: #f1f1f1;
    text-shadow: 0 4px 4px #000;
}

.hero__abilities-link {
    transition: 0.3s ease;
}

.hero__abilities-link:hover {
    opacity: .8;
}

.hero__btn-container {
    margin-top: 80px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.hero__btn {
    padding: 16px 23px;
    font-size: 36px;
    background-color: #1B3C36;
    color: #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 4px 4px #000;
}

/* about section */

.about {
    background-color: #f1f1f1;
    min-height: 100vh;
}

.about__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 200px;
}

.about__logo-img {
    width: 100%;
    height: 400px;
}

.about__description-text {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin-top: 40px;
    max-width: 686px;
}

.about__description-text:nth-child(1)::after {
    content: '';
    display: block;
    margin-inline: auto;
    margin-top: 20px;
    width: 50px;
    height: 3px;
    background-color: #1B3C36;
}

.about__description-text:nth-child(2)::after {
    content: '';
    display: block;
    margin-inline: auto;
    margin-top: 20px;
    width: 200px;
    height: 3px;
    background-color: #1B3C36;
}

.about__description-text:nth-child(3)::after {
    content: '';
    display: block;
    margin-inline: auto;
    margin-top: 20px;
    width: 400px;
    height: 3px;
    background-color: #1B3C36;
}

.about__arrow {
    display: flex;
    justify-content: center;
    padding-bottom: 200px;
}

.about__btn-arrow {
    margin-top: auto;
}

.about__arrow-img {
    width: 70px;
    animation: arrowMove 3s ease infinite;
}

@keyframes arrowMove {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* services section */

.services {
    background: linear-gradient(45deg, #1F1F1F, #1B3C36);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    padding-bottom: 100px;
    border-bottom: #1B3C36 3px solid;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.services__content-title {
    font-family: 'Righteous', sans-serif;
    font-weight: 400;
    font-size: 48px;
    text-align: center;
    color: #f1f1f1;
    padding-top: 110px;
    padding-bottom: 20px;
}

.services__content-first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.services__first-title:nth-child(1) {
    font-size: 38px;
    font-weight: 700;
    color: rgba(192, 11, 11, 0.7);
    margin-bottom: 20px;
}

.services__first-text {
    font-size: 28px;
    max-width: 700px;
    color: rgba(241, 241, 241, 0.7);
    line-height: 50px;
}

.services__first-title:nth-child(6) {
    font-size: 38px;
    font-weight: 700;
    color: rgba(0, 115, 94, 0.7);
    margin-top: 70px;
    margin-bottom: 20px;
}

.services__content-img {
    width: 670px;
}

.services__content-second {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.services__second-title:nth-child(1) {
    text-align: end;
    font-size: 38px;
    font-weight: 700;
    color: rgba(192, 11, 11, 0.7);
    margin-bottom: 20px;
}

.services__second-text {
    text-align: end;
    font-size: 28px;
    max-width: 700px;
    color: rgba(241, 241, 241, 0.7);
    line-height: 50px;
}

.services__second-title:nth-child(6) {
    text-align: end;
    font-size: 38px;
    font-weight: 700;
    color: rgba(0, 115, 94, 0.7);
    margin-top: 70px;
    margin-bottom: 20px;
}

/* benefits section */

.benefits {
    background-color: #1F1F1F;
    padding-bottom: 70px;
}

.benefits__title {
    font-family: 'Righteous', sans-serif;
    font-weight: 400;
    font-size: 48px;
    text-align: center;
    color: #f1f1f1;
    padding-top: 60px;
    padding-bottom: 60px;
}

.benefits__box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin: 0 auto;
    margin-bottom: 60px;
    padding-inline: 40px;
    background-color: #f1f1f1;
    max-width: 1400px;
    min-height: fit-content;
    border-radius: 50px;
    transition: 0.5s ease;
}

.benefits__box:hover {
    transform: scale(1.01);
}

.benefits__box:last-child {
    margin-bottom: 0;
}

.benefits__box-img {
    width: 70px;
    transform: rotate(180deg);
}

.benefits__box-title {
    font-family: 'Righteous', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1F1F1F;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
    border-bottom: #1B3C36 3px solid;
}

.benefits__box-text:nth-child(2) {
    padding-top: 10px;
}

.benefits__box-text {
    font-size: 28px;
    color: #1F1F1F;
    line-height: 50px;
    color: rgba(31, 31, 31, 0.7);
}

/* contact section */

.contact {
    background-color: #f1f1f1;
    padding-bottom: 200px;
}

.contact__title {
    color: #1B3C36;
    text-align: center;
    font-family: 'Righteous', sans-serif;
    font-size: 58px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact__form-input {
    color: #1F1F1F;
    padding: 18px 0;
    outline: none;
    font-size: 18px;
    font-weight: 400;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-bottom: rgba(140, 140, 140, 0.3) 1px solid;
    background-color: transparent;
    transition: 0.3s ease;
}

.contact__form-input:focus {
    border-bottom: rgba(31, 31, 31, 1) 1px solid;
}

.contact__form-input-error {
    margin-bottom: 45px;
    padding-top: 5px;
}

.contact__area-text {
    width: 100%;
    resize: none;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-bottom: rgba(140, 140, 140, 0.3) 1px solid;
    color: #1F1F1F;
    background-color: transparent;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    outline: none;
    transition: 0.3s ease;
}

.contact__area-text:focus {
    border-bottom: rgba(31, 31, 31, 1) 1px solid;
}

.contact__area-text-error {
    margin-bottom: 25px;
    padding-top: 5px;
}



.contact__form-input::placeholder,
.contact__area-text::placeholder {
    font-family: 'Roboto-Condenced', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #1f1f1f;
    opacity: 0.5;
}

.checkboxes-wrapper {
    display: flex;
    gap: 10px;
}

.checkbox-wrapper-4 .cbx {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: inline-block;
}

.checkbox-wrapper-4 .cbx:not(:last-child) {
    margin-right: 6px;
}

.checkbox-wrapper-4 .cbx span {
    float: left;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    transform: scale(1);
    border: 1px solid #1B3C36;
    transition: all 0.2s ease;
    box-shadow: 0 1px 1px rgba(0, 16, 75, 0.05);
}

.checkbox-wrapper-4 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx span:last-child {
    color: #1f1f1f;
    font-size: 18px;
    text-decoration: underline;
    padding-left: 8px;
    line-height: 18px;
}

.checkbox-wrapper-4 .cbx:hover span:first-child {
    border-color: #1B3C36;
}

.checkbox-wrapper-4 .inp-cbx {
    position: absolute;
    visibility: hidden;
}

.checkbox-wrapper-4 .inp-cbx:checked+.cbx span:first-child {
    background: #1B3C36;
    border-color: #1B3C36;
    animation: wave-4 0.4s ease;
}

.checkbox-wrapper-4 .inp-cbx:checked+.cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-4 .inline-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    user-select: none;
}

.checkbox-error {
    padding-top: 10px;
}

@media screen and (max-width: 640px) {
    .checkbox-wrapper-4 .cbx {
        width: 100%;
        display: inline-block;
    }
}

@-moz-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-webkit-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-o-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

.contact__form-button {
    max-width: max-content;
    padding: 16px 60px;
    color: #F1F1F1;
    background-color: #1B3C36;
    font-size: 18px;
    margin: 0 auto;
    margin-top: 70px;
    cursor: pointer;
}

/* modal-success */

.custom-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #f1f1f1;
    margin: 15% auto;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.5s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    color: #999;
    transition: 0.3s ease;
}

.close-modal-btn:hover {
    color: #1f1f1f;
}

.modal-content .modal-success-title {
    font-family: 'Roboto-Condensed', sans-serif;
    color: #1F1F1F;
    font-size: 22px;
    padding-bottom: 5px;
    width: fit-content;
    border-bottom: rgba(0, 115, 94, 0.7) 1px solid;
}

.modal-content button {
    transition: 0.3s ease;
    opacity: 0.8;
    margin-bottom: 15px
}

.modal-content button:hover {
    opacity: 1;
}

/* modal-error */

.modal-content .modal-error-title {
    font-family: 'Roboto-Condensed', sans-serif;
    color: #1F1F1F;
    font-size: 22px;
    padding-bottom: 5px;
    width: fit-content;
    border-bottom: rgba(192, 11, 11, 0.7) 1px solid;
}

.modal-error-text {
    font-family: 'Roboto-Condensed', sans-serif;
    margin-top: 10px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-buttons button {
    border: none;
    cursor: pointer;
    font-weight: 400;
    font-family: 'Roboto-Condensed', sans-serif;
}

/* footer */

footer {
    background-color: #1F1F1F;
    padding-top: 50px;
    padding-bottom: 200px;
}

.footer-logo-wrapper__link {
    display: flex;
    justify-content: center;
}

.footer-logo__img {
    width: 300px;
    transition: 0.3s ease;
}

.footer-logo__img:hover {
    opacity: .5;
}

.footer-mail-wrapper {
    display: flex;
    justify-content: center;
}

.footer-mail__link {
    padding-top: 40px;
    font-size: 48px;
    color: #f1f1f1;
    font-family: 'Righteous', sans-serif;
    transition: 0.3s ease;
}

.footer-mail__link:hover {
    opacity: .5;
}

.footer-social__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 80px;
}

.footer-social__img {
    width: 70px;
    border-radius: 50%;
    transition: 0.3s ease;
}


.footer-social__img:hover {
    filter: invert(90%) sepia(2%) saturate(0%) hue-rotate(0deg);
}

/* media quaries */

@media (max-width: 1440px) {
    .services__content-first {
        flex-direction: column-reverse;
        margin-top: 0;
    }

    .services__content-description {
        margin-top: 50px;
        background-color: rgba(241, 241, 241, 0.05);
        border-radius: 10px;
    }

    .services__first-title {
        text-align: center;
        background-color: rgba(31, 31, 31, 0.7);
        border-radius: 10px;
    }

    .services__first-title:nth-child(6) {
        margin-top: 50px;
    }

    .services__first-text {
        padding-inline: 5px;
    }

    .services__content-second {
        flex-direction: column;
    }

    .services__second-title:nth-child(1),
    .services__second-title:nth-child(6) {
        text-align: center;
        background-color: rgba(31, 31, 31, 0.7);
        border-radius: 10px;
    }

    .services__second-text {
        text-align: start;
        padding-inline: 5px;
    }

    .benefits__box-title {
        font-size: 32px;
    }

    .benefits__box-text {
        font-size: 24px;
    }
}

@media (max-width: 1320px) {
    .hero__img {
        height: 350px;
    }

    .hero__abilities-text {
        font-size: 32px;
    }

    .about__logo-img {
        height: 350px;
    }
}

@media (max-width: 1240px) {
    .about__logo-img {
        height: 380px;
    }

    .about__description-text {
        max-width: 520px;
    }
}

@media (max-width: 1190px) {
    .hero__abilities-text {
        font-size: 30px;
    }

    .about__description-text {
        font-size: 20px;
    }

    .about__logo-img {
        height: 350px;
    }

    .services__content-title {
        font-size: 42px;
    }

    .benefits__box-img {
        width: 60px;
    }
}

@media (max-width: 1160px) {
    .about__description-text {
        max-width: 500px;
    }
}

@media (max-width: 1080px) {
    .hero__btn-container {
        margin-top: 50px;
    }

    .hero__btn {
        font-size: 30px;
    }
}

@media (max-width: 1000px) {
    .about__wrapper {
        flex-direction: column;
        padding-top: 30px;
    }

    .about__logo-img {
        height: 400px;
    }

    .about__description-text {
        font-size: 24px;
        max-width: 800px;
    }
}

@media (max-width: 950px) {
    .hero__img {
        padding-top: 20px;
        height: 350px;
    }

    .hero__abilities-text {
        font-size: 28px;
    }

    .hero__btn {
        font-size: 30px;
    }
}

@media (max-width: 940px) {
    .hero__btn-container {
        margin-top: 50px;
    }

    .benefits__box-title {
        font-size: 28px;
    }

    .contact__title {
        font-size: 48px;
    }
}

@media (max-width: 810px) {
    .about__logo-img {
        height: 350px;
    }

    .benefits__box-title {
        font-size: 24px;
    }

    .benefits__box-text {
        font-size: 20px;
    }

    .benefits__box-img {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav .nav__logo-lite {
        position: relative;
        z-index: 10;
    }

    .nav-burger__button {
        display: flex;
        z-index: 10;
    }

    .nav-burger-el {
        width: 100%;
        height: 2px;
        border-radius: 10px;
        background-color: #1B3C36;
        transition: 0.5s ease;
    }

    .menu-opened .nav-burger-el {
        background-color: #F1F1F1;
    }

    .menu-opened .nav-burger-el:nth-child(1) {
        transform: rotate(-45deg) translate(-19px, 1px);
    }

    .menu-opened .nav-burger-el:nth-child(2) {
        opacity: 0;
        transform: translateX(100%);
    }

    .menu-opened .nav-burger-el:nth-child(3) {
        transform: rotate(45deg) translate(-18px, 1px);
    }

    .nav__list {
        position: absolute;
        flex-direction: row;
        justify-content: center;
        background: linear-gradient(200deg, #1F1F1F, #1B3C36);
        right: 0;
        top: -20px;
        bottom: 0;
        left: 0;
        height: 100vh;
        padding-bottom: 200px;
        padding-left: 0;
        margin-inline: 0;
        z-index: 6;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
    }

    .nav__list.nav__list-active {
        transform: translateY(0%);
    }

    .nav__list__img {
        filter: invert(90%) sepia(2%) saturate(0%) hue-rotate(0deg);
    }

    .nav__switcher {
        position: absolute;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
        padding-top: 0;
        padding-left: 20px;
        margin-inline: 0;
        z-index: 6;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
    }

    .nav__switcher-item {
        padding-top: 40px;
    }

    .nav__switcher-arrow {
        filter: invert(90%) sepia(2%) saturate(0%) hue-rotate(0deg);
    }

    .nav__switcher.nav__list-active {
        transform: translateY(0%);
    }

    .hero__img {
        padding-top: 20px;
    }

    .hero__abilities-text {
        font-size: 28px;
    }

    .hero__btn-container {
        margin-top: 30px;
    }

    .hero__btn {
        font-size: 30px;
    }
}

@media (max-width: 740px) {
    .hero__abilities-text {
        font-size: 28px;
    }
}

@media (max-width: 700px) {
    .hero__img {
        padding-top: 20px;
        height: 300px;
    }
}

@media (max-width: 680px) {

    .hero__btn {
        font-size: 28px;
    }

    .services__content-title {
        font-size: 36px;
    }
}

@media (max-width: 630px) {
    .about__logo-img {
        height: 300px;
    }

    .hero__abilities-text {
        font-size: 28px;
    }

    .hero__btn {
        font-size: 26px;
    }
}

@media (max-width: 570px) {
    .footer-logo__img {
        width: 200px;
    }

    .footer-mail__link {
        font-size: 38px;
    }
}

@media (max-width: 550px) {
    .contact__title {
        font-size: 38px;
    }
}

@media (max-width: 500px) {
    .about__wrapper {
        padding-top: 50px;
    }

    .about__description-text {
        font-size: 20px;
    }

    .services__content-title {
        font-size: 36px;
    }

    .services__second-title:nth-child(1),
    .services__second-title:nth-child(6) {
        font-size: 26px;
    }

    .services__first-text {
        font-size: 22px;
    }

    .services__second-text {
        font-size: 22px;
    }

    .services__first-title:nth-child(1),
    .services__first-title:nth-child(6) {
        font-size: 26px;
    }

    .benefits__title {
        font-size: 36px;
    }

    .benefits__box-title {
        font-size: 22px;
    }

    .benefits__box-text {
        font-size: 18px;
    }

    .contact__title {
        font-size: 36px;
    }

    .checkboxes-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero__img {
        height: 250px;
    }

    .hero__abilities-text {
        font-size: 24px;
    }

    .about__logo-img {
        height: 270px;
    }
}

@media (max-width: 460px) {
    .footer-mail__link {
        font-size: 28px;
    }
}

@media (max-width: 450px) {
    .services__content-title {
        font-size: 26px;
    }

    .benefits__title {
        font-size: 32px;
    }

    .contact__title {
        font-size: 32px;
    }

    .about__logo-img {
        height: 230px;
    }
}

@media (max-width: 430px) {
    .about__logo-img {
        height: 250px;
    }

    .about__description-text:nth-child(3)::after {
        width: auto;
    }
}

@media (max-width: 420px) {
    .nav {
        padding-inline: 10px;
    }

    .hero__abilities-text {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .hero__img {
        height: 280px;
    }

    .hero__abilities-text {
        font-size: 20px;
    }

    .hero__btn {
        margin-top: 30px;
    }
}

@media (max-width: 380px) {
    .about__logo-img {
        height: 260px;
    }

    .benefits__box-title {
        font-size: 20px;
    }

    .benefits__box-text {
        font-size: 16px;
    }

    .about__logo-img {
        height: 200px;
    }
}

@media (max-width: 360px) {
    .footer-logo__img {
        width: 180px;
    }

    .footer-mail__link {
        font-size: 26px;
    }

    .footer-social__img {
        width: 60px;
    }
}

@media (max-width: 350px) {
    .about__description-text {
        font-size: 18px;
    }

    .contact__title {
        font-size: 28px;
    }
}

@media (max-width: 340px) {
    .hero__abilities-text {
        font-size: 18px;
    }

    .hero__btn {
        font-size: 16px;
    }

    .benefits__box {
        padding-inline: 20px;
    }
}

@media (max-width: 330px) {
    .services__content-title {
        font-size: 24px;
    }
}