.div-001 {
    display: flex;
    flex-direction: row;
    gap: 4vh;
    margin-bottom: 0.1vh;
    margin-top: 4vh;
}

.problem-card-02 {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 15px 15px 0px rgb(0 0 0 / 13%);
    text-align: left;
    width: 80%;
    justify-self: center;
    height: 300px;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease-in-out;
}

.problem-card-02:hover{
    transform: scale(1.03);
}

.div-002{
  display: flex;
  flex-direction: row;
  gap: 20vh;
}

.problem-card-03{
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 15px 15px 0px rgb(0 0 0 / 13%);
    text-align: left;
    width: 80%;
    justify-self: center;
    height: 200px;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease-in-out;
}

.problem-card-03:hover{
    transform: scale(1.03);
}

.problem-card-04 {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 15px 15px 0px rgb(0 0 0 / 13%);
    text-align: left;
    width: 80%;
    justify-self: center;
    height: 300px;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease-in-out;
}

.problem-card-04:hover{
    transform: scale(1.03);
}

.problem-title span{
  margin-left: 1vh;
}

.etap-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 4vh;
    padding-bottom: 10vh;
    margin-right: 20vh;
    margin-left: 20vh;
    justify-items: center;
}

.etap-grid-card {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 20px 20px 2px rgb(0 0 0 / 13%);
    width: 300px;
    height: 300px;
    transition: all 0.3s ease-in-out;
}

.etap-grid-card p{
  font-size: 22px;
}

.etap-grid-card:hover {
    transform: scale(1.03);
}

.etap-grid-card:hover::before {
    width: 100%;
}

/* Чтобы текст оставался поверх заполнения */
.etap-grid-card > * {
    position: relative;
    z-index: 2;
}

.etap-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}
@media (max-width: 1700px) {
.etap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 4vh;
    padding-bottom: 10vh;
    margin-right: 20vh;
    margin-left: 20vh;
    justify-items: center;
}
}

@media (max-width: 1500px) {
    .etap-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-left: 10vh;
        margin-right: 10vh;
    }

    .problem-row p{
        font-size: 15px;
    }

    .problem-text-fix{
        font-size: 15px;
    }
}

@media (max-width: 1300px) {
    .problem-row p{
        font-size: 14px;
    }

    .problem-text-fix p{
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .etap-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 10vh;
        margin-right: 10vh;
    }

    .div-001,
    .div-002 {
        flex-direction: column;
        align-items: center;
        gap: 3vh;
    }

    .problem-card-02,
    .problem-card-03,
    .problem-card-04 {
        width: 90%;
    }
}

@media (max-width: 1024px) {
.etap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 4vh;
    padding-bottom: 10vh;
    margin-right: 20vh;
    margin-left: 20vh;
    justify-items: center;
}
}

@media (max-width: 800px) {
    .etap-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 5vh;
        margin-right: 5vh;
    }

    .problem-card-02,
    .problem-card-03,
    .problem-card-04 {
        height: auto;
    }
}

@media (max-width: 500px) {
    .etap-grid {
        grid-template-columns: 1fr;
        margin-left: 2vh;
        margin-right: 2vh;
    }

    .problem-card-02,
    .problem-card-03,
    .problem-card-04 {
        width: 100%;
    }

    .etap-grid-card {
        width: 100%;
        height: auto;
    }

    .etap-grid-card p {
        font-size: 14px;
    }
}
