html {
  font-size: 100%;
  width: 100%;
}

body {
  background-color: white;
  height: 100svh;
  font-size: 1em;
  font-family: "Lato", sans-serif;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-direction: column;
}

h1 {
  margin-top: 20%;
}

#video-fdl {
  margin-top: 20px;
}

#loader {
  width: 78px;
  height: 78px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -16px;
  margin-top: -16px;
  text-decoration: none;
  list-style: none;
}

#page {
  padding-top: 120px;
  padding-left: 6%;
  padding-right: 6%;
  background-color: #fff;
  position: relative;
  z-index: 3;
  display: block;
  padding-bottom: 140px;
}

#scroll {
  width: 4px;
  height: 30px;
  display: block;
  position: fixed;
  bottom: 90px;
  right: 50%;
  z-index: 80;
  overflow: hidden;
}

#scroll span {
  width: 100%;
  height: 20px;
  display: block;
  background-color: #0000ff;
  animation: 2s linear 0s scrollto infinite;
}

@keyframes scrollto {
  0% {
    transform: translateY(-20px);
  }

  70% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}

#navigation {
  position: fixed;
  height: 120px;
  width: 88%;
  background-color: #fff;
  font-family: "Abril Fatface", cursive;
  top: 0;
  left: 0;
  clear: both;
  margin: 0 6% 0 6%;
  z-index: 50;
}

#nom {
  float: left;
  margin-top: 27.5px;
  margin-bottom: 27.5px;
  color: #000000;
  text-decoration: none;
  font-size: 1.6em;
  padding: 8px 0 8px 0;
}

#baseline {
  display: block;
  margin-top: 0;
  color: #000000;
  text-decoration: none;
  font-size: 0.7em;
}

#logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 78px;
  margin-left: -39px;
  margin-top: -39px;
}
#logo img {
  width: 100%;
  display: block;
  circle: 33%;
}

.logo:hover img {
  -webkit-transform: scale(-1); /* Safari and Chrome */
  -moz-transform: scale(-1); /* Firefox */
  -ms-transform: scale(-1); /* IE 9 */
  -o-transform: scale(-1); /* Opera */
  transform: scale(-1);
}

#menu {
  display: block;
  float: right;
  margin-top: 45px;
  cursor: pointer;
}

.menu-container {
  position: relative;
  display: block;
  width: 32px;
  height: 28px;
}
.menu-container .border {
  position: absolute;
  right: 0;
  display: block;
  height: 4px;
}
.menu-container .border-top {
  top: 0;
}
.menu-container .border-middle {
  top: 50%;
  width: 50%;
  background-color: #000000;
  transform: translateY(-50%);
}
.menu-container .border-bottom {
  bottom: 0;
}
.menu-container .border-top,
.menu-container .border-bottom {
  width: 100%;
  background-color: #000000;
}

.return {
  clear: both;
}

#projects {
  width: 100%;
  list-style: none;
  margin: 0 auto;
  padding-left: 0;
  display: block;
  text-transform: uppercase;
  padding-bottom: 20px;
}

#projects .milieu {
  margin-bottom: 10%;
  margin-top: 10%;
}
#projects li {
  width: 100%;
}
#projects li img {
  width: 100%;
  display: block;
}
#projects a {
  text-decoration: none;
  position: relative;
  display: block;
  overflow: hidden;
}

.info {
  visibility: hidden;
  display: inline-block;
  font-size: 240%;
  color: #000000;
  text-decoration-line: underline;
  text-decoration-color: #0000ff;
  font-family: "Lato", sans-serif;
  margin: 0;
  position: absolute;
  bottom: -30px;
  z-index: 10;
  left: 20px;

  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;

  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.projects img {
  display: block;
  position: relative;
  z-index: 9;
}

.suite {
  position: absolute;
  display: inline-block;
  width: 3px;
  height: 80px;
  right: 50%;
  top: 16%;
  cursor: pointer;
  background-color: #0000ff;
  z-index: 40;
  text-decoration: none;
  list-style: none;
}

.suite2 {
  position: absolute;
  display: block;
  width: 3px;
  height: 80px;
  right: 50%;
  bottom: 20%;
  cursor: pointer;
  background-color: #0000ff;
  z-index: 41;
}

#video {
  width: 100%;
  display: block;
  margin: 0, auto;
}

#nav {
  display: block;
  padding: 60px;
  text-align: center;
}

.link-1 {
  transition: 0.3s ease;
  color: #0000ff;
  font-size: 180%;
  text-decoration: none;
  border-top: 4px solid #000000;
  border-bottom: 4px solid #000000;
  padding: 20px 0;
  margin: 0 20px;
  letter-spacing: 16px;
  line-height: 160px;
}

