*,
*::before,
*::after {
    box-sizing: border-box;
}

.none {
    display: none;
}

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

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

p {
    margin: 0;
}

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

a {
    text-decoration: none;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #434455;
    background-color: #fff;
}

/* Block page scroll */
body:has(.backdrop.is-open) {
    overflow: hidden;
}

.container {
    min-width: 320px;
    /* max-width: 320px; */
    padding: 0 16px;
    margin: 0 auto;

    /* outline: 1px solid #2e2f42;
    outline-offset: -2px; */
}

@media screen and (min-width: 768px) {
    .container {
        min-width: 768px;
        /* max-width: 768px; */
    }
}

@media screen and (min-width: 1158px) {
    .container {
        /* min-width: 1158px; */
        max-width: 1158px;
        padding: 0 15px;
        margin: 0 auto;
    }
}

.section {
    padding: 96px 0;
}

@media only screen and (min-width: 1158px) {
    .section {
        padding: 120px 0;
    }
}

.section-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    text-transform: capitalize;
    margin-bottom: 72px;
}

/* btn */
.btn {
    display: block;
    min-width: 169px;
    height: 56px;
    border: none;
    margin: 0 auto;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #fff;
    background: #4d5ae5;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover,
.btn:focus {
    background-color: #404bbf;
}

/* btn-close */
.btn-close {
    position: absolute;
    top: 24px;
    right: 24px;

    background-color: #e7e9fc;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: #2e2f42;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        border 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.btn-close-icon {
    fill: currentColor;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-close:hover,
.btn-close:focus {
    background-color: #404bbf;
    color: #fff;
    border: none;
}

/* ! HEADER */
/* #region HEADER */

.header {
    border-bottom: 1px solid #e7e9fc;
    box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08),
        0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 2px 1px 0 rgba(46, 47, 66, 0.08);
}

.header-container {
    /* display: flex;
    align-items: center; */
}

@media screen and (min-width: 768px) {
    .header-container {
        display: flex;
        align-items: center;
    }
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
}

.header-logo {
    padding: 16px 0;
}

@media screen and (min-width: 768px) {
    .header-logo {
        padding: 24px 0;
        margin-right: 120px;
    }
}

@media screen and (min-width: 1158px) {
    .header-logo {
        margin-right: 76px;
    }
}

.header-logo .logo-part {
    color: #2e2f42;
}

/* Nav */
.nav-list {
    display: none;
}

@media screen and (min-width: 768px) {
    .nav-list {
        display: flex;
        align-items: center;
        gap: 40px;
    }
}

.nav-item {}

.nav-link {
    display: block;
    padding: 24px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.active {
    position: relative;
    color: #404bbf;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    border-radius: 2px;
    width: 100%;
    height: 4px;
    background-color: #404bbf;
}

.nav-link:hover,
.nav-link:focus {
    color: #404bbf;
}

/* contacts */
.contacts {
    font-style: normal;
    margin-left: auto;
}

.contacts-list {
    display: none;
}

@media screen and (min-width: 768px) {
    .contacts-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media screen and (min-width: 1158px) {
    .contacts-list {
        flex-direction: row;
        gap: 40px;
    }
}

.contacts-item {}

.contacts-link {
    display: block;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.04em;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media only screen and (min-width: 1158px) {
    .contacts-link {
        padding: 24px 0;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }
}

.contacts-link:hover,
.contacts-link:focus {
    color: #404bbf;
}

/* #endregion */

/* !Hero */
/* #region Hero */
.hero {
    background: #2e2f42;
    background-image: linear-gradient(to bottom,
            rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
        url(../images/background/bg-mob-min.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0 auto;
    display: flex;
    text-align: center;
    width: 100%;
    padding: 72px 0;
}

@media (min-resolution: 192dpi),
(min-resolution: 2dppx) {
    .hero {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/background/bg-mob@2x-min.jpg);
    }
}

@media only screen and (min-width: 768px) {
    .hero {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/background/bg-tab-min.jpg);
        /* min-width: 768px; */
        padding: 112px 0;
    }
}

@media only screen and (min-width: 768px) and (min-resolution: 192dpi),
only screen and (min-width: 768px) and (min-resolution: 2dppx) {
    .hero {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/background/bg-tab@2x-min.jpg);
    }
}

@media only screen and (min-width: 1158px) {
    .hero {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/background/bg-desc-min.jpg);
        max-width: 1440px;
        padding: 188px 0;
    }
}

@media only screen and (min-width: 1158px) and (min-resolution: 192dpi),
only screen and (min-width: 1158px) and (min-resolution: 2dppx) {
    .hero {
        background-image: linear-gradient(to bottom,
                rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/background/bg-desc@2x-min.jpg);
    }
}

/* .hero-container {
    min-width: 216px;
    margin: 0 auto;
} */

.hero-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    max-width: 216px;
    margin: 0 auto 72px;
}

@media only screen and (min-width: 768px) {
    .hero-title {
        font-size: 56px;
        line-height: 1.07;
        max-width: 496px;
        margin-bottom: 36px;
    }
}

@media only screen and (min-width: 1158px) {
    .hero-title {
        margin-bottom: 48px;
    }
}

/* #endregion*/

/* ! About */
/* #region About */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.about {}

.about-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 72px;
}

