body {
    margin: 0;
    font-family: 'Rubik', sans-serif !important;
    font-size: 1em !important;
}

a {
    color: #007bff;
}

.active {
    border-bottom: 1px dotted white;
}

nav a:hover {
    color: white !important;
}

.lien:hover {
    color: #0056b3;
}

/* MENU */

nav {
    font-family: 'Playfair Display', serif;
    background-color: #4d0a58;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    margin: 0;
    height: 60px;
}

nav ul li {
    margin-right: 30px;
}

nav ul a {
    text-decoration: none;
    color: white;
}

nav ul a:visited {
    color: white;
}

#menu-burger, #menu-burger-cross {
    display: none;
}

header {
    display: flex;
    justify-content: center;
}

header img {
    width: 98vw;
}

/* MAIN */

main {
    display: flex;
    justify-content: center;
}

/* CONTAINER avec ASIDE */

#profile-container {
    display: none;
    position: relative;
    top: 0;
    height: 100vh;
    padding-left: 30px;
}

#profile, #cross {
    position: relative;
    top: 50vh;
    background-color: #cfeaff;
    border-radius: 30px;
    width: 56px;
    height: 60px;
}

aside {
    width: 25%;
    height: 93vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    position: sticky;
    top: 53px;
    background-color: #cfeaff;
    box-shadow: 10px 10px 20px 0px rgb(125 170 205);
}

#me {
    margin-top: -50px;
}

.icon {
    text-decoration: none;
}

#quote {
    cursor: pointer;
    margin: 0 50px;
}

/* PAGE ACCUEIL.HTML */

#gif {
    display: flex;
    justify-content: center;
    height: 27vh;
    margin: 5% 0;
}

.legend {
    text-align: center;
}

/* ARTICLE */

article {
    width: 75%;
    padding: 15px;
}

h1 {
    text-align: center;
    font-family: 'The Nautigal', cursive;
    font-size: 4em !important;
    font-weight: bold !important;
    color: black;
    margin: 30px 0;
}

/* PAGE REALISATIONS.HTML */

#realisations {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap ;
    overflow-x: hidden;
}

.realisation {
    width: 400px;
    margin: 20px;
}

.image {
    width: 400px;
    height: 200px;
    border: 1px solid black;
}

.title {
    text-align: center;
    padding-top: 10px;
}

.icons {
    height: 50px;
    display: flex;
    justify-content: center;
    vertical-align: middle;
    padding-top: 15px;
}

.i {
    width: 33px;
    margin-right: 10px;
}

.website {
    width: 32px;
    height: 34px;
    margin-right: 10px;
}

.github {
    width: 33px;
}

[class*="hint--"] {
    text-align: justify;
}

/* PAGE PARCOURS.HTML */

#container-parcours {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(1fr);
}

.section {
    display: flex;
    align-items: center;
}

#section1 {
    grid-row: 1;
    grid-column: 1;
    justify-content : center;
}

#section3 {
    grid-row: 2;
    grid-column: 1;
    justify-content : center;
}

#section5 {
    grid-row: 3;
    grid-column: 1;
    justify-content : center;
}

#section7 {
    grid-row: 4;
    grid-column: 1;
    justify-content : center;
}

#section9 {
    grid-row: 5;
    grid-column: 1;
    justify-content : center;
}

#section11 {
    grid-row: 6;
    grid-column: 1;
    justify-content : center;
}

#section13 {
    grid-row: 7;
    grid-column: 1;
    justify-content : center;
}


#section2 {
    grid-row: 1;
    grid-column: 2;
    justify-content : start;
}

#section4 {
    grid-row: 2;
    grid-column: 2;
    justify-content : start;
}

#section6 {
    grid-row: 3;
    grid-column: 2;
    justify-content : start;
}

#section8 {
    grid-row: 4;
    grid-column: 2;
    justify-content : start;
}

#section10 {
    grid-row: 5;
    grid-column: 2;
    justify-content : start;
}

#section12 {
    grid-row: 6;
    grid-column: 2; 
    justify-content : start;
}

#section14 {
    grid-row: 7;
    grid-column: 2; 
    justify-content : start;
}

#bar1 {
    margin-top: 5vh;
}

#last-bar {
    margin-bottom: 5vh;
}

.bar {
    width: 1.5vw;
    height: 100%;
    background-color: #4d0a58;
}

.circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4d0a58;
}

#circle1 {
    margin-top: -40vh;
}

.square-oriented {
    width: 30px;
    height: 30px;
    position: absolute;
    background-color: #4d0a58;
    -ms-transform: rotate(45deg); /* Internet Explorer */
    -moz-transform: rotate(45deg); /* Firefox */
    -webkit-transform: rotate(45deg); /* Safari et Chrome */
    -o-transform: rotate(45deg); /* Opera */
    margin-top: -14vh;
}

