#information_text_vertical :is(h1, h2, h3) {
    font-size: calc(var(--vh) * 5);
    letter-spacing: 5px;
}

/* ----------------------------------------------------------------------- Information section ---------------------------- */
#container {
    grid-column: 2/11;

    padding-right: 50px;
    
    overflow: hidden;
}

#container > div {
    overflow: auto;

    border-radius: 40px;
}

#container .files {
    width: 100%;
    height: 50vh;
    padding: 40px max(30%, 360px) 20px 40px;

    border-radius: 40px;
    background-color: var(--green);

    overflow: auto;
}

#container .files h2 {
    color: var(--white);
    font-size: var(--font_xl);
    font-weight: 500;
    letter-spacing: 8px;

    margin-bottom: max(1.5vh, 15px);
}

#container .notifi {
    display: flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 10px;

    background-color: var(--green_light);
    border-radius: 20px;
    cursor: pointer;
}

#container .notifi div:first-child {
    width: 10%;
}

#container .notifi div:last-child {
    width: 90%;
}


#container .notifi h3 {
    line-height: 120%;
    color: var(--black);
}






#container h2 {
    font-size: calc(var(--font_xl) + 20px);
    letter-spacing: 4px;
    color: var(--green);

    margin: 8vh 5px 4vh;
}






.project_box {
    padding: 20px;

    border-radius: 40px;

    display: grid;
    grid-template-columns: 30% 70%;
}

.project_box > div {
    padding: 20px;
}

.project_box:nth-child(odd) {
    background-color: var(--green_light);
}

.project_box :is(h2, h3) {
    margin-bottom: 10px;
    color: var(--green_darker);
}

.project_preview {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

#pdf_error {
    margin: 10px 0 10px;
    color: var(--red);
}

iframe {
    border-radius: 20px;
}








/* ------------------------------------------------------------------------ Tablets --------------------------- */
@media screen and (min-width: 801px)  and (max-width: 1024px) and (orientation: portrait) {
    #container .files {
        width: 100%;
        padding: 20px;
    }

    .project_box {
        padding: 0;
        grid-template-columns: 100%;
    }
}




/* ------------------------------------------------------------------------ Mobile --------------------------- */
@media screen and (max-width: 800px) and (orientation: portrait) {
    main {
        grid-template-columns: 15% 5% repeat(8, 10%);
    }

    #information_text_vertical {
        height: 90%;
    }

    #information_text_vertical :is(h1, h2, h3) {
        font-size: calc(var(--vh) * 4);
        letter-spacing: 4px;
    }

    #container {
        grid-column: 2/11;
        height: 100%;

        padding-right: 10px;
    }

    #container h2 {
        font-size: var(--font_xl);
    }

    #container .files {
        width: 100%;
        padding: 20px;
    }

    #container .notifi {
        width: 100%;
    }

    #container .notifi div:first-child {
        width: 20%;
    }

    #container .notifi div:last-child {
        width: 80%;
    }

    #container .notifi h3 {
        font-size: var(--font_s);
    }



    .project_box {
        padding: 0;
        grid-template-columns: 100%;
    }

    .project_box p {
        font-size: var(--font_s);
    }
}


@media screen and (max-width: 950px) and (orientation: landscape) {
    main {
        grid-template-columns: 5% 15% repeat(8, 10%);
    }

    #information_text_vertical {
        height: 100%;
    }

    #information_text_vertical :is(h1, h2, h3) {
        font-size: calc(var(--vh) * 5);
        letter-spacing: 2px;
    }

    #container {
        grid-column: 2/11;
        height: 100%;

        padding-right: 10px;
    }

    #container h2 {
        font-size: var(--font_l);
    }

    #container .files {
        width: 100%;
        padding: 20px;
    }

    #container .notifi {
        width: 100%;
    }

    #container .notifi div:first-child {
        width: 10%;
    }

    #container .notifi div:last-child {
        width: 90%;
    }

    #container .notifi h3 {
        font-size: var(--font_s);
    }



    .project_box {
        padding: 10px;
        grid-template-columns: 100%;
    }

    .project_box p {
        font-size: var(--font_s);
    }
}