.link-1:hover {
  border-top: 4px solid #0000ff;
  border-bottom: 4px solid #0000ff;
  padding: 6px 0;
}

#contact {
  background-color: #fff;
  padding-bottom: 15px;
  padding-top: 15px;
  color: black;
  list-style: none;
  text-decoration: none;
  text-align: center;
  font-family: "Lato", sans-serif;
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 67;
}

#contact a {
  text-decoration: none;
  display: inline-block;
}

/*.deal:hover{visibility:hidden;background-image:url(../images/dealrose.jpg);background-repeat: no-repeat;background-position: bottom;transition-duration: 0.1s}*/
#contact h2 {
  float: left;
  width: 100%;
  margin: 0 auto;
  font-size: 1.6em;
  padding-top: 20px;
  padding-bottom: 6px;
}
#mail a {
  width: 100%;
  font-size: 0.7em;
  text-decoration: none;
}

.picto {
  width: 100%;
  text-align: center;
}
.picto a {
  position: relative;
  display: inline-block;
  width: 36px;
  z-index: 49;
}
.picto a .noir {
  width: 100%;
  display: block;
  position: relative;
}
.picto a .rose {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  display: none;
}

#mail {
  color: #000000;
}

#myProject {
  width: 100%;
  list-style: none;
  margin: 0 auto;
  padding-left: 0;
  display: block;
}
#myProject {
  text-decoration: none;
  position: relative;
  display: block;
  overflow: hidden;
}

.titre {
  float: left;
  font-size: 2.4em;
  color: #000000;
  text-decoration-line: underline;
  text-decoration-color: #0000ff;
  font-family: "Lato", sans-serif;
  padding: 10px 0;
  margin: 0 2% 0 0;
  width: 48%;
  text-transform: uppercase;
}

#texte {
  font-family: "Lato", sans-serif;
  padding: 10px 0;
  margin: 0 0 0 2%;
  display: block;
  height: 50px;
  float: left;
  width: 48%;
}

#myProject #galerie {
  width: 100%;
  position: relative;
}
#galerie img {
  width: 100%;
  display: block;
}

#precedent {
  width: 54px;
  height: 87px;
  background-image: url(../images/fleche-precedent.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -43px;
  cursor: pointer;
}

#suivant {
  width: 54px;
  height: 87px;
  background-image: url(../images/fleche-suivant.png);
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -43px;
  cursor: pointer;
}

#images-galerie {
  display: none;
}

#points {
  position: absolute;
  bottom: 1%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
  z-index: 9999;
  text-align: center;
}

#points div {
  width: 14px;
  height: 14px;
  background-color: #000000;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
}

#moi {
  width: 100%;
}

#moi p {
  padding: 100px 20px;
  height: 200px;
  margin: 0;
  float: left;
  width: 48%;
  font-family: "Lato", sans-serif;
  text-align: right;
}

.id {
  width: 100%;
}

.aboutText {
  display: flex;
}

.aboutText .actual {
  color: #0000ff;
}

.tete {
  position: relative;
  display: inline-block;
  width: 400px;
  z-index: 49;
}
.tete .noir {
  width: 100%;
  display: block;
  position: relative;
}
.tete .rose {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  display: none;
}

#pagetype {
  visibility: hidden;
  width: 100%;
  display: none;
}

.return {
  clear: both;
}

#page2 {
  width: 100%;
  background-color: aquamarine;
}

@media screen and (min-height: 882px) {
  #scroll {
    bottom: 20%;
  }
}

@media screen and (max-width: 1200px) {
  #page {
    padding-bottom: 0;
  }
  #contact {
    position: relative;
  }
  .info {
    font-size: 1.8em;
    visibility: visible;
    background-color: white;
  }
  #points {
    position: absolute;
    bottom: 10px;
  }
  #points div {
    width: 10px;
    height: 10px;
  }
  .tete {
    position: relative;
    display: block;
    width: 400px;
    z-index: 49;
    margin: 0 auto;
  }

  #moi p {
    padding: 30px 0;
    text-align: center;
    width: 60%;
    display: block;
    height: 10%;
    font-size: 0.9em;
    margin: 0 auto;
    float: none;
  }

  #texte {
    font-family: "Lato", sans-serif;
    padding: 10px 0;
    margin: 0 0 0 2%;
    display: block;
    height: 100%;
    float: left;
    width: 48%;
  }
}

