/* #region Base / Global */
body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #ffffff;
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;   
}
a {
    color: currentColor;
    text-decoration: none;
}
img {
    display: block;
}
ul {
    list-style: none;
    padding:0;
    margin:0;
}
button {font-family: inherit;
    cursor: pointer;
    /* border: none; */
    background-color: transparent;
    display: block;
    min-width: 169px;
    height: 56px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #4d5ae5;
}
address {
    font-style: normal;
}
/* #endregion */

/* #region Common */
.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;
}
.logo {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    color: #4d5ae5;
    display: flex;
    align-items: center;
    margin-right: 76px;
}
.footer-logo {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    color: #4d5ae5;
    display: inline-block; 
    align-items: center;
    margin-right: 76px;
    margin-bottom: 16px;
}
/* #endregion */

/* #region Header */
.header {
    border-bottom: 1px solid #e7e9fc
}
.container {
    max-width: 1158px;
    padding: 0 15px;
    margin: 0 auto;
}
.header-container {
    display: flex;
    align-items: center;
    width: 1158px;
    padding: 0 15px;
}
   
.header-nav {
  margin-right: auto;
  align-items: center;
  display: flex; 
}
.dark {
    color: #2E2F42;
}
.menu-link {    
    padding: 24px 0    
}
.menu-item {
    font-weight: 1400;
}
.menu-list {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: auto;
    gap: 40px;
    font-weight: 500;
}
.menu-post {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0;
}
.post-item {
    display: flex;
    align-items: center;
    gap: 40px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 0;;
    }
.menu-link {
    display: block;
  
}
.menu-link:hover, 
.menu-link:focus {
    text-decoration: none;
    color: #404bbf;
}
.header-address {
    display: flex;
}
.post {
}
.post-item {
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}
.post-item:hover, 
.post-item:focus {
    color: #404bbf;
    text-decoration: none;
}
/* #endregion */

/* #region Hero */
.main {
    }
.hero {
    background-color: #2E2F42;
    color: #fff;
    text-align: center;
    padding: 188px 0;    
}
.section {
}  
.hero-header {
    font-size: 56px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    max-width: 496px;
}
.hero-header {
    margin: 0 auto;
    margin-bottom: 48px;
}
.order-service {
    font-family: "Roboto", sans-serif;
    color: #ffffff;
    background-color: #4d5ae5;
    font-size: 16px;
    font-weight: 500; 
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin-bottom: 188px;
    margin: 0 auto;
}
.order-service:hover, 
.order-service:focus {
    background-color: #404BBF;
}
/* #endregion */

/* #region Feature */
.features {
    padding: 120px 0;
}
.feature-menu {
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
    margin: 0;
}
.feature-menu-item {
    width: calc((100% - 72px) / 4);
}
.feature-header {
    color: #2e2f42;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    max-width: 264px;
    margin-bottom: 8px;
}
.feature-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
}
/* #endregion */

/* #region Team */
.team {
    background-color: #F4F4FD;
    text-align: center;
     padding: 120px 0;
}
.team-header {
    font-size: 36px;
    line-height: 1.11; 
    letter-spacing: 0.02em;
    margin-bottom: 72px;
    text-transform: capitalize; 
    color: #2e2f42;  
 }
.team-menu {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.team-item {
    background-color: #FFFFFF;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0px 0px 4px 4px; 
    width: calc((100% - 72px) / 4);
}
.team-photo {
    margin: 0;
    padding: 0;
    width: 264px;
}
.team-info {
    padding: 32px 0;
}
.team-name {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;   
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-align: center;
    margin-bottom: 8px;
} 
.team-title {
    font-size: 16px;
    line-height: 1.5; 
    letter-spacing: 0.02em;
     text-align: center;
}
/* #endregion */

/* #region portfolio */
.portfolio {
    padding-top: 120px; 
    padding-bottom: 120px; 
    text-align: center;
    letter-spacing: 0.02em;
}
.portfolio-header {
    font-size: 36px;
    line-height: 1.11; 
    letter-spacing: 0.02em;  
    margin-bottom: 72px;
    text-transform: capitalize;
    color: #2e2f42;
} 
.portfolio-menu {
    display: flex;
    column-gap: 24px;
    row-gap: 48px;
    flex-wrap: wrap;
    padding-left: 0;
}
.portfolio-item {
    padding: 0;
    margin: 0;
    width: calc((100% - 48px) / 3);
}
.portfolio-photo {
}
.portfolio-app {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none; 
    margin-bottom: 8px;
}
.portfolio-name {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-align: left;
    margin-bottom: 8px;   
}
.portfolio-title {
    font-size: 16px;
    line-height: 1.5; 
    text-align: left;
}
/* #endregion */

/* #region Footer */
.footers {
    background-color: #2E2F42;
    color: #F4F4FD;
    display: block;
    padding-top: 100px;
    padding-bottom: 100px;    
}
.footer-container {
    margin-left: 156px;
    padding: 0;
}

.light {
    color: #f4f4fd;
}
.footer-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align:left; 
   width: 264px;
}
/* #endregion */
