/* breadcrums */
.breadcrums-container{
    width: max-content;
    display: flex;
    gap: 15px;
    margin: 20px auto 50px auto;
    border-radius: 10px;
    padding: 14px 24px;
    background: var(--black);
}
.breadcrums-text{
    margin: 0;
    padding: 0;
}
.separator-holder{
    display: flex;
    align-items: center;
    justify-content: center;
}
.breadcrums-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);
}
.breadcrums-link{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--acsent);
    text-decoration: none;
}
@media screen and (max-width: 768px) {
  .breadcrums-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);

    max-width: 200px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (max-width: 567px) {
    .breadcrums-container {
        margin: 15px 15px 20px 15px;
        width: calc(100% - 30px);
    }
    .separator-holder{
        flex: 0 0 15px;
    }
    .breadcrums-text{
        max-width: 100%;
    }
    .breadcrums-text-container{
        flex: 0 0 auto;
    }
    .breadcrums-text-container:last-child{
        flex: 1;
        overflow: hidden;
    }
}

.main-page-content-wrapper{
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}
.main-page-content-wrapper__item{
    padding: 50px 20px;
    width: 100%;
    background-image: url(../images/front/about_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(18, 18, 18, 0.44);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 130px;
}
.main-page-content{
    max-width: 530px;
    width: 100%;
    
}
.main-page-title{
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 62px;
    line-height: 73px;
    color: var(--white);
    margin-bottom: 30px;
}
.main-page-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 175%;
    color: var(--grey);
}
.variable-cards-section{
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.variable-card{
    max-width: 310px;
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    padding: 20px;
    background: rgba(244, 244, 244, 0.1);
}
.variable-card-title{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    color: var(--acsent);
}
.variable-card-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 175%;
    text-align: center;
    color: var(--bg);
    padding: 0;
    margin: 0;

}
.variable-card-last{
    flex: none;
    padding: 0;
    background: transparent;
    max-width: 310px;
    height: auto;

}
.variable-card-text.last{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: var(--grey);
}

.page-content-wrapper__items{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-title{
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 52px;
    line-height: 61px;
    max-width: 710px;
    text-align: center;
}
.page-card-text{
  font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    padding: 0;
    margin: 0;
}
.page-content-wrapper__items:nth-child(even){
    padding: 70px 20px;
    background-color: inherit;
    align-items: center;
    justify-content: center;
    max-width: 1340px;
    margin: 0 auto;
    gap: 40px;
}

.page-cards-section{
    display: flex;
    flex-direction: row;
    gap: 20px;
}


.page-content-wrapper__items:nth-child(even) .page-title{
    color: var(--black);
}
.page-content-wrapper__items:nth-child(even) .page-card-text{
    color: var(--black);
}
.page-content-wrapper__items:nth-child(even) .page-content{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}
.page-content-wrapper__items:nth-child(even) .page-card{
    display: flex;
    max-width: 310px;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 15px;
    align-items: center;

}
.checked-img-wrapper{
    border-radius: 7px;
    width: 50px;
    height: 50px;
    box-shadow: 0 8px 20px 0 rgba(205, 52, 51, 0.5);
    background: var(--acsent);
    display: flex;
    justify-content: center;
    align-items: center;
}


.page-content-wrapper__items:nth-child(odd){
   padding: 50px 20px;
    width: 100%;
    background-image: url(../images/front/about_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(18, 18, 18, 0.44);
    gap: 30px;
}
.page-content-wrapper__items:nth-child(odd) .page-content,
.page-content-wrapper__items:nth-child(odd) .page-cards-section{
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
}
.page-content-wrapper__items:nth-child(odd) .page-card-content{
    max-width: 900px;
    width: 100%;
}
.page-content-wrapper__items:nth-child(odd) .page-title{
    color: var(--white);
    text-align: left;
    max-width: 530px;
}
.page-content-wrapper__items:nth-child(odd) .page-card-text{
    color: var(--grey);
    text-align: left;
}

.page-blocks{
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}
.page-block{
    border-radius: 20px;
    padding: 20px;
    max-width: 310px;
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(244, 244, 244, 0.1);
}
.page-block-title{
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: var(--acsent);
    padding: 0;
    margin: 0;
}
.page-block-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 175%;
    text-align: center;
    color: var(--bg);
    padding: 0;
    margin: 0;
}
.page-content-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 175%;
    color: var(--grey);
    padding: 0;
    margin: 0;
}
.features-list {
    counter-reset: feature-counter;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    list-style: none;
    margin: 0;
    margin-top: 20px;
}