@media screen and (max-width: 900px) {
  body {
    background-color: #fff;
  }

  #nav-1 .link-1 {
    letter-spacing: 6px;
    line-height: 120px;
    font-size: 1.2em;
  }
  .info {
    font-size: 1.1em;
    bottom: 20px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    opacity: "1";
    background-color: #fff;
  }
  #logo {
    display: none;
  }
  #points {
    position: absolute;
    bottom: 2px;
  }
  #points div {
    width: 10px;
    height: 10px;
  }

  #project {
    padding-bottom: 20px;
  }

  .tete {
    position: relative;
    display: block;
    width: 100%;
    z-index: 49;
  }

  .aboutText {
    flex-direction: column;
  }

  #moi p {
    padding: 10px 0;
    text-align: center;
    width: 90%;
    display: block;
    height: 10%;
    font-size: 0.9em;
    margin: 0 auto;
    float: none;
    text-align: left;
  }

  #moi p:first-child {
    margin-right: 18px;
    padding: 30px 0 20px;
  }

  .titre {
    float: left;
    font-size: 1.6em;
    color: #000000;
    text-decoration-line: underline;
    text-decoration-color: #0000ff;
    font-family: "Lato", sans-serif;
    padding: 10px 0;
    margin: 0 2% 0 0;
    width: 48%;
    text-transform: uppercase;
  }

  #texte {
    font-size: 0.8em;
  }
}

@media screen and (min-width: 2200px) {
  #page {
    padding-top: 6%;
    padding-left: 6%;
    padding-right: 6%;
    background-color: #fff;
    position: relative;
    z-index: 3;
    display: block;
  }

  #navigation {
    position: fixed;
    height: 14%;
    width: 88%;
    background-color: #fff;
    font-family: "Lato", sans-serif;
    top: 0;
    left: 0;
    clear: both;
    margin: 0 6% 0 6%;
    z-index: 50;
  }

  #nom {
    display: inline-block;
    float: left;
    margin-top: 24px;
    margin-bottom: 24px;
    color: #000000;
    text-decoration: none;
    font-size: 3.2em;
    padding: 8px 0 8px 0;
  }

  #baseline {
    display: block;
    margin-top: 0;
    color: #000000;
    text-decoration: none;
    font-size: 0.8em;
  }

  #logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
  }
  #logo img {
    width: 100%;
    display: block;
    circle: 33%;
  }

  .logo:hover img {
    -webkit-transform: scale(-1); /* Safari and Chrome */
    -moz-transform: scale(-1); /* Firefox */
    -ms-transform: scale(-1); /* IE 9 */
    -o-transform: scale(-1); /* Opera */
    transform: scale(-1);
  }

  #menu {
    display: block;
    float: right;
    margin-top: 64px;
    cursor: pointer;
  }

  .menu-container {
    position: relative;
    display: block;
    width: 100px;
    height: 60px;
  }
  .menu-container .border {
    position: absolute;
    right: 0;
    display: block;
    height: 8px;
  }
  .menu-container .border-top {
    top: 0;
  }
  .menu-container .border-middle {
    top: 50%;
    width: 50%;
    background-color: #000000;
    transform: translateY(-50%);
  }
  .menu-container .border-bottom {
    bottom: 0;
  }
  .menu-container .border-top,
  .menu-container .border-bottom {
    width: 100%;
    background-color: #000000;
  }

  #projects {
    width: 100%;
    list-style: none;
    margin: 0 auto;
    padding-left: 0;
    display: block;
    text-transform: uppercase;
  }
  #projects .milieu {
    margin-bottom: 20%;
    margin-top: 10%;
  }
  #projects li {
    width: 100%;
  }
  #projects li img {
    width: 100%;
    display: block;
  }
  #projects a {
    text-decoration: none;
    position: relative;
    display: block;
    overflow: hidden;
  }

  .info {
    visibility: hidden;
    display: inline-block;
    font-size: 4em;
    color: #000000;
    text-decoration-line: underline;
    text-decoration-color: #0000ff;
    font-family: "Lato", sans-serif;
    margin: 0;
    position: absolute;
    bottom: -30px;
    z-index: 10;
    left: 3%;
  }

  nav {
    display: block;
    margin-top: 8%;
    padding: 0;
    text-align: center;
  }

  .link-1 {
    transition: 0.3s ease;
    color: #0000;
    font-size: 8em;
    text-decoration: none;
    border-top: 8px solid #000000;
    border-bottom: 8px solid #000000;
    padding: 20px 0;
    margin: 0 20px;
    letter-spacing: 16px;
    line-height: 400px;
  }

  .link-1:hover {
    border-top: 4px solid #0000ff;
    border-bottom: 4px solid #0000ff;
    padding: 6px 0;
  }

  #myProject {
    width: 100%;
    list-style: none;
    margin: 5.8% auto 0 auto;
    padding-left: 0;
    display: block;
  }
}
