html {
    font-size: 62.5%;
}
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
}

body, html {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

h1 {
    margin: 0;
    padding: 0;
}
.page {
    height: 100vh;
}
.blog {
    margin: 4em;
}
#page1 {
    position: relative;
    background-color: #f4d942;
}
.title {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
}
.title h1 {
    font-size: 7rem;
    font-weight: bold;
}

.title h2 {
    font-size: 5rem;
    font-weight: bold;
}

.title h3 {
    font-weight: bold;
    color:teal;
}

#page2 {
    position:relative;
    background-color: #00bdbd;
    color: #fff;
}
#page2 .presentation {
    text-align: left;
    position: absolute;
    width: 80%;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    margin: 0 auto;
}
#page3 {
    background-color: #2b334d;
    color: #717c9b;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#page3 section {
    padding: 1rem;
    height: 40%;
    width: 20%;
    border: solid 1px #c6c6c6;
    border-radius: 7%;
}

#page3 p {
    color: #eee;
}

#page4 section {
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

#page4 #domains {
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 90%;
    justify-content: center;
    align-items: stretch;
    width: fit-content;
    margin: 0 auto;
}

#page4 #domains ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

#page4 #domains  ul li {
    width: 200px;
    height: 200px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    position: relative;
    margin-right: 10px;
}

#page4 #domains ul li .fond {
    opacity: 0.25;
    background: white;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#page4 #domains ul li .description{
    opacity: 0;
    position: absolute;
    z-index: 2;
    color: white;
}

#page4 #domains ul li:hover .fond {
    opacity: 0.75;
    background: rgb(50, 50, 50);
    transition: all 0.5s;
}

#page4 #domains ul li:hover .description {
    opacity: 1;
    color: white;
    transition: all 0.5s;
}


#page4 div {
    text-align: center;
}

#page4 div .details {
    font-family: fantasy;
    font-size: 2em;
}


#picasoft {
    background: url(../img/picasoft-outil.jpg) no-repeat -20px -20px / 350px;
}

#glycobar {
    background: url(../img/glycobar-site.jpg) -50px top / 400px;
}

#sweetmom {
    background: url(../img/sweetmom-site.jpg) -50px top / 400px;
}

#ge {
    background: url(../img/ge-turbine.jpg) no-repeat 0 top;
}

#kalray {
    background: url(../img/kalray-processeur.jpg) no-repeat 0 top;
}

#mycv {
    background: url(../img/cv-site.jpg) no-repeat 0 top / 110%;
}

#spacebot {
    background: url(../img/spacebot.jpg) no-repeat center center / 180%;
}

.post .logo {
    width: 10%;
    height: 15%;
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.post {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    margin: 50px 0;
    padding-bottom: 20px;
}

.post h1 {
    font-weight: bold;
    font-family: fantasy;
}

.post .tools {
    font-family: fantasy;
    color:grey;
}

#contact {
    position: relative;
    background-color: #f4f4f4;
}
#contact section {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 2; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
main {
    transition: margin-left .5s;
    padding: 20px;
    margin: 0;
    padding: 0;
}
.burger-menu {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1;
}
.burger-menu p {
    margin: 0;
    padding: 0;
    width: 35px;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
}

.burger div {
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
}

.main {
    position: relative;
}

.section {
    height: 100vh;
    width: 100vw;
}