.feature-item {
    counter-increment: feature-counter;
    position: relative;
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 35px 20px 20px;
    max-width: 244px;
    width: 100%;
    color: var(--white);
    
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.feature-item::before {
    content: counter(feature-counter);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--acsent, #cd3433);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(205, 52, 51, 0.5);
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 24px;
    text-align: center;
}

.feature-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    margin-top: 10px;
    color: var(--acsent);
}

.feature-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    text-align: center;
    color: var(--bg);
    margin: 0;
}
@media screen and (max-width: 1390px) {
    .main-page-content-wrapper__item{
        gap: 70px;
    }
    .variable-card{
        flex: 0 0 calc(50% - 10px);
    }
}
@media screen and (max-width: 1240px) {
    .main-page-content-wrapper__item{
        gap: 30px;
    }
    .page-title{
        max-width: 100%;
    }
}
@media screen and (max-width: 1024px) {
    .main-page-content,.variable-cards-section{
        max-width: 100%;
    }
    .main-page-content-wrapper__item{
        flex-flow: column;
        gap: 30px;
    }
    .main-page-title{
        font-size: 62px;
        line-height: 73px;
        margin-bottom: 20px;
        margin-top: 0;
    }
    .main-page-text{
        margin-bottom: 0;
    }
    .variable-card,.variable-card-last{
        flex: 0 0 calc(33% - 13.33px);
    }
    .page-block{
        padding: 20px 15px;
    }
    .feature-item{
        flex: 0 0 calc(33% - 13.3333px);
        width: 100%;
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .main-page-title{
        font-size: 52px;
        line-height: 61px;
    }
    .page-cards-section{
        flex-wrap: wrap;
        gap: 40px 20px;
    }
    .main-page-content-wrapper__item
    ,.page-content-wrapper__items:nth-child(odd){
        padding: 30px 20px;
    }
  .page-content-wrapper__items.features-section .page-title,
  .about-project-title
  {
    margin-bottom: 20px!important;
  }
  .page-cards-section-title{
    margin-bottom: 0!important;
  }
  .about-project-section{
    gap: 0!important;
  }
      .variable-card,.variable-card-last,.page-content-wrapper__items:nth-child(even) .page-card{
        flex: 0 0 calc(50% - 10px);
        max-width: 100%;
    }  
      .page-content-wrapper__items:nth-child(even){
        padding: 50px 20px;
    }
    .feature-item{
        flex: 1;
    }
}

@media screen and (max-width: 690px) {
    .page-blocks{
        flex-wrap: wrap;

    }
  .page-block{
        flex: 0 0 calc(50% - 10px);
        max-width: 100%;
  }
  .page-content-wrapper__items:nth-child(even){
    gap: 0;
  }
  .page-content-wrapper__items:nth-child(even) .page-content
  {
    margin-bottom: 20px;
    gap: 0;
  }
  .feature-item{
        flex: 0 0 calc(50% - 10px);
        max-width: 100%;
  }
}
@media screen and (max-width: 560px) {
    .main-page-content-wrapper__item{
        gap: 20px
    }
  .main-page-title,.page-title{
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 20px;
  }
.variable-card-last{
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}
  .page-content-wrapper__items:nth-child(even) .page-title{
    margin-bottom: 0;
  }
      .page-content-wrapper__items:nth-child(even){
        padding: 40px 20px;
    }
    .variable-cards-section{
        width :100%;
        max-width: 100%;
    }
    .feature-item,.variable-card,.page-block{
        flex: 0 0 100%;
        max-width: 100%;
  }
}
@media screen and (max-width: 450px) {
.page-content-wrapper__items:nth-child(even) .page-card{
     flex: 0 0 100%;
        max-width: 100%;
        flex-flow: row;
}
.checked-img-wrapper{
    flex: 0 0 50px;
}
.page-card-content{
    flex: 1;
}
.page-content-wrapper__items:nth-child(even) .page-card-text{
    font-size: 16px;
    line-height: 24px;
}
}
