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

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

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

a {
    text-decoration: none;
}

address {
    font-style: normal;
}

h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2E2F42;
    ;
}

p {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

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

button {
    cursor: pointer;
}

.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;
}

/* common */

.container {
    max-width: 320px;
    padding: 0 16px;
    margin: 0 auto;
}

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

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

/* 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;
    justify-content: space-between;
}

.header-menu-list,
.address {
    display: none;
}

.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 .logo-color {
    color: #2e2f42;
}

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

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

.menu-icon {
    display: block;
    fill: #2f2f37;
}

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

    .header-logo {
        padding: 24px 0;
        margin-right: 120px;
    }

    .header-menu-list {
        display: flex;
        align-items: center;
        gap: 40px;
    }

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

    .header-menu-link.current {
        position: relative
    }

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

    .address {
        font-style: normal;
        display: block;
    }

    .address-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

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

    .header-nav {
        display: flex;
        align-items: center;
    }

    .header-menu-link:hover,
    .header-menu-link:focus,
    .address-link:hover,
    .address-link:focus,
    .header-menu-link.current {
         color: #404bbf;
    }
}

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

    .address-list {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .address-link {
        padding: 24px 0;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }
}


/* hero  */

.hero {
    background-color: #2E2F42;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url("../images/Office-m.jpg");
    background-repeat: no-repeat;
    margin: 0 auto;
    max-width: 320px;
    height: 432px;
    background-size: cover;
    background-position: center;
}

.hero.section {
    padding: 72px 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
}

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

.hero-btn {
    background-color: #4D5AE5;
    color: #FFF;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media screen and (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url("../images/Office-m@2x.jpg");
    }
}

@media screen and (min-width: 768px) {
    .hero {
        max-width: 768px;
        height: 436px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url('../images/Office-t.jpg');
    }

    .hero.section {
        padding: 112px 0;
    }

    .hero-container {
        gap: 36px;
    }

    .hero-title {
        max-width: 496px;
        font-size: 56px;
        line-height: 1.07;
    }
}

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

@media screen and (min-width: 1158px) {
    .hero {
        max-width: 1440px;
        height: 600px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url('../images/Office.jpg');
    }

    .hero.section {
        padding: 188px 0;
    }

    .hero-container {
        gap: 48px;
    }
}

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


/* features  */

.section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.features-icon {
    display: none;
}

.features-menu-list {
    display: flex;
    flex-direction: column;
    row-gap: 72px;
}

.features-item-title {
    text-align: center;
    padding-bottom: 8px;
}


@media screen and (min-width: 768px) {
    .features-item-title {
        text-align: start;
    }

    .features-menu-list {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
    }

    .features-menu-item {
        flex-basis: calc((100% - 24px) / 2);
        display: block;
        align-items: center;
    }
}

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

    .features-menu-list {
        flex-wrap: nowrap;
        display: flex;
        gap: 24px;
    }

    .features-icon {
        border: 1px solid #8e8f99;
        border-radius: 4px;
        width: 264px;
        height: 112px;
        background-color: #f4f4fd;
        padding: 24px 0;
        margin-bottom: 8px;
        display: block;
        text-align: center;
    }

    .features-item-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
    }

    .features-menu-item {
        width: calc((100% - 72px) / 4);
    }
}

/* team */

.team {
    background-color: #F4F4FD;
}

.team-container {
    padding: 0 28px;
    margin: 0 auto;
    
}

.team-title {
    text-align: center;
    margin-bottom: 72px;
}

.team-menu-list {
    display: flex;
    flex-direction: column;
    row-gap: 72px;
}

.team-menu-item {
    width: 264px;
    background-color: #FFF;
    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);
}

.card-image {
    max-width: 100%;
    display: block;
    height: auto;
}

.card-image.no-gap {
    display: block;
    height: auto;
}

.team-item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    padding-bottom: 8px;
    text-align: center;
}

.team-item-info {
    width: 264px;
    display: block;
    padding: 32px 16px;
}

.team-item-text {
    padding-bottom: 8px;
    text-align: center;
}

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

.icon-social-link:hover,
.icon-social-link:focus {
    background-color: #404bbf;
}

.icon-social-link svg {
    fill: #f4f4fd;
}

.icons-social-link-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.icons-social-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4d5ae5;
    border-radius: 50%;
}

@media screen and (min-width: 768px) {
    .team-container {
        padding-left: 108px;
        padding-right: 108px;
    }
    
    .team-menu-list {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 64px;
    }

    .team-menu-item {
        width: calc((100% - 24px) / 2);
        display: block;
        align-items: center;
    }
}

@media screen and (min-width: 1158px) {
    .team-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .team-menu-list {
        flex-wrap: nowrap;
    }

    .team-menu-item {
        flex-basis: calc((100% - 72px) / 4);
    }
}

/*  portfolio */


.portfolio-title {
    margin-bottom: 72px;
    text-align: center;
}

.portfolio-menu-list {
    display: flex;
    flex-direction: column;
    row-gap: 48px;
}

.portfolio-menu-item  {
    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;
}

.portfolio-item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    padding-bottom: 8px;
}

.portfolio-img-text {
    display: none;
}

.portfolio-item-info {
    padding: 32px 16px;
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    width: 100%;
    height: auto;
}

