/*=========="DEFAULT" STYLE SET==============*/
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    margin-bottom: 0;
}

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

a{
    text-decoration: none;
}

button{
    cursor: pointer;
}


img {
    display: block;
}

body{
    Font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #434455;
    background-color: #ffffff;
}

.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;
}
.container{
    width: 1158px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

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


/*==========/"DEFAULT" STYLE SET==============*/


/*===========PAGE HEADER STYLE==============*/

.header{
    border-bottom: 1px solid #e7e9fc;
}

.header .container {
    display: flex;
    justify-content: space-between;
}

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

.page-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;
    margin-right: 76px;
    margin-bottom: 0;
}

.logo-studio-header {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.16667;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2e2f42;
}

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

.menu-nav-link {
    font-size: 16px;
    line-height: 1.5;
    color: #2e2f42;
    display: block;
    padding: 24px 0 24px;
}

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

.page-address {
    font-style: normal;
}

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


.contacts-list-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-style:normal;
    color: #434455;
    display: block;
    padding-top: 25.5px;
    padding-bottom: 25.5px;
}

/*===========/PAGE HEADER STYLE==============*/


/*===========HERO SECTION STYLE==============*/
.hero-section {
    padding: 188px 0;
    background-color: #2e2f42;
}

.hero-section .container{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
            align-items: center;
            row-gap: 48px;
}

.hero-section-heading{
        font-weight: 700;
        font-size: 56px;
        line-height: 1.07;
        letter-spacing: 0.02em;
        max-width: 496px;
        text-align: center;
        color: #fff;
}

.hero-section-button{
        font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.04em;
        color: #fff;
        padding: 16px 32px;
        border-radius: 4px;
        min-width: 169px;
        height: 56px;
        border: none;
        background: #4d5ae5;
}

.hero-section-button:hover,
.hero-section-button:focus{
    background-color: #404BBF;
}

/*===========/HERO SECTION STYLE==============*/


/*===========BENEFITS SECTION STYLE==============*/

.benefits-section .container{
        margin-left: auto;
        margin-right: auto;
        align-items: center;  
}

.benefits-list{
    display: flex;
    gap: 24px;
}

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

.benefits-item-heading{
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
        color: #2e2f42;
}
.benefits-item-description{
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #434455;
}

/*===========/BENEFITS SECTION STYLE==============*/


/*===========TEAM SECTION STYLE==============*/

.team-section {
    background: #f4f4fd;
}

.team-section .container{
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.team-section-heading {
    font-family: "Roboto", sans-serif;
    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;
}

.team-list{
    display: flex;
    gap: 24px;
}

.team-list-item-wrapper{
    padding: 32px 0;
    border-radius: 0 0 4px 4px;
    background: #fff;
}

.team-item-heading{
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.02em;
        text-align: center;
        color: #2e2f42;
        margin-bottom: 8px;
}

.team-list-item{
    width: calc((100% - 72px) / 4);
    border-radius: 0px 0px 4px 4px;
}

.team-item-description{
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        text-align: center;
}
/*===========/TEAM SECTION STYLE==============*/

/*===========PORTFOLIO SECTION STYLE==============*/

.portfolio-section .container{
    
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}   

.portfolio-section-heading {
    font-family: "Roboto", sans-serif;
    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;
}

.portfolio-list{
    
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
}


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

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

.portfolio-item-description{
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
}

/*===========/PORTFOLIO SECTION STYLE==============*/

/*===========FOOTER SECTION STYLE==============*/

.page-logo-footer{
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #4d5ae5;
}

.logo-studio-footer{
    color:#f4f4fd;
    line-height: 1.17;
    display: inline-block;
    text-transform: uppercase;
}
.footer-description{
    font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #F4F4FD;
        max-width: 264px;
}
.footer-section{
    background-color: #2e2f42;
    padding: 100px 0;
}

/*===========FOOTER SECTION STYLE==============*/