/** COMPUTER VIEW   **/

@media (min-width: 1045px) {
    section.info div {
        display: inline;
        width: 50%;
        text-align: center;
    }
    .outer-col-1 {
        width: 17%;
    }
    .outer-col-2 {
        margin-left: 17%;
        width: 100%;
        height: 100%;
    }
    .list>li>a,
    .list>li>b {
        height: 50px;
        padding-left: 20px;
        width: 100%;
        align-items: center;
        display: flex;
    }
    .outer-col-1 {
        position: fixed;
        height: 100%;
        color: white;
        background: black;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .outer-col-1 .me hr {
        border: 1px solid;
        color: deepskyblue;
    }
    /*****************/
    /*  NAVIGATION   */
    /*****************/
    :root {
        --hauteur-menu: 10px;
    }
    .outer-col-1 hr {
        border: 1px solid;
        color: deepskyblue;
    }
    .menu a#semestre {
        font-size: 20px;
    }
    nav {
        position: sticky;
        top: 0;
    }
    nav>ul {
        display: flex;
        text-align: center;
        box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.3);
        height: var(--hauteur-menu);
    }
    nav ul {
        list-style: none;
    }
    nav>ul>li {
        background-color: antiquewhite;
        position: relative;
        height: 100%;
        flex: 1;
    }
    nav>ul>li>a {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    li {
        padding: 3%;
    }
    li a {
        text-decoration: none;
        color: black;
    }
    li>b {
        padding: 8%;
        text-decoration: none;
        color: black;
    }
    .menu>a:after {
        content: '❯';
        font-size: 15px;
        margin-left: 7px;
        display: inline-block;
    }
    .list {
        margin-top: var(--hauteur-menu);
        margin-left: 5%;
        margin-right: 5%;
        width: 90%;
        text-align: left;
        background-color: white;
        border-radius: 2px;
        overflow: hidden;
        max-height: 0;
    }
    nav>ul>li:hover>a {
        color: #2169EC;
    }
    .list>li:hover {
        background-color: rgba(33, 105, 236, 0.3);
    }
    .list>li:hover>a {
        color: white;
    }
    @keyframes rotationFleche {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(90deg);
        }
    }
    @keyframes apparitionSousMenu {
        0% {
            box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0);
            border-top: 3px solid deepskyblue;
        }
        30% {
            box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0.3);
        }
        100% {
            max-height: 50em;
            border-top: 3px solid deepskyblue;
            box-shadow: 0px 3px 3px 1px rgba(0, 0, 0, 0.3);
        }
    }
    .menu:hover>a:after {
        animation: rotationFleche 0.2s linear forwards;
    }
    .menu:hover>.list {
        animation: apparitionSousMenu 1s forwards;
    }
}


/** MOBILE VIEW **/

@media (max-width: 1045px) {
    .me {
        text-align: center;
    }
    .me img {
        width: 95%;
        height: 95%;
    }
    body {
        height: auto;
        font-family: system-ui, sans-serif;
    }
    .outer-col-1 hr,
    .outer-col-1 li.menu {
        height: 0;
        visibility: hidden;
    }
    .outer-col-1 {
        width: 12%;
        position: fixed;
        height: 100%;
        background-color: black;
    }
    .outer-col-2 {
        margin-left: 12%;
        width: 100%;
    }
    section.info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    section.info div {
        width: 100%;
        text-align: center;
    }
    div#tech {
        margin-top: 3%;
    }
    div#tech h3 {
        font-size: 20px;
    }
    p.category {
        font-size: 0;
    }
    .list {
        overflow: hidden;
        max-height: 0;
    }
    /*****************/
    /*  NAVIGATION   */
    /*****************/
}

* {
    box-sizing: border-box;
}

.category {
    font-weight: bold;
    font-size: 25px;
    font-family: system-ui, sans-serif;
}

body {
    background: rgb(235, 243, 243);
    min-height: 100vh;
    margin: 0;
    display: flex;
    margin-bottom: 20px;
}

img {
    margin-top: 5%;
}

ul {
    font-family: system-ui, sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
}

a:link {
    color: deepskyblue;
}

a:visited {
    color: deepskyblue;
}

.outer-col-2 {
    margin-left: 17%;
}

.outer-col-2 h2 {
    display: flex;
    text-align: center;
    font-size: 20px;
    text-decoration: underline;
    font-family: system-ui, sans-serif;
}

.profile {
    display: flex;
    justify-content: center;
}

.me p {
    text-align: center;
    font-size: 20px;
    font-family: system-ui, sans-serif;
}

.me hr {
    border: 2px solid;
    color: goldenrod;
}

img#mail,
img#github,
img#twitter,
img#instagram {
    text-align: center;
    margin-left: 1%;
}

/*****************/


/* INFORMATIONS  */


/*****************/

.outer-col-2 p {
    font-family: system-ui, sans-serif;
}

section.info, section.indexProjects {
    display: flex;
}

section.info div#pres {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 2%;
    margin-right: 1%;
}

section.info div h3, section.indexProjects div h3 {
    text-align: center;
    font-size: 20px;
    font-family: system-ui, sans-serif;
}

section.info div hr, section.indexProjects div hr {
    margin-top: 5px;
    border: 2px solid;
    color: goldenrod;
}

section.info div#pres p {
    width: 60%;
    text-align: justify;
}

section.indexProjects div#projects {
    margin-top: 3%;
    width: 100%;
    margin-left: 2%;
    margin-right: 2%;
}

section.indexProjects div#projects ul>li {
    list-style: none; 
    display: flex;
    justify-content: center;
    padding: 0;
}

section.indexProjects div#projects ul>li>a {
    outline: none;
    text-decoration: none;
    width: 50%;
    display: flex;
    justify-content: center;
    justify-items: center;
    text-align: center;
    color: black;
    margin-top: 4%;
    height: 40px;
    align-items: center;
    border: 3px solid;
    border-color: goldenrod;
    font-size: large;
    font-family: system-ui, sans-serif;
}

section.indexProjects div#projects ul>li>a:hover {
    border-color: deepskyblue;
}

/* Style buttons */

.btn {
    background-color: deepskyblue;
    border: none;
    color: white;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 20px;
}


/* Darker background on mouse-over */

.btn:hover {
    background-color: RoyalBlue;
}


/* SKILLS */

section.info div#tech h4 {
    text-align: center;
    font-size: 15px;
    font-family: system-ui, sans-serif;
}

section.info div#tech h4#web,
section.info div#tech h4#tools {
    margin-top: 5%;
}

section.info div#tech h4#poo,
section.info div#tech h4#bn {
    margin-top: 10%;
}

section.info div#tech {
    margin-left: 1%;
    margin-right: 2%;
}

div#tech p {
    margin-left: 20%;
    text-align: left;
}

div#tech img {
    width: 15%;
    height: auto;
    vertical-align: middle
}

