@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body {
    box-sizing: border-box;
    margin: 0;  
}

#wrapper
{
    width: 60%;
    margin: auto;
    display: grid;
    grid-template-columns: 353px 1fr;
    grid-template-rows: 70px 1fr;
    grid-template-areas: 
        "aside header"
        "aside content";
    font-family: 'Roboto', sans-serif;
}

.tof
{
    width: 150px;
    border-radius: 50%;
    position: relative;
    top: 5px;
    left: 30%;
}

header
{
    width: 100%;
    text-align: center;
    grid-area: header;
    color: #455768;
}

header h1
{
    margin: 0;
    padding: 0;
}

header h2
{
    margin: 0;
    padding: 0;
    font-weight: normal;
}

aside
{
    grid-area: aside;
    top: 0px;
    background-color: #455768;
    background-repeat: repeat-y;
    height: 100%;
    padding: 5px;
    color: rgb(153, 182, 207);
    font-size: 0.9rem;
}

aside a
{
    color: rgb(153, 182, 207);
    text-decoration: none;
}

aside a:hover, aside a:active, .url:hover, .url:active {
    color: #D4AC0D;
    font-weight: bold;
    transition: all 0.5s ease 0.1s;
}

li
{
    list-style-type: none;
}

aside ul
{
    padding-left: 5px;
    padding-right: 5px;
}

aside li
{
    padding: 2px;
}

aside h3
{
    margin-top: 50px;
    color: #D4AC0D;
    font-size: 1.1rem;
}

#content
{
    display: flex;
    flex-direction: column;
    width: 100%;
    grid-area: content;
    color: #455768;
    margin-left: 30px;
}

#langages, #frameworks
{
    display: flex;
    margin-bottom: -20px;
}

#content h3
{
    margin-bottom: 0;
    font-size: 1em;
}

#content h2
{
    margin-bottom: 5px;
    font-size: 1.4em;
    text-decoration: underline;
}

.date
{
    background-color: hsla(209, 34%, 34%, 0.8);
    border-radius: 10px;
    color: rgb(155, 185, 209);
    text-align: center;
    width: 85px;
    height: 42px;
}

em
{
    font-weight: bold;
}

#content ul
{
    margin-top: 3px;
}

p{
    margin-top: 3px;
}

table li
{
    font-size: 0.9em;
}

.location
{
    color: #7D6608;
    font-weight: bold;
}

.lastrow
{
    padding-bottom: 10px;
}

.title
{
    font-size: 0.9em;
    font-style: italic;
}

progress {
    margin-left: 5px;
}

#english {
    margin-left: 16px;
}

hr {
    border: 5px hsla(209, 34%, 34%, 0.7) solid;
    border-radius: 5px;
    width: 100%;
}

.url {
    color: hsla(209, 34%, 34%, 0.7);
    font-weight: normal;
}

@media only print {
    li > .icon {
        display: none;
    }

    #wrapper {
        width: 100%;
        grid-template-columns: 200px 1fr;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header h2 {
        font-size: 1.2rem;
    }

    aside {
        border-right: 2px #455768 solid;
        padding-right: 0;
        height: 99vh;
    }

    aside h3 {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    aside a {
        font-size: 0.8rem;
    }

    #content {
        font-size: 0.8rem;
        margin-left: 5px;
    }

    hr {
        border: 1px hsla(209, 34%, 34%, 0.7) solid;
    }

    .tof {
        left: 5px;
    }

    .br {
        display: block;
    }

    progress, #english {
        margin-left: 0; 
    }

    .skills-wrapper {
        display: flex;
        padding-bottom: 5px;
    }

    .print-title {
        text-align: center;
    }

    .front {
        text-align: start;
        margin-left: -35px;
    }
}

@media screen and (max-device-width: 480px) {
    #wrapper {
        width: 100%;
        grid-template-columns: 200px 1fr;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header h2 {
        font-size: 1rem;
    }

    aside {
        padding-right: 0;
    }

    aside h3 {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    aside li {
        font-size: 0.7rem;
    }

    #content {
        font-size: 0.7rem;
        margin-left: 5px;
    }

    hr {
        border: 1px hsla(209, 34%, 34%, 0.7) solid;
    }

    .tof {
        left: 5px;
    }

    label {
        font-size: 0.7rem;
    }

    progress, #english {
       margin-left: 0; 
    }

    #english {
        margin-left: 8px;
    }

    .date {
        width: 64px;
        height: 25px;
    }
}