main {
    padding: 0 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: montserrat, sans-serif, helvetica neue;
}

.home img {
    margin-bottom: 2rem
}

.home .title {
    font-size: 36px;
    line-height: 3rem;
}

.home .link {
    font-weight: bold;
    transition-duration: 0.25s;
}

.home .content {
    font-size: 20px;
    margin: 1rem 0;
}

.problemes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 60rem;
    margin: 2rem 0;
}

.problemes .item-long {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 30rem;
    background: #f7f7ff;
    border-radius: 5px;
    cursor: pointer;
    min-height: 3rem;
    margin: 1rem;
    padding: 1rem;
    transition-duration: 0.25s;
}

.problemes .item-long div {
    margin-left: 1rem;
}

.problemes .item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
    text-align: center;
    background: #f7f7ff;
    border-radius: 5px;
    width: 10rem;
    min-height: 10rem;
    margin: 1rem;
    padding: 0.5rem;
    transition-duration: 0.25s;
}

.problemes .item:hover,
.problemes .item-long:hover {
    transform: translateY(-0.5rem);
}

.btn-close {
    float: right;
    height: 2rem;
    width: 2rem;
    margin: 1rem;
    background-size: 2rem;
}

.fetched-data .title {
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.subproblems {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subproblems .item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7ff;
    border-radius: 10px;
    width: 90%;
    margin: 1rem 0;
    padding: 1rem;
    font-size: 16px;
    font-weight: 400;
}

.subproblems .item div{
    min-width: 23rem;
}

.subproblems .item img {
    margin: 0 1rem;
}

@media screen and (max-width: 550px) {
    main{
        padding: 0;
    }

    .home .title{
        line-height: 2rem;
    }

    .home > *{
        margin: 1rem 0;
    }

}