@media only screen and (min-width: 768px) {
    .about-list {
        justify-content: space-between;
        gap: 72px 24px;
    }
}

@media only screen and (min-width: 1158px) {
    .about-list {
        gap: 24px;
    }
}

.about-item {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .about-item {
        width: calc((100% - 1 * 24px) / 2);
    }
}

@media only screen and (min-width: 1158px) {
    .about-item {
        width: calc((100% - 3 * 24px) / 4);
    }
}

.about-wrapper {
    display: none;
}

@media only screen and (min-width: 1158px) {
    .about-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 112px;
        border: 1px solid #8e8f99;
        border-radius: 4px;
        background-color: #f4f4fd;
        margin-bottom: 8px;
    }
}

.about-icone {}

.about-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    margin-bottom: 8px;
}

@media only screen and (min-width: 768px) {
    .about-title {
        text-align: left;
    }
}

@media only screen and (min-width: 1158px) {
    .about-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
    }
}

.about-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

@media only screen and (min-width: 1158px) {
    .about-text {
        font-weight: 400;
    }
}

/* #endregion */

/* ! Team */
/* #region Team */
.team {
    background: #f4f4fd;
}

.team-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 72px;
}

@media only screen and (min-width: 768px) {
    .team-list {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 64px 24px;
    }
}

@media only screen and (min-width: 1158px) {
    .team-list {
        gap: 24px;
    }
}

.team-item {
    width: 264px;

    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
        0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
    background: #fff;
}

@media only screen and (min-width: 768px) {
    .team-item {
        /* width: 264px;
        flex: 0 0 auto; */
    }
}

@media only screen and (min-width: 1158px) {
    .team-item {
        /* width: calc((100% - 24px * 3) / 4); */
    }
}

.team-user {
    object-fit: cover;
}

.user-info {
    padding: 32px 0;
}

.user-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    margin-bottom: 8px;
}

.user-prof {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    margin-bottom: 8px;
}

.user-socials {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.user-item {
    width: 40px;
    height: 40px;
}

.user-linc {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.user-linc:hover,
.user-linc:focus {
    background-color: #404bbf;
}

.user-linc-icon {
    fill: #f4f4fd;
}

/* #endregion*/

/* ! Portfolio */
/* #region Portfolio */
.portfolio {}

.portfolio-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .portfolio-list {
        gap: 72px 24px;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media only screen and (min-width: 1158px) {
    .portfolio-list {
        gap: 48px 24px;
    }
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08), 0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media only screen and (min-width: 768px) {
    .portfolio-item {
        /* width: 356px; */
        width: calc((100% - 24px * 1) / 2);
    }
}

@media only screen and (min-width: 1158px) {
    .portfolio-item {
        box-shadow: none;
        /* width: 360px; */
        width: calc((100% - 24px * 2) / 3);
    }
}

.portfolio-item:hover {
    box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
        0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
    cursor: pointer;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    object-fit: cover;
}


.portfolio-overlay {
    background-color: #4d5ae5;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    padding: 40px 32px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-info {
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    padding: 32px 16px;
}

.portfolio-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
}

.portfolio-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* #endregion*/

/* ! Footer */
/* #region Footer */
.footer {
    background-color: #2e2f42;
    padding: 100px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 72px;
    /* margin: 0 auto; */

}

/* @media only screen and (min-width: 768px) and (max-width: 1158px) {
    .footer-container {
        padding: 0 108px;
    }
} */

@media only screen and (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        align-items: baseline;
        padding: 0 108px;
        gap: 72px 24px;
    }
}

@media only screen and (min-width: 1158px) {
    .footer-container {
        padding: 0 15px;
        gap: 0;
    }
}

.footer-container-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width: 768px) {
    .footer-container-logo {
        align-items: normal;
    }
}

@media only screen and (min-width: 1158px) {
    .footer-container-logo {
        margin-right: 120px;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo .logo-part {
    color: #f4f4fd;
    line-height: 1.17;
}

.footer-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    max-width: 288px;
}

@media only screen and (min-width: 768px) {
    .footer-text {
        max-width: 264px;
    }
}

/* social */
.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 768px) {
    .footer-socials {
        align-items: normal;
    }
}

@media only screen and (min-width: 1158px) {
    .footer-socials {
        margin-right: 80px;
    }
}

.footer-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-list {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.footer-item {
    width: 40px;
    height: 40px;
}

.footer-linc {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-linc:hover,
.footer-linc:focus {
    background-color: #31d0aa;
}

.footer-linc-icon {
    fill: #f4f4fd;
}

/* FOOTER  SUBSCRIBE*/
.footer-subscribe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 768px) {
    .footer-subscribe {
        align-items: normal;
    }
}

.footer-title {}

.footer-form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;

}

