 @media screen { 
    


/* .one,
.one-hero, */
/* .two, */
.visually-hidden,
/* .spdt-img, */
/* .three,
.three-hero, */
/* .four, */
/* .overlay-p, */
/* .foot-style, */
/* .backdrop, 
.is-open, */
.nav-list,
.address-mobile {
    display: none;
}


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

button {
    cursor: pointer;
}

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

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

.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;
    text-decoration: none;
    display: inline-block;
    margin-right: 120px;
    position: relative;
    color: #404bbf;
}

.logo-text {
    color: #2e2f42;
}

.logo-color {
    color: #f4f4fd;
}

.logo-foot {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    text-decoration: none;
    display: inline-block;
    position: relative;
    color: #404bbf;
}
/* =========================MODALKA============= */

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 47, 66, 0.4);
    opacity: 0;
    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;
    pointer-events: auto;
}


.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    width: 288px;
    height: 623px;
    background-color: #fcfcfc;
    min-height: 584px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.14),
        0px 1px 3px rgba(0, 0, 0, 0.12),
        0px 2px 1px rgba(0, 0, 0, 0.2);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 72px 16px 24px 16px;
}

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

.model-close-btm:hover,
.model-close-btm:focus {
    background-color: #404bbf;
    fill: #ffffff;
    border: none;
}

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

.review-form-input-wrapper {
    position: relative;
}

.review-form {
    display: flex;
    flex-direction: column;
    max-width: 408px;

}

.review-form-field-icon {
    top: 50%;
    position: absolute;
}

.revier-four-slogan {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    margin-bottom: 16px;
}

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

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

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

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

