@font-face {
  font-family: "Inter";
  src:
    url("/static/fonts/inter/Inter-VariableFont_opsz,wght.ttf") format("ttf");
}

h1 {
    font-family: Inter;
    font-weight: 900;
    font-size: 54px;
}

h2 {
    font-family: Inter;
    font-weight: bold;
}

p {
    font-family: Inter;
    font-weight: 200;
    font-size: 15px;
    text-align: justify;
}

.header img {
    width: 40%;
    height: 210px;
}

.header-image {
    display: flex;
    justify-content: space-between;
}

.header h1 {
    display: block;
    margin: auto;
    text-align: center;
    margin-top: -100px;
}

.header h1 b {
    background: black;
    color: white;
    padding: 0 15px;
}

body {
    margin: 0;
}

.steps {
    margin-top: 120px;
}

.steps-title {
    margin: 0;
}
.steps-title::before {
    content: "";
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #000000;
    display: block;
    float: left;
    margin-right: 10px
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 0 50px;
}

.steps-section {
    margin-left: 14px;
    border-left: solid;
}

.steps-section-reason {
    display: flex;
    align-items: flex-end;
}

.steps-section-reason img {
    margin: auto;
    display: block;
    max-width: 100%;
}

.steps-section-reason div {
    padding: 15px;
    width: 33%;
}

.steps-section-meeting img {
    width: 100%;

}

.steps-section-meeting {
    padding: 30px
}

.steps-section-meeting p {
    margin: 0;
}

.steps-section-last {
    border: none;
}

.steps-section-presentation {
    display: flex;
    padding: 30px 0;
}


.steps-section-presentation button{
    background: #FA4A4C;
    border: none;
    width: 100%;
    height: 41px;
    color: white;
    margin-top: 14px;
    font-family: Inter;
    font-weight: 200;
}

.steps-section-presentation-devider {
    height: 3px;
    width: 46px;
    display: block;
    background: black;
    margin: auto 5px;
}

.steps-section-presentation-1 {
    width: 62%;
}

.steps-section-presentation-1 img {
    width: 100%;
}

.steps-section-presentation-2 img {
    width: 100%;
}

.instruments h2 {
    text-align: center;
}

.instruments-grid {
    display: flex;
}

.instruments-grid-inner div {
    background-color: #F7E879;
}

.instruments-grid-inner p {
    margin: 0;
    padding: 11px 14px;
}

.instruments h3{
    font-family: Inter;
    text-align: center;
}

.instruments-grid-inner {
    border: solid 2px;
    margin: 10px 5px;
}

.instruments-grid-1, .instruments-grid-2{
    width: 50%;
}

.instruments-grid-2 .instruments-grid-inner {
    height: 93%;
}

.instruments-grid-2 .instruments-grid-inner div {
    height: 81%;
}

.instruments-philosophy {
    display: flex;
    border: solid 2px;
    margin: 5px;
}

.instruments-philosophy div {
    width: 50%
}

.instruments-philosophy-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #FA4A4C;
}

.instruments-philosophy-2 p {
    padding: 15px;
}

.instruments-philosophy-2 img{
    width: 92%;
    padding: 15px;
}

.benefits h2 {
    text-align: center;
}

.benefits {
    padding: 5px;
    margin: 30px 0;
}

.benefits-grid div {
    height: 40px;
    background-color: #F7E879;
    border-top: solid 2px;
    margin: 20px auto;
}

.benefits-grid-1 {
    width: 70%;
}

.benefits-grid-2 {
    width: 80%;
}

.benefits-grid-3 {
    width: 90%;
}

.benefits-grid-4 {
    width: 100%;
}

.education {
    display: flex;
}

.education img {
    width: 40%;
    height: fit-content;
}

.education ul {
    margin: auto;
    font-family: Inter;
    font-weight: 200;
    font-size: 15px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

.education li::before {
    content: '';
    height: 20px;
    width: 20px;
    display: block;
    background-color: #FA4A4C;
    border-radius: 50%;
    float: left;
    margin-right: 5px;
}

.education li {
    margin-bottom: 10px;
}

.accordion {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: Inter;
}

.year {
width: 25%;
    font-family: Inter;
    font-size: 24px;
    font-weight: 200;
    text-align: center;
}

.company-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
}

.arrow-btn:hover:not(:disabled) {
    transform: scale(1.3);
}

.arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.arrow-btn svg {
    width: 30px;
    height: 30px;
    fill: #fa4a4c;
}

.company-box {
    background-color: #fa4a4c;
    color: white;
    width: 220px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.company-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 20px;
    transition: transform 0.5s ease;
}

.company-text.slide-up {
    transform: translateY(-100%);
}

.company-text.slide-down {
    transform: translateY(100%);
}

.company-text.active {
    transform: translateY(0);
}

.description-box {
    background-color: #fa4a4c;
    color: white;
    width: 50%;
    height: fit-content;
    padding: 0 19px;    flex: 1;
    min-height: 180px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.description-text {
    position: absolute;
    width: calc(100% - 60px);
    line-height: 1.6;
    font-size: 15px;
    font-weight: 200;
    transition: transform 0.5s ease;
}

.description-text.slide-up {
    transform: translateY(-100%);
}

.description-text.slide-down {
    transform: translateY(100%);
}

.description-text.active {
    transform: translateY(0);
}

.experience h2 {
    text-align: center;
    margin-top: 60px;
}

.example-header {
    text-align: center;
}

.example-header p {
    text-align: center;
    margin-top: -20px;
}

.prologue {
    display: flex;
    border: solid 2px;
}

.prologue div {
    width: 50%;
    display: flex;
}

.prologue div:nth-child(1) {
    background-color: #fa4a4c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.prologue div:nth-child(2) {
    padding: 10px;
    margin: 0;
}

.dashboard {
    width: 100%;
    overflow: hidden; /* скрываем лишнее */
    position: relative;
}

.dashboard-button {
    width: 100%;
    background-color: #F7E879;
    border: none;
    margin-top: 25px;
    font-family: Inter;
    font-size: 20px;
    font-weight: 600;
    padding: 15px;
}


@media (max-width: 600px) {
    .steps-section-reason {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .steps-section-reason div {
        width: 70%
    }
    
    .instruments-philosophy {
        flex-direction: column;
    }
    
    .instruments-philosophy div {
        width: 100%
    }
    
    .education {
        flex-direction: column;
    }
    
    .education img {
        width: 80%;
        margin: auto;
        margin-bottom: 23px;
    }
    
    .accordion {
        flex-direction: column;
    }
    
    .company-section, .company-box {
        width: 100%;
    }
    
    .description-box {
        width: 75%;
    }
    
    .company-section {
    flex-direction: row;
    }
    
    .arrow-btn {
        transform: rotate(270deg);
    }
    
    .arrow-btn:hover:not(:disabled) {
        transform: rotate(270deg);
    }
    
    .year {
        width: 100%;
    }
    
    .company-text.slide-up {
        transform: translateX(100%);
    }

    .company-text.slide-down {
        transform: translateX(-100%);
    }

    .company-text.active {
        transform: translateX(0);
    }
    
    
    .description-text.slide-up {
        transform: translateX(100%);
    }

    .description-text.slide-down {
        transform: translateX(-100%);
    }

    .description-text.active {
        transform: translateX(0);
    }
    
    .steps-section-presentation-2 img {
        width: 77%;
    }
    
}