@media only screen and (min-width: 768px) {
    .footer-form {
        flex-direction: row;
        justify-content: space-between;
        gap: 24px;
        align-items: normal;
    }
}

.footer-form-label {
    margin-bottom: 16px;
}

@media only screen and (min-width: 768px) {
    .footer-form-label {
        margin-bottom: 0;
    }
}

.footer-form-input {
    border: 1px solid #ffffff;
    border-radius: 4px;
    width: 288px;
    height: 40px;
    background-color: transparent;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    outline: transparent;
    padding-left: 16px;

    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #ffffff;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    /* margin-bottom: 16px; */
}

@media only screen and (min-width: 1158px) {
    .footer-form-input {
        margin-bottom: 0;
        width: 264px;
    }
}

.footer-form-input:focus {
    border-color: #31d0aa;
}

.footer-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 165px;
    height: 40px;
}

.footer-btn:hover,
.footer-btn:focus {
    background-color: #31d0aa;
}

.footer-btn-icon {
    margin-left: 16px;
    fill: #fff;
}

/* #endregion*/

/* ! Modal */
/* #region Modal */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 47, 66, 0.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
        visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: initial;
    transition-delay: 0ms;

    overflow-y: scroll;
}

.modal {
    /* width: 256px; */
    min-width: 288px;
    min-height: 336px;
    padding: 72px 16px 24px;

    border-radius: 4px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12),
        0 2px 1px 0 rgba(0, 0, 0, 0.2);
    background-color: #fcfcfc;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media only screen and (min-width: 768px) {
    .modal {
        width: 408px;
        min-height: 584px;
        padding: 72px 24px 24px;
    }
}

.caption {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    margin-bottom: 16px;
}

.modal-form {}

.modal-form-field {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    margin-bottom: 8px;
}

.modal-form-label {
    display: block;
    margin-bottom: 4px;
}

.modal-form-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.modal-form-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 16px 8px 38px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    background-color: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    outline: transparent;
}

.modal-form-input:focus {
    border-color: #4d5ae5;
}

.modal-form-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-form-input:focus+.modal-form-icon {
    fill: #4d5ae5;
}

.modal-textarea {
    margin-bottom: 16px;
}

.modal-form-message {
    padding: 8px 16px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    width: 100%;
    height: 120px;
    outline: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
    background-color: transparent;
    resize: none;
}

.modal-form-message:focus {
    border-color: #4d5ae5;
}

/* checked */
.form-agreement {
    margin-bottom: 24px;
}

.checkbox {}

.agreement-wrapper {
    display: flex;
    align-items: center;

    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
}

.agreement-checkbox {
    height: 16px;
    width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 2px;
    margin-right: 8px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    color: transparent;
    cursor: pointer;
    fill: transparent;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
        border 250ms cubic-bezier(0.4, 0, 0.2, 1),
        fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.agreement-checkbox-icon {
    fill: currentColor;
}

input[type='checkbox']:checked+.agreement-wrapper>.agreement-checkbox {
    background-color: #404bbf;
    color: #fff;
    border: none;
    fill: #f4f4fd;
}

.agreement-link {
    line-height: 1.33;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
}

.button-modal {
    /* min-width: 165px;
    height: 40px; */
}

/* #endregion*/

/* !mobile Menu */
/* #region mobile Menu*/
.burger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 24px;
    width: 24px; */
    padding: 16px 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.burger-btn:active .burger-btn-icone,
.burger-btn:hover .burger-btn-icone {
    stroke: #404bbf;
}

.burger-btn-icone {
    stroke: #2f2f37;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
        visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: initial;
    transition-delay: 0ms;

    overflow-y: scroll;
}

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

.mobile-menu-container {
    position: relative;
    padding: 72px 24px 40px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu .btn-close {
    background-color: transparent;
    fill: #2e2f42;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu .btn-close:active,
.mobile-menu .btn-close:hover {
    background-color: #404bbf;
    border: none;
}

.btn-close-icon {}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: auto;
}

.mobile-menu-nav-item {}

.mobile-menu-nav-link {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2e2f42;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-nav-link.active {
    color: #404bbf;
}

.mobile-menu-nav-link:active,
.mobile-menu-nav-link:hover {
    color: #404bbf;
}

.mobile-contacts {
    font-style: normal;
    margin: 24px 0 48px;
}

.mobile-menu-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-contacts-item {}

.mobile-menu-contacts-link {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-contacts-link:hover,
.mobile-menu-contacts-link:active {
    color: #4d5ae5;
}

.mobile-menu-socials {}

.mobile-menu-list {
    display: flex;
    gap: 40px;
    /* justify-content: center; */
    align-items: center;
}

.mobile-menu-item {
    width: 40px;
    height: 40px;
}

.mobile-menu-linc {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-linc:hover,
.mobile-menu-linc:active {
    background-color: #404bbf;
}

.mobile-menu-linc-icon {
    fill: #f4f4fd;
}

/* #endregion mobile Menu*/

/* #region */
/* #endregion*/