@import 'css/main.css';

/* -------------------------------------- */
/* Global */
/* -------------------------------------- */

.case {
    border-bottom: solid 1px var(--black);
    padding-top: 10px;
    box-sizing: border-box;
}

.case:first-child {
    padding-top: 0;
}

.keywords {
    font-size: 3rem;
    font-weight: 300;
    /* margin-left: -2px !important; */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.arrowBottom {
    margin: 0;
    display: block;
}

.arrowBottom svg {
    opacity: 1;
    margin-top: 15px;
    height: 30px;
    width: 30px;
}

/* Pour About */
#key1,
#key2,
#key3,
#key4,
#key5 {
    display: block;
    width: 100%;
    height: 70px;
    /* important pour contrer le main p : margin 0 */
    /* 5 en haut et en bas pour faire 10px, car pour les texts on a 10px de margin-bottom
    (pour avoir la même hauteur et que ça ne saute pas) */
    margin: 5px 0 !important;
}

#text1,
#text2,
#text3,
#text4,
#text5 {
    display: none;
    align-items: center;
    height: 70px;
}

/* Couleur du texte survolé en desktop */
#text1,
#text2,
#text3,
#text4,
#text5 {
    color: var(--primary) !important;
}

/* -------------------------------------- */
/* About */
/* -------------------------------------- */

.infosTablet {
    display: none;
}

/* -------------------------------------- */
/* Projects */
/* -------------------------------------- */

.txtTablet {
    display: none;
}

/* -------------------------------------- */
/* M E D I A S   Q U E R I E S */
/* -------------------------------------- */

@media (max-width: 768px) {

    .infos,
    .txt {
        display: none;
    }

    .infosTablet,
    .txtTablet {
        display: flex;
        padding-right: 15px;
    }

    .infosTablet p,
    .txtTablet p {
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
    }

    .keywords {
        font-size: 2.4rem;
    }

    .case {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .case:first-child {
        padding-top: 0;
    }

    #text1,
    #text2,
    #text3,
    #text4,
    #text5 {
        color: var(--black) !important;
    }
}

@media (max-width: 450px) {

    .infosTablet {
        padding: 0;
    }

    .keywords {
        font-size: 2.1rem;
        margin-left: -1px !important;
    }
}