body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F5F7FA;
}

/* Main Section */
.main-container{
    display: flex;
    flex-direction: row-reverse;
    width: 1200px;
    background-color: #fff;
    margin: 40px auto;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1);
}

/* Main content section */
.main-content-section{
    padding: 100px 90px;
    width:  850px;
}

.main-content-title{
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    line-height: 27px;
    color: #000000;
    margin-bottom: 10px;
}

/* About me section */
.about-me-section{
    margin-bottom: 0 0 40px 0;
}

.about-me-profession{
    color: black;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 0 0 20px 0;
}

.about-me-name{
    font-style: normal;
    font-weight: bold;
    font-size: 45px;
    line-height: 55px;
    margin-bottom: 0 0 25px 0;
}

.about-me-discriotion{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    width:  650px;
    color: #595959;
}

/* My project section*/
.my-projects-section{
    margin: 0 0 50px 0;
}

.my-projects-list{
    font-weight: bold;
    padding: 0 0 0 17px;

}

.my-projects-item{
    color: black;
}

.my-projects-text{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #595959;
    margin-left: 5px;
    display: inline;
}

/* По умолчанию показываем только десктопный вариант */
.my-projects-mobile {
    display: none;
}

/* На мобильных скрываем десктопную версию и показываем мобильную */
@media (max-width: 768px) {
    .my-projects-desktop {
        display: none !important;
    }
    .my-projects-mobile {
        display: inline !important;
    }
}

.my-projects-link{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #595959;
}

.my-projects-bracket{
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    color: black;
}

/* My work expierence */

.my-work-expierence-company-block{
    margin: 0 15px 0 0;
}

.my-work-expierence-position{
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 10px 0;
}

.my-work-expierence-company{
    color: #FB6D3A;
}

.my-work-expierence-period{
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 15px;
    color: #A8A8A8;
    margin: 0 0 10px 0;
}

.my-work-expierence-divider{
    color: black;
}

.my-work-site{
    font-style: normal;
    font-weight: normal;
    line-height: 24px;
    color: #595959;
}

.my-work-expierence-duties{
    padding: 0 0 0 18px;
}

.my-work-expierence-dutie{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #595959;
}

/* My education section */
.my-education-section-university{
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #FB6D3A;
    margin: 0 0 10px 0;
}

.education-item {
    display: flex;       /* Делаем flex-контейнер */
    align-items: center; /* Выравниваем по вертикали */
    gap: 10px;          /* Отступ между h5 и p */
    margin-bottom: 0;
  }

.my-education-expierence-period{
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 15px;
    color: #A8A8A8;
    margin: 0 0 5px 0;
}

.my-education-expierence-divider{
    color: black;
}

.my-education-lectern{
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    margin: 0 0 5px 0;
}

.my-education-magistr{
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin: 10px 0 15px 0;
}


/* Sidebar Section */
.sidebar-section{
    background-color: #1E2939;
    width: 370px;
    padding: 40px 0;
}

.contacts-section,
.skills-section{
    margin: 50px 0 0 40px;
}

.sidebar-title{
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    line-height: 27px;
    color: #fff;
    margin-bottom: 10px;
}

/* contacts section*/
.contacts-section-type{
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    color: white;
    margin-right: 7px;
}
.contacts-section-link{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #8E949C;
    /* opacity: 0.5; */
}

.skills-list{
    padding: 0 0 0 17px;
}

.skills-item{
    color: #FB6D3A;
}

.skills-item-text{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #fff;
}

/* Стили для текстового поля с кнопкой "Далее" */
.limiter {
    max-height: 400px;
    overflow: hidden;
    position: relative;
  }
  .limiter .bottom {
    position: absolute; /* Если прыгает - можно попробовать sticky */
    bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgb(255, 255, 255)90%);
    width: 100%;
    height: 80px;
    opacity: 1;
    transition: 0.3s;
  }
  .read-more-checker {
    opacity: 0;
    position: absolute;
  }
  .read-more-checker:checked ~ .limiter {
    max-height: none;
  }
  .read-more-checker:checked ~ .limiter .bottom {
    opacity: 0;
    transition: 0.3s;
  }
  .read-more-checker ~ .read-more-button:before {
    content: "Развернуть »";
  }
  .read-more-checker:checked ~ .read-more-button:before {
    content: "Свернуть «";
  }
  .read-more-button {
    cursor: pointer;
    display: inline-block;
    color: #FB6D3A;
    text-decoration: underline;
  }


.limited{
    max-height: 400px;
    overflow: hidden;
    position: relative;
}

.limited .bottom_lim{
    position: absolute; /* Если прыгает - можно попробовать sticky */
    bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgb(255, 255, 255)90%);
    width: 100%;
    height: 80px;
    opacity: 1;
    transition: 0.3s;
}

.read-more-checker-exp{
    opacity: 0;
    position: absolute;
}

.read-more-checker-exp:checked ~ .limited {
    max-height: none;
}

.read-more-checker-exp:checked ~ .limited .bottom_lim{
    opacity: 0;
    transition: 0.3s;
}

.read-more-button-exp{
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    color: #FB6D3A;
    /* border: 1px solid #ddd;
    border-radius: 4px; */
    text-decoration: underline;
}

.read-more-checker-exp ~ .read-more-button-exp::after {
    content: "Развернуть »";
}

.read-more-checker-exp:checked ~ .read-more-button-exp::after {
    content: "Свернуть «";
}
