section.topics{
    width: 100%;
    margin: 20px 0;
}

section.topics > .container{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.topic{
    width: 100%;
    max-width: 8vw;
    height: 8vw;
    text-decoration: none;
    display: flex;
    color: #666;
    align-items: center;
    flex-direction: column;
    border-radius: 5px;
    justify-content: center;
    text-align: center;
}

.topic:nth-child(1){
    background-color: #ffececd8;
}

.topic:nth-child(2){
    background-color: #fff9ea;
}

.topic:nth-child(3){
    background-color: #eeffe6;
}

.topic:nth-child(4){
    background-color: #f1f1f1;
}


.topic:nth-child(1):hover{
    background-color: #fae2e2;
}

.topic:nth-child(2):hover{
    background-color: #fdf1d1;
}

.topic:nth-child(3):hover{
    background-color: #deffce;
}

.topic:nth-child(4):hover{
    background-color: #dfdfdf;
}

.topic p{
    color: #2c2c2c;
    font-weight: 300;
    font-size: 0.9vw;
}

.topic img{
    width: 3vw;
    margin: 0 0 10px 0;
}

@media screen and (max-width:1025px){
    .topic img {
        width: 5vw;
    }

    .topic p {
        font-size: 1.4vw;
    }

    .topic {
        max-width: 11vw;
        height: 11vw;
    }
}

@media screen and (max-width:500px) {
    section.topics > .container {
        display: flex;
        gap: 10px;
    }

    .topic img {
        width: 10vw;
    }

    .topic p {
        font-size: 2.8vw;
        font-weight: 400;
    }

    .topic {
        max-width: 25vw;
        height: 25vw;
    }
}