*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Museo Sans Cyrl", sans-serif;
}

.about {
    color: #f1f1f1;
    padding: 50px 20px; 
}

.about__container {
    max-width: 1290px;
    margin: 0 auto;
}

.about__title {
    text-align: center;
    font-weight: 600;
    font-size: 64px;
    text-align: center;
    color: #d8d8d8;
    margin-bottom: 40px;
}

.about__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.about__card {
    border-radius: 8px; 
    padding: 20px;
}

.about__card-title {
    font-family: 'Museo Sans Cyrl 500';
    font-weight: 600;
    font-size: 24px;
    line-height: 169%;
    color: #fce690;
}

.about__card-text {
    font-family: 'Museo Sans Cyrl 300',sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #d8d8d8;
    line-height: 142%;
}

.about__bottom {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.about__info {
    border-radius: 8px;
    padding: 20px;
}

.about__info-title {
    font-family: 'Museo Sans Cyrl 500',sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 142%;
    color: #d8d8d8;
    margin-bottom: 10px;
}

.about__info-text {
    font-family: 'Museo Sans Cyrl 300',sans-serif;
    line-height: 142%;
    color: #d8d8d8;
    font-weight: 400;
    font-size: 18px;
}

@media (max-width: 1024px) {
    .about__bottom {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .about {
      padding: 10px;
    }
    .about__title {
        font-family: 'Museo Sans Cyrl 500',sans-serif;
        margin-bottom: 20px;
        font-weight: 600;
        font-size: 54px;
        text-align: center;
        color: #d8d8d8;
    }

    .about__card-title,
    .about__info-title {
        font-size: 24px;
    }

    .about__card-text,
    .about__info-text {
        font-size: 15px;
    }

    .about__top, .about__bottom {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 0;
        gap: 10px;
    }
    .about__card {
      padding: 10px;
    }
}

@media (max-width: 480px) {
    .about__title {
        font-size: 32px;
    }
    
    .about {
        padding: 10px;
    }

    .about__info-title {
      font-size: 20px;
    }

    .about__card-title, .about__info-title {
      font-size: 20px;
    }
    
    .about__info-text {
      font-size: 15px;
    }
}