@media screen and (min-width: 768px) {
    .portfolio-menu-list {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        align-items: center;
        row-gap: 72px;
    }

    .portfolio-menu-item {
        width: calc((100% - 24px) / 2);
        display: block;
        align-items: center;
    }

}


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

    .portfolio-menu-item {
        width: calc((100% - 48px) / 3); 
        box-shadow: none;
        position: relative;
        transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .portfolio-menu-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);
    }
    
    .portfolio-menu-item:hover .portfolio-img-text {
        transform: translateY(0);
    }

    .portfolio-item-info: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);
        background-color: #fff;
    }

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

    .portfolio-img-text {
        display: block;
        background-color: #4d5ae5;
        color: #F4F4FD;
        position: absolute;
        top: 0;
        left: 0;
        padding: 40px 32px;
        width: 100%;
        height: 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);
        transform: translateY(100%);
        transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
}



/*  footer  */

.footer {
    background-color: #2E2F42;
    padding: 96px 0;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info-wrapper {
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.footer-text,
.footer-logo .logo-color {
    color: #F4F4FD;
}

.footer-text.media,
.footer-text.subscribe {
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.footer-social-wrapper {
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media {
    max-width: 208px;
}

.footer-social {
    display: block; 
    width: 208px;
}

.footer .icons-social-link-list {
    gap: 16px;
}

.footer .icon-social-link:hover,
.footer .icon-social-link:focus {
    background-color: #31d0aa;
}

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

.footer-subscribe {
    width: 100%;
}

.subscribe {
    text-align: center;
}                                                                                         

.footer-input {
    border: 1px solid #fff;
    border-radius: 4px;
    width: 288px;
    height: 40px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    padding: 8px 16px;
    display: flex;
    background-color: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #fff;
    outline: transparent;
    margin-bottom: 16px;
}

.footer-input::placeholder {
    color: #fff;
}

.footer-input:hover,
.footer-input:focus {
    border: 1px solid #31d0aa;
}

.footer-btn {
    background-color: #4d5ae5;
    text-align: center;
    color: #FFF;
    border: none;
    border-radius: 4px;
    width: 165px;
    height: 40px;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    gap: 16px;
}

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

.footer-btn svg {
    fill: #fff;
}

.footer-btn-text {
    color: #FFF;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .footer .container {
        max-width: 584px;
    }
    
    .footer-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 72px;
    }

    .footer-info-wrapper {
        width: 264px;
        display: block;
        margin-bottom: 0;
    } 

    .footer-text {
        text-align: left;
        margin-bottom: 16px;
    }

    .footer-social-wrapper {
        align-items: flex-start;
        margin-bottom: 0;
    }

    .footer-social {
        margin-bottom: 0;
    }

    .footer-form-row {
        flex-direction: row;
        justify-content: start;
        gap: 24px;
        margin-left: 0;
    }

    .footer-input {
        width: 264px;
        margin-bottom: 0;
        margin-left: 0;
    }
}

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

    .footer-wrapper {
        flex-wrap: nowrap;
        margin-left: auto;
        column-gap: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-info-wrapper {
        margin-right: 120px;
        width: 100%;
    }

    .footer-social {
        margin-bottom: 0;
        margin-right: 80px;
    } 

    .footer-subscribe {
        margin-left: auto;
    }
}


 /* mobil-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);
    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);
}

.backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 288px;
    height: 623px;
    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;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 72px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.backdrop:not(.is-open) .modal {
    /* is-open */
    transform: translate(-50%, -50%);
}

.modal-close-btn {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 24px;
    right: 24px;
    border-radius: 100%;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-title {
    position: static;
    text-align: center;
    font-weight: 500;
    color: #2e2f42;
}

.modal-form {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.modal-field:last-child {
    margin-bottom: 16px;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    background-color: #404bbf;
    border: none;
    fill: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover .icon-modal-close,
.modal-close-btn:focus .icon-modal-close {
    fill: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.icon-modal-close {
    fill: #2e2f42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-modal-close:hover,
.icon-modal-close:focus {
    fill: #fff;
}

.modal-label {
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #8e8f99;
    margin-bottom: 4px;
}

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

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

.modal-input-wrapper {
    position: relative;
}

.modal-input:focus {
    border: 1px solid #4d5ae5;
}

.modal-text-area:focus {
    border: 1px solid #4d5ae5;
}

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

.modal-field {
    margin-bottom: 8px;
}

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

.label {
    font-size: 12px;
    line-height: 1.17;
    color: #8e8f99;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

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

.privacy-link {
    line-height: 1.33;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
    cursor: pointer;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox:checked+.label .custom-checkbox {
    background-color: #404bbf;
    border: none;
    fill: #fff;
}

.checkbox-icon {
    fill: #fff;
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox:checked+.label .checkbox-icon {
    opacity: 1;
}

.modal-btn {
    background-color: #4D5AE5;
    color: #FFF;
    border: none;
    border-radius: 4px;
    width: 169px;
    height: 56px;
    padding: 16px 32px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

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


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

    .label {
        gap: 8px;
    }
}

/* mobile menu*/

.mobil-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #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);
}

.mobil-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.container.mobil-menu-container {
    padding-left: 16px;
    padding-right: 16px;
}

.mobil-menu-container {
    position: relative;
    padding-top: 72px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobil-menu-close {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 24px;
    right: 24px;
    border-radius: 100%;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobil-menu-nav {
    margin-bottom: auto;
}

.mobil-menu-list {
    gap: 40px;
    display: flex;
    flex-direction: column;
}

.mobil-menu-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);
}

.mobil-menu-link:hover,
.mobil-menu-link:focus,
.mobil-menu-link.current {
    color: #404bbf;
}

.mobil-address {
    margin-bottom: 48px;
}


.mobil-address-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.email-link,
.phone-link {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #434455;
}

.mobil-address-link:hover,
.mobil-address-link:focus {
    color: #4d5ae5;
}

.mobil-social {
    display: block;
    left: 0;
}

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

.mobil-social .icon-social-link svg {
    fill: #f4f4fd;
}

.mobil-social .icons-social-link-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

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