/* CSS GLOBALE */

@import url('https://fonts.googleapis.com/css2?family=Varela+Round');
@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@400;700');

html{ 
    min-height: 100vh;
    margin: 0;
    width: 100%;
}
body{
    height: auto;
    overflow:auto;
    margin: 0;
    width: 100%;
}
body::after{
    clear: both;
    content: "";
    display: table;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Spartan", sans-serif;
    font-weight: 700;
}

p, input, a, .info, li {
    font-family: "Varela Round", sans-serif;
}

.info {
    width: calc(100% - 6em - 75px);
    min-height: 65px;
    margin: 1em;
    padding: 1em 2em;
    padding-left:75px;

    position:relative;
    display:inline-block;

    background-color: #0fc2eb30;
    border-radius: 10px;
    border: 3px solid #24D2F930;

    font-style: italic;
    color: #2E4057;

    vertical-align: middle;
}

.info::before {
    width: 70px; 
    height: 70px;

    position:absolute;
    left:5px;
    display: inline-block;

    background-image: url('info_icon.svg');
    background-size: 64px 64px;

    content:"";
}

a:not(.link-parent) {
    position: relative;
    color: #F18F01;
    text-decoration: none;
}
  
a:not(.link-parent)::before, a:not(.link)::after {
    position: absolute;
    bottom: 0;
    width: 0;
    background: transparent;
    content: "";
    height: 1px;
    transition: width 0.5s, background 0.5s;
}
  
a:not(.link-parent)::after {
    left: 50%;
}
  
a:not(.link-parent)::before {
    right: 50%;
}
  
a:not(.link-parent):hover::before, a:not(.link-parent):hover::after {
    background: #F18F01;
    width: 50%;
}

/* EN TETE */

#header {
    width: 100%;
    text-align: center;
}

/* TITRE DE LA PAGE */

#title {
    width: calc(100% - 4em);
    padding: 0 2em;

    background-color: #F1F2F6;
    font-size: 1.2em;

    border-bottom: 1px solid #A1A2A6;
    border-top: 1px solid #A1A2A6;
}

/* MENU */

#menu {
    float: left;
    padding: 0 2em;
    width: calc(30% - 4em);

    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 10px;
}

.link-parent {
    color: white;
    text-decoration: none;
}

.link {
    width: calc(100% - 2em);
    padding: 0.7em 1em;
    background-color: #99C24D;
    border-radius: 10px;
    border: 1px solid #99C24D;
}

.link#onthis {
    background-color: white;
    color: #99C24D;
}

.link#onthis::after {
    width: 32px; 
    height: 32px;

    position:absolute;
    right: 35px;
    display: inline-block;

    background-image: url('turtle.svg');
    background-size: 32px 32px;
    filter: invert(84%) sepia(6%) saturate(3229%) hue-rotate(34deg) brightness(82%) contrast(103%);

    content:"";
}

/* CORPS DE LA PAGE */

#content {
    float: right;
    padding: 0 2em;
    width: calc(70% - 4em);
    min-height: 90vh;
    font-size: 1.2em;
    text-align: justify;
}

/* BAS DE LA PAGE */

#footer {
    float: left;
    width: calc(100% - 14em);
    padding: 4em 7em;
    position: relative;
    z-index: 999;

    color: #F1F2F6;
    background-color: #2F2D2E;
    text-align: center;
}