@import 'template/know_more.css';
main {
    padding: 0 7rem;
}

section {
    padding: 2rem 1rem;
}

h2 {
    font-size: 26px !important;
}

.home {
    text-align: center;
}

.home h1 {
    font-size: 36px !important;
}

.home p {
    font-size: 20px !important;
    margin: 1rem 0;
}

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

.equipement .item div{
    height: inherit;
}

.equipement .item,
.service .item {
    margin: 1rem;
    border: solid 2px lightgray;
    border-radius: 5px;
    transition-duration: 0.5s;
    width: 10rem;
    height: 10rem;
}

.item a {
    height: 10rem;
}

.equipement .item:hover,
.service .item:hover {
    transform: translateY(-0.5rem);
}

.service .content {
    margin-top: 1rem;
}

.team .content {
    margin-top: 1rem;
    font-size: 16px !important;
}

#formationModal .problemes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#formationModal .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;
    height: 10rem;
    margin: 1rem;
    padding: 0.5rem;
    transition-duration: 0.25s;
}

#formationModal .problemes .item:hover {
    transform: translateY(-0.5rem);
}

#showSubFormation #backLink {
    cursor: pointer;
}

#showSubFormation .title,
#showOptiMail .title,
#formationModal .title {
    text-align: center;
    font-size: 22px;
    margin: 1rem 0;
}

#showSubFormation p,
#showOptiMail p {
    font-size: 15px;
}

.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 img {
    margin: 0 1rem;
}

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