#square2 {
    margin-top: -11vh;
}

#square3 {
    margin-top: -20vh;
}

/* PAGE MISSION_DE_SERVICE.HTML */

table, td {
    border: 1px solid black;
    border-collapse: collapse;
}

table {
    margin-bottom: 50px;
}

td {
    padding: 25px 88px;
    cursor: pointer;
    transition: background-color 0.5s;
}

td:hover {
    background-color: black;
    color: white;
}

.selection {
    background-color: black;
    color: white;
}

#clic, h2 {
    text-align: center;
}

ul {
    text-align: left;
}

h2 + p, h2 + ul {
    margin-top: 45px;
}

.localisation {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

#marqueur {
    width: 23px;
    margin-right: 10px;
}

#content {
    text-align: justify;
    margin-bottom: 50px;
}

#exemple {
    text-decoration: underline;
}

.img-li-mission, .img-mission {
    margin: 25px 0;
}

video {
    margin-top: 25px;
}

.img-li-mission, video {
    width: 64vw;
}

.p-mission, .img-mission {
    width: 72vw;
}

ul.p-mission, ul .img-mission {
    width: 69vw;
}

.ul-mercredi {
    text-align: justify;
}

#container-image {
    display: flex;
    flex-direction: row;
}

#container-image ul {
    width: 40vw;
}

.vertical-image {
    width: auto;
    height: 33vh;
    margin: auto;
}

/* PAGE CONTACT.HTML */

.star {
    color: red;
}

label {
    display: inline-block;
    margin: 20px 0 10px 0;
}

input, textarea, button {
    font-family: inherit;
}

.form-field {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-field:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

textarea.form-field {
    min-height: calc(1.5em + .75rem + 2px);
}

button[type="submit"] {
    color: #fff;
    background-color: #017fed;
    border-color: #017fed;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    margin: 20px 0 0 0;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

button[type="submit"]:hover {
    cursor: pointer;
    background-color: #4d0a58;
    border-color: #4d0a58;
}

/* PAGE MENTIONS_LEGALES.HTML.TWIG */

#first-paragraph {
    margin-bottom: 50px;
}

.mentions-legales {
    text-align: justify;
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #4d0a584d;
    margin-top: 35px;
}

footer p:first-child {
    margin: 16px 21px;
}

footer p:last-child {
    margin: 0 21px 16px 21px;
}

/* POUR LES PORTABLES */

@media screen and (max-width: 480px) {
    
    /* Menu burger */
    nav {
        min-height: 37px;
        height: auto;
    }
    nav ul {
        display: none;
    }
    nav.open {
        height: 115px;
        padding: 35px 0 15px 0;
    }
    nav ul.open {
        display: flex;
        flex-direction: column;
        padding-top: 25px;
    }
    nav ul li::before, nav ul li::after {
        box-sizing: unset !important;
    }
    nav ul.open li {
        padding-bottom: 5px;
    }
    .menu-icons {
        width: 35px;
    }
    #menu-burger, #menu-burger-cross {
        position: absolute;
        top: 0;
        right: 0;
        margin: 1px 7px;
    }
    .iconActive {
        display: block !important;
    }
    .iconNonActive {
        display: none !important;
    }

    /* Page d'accueil */
    #container {
        display: flex;
        position: fixed;
        top: 0;
        left: -86vw;
        z-index: 100;
        height: 100vh;
        transition: left ease 0.25s;
    }
    aside {
        height: 100vh;
        width: 80vw;
    }
    #profile-container {
        width: 20vw;
        display: block;
    }
    #me {
        width: 80vw;
    }
    #container.open {
        left: 0;
        background-color: rgba(0, 0, 0, 0.15);
        transition: left ease 0.25s;
    }
    #container.open #profile-container {
        padding-left: 10px;
    }

    /* Page des réalisations */
    .realisation {
        width: 300px;
        margin: 20px 0;
    }
    .image {
        width: 99%;
        height: auto;
    }
    #rectangle {
        width: 7vw;
        height: 985px;
        margin-top: 2vh;
    }

    /* Page du parcours */
    .circle {
        margin-top: -8vh;
    }
    
    #square1, #square2 {
        margin-top: -26vh;
    }

    #square3 {
        margin-top: -35vh;
    }

    #last-bar {
        align-self: flex-start;
        height: 15%;
    }

    /* Page de la mission de service */
    td {
        padding: 20px 10px;
    }

    ul.p-mission {
        padding-left: 0;
    }

    /* Page de contact */
    article {
        margin: 0!important;
    }
}