.review-form-message {
    display: block;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    width: 100%;
    height: 120px;
    background-color: transparent;
    resize: none;
    padding: 8px 16px;
    outline: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.review-form-message:focus {
    border-color: #4D5AE5;
}

.review-form-field-wrapper-two {
    margin-bottom: 16px;
}

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

.review-form-field-ladel {
    display: block;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #8e8f99;
    margin-bottom: 4px;
}


.review-form-policy-label {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #8e8f99;
}

.policy-style {
    line-height: 133%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
}

.review-form-checkbox {
    margin-bottom: 24px;
}

.review-form-submit-btn {
    border-radius: 4px;
    padding: 16px 32px;
    width: 169px;
    height: 56px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background: #4d5ae5;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04em;
    text-align: center;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    display: block;
    min-width: 169px;
    cursor: pointer;
    border: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.review-form-policy-own-checkbox {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    cursor: pointer;
    fill: transparent;
    bottom: 0;
    left: 0;
    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);
}

.review-form-policy-checkbox:checked+.review-form-policy-label .review-form-policy-own-checkbox {
    background-color: #404bbf;
    border: none;
    fill: #f4f4fd;
}

.review-form-policy-label {
    position: relative;
}



/* =========================/MODALKA============= */


/* ==========================MENU================ */
.menu {
    padding: 72px 16px 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    transform: translateX(100%);
}

.menu.is-open {
    transform: translateX(0);
}



.model-close-btm-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    border: none;
    background-color: transparent;
    padding: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.container-burger-nav{
     padding: 72px 24px 40px 16px; 
     margin-bottom: 168px; 
 } 

.menu-studio {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    color: #2e2f42;
}

.studio-menu {
    color: #404bbf;
    margin-bottom: 40px;
}

.portfolio-menu {
    margin-bottom: 40px;
}

.address-mobile-menu {
    margin-top: 168px;
    margin-bottom: 48px;
    
}

.address-list-menu {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    font-style: normal;
}

.address-item-menu-tel {
    color: #4d5ae5;
    margin-bottom: 24px;
}


.icon-list-wrapper-foot-menu {
    display: flex;
    gap: 40px;
}

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



/* ==========================/MENU================ */

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

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

li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.burger-btn {
    border: none;
    background-color: transparent;
    padding: 0;
    line-height: 0;
}

.second-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.hero-mobile {
    display: flex;
    align-items: center;
    background-color: #2E2F42;
    padding: 72px 0;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url('../images/dz1-5/hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-width: 320px;
    margin: 0 auto;
}

.one-name {
    font-family: "Roboto",sans-serif;
    display: flex;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    color: #ffffff;
    margin: 0 auto;
    margin-bottom: 72px;
}
  
.one-type {
    display: block;
    color: #ffffff;
    background-color: #4D5AE5;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    padding: 16px 32px;
    min-width: 169px;
    height: 56px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.spdt-tablet {
    display: flex;
    flex-wrap: wrap;
    gap: 72px;
}

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

.two-text {
        font-weight: 500;
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #434455;
        
}

.two {
    padding: 96px 0;
}

.three {
    background-color: #F4F4FD;
}

.three-hero {
    padding: 96px 0;
    text-align: center;
}

.three-name {
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    padding-bottom: 72px;
}

.two-text-qwe{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
    margin-bottom: 8px;
}

.three-text {
    background-color: #ffffff;
    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);
    width:calc((100%-32px)/4);
}

.two-name-mobile {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;

}

.container-name-tablet {
    padding: 32px 16px;
}

.container-name {
    padding: 32px 16px;
}

.two-text-mobile {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #434455;
}

.format {
    display: flex;
    flex-direction: column;
    gap: 72px;
}


.icon-list-wrapper {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
}

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

.icon-soc {
    fill: #F4F4FD;
}

.three-name-mobile {
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    padding-top: 96px;
    padding-bottom: 72px;
}

.two-name-mob {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #2e2f42;
    display: flex;
}

.two-text-mob {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
}

.portfolio-border {
    width: 100%;
    max-width: 288px;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    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);
    margin-bottom: 48px;
}



.box {
    position: relative;
    overflow: hidden;
}

.portfolio-format {
    border: 1px solid #e7e9fc;
    border-top: none;
    padding: 32px 16px;
}

.container.container-tablet {
    padding: 0 28px;
}

.portfolio-format-test {
    margin-bottom: 96px;
}

.foot-style {
    background-color: #2E2F42;
    padding-top: 96px;
    padding-bottom: 96px;
}

.foot-p {
font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    display: block;
    margin-bottom: 72px;
}

.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.last-name {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;

}

.social-wrapper {
    margin-bottom: 72px;
}

.icon-list-wrapper-foot {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.icon-icom-box {
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

 .last-name-two {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 16px;
 }



.input-one {
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    width: 288px;
    height: 40px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    padding-left: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    opacity: 0.3;
    margin-bottom: 16px;
}

.input-one::placeholder {
    color: #ffffff;
}

.button-style {
    border-radius: 4px;
    padding: 8px 24px;
    width: 165px;
    height: 40px;
    background-color: #4d5ae5;
    box-shadow: none;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04em;
    text-align: center;
    color: #ffffff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    margin-left: auto;
    margin-right: auto;
}

.icon-tg {
    margin-left: 16px;
}


@media screen and (max-width: 767px) {
    .spdt-img {
        display: none;
    }
        .overlay-p {
            display: none;
        }
@media screen and (min-resolution: 192dpi) and (max-width: 767px) {
    .one-hero {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/office-2x.jpg);
    }
}

}
 }
/* =======================tablet======================= */


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

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


.overlay-p {
    display: none;
}

.spdt-img {
    display: none;
}

.second-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.burger-btn {
    display: none;
}

.address-mobile{
    display: flex;
}

.contacts-link {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #434455;
    font-style: normal;
    padding-bottom: 12px;
}

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

.nav-list {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-direction: row;
}

.nav-link-studio {
    text-decoration: none;
    color: #404bbf;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding-top: 24px;
    padding-bottom: 27px;
    border-radius: 2px;
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-studio {
    text-decoration: none;
    color: #404bbf;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding-top: 24px;
    padding-bottom: 27px;
    border-radius: 2px;
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link {
    text-decoration: none;
    color: #404bbf;
    color: #2E2F42;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding-top: 24px;
    padding-bottom: 27px;
    border-radius: 2px;
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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



.one-name-tablet {
    font-weight: 700;
    font-size: 71px;
    line-height: 107%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #ffffff;
    margin-bottom: 36px;
}

.hero-tablet {
    display: flex;
    align-items: center;
    background-color: #2E2F42;
    padding: 112px 0;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url('../images/dz1-5/hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.two-name-tablet {
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-top: 0;
}

.two-text-tablet {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
}

.spdt-tablet {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 72px;
}

.spdt-list-tablet {
    width: 356px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.format {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 62px;
    column-gap: 24px;
    justify-content: center;

}

.three-text {
    background-color: #ffffff;
    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);
    width: calc((100%-32px)/4);
    

}

.portfolio {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 72px;
    padding-bottom: 120px;
    column-gap: 24px;
}

.portfolio-format-test {
    margin-bottom: 0px;
}

.portfolio-border {
    max-width: 356px;
    margin-bottom: 0;
}

.container-foot { 
    display: flex;
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
}

.logo-wrapper-foot {
    flex-wrap: wrap;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    max-width: 264px;
    margin-left: 108px;
}

.subscribe-tablet {
    display: flex;
    flex-direction: column;
    max-width: 453px;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    margin-left: 108px;
}

.qwerty {
    display: flex;
    flex-direction: row;
}

.social-wrapper {
    margin-left: 24px;
    flex-wrap: wrap;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    
}

.button-text {
    margin-left: 24px;
}

.modal {
    width: 408px;
    height: 584px;
}
}



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

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


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

.logo-pc {
    margin-right: 76px;
}

.hero-tablet {
    display: flex;
    align-items: center;
    background-color: #2E2F42;
    padding: 72px 0;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
        url('../images/dz1-5/hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 1440px;
    max-height: 600px;

}



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

.one-name-pc {
    font-weight: 700;
    font-size: 56px;
    line-height: 107%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 42px;
    max-width: 496px;
}

.spdt {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.spdt-img {
    border: 1px solid #8e8f99;
    border-radius: 4px;
    width: 264px;
    height: 112px;
    background-color: #f4f4fd;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spdt-list {
    width: calc((100% - 72px) / 4);
}

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

.two-text-pc {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
}

.three-hero {
    padding: 120px 0;
}

.container.container-tablet {
    padding: 0;
}

.portfolio {
    row-gap: 48px;
}

.box {
    position: relative;
    overflow: hidden;
}

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

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

.portfolio-border: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-border:hover .overlay-p {
    transform: translateY(0);
}

.overlay-p {
    display: flex;
}

.container-foot {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.foot-p {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

.logo-wrapper-foot {
    margin-left: 0;
}

.social-wrapper {
    margin-left: 120px;
}












}


