body {
    background-color: #202122;
    overflow: hidden;
}

* {
    font-family: Caladea, Merriweather, serif;
}

.box {
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: #242527;
}

.box_list {
    position: fixed;
    width: 14rem;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #1d1e20;
    border-right: 0.2rem solid #343438;
    padding-top: 6rem;
    user-select: none;
}

.ul_list {
    list-style: none;
    padding-left: 1rem;
}

.li_list {
    margin-top: 1.5rem;
}

.link_list {
    text-decoration: none;
    color: white;
    font-size: 1.14rem;
    font-weight: bold;
    display: block;
    transition: color 0.3s;
}

.link_list:hover,
#selected_link_list {
    color: #4299e5;
}

.box_text {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex: 1;
    height: calc(100vh - 10rem);
    margin-top: 5.4rem;
    padding-bottom: 3.5rem;
    margin-left: 14rem;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    overflow-y: auto;
    background-color: #242527;
}

.box_language {
    appearance: none;
    display: none;
}

#english_terms:checked~#french_display_terms {
    visibility: hidden;
    display: none;
}

#french_terms:checked~#english_display_terms {
    visibility: hidden;
    display: none;
}

.language {
    font-size: 1.7rem;
    font-weight: bold;
    transition: all .2s ease-in-out;
    user-select: none;
}

#english_terms+label {
    color: white;
}

#english_terms:checked+label {
    color: #4299e5;
}

#french_terms+label {
    color: white;
}

#french_terms:checked+label {
    color: #4299e5;
}

.language:hover {
    transition: all .2s ease-in-out;
    color: #4299e5;
    cursor: pointer;
}

.date_terms {
    padding-bottom: 1rem;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.main_title {
    padding-top: 4rem;
    padding-bottom: 1rem;
    text-align: center;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
}

.second_title {
    padding-top: 2.8rem;
    color: white;
    font-size: 1.28rem;
    font-weight: bold;
}

.third_title {
    padding-top: .8rem;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.text {
    color: white;
    font-size: 1.2rem;
}

.link {
    color: #4299e5;
    font-size: 1.2rem;
    text-decoration: none;
}

.ul_list_text {
    margin-top: -1rem;
}

.li_list_text {
    margin-left: -1.4rem;
    padding-top: 1.4rem;
    color: white;
    font-size: 1.2rem;
    list-style: decimal;
}

.box_text_about {
    width: 85%;
}

.title {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: white;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.text_about {
    color: white;
    font-size: 1.2rem;
}

/*Mobile*/
@media only screen and (max-width: 800px) {

    .box_text {
        height: calc(100vh - 15.8rem);
        margin-top: 11.2rem;
        margin-left: 0;
    }

    .box_list {
        width: 100%;
        height: auto;
        position: fixed;
        top: 4rem;
        padding-top: .5rem;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        border-right: none;
        border-bottom: 0.2rem solid #343438;
    }

    .ul_list {
        padding-left: 0;
    }

    .box_text_about {
    width: 100%;
    }

}

/*Mobile*/
@media only screen and (max-width: 500px) {

    .box_text {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .language {
        font-size: .88rem;
    }

    .date_terms {
        font-size: .8rem;
    }

    .main_title {
        font-size: .88rem;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
    
    .second_title {
        font-size: .88rem;
    }

    .third_title {
        font-size: .88rem;
    }

    .link {
        font-size: .8rem;
    }

    .title {
        font-size: 1rem;
    }

    .text {
        font-size: .8rem;
    }

    .text_about {
        font-size: .8rem;
    }

    .li_list_text {
        font-size: .8rem;
    }

    .ul_list_text {
        font-size: .8rem;
    }

    .li_list {
        font-size: .8rem;
    }

}