html,
body {
    padding: 0;
    margin: 0 auto;
    background-color: black;
    color: white;
    font-family: 'Lato', sans-serif;
    max-width: 1920px;
    height: 1000px;
}

h1 {
    font-weight: bolder;
    margin-top: 5px;
    padding: 0;
}

h3 {
    font-size: 1.8em;
    font-weight: bolder;
    margin-top: 5px;
    padding: 0;
}

#nom {
    z-index: 3;
    position: absolute;
    margin-left: 2%;
    margin-top: 2%;
    font-size: 1.2em;
}

#nom h1 {
    margin-bottom: 10px;
}

h2 {
    padding: 0;
    margin: 0;
}

#bg-head {
    height: auto;
    width: 100%;
    z-index: 0;
    margin-top: -80px;
}

a {
    color: white;
    text-decoration: none;
    display: block;
}

p {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.2em;
}

ul {
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

ul li a img {
    width: 300px;
    height: 300px;
    float: left;
    border-radius: 20px;
}

ul li {
    list-style: none;
    text-decoration: none;
    height: 300px;
    width: 50%;
    margin: 0 auto;
    color: black;
    padding: 15px;
    margin-top: 20px;
}

ul li:last-of-type {
    margin-bottom: 20px;
}

ul li a {
    height: 300px;
    width: 100%;
    padding: 15px;
    transition: ease-in-out 0.3s;
    border-radius: 20px;/*
    -webkit-box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 13px 1px rgba(0, 0, 0, 0.1);
*/

}

ul li a:hover {
    padding: 15px;
    height: 300px;
    width: 100%;
    border-radius: 20px;/*
    -webkit-box-shadow: 0px 10px 13px 1px rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 0px 10px 13px 1px rgba(255, 255, 255, 0.4);
    box-shadow: 0px 10px 13px 1px rgba(255, 255, 255, 0.4);
*/
    background-color:#222;
}

ul li a div {
    padding-left: 320px;
}

#scroll {
    background-color: ;
    padding: 5px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    font-weight: bold;
    font-size: 1.5em;
    display: block;
    position: absolute;
    width: 10%;
    text-align: center;
    margin: 45% auto;
    margin-left: 45%;
    margin-right: 45%;
    animation: slider 3s alternate infinite;
    color: white;
    z-index: 3;
}

@keyframes slider {
    0% {
        margin-top: 42%;
        color: rgba(0, 0, 255, 1);
    }

    100% {
        margin-top: 45%;
        color: rgba(255, 0, 255, 1);
    }
}

.social {
    font-weight: bold;
    text-align: right;
    position: fixed;
    right: 2%;
    font-size: 1.2em;
    margin-top: 2%;
    z-index: 3;
}



#linkedin {
    margin-top: 2%;
}

#cv {
    margin-top: 3%;
}

.social:visited {
    color: white;
}

.social:hover {
    background: -webkit-linear-gradient(left, #F430F1, #4030F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s ease-in-out;
}
/*

.social::after {
    transition: .6s;
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: blue;
    left: 50%;
    bottom: -25%;
    transform: translate(-50%, -50%);
}


.social:hover::after {
    width: 100%;
}
*/

#name:hover {

    background: -webkit-linear-gradient(left, #F430F1, #4030F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s ease-in-out;
}

b {
    font-family: lato;
}

#about {
    width: 60%;
    margin: 0 auto;
    margin-top: 10%;
    display: block;
    margin-bottom: 10%;
}

#about h2 {
    text-align: center;
    margin-bottom: 60px;
}

#profil {
    width: 40%;
    border-radius: 20px;
    float: left;
    margin-bottom: 100px;
    padding-bottom: 200px;
/*    border: solid 1px white;*/
}

#about p {
    margin-left: 45%;
    text-align: left;
    margin-top: 6%;
    text-justify: auto;
}

h4 {
    font-size: 1.2em;
    text-align: center;
    width: 15%;
    margin: auto;
    margin-top: 4%;
    padding: 1%;
    transition: 0.4S;
}

h4 a:hover {
    background: -webkit-linear-gradient(left, #F430F1, #4030F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s ease-in-out;
}

ul li a h3 {
    font-size: 1.8em;
    font-weight: bolder;
    margin-top: 5px;
    padding: 0;
    display: none;
}

ul li a div h3 {
    font-size: 1.8em;
    font-weight: bolder;
    margin-top: 5px;
    padding: 0;
    display: block;
}

#disclaimer {
    text-align: center;
}

h5 {
    text-align: center;
}

#about h4 {
    padding-bottom: 100px;
}

.scrollTo {
    font-size: 1.5em;
}