/* #region global styles */
body {
    font-family: "Roboto",sans-serif;
    color: #434455;
    background-color: #ffffff;
}
.container {
    max-width:  1158px;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;
}
ul,
ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}
:root {
    --iris: #4d5ae5;
    --ocean: #404bbf;
    --navy-blue: #2e2f42;
    --green: #31d0aa;
    --slate: #434455;
    --light-slate: #8e8f99;
    --cornflower: #e7e9fc;
    --cloud: #f4f4fd;
    --navy-blue-modal: rgba(46, 47, 66, 0.4);
    --grey: rgba(46, 47, 66, 0.7);
    --white: #fff;
    --dairy: #fcfcfc;
}
/* #endregion global styles */
/* #region header */
.webstudio-logo-header {
font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;

    /* line-height: 21px; */
    line-height: 117%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #404bbf;
    text-decoration: none;
    margin-right: 76px;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.studio-text-header {
    font-family: "Raleway", sans-serif;
        font-weight: 700;
        font-size: 18px;
    
        /* line-height: 21px; */
        line-height: 117%;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #2e2f42;
        text-decoration: none;
}
.webstudio-logo:hover {   
        cursor: pointer;
}
.header-nav {
    font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 16px;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        color:  #2e2f42;
        text-decoration: none;
        display: block;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}

.address {
    font-style: normal;
}
.header-nav:hover,
.header-nav:focus {
    font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 16px;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #404bbf;
    text-decoration: none;

}
.navigation li:first-child .header-nav {
    color: var(--ocean);
}
.navigation li:first-child .header-nav::after {
    color: var(--ocean);
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 4px;
    background-color: var(--ocean);
    border-radius: 2px;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mail-and-tel {
    font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #434455;
        text-decoration: none;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mail-and-tel:hover,
.mail-and-tel:focus {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;

    /* line-height: 24px; */
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #404bbf;
    text-decoration: none;    
}
.header-nav:active {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;

    /* line-height: 24px; */
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #404bbf;
    text-decoration: underline;
}
.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);
        background: var(--white);
}
.header .container {
    display: flex;
    width: 1158px;
    margin: 0 auto;
    padding: 0 15px 0 15px;
    align-items: center;
}
.nav {
    display: flex;
    align-items: center;
    margin-right: auto;
}
.navigation {
    display: flex;
    gap: 40px;
}
.header-nav {
    padding: 24px 0 24px;
}
.mail-and-tel-list {
    display: flex;
    gap: 40px;
}
/* #endregion header */
/* #region main-page */
.main-page {    
    background-color: #2e2f42;    
    padding: 188px 0 188px;
    
    background-image: linear-gradient( to bottom, rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url("../images/people-office.jpg");   
    background-position: center; 
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1440px;
    margin: 0 auto;
}
.main-title {
    font-family: "Roboto", sans-serif;
        font-weight: 700;
        font-size: 56px;
    
        /* line-height: 60px; */
        line-height: 107%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #fff;
        max-width: 496px;
        height: 120px;
        margin-right: auto;
            margin-left: auto;
            margin-bottom: 48px;            
}
.order-button {    
            background: #4d5ae5;    
                   
            font-family: "Roboto", sans-serif;
                font-weight: 500;
                font-size: 16px;            
                /* line-height: 24px; */
                line-height: 150%;
                letter-spacing: 0.04em;
                color: #fff;             
                cursor: pointer;
                display: block;   
                min-width: 169px;
                height: 56px;
                border: none;
                border-radius: 4px;
                margin-right: auto;
                    margin-left: auto;
                    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.order-button:hover,
.order-button:focus {    
        background: #404bbf;
         font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 16px;    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.04em;
        color: #fff;       
        
}
/* #endregion main-page */
/* #region features */
.features {
    padding: 120px 0 120px;
}
.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;
}
.features-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
border: 1px solid var(--light-slate);
    border-radius: 4px;
    max-width: 264px;
    height: 112px;
    background: var(--cloud);
    margin-bottom: 8px;
}
.features-header {
    font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 20px;
    
        /* line-height: 24px; */
        line-height: 120%;
        letter-spacing: 0.02em;
        color: #2e2f42;
        margin-bottom: 8px;
}
.features-text {
    font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #434455;
}
.features .container {
    display: flex;               
    flex-direction: row;        
}
.features-list {
    display: flex;
    flex-wrap: wrap;    
    justify-content: space-between;
    margin:  0;
    gap: 24px;
}
.features-list .features-box {    
    flex-basis: calc((100% - 72px) / 4);
}
/* #endregion features */
/* #region our-team */
.our-team {    
        background-color: #f4f4fd;
        padding: 120px 0 120px;
}
.our-team-htwo {
font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-transform: capitalize;

    /* line-height: 40px; */
    line-height: 111%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;   
    margin-bottom: 72px;
}
.our-team-hthree {
    font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 20px;
        text-transform: capitalize;
    
        /* line-height: 24px; */
        line-height: 120%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 8px;
}
.our-team-p {
    font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        text-transform: capitalize;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #434455;
        margin-bottom: 8px;
}
.our-team-box {    
            background: #fff;       
            justify-content: space-between;
            flex-basis: calc((100% - 72px) / 4);
            border-radius: 0 0 4px 4px;   
            box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
                0px 1px 1px rgba(46, 47, 66, 0.16),
                0px 2px 1px rgba(46, 47, 66, 0.08);             
}
.our-team-text-box {
    padding: 32px 0px 32px;    
}
.our-team-list {
    display: flex;
    flex-wrap: wrap;  
    margin: 0; 
    justify-content: space-between;    
    gap: 24px;
}  
.our-team-icons-list {
    display: flex;    
    justify-content: center;
       gap: 24px;    
}
.our-team-icon {
    width: 40px;
    height: 40px;
}
.our-team-icona {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.our-team-icona:hover,
.our-team-icona:focus {
    background-color: #404bbf;
}
.our-team-iconsvg {
    fill: #f4f4fd;
}
/* #endregion our-team */
/* #region portfolio */
.our-portfolio {
    background-color: #ffffff;
    padding: 120px 0 120px;
}
.our-portfolio-htwo {
    font-family: "Roboto", sans-serif;
        font-weight: 700;
        font-size: 36px;
        text-transform: capitalize;
    
        /* line-height: 40px; */
        line-height: 111%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 72px;        
}
.our-portfolio-hthree {
    font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 20px;
        text-transform: capitalize;
    
        /* line-height: 24px; */
        line-height: 120%;
        letter-spacing: 0.02em;
        color: #2e2f42;
        margin-bottom: 8px;
}
.our-portfolio-p {
    font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        text-transform: capitalize;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #434455;
}
.our-portfolio-text-box {
    border-bottom: 1px solid #e7e9fc;
        border-left: 1px solid #e7e9fc;
        border-right: 1px solid #e7e9fc;
        padding: 32px 16px;        
}
.our-portfolio-list {
    display: flex;
    flex-wrap: wrap;    
    justify-content: space-between;
    column-gap: 24px;
    row-gap: 48px;
    box-shadow: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.our-portfolio-box {       
    width: calc((100% - 48px) / 3);
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;    
}
.our-portfolio-img-box {
position: relative;
    overflow: hidden;  
    box-shadow: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.our-portfolio-box:hover {
    box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
        0px 1px 1px rgba(46, 47, 66, 0.16),
        0px 2px 1px rgba(46, 47, 66, 0.08);
}

.our-portfolio-box:hover .our-portfolio-img-box-overlay {
    transform: translateY(0);
}
.our-portfolio-img-box-overlay {
    position: absolute;
    top: 0;
    font-family: var(--font-family);
font-weight: 400;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.02em;
color: var(--cloud);
padding: 40px 32px;
background: var(--iris);
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* #endregion portfolio */
/* #region footer */
.footer {
    background-color: #2e2f42;
    padding: 100px 0 100px;
}
.studio-text-footer {
    font-family: "Raleway", sans-serif;
        font-weight: 700;
        font-size: 18px;
    
        /* line-height: 21px; */
        line-height: 117%;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #f4f4fd;
        text-decoration: none;
}
.footer-p {
    font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
    
        /* line-height: 24px; */
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #f4f4fd;
        max-width: 264px;
        margin-bottom: 16px;
}
.webstudio-logo-footer {
display: inline-block;
font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;

    /* line-height: 21px; */
    line-height: 117%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    text-decoration: none;
margin-bottom: 16px;
}
.footer-container{
    display: flex;
    align-items: baseline;
}
.social-media-text {
    font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.02em;
color: var(--white);
margin-bottom: 16px;
}
.social-media {     
    max-width: 208px;    
}
.footer-icons-list {
    display: flex;  
    gap: 16px;     
}
.footer-first {
    margin-right: 120px;
}
.footer-icon {
    width: 40px;
    height: 40px;
}
.footer-icona {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-icona:hover,
.footer-icona:focus {
    background-color: var(--green);
}
.footer-iconsvg {
    fill: #f4f4fd;
}

    /* #endregion footer */