
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
@font-face {
  font-family: "Khand";
  src: url(‘fonts/Khand-Regular.woff2’) format(‘woff2’), url(‘fonts/Khand-Regular.ttf’) format(‘truetype’),
    url(‘fonts/Khand-SemiBold.ttf’) format(‘truetype’);
}
@font-face {
  font-family: "LondrinaShadow";
  src: url(‘fonts/LondrinaShadow-Regular.woff2’) format(‘woff2’), url(‘fonts/LondrinaShadow-Regular.ttf’) format(‘truetype’);
}

body {
  width: 100%;
  font-size: 25px;
  color: white;
  font-family: "khand", SemiBold;
}
/*.scroll */
.container {
  min-width: 50vw;
  min-height: 100vh;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: block ruby;
  /*position: fixed;
    bottom: 0;
    left: 0;*/
}
.contenue {
  width: 100vw;
  display: flex;
  padding-top: 108px;
}
main {
  overflow-y: hidden; 
  display: flex;
}
/* ----------- MENU ---------- */
nav {
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
}
body #menu {
  font-family: "khand", SemiBold;
  padding-top: 20px;
}
#phone {
  display: none;
}
#menu {
  display: flex;
  width: 100%;
  margin: 0 auto;
  position: fixed;
}
#menu ul,
li a {
  padding: 10px;
  list-style: none;
  text-decoration: none;
  color: white;
}
#menu,
#menu ul {
  padding: 0;
  margin: 0;
}
#menu ul li {
  display: inline-block;
}
#menu ul {
  position: relative;
  display: inline;
}
.projet{
  display: flex;
  width: 85px;
  transition: width 250ms ease-in-out;
}
.projet:hover{
  width: 540px;
}
.projet a{
  padding: 0 10px;
}
#menu .sous{
  opacity: 0;
  transition: opacity 300ms ease-in-out;
  display: flex;
  max-height: 1em;
  overflow: hidden;
  white-space: nowrap;
}
#menu .projet:hover .sous {
  opacity: 1;
}
#menu .sous::before {
  margin-left: 0;
}
nav a:hover:before {
  width: 100%;
  left: 0;
}
#menu li:last-child a:after {
  display: none;
}
#menu a {
  transition: 0.5s all;
}
#menu a:hover {
  color: #ee8cfa;
  transition: 0.5s ease-out;
}
/* ---------- Body ---------- */
.typewrite {
  font-family: "Londrina Shadow", cursive;
  font-size: 70px;
  color: white;
  text-decoration: none;
}
.col2 {
  width: 48%;
  margin: 0 1.5%;
}
.col2 .texte {
  text-align: left;
}
.col2 p {
  line-height: 1.5;
  margin-left: 30px;
  margin-top: 80px;
}
.col3 {
  width: 98%;
  margin: 0 1.5%;
  position: relative;
}
.image {
  padding-top: 40px;
  display: flex;
  justify-content: space-around;
}
.image img {
  width: 15%;
  height: auto;
}
.col3 .legende {
  padding-top: 72px;
  display: flex;
  justify-content: space-around;
}

/* ---------- Contact ---------- */
input {
  margin-bottom: 20px;
}
input[type="text"],
[type="email"],
[type="tel"] {
  background: none;
  border: none;
  border-bottom: 1px solid white;
  font-family: "khand", SemiBold;
  width: 70%;
  padding: 10px;
  font-size: 20px;
  color: white;
}
input[type="submit"] {
  text-align: center;
  font-family: "khand", SemiBold;
  font-size: 20px;
  width: 50%;
  margin: 30px 0;
  transition: all 1s;
}
::placeholder {
  color: white;
}
textarea.form-control {
  font-family: "khand", SemiBold;
  resize: vertical;
  background: none;
  border: 1px solid white;
  width: 72%;
  height: 70px;
  outline: none;
  color: white;
  padding-left: 8px;
  font-size: 20px;
}
input[type="submit"]:hover {
  background-color: rgba(0, 0, 0, 0.065);
  color: white;
  transition: all 1s;
}
#Envoyez:focus {
  border: none;
}
input {
  border: none;
  outline: none;
}

/* ---------- PAGES ---------- */

.col1 {
  width: 100%;
  margin: 0 1.5%;
}
.col1 .Cadre {
  display: flex;
  justify-content: left;
}
.Cadre .Projet img {
  height: 250px;
  width: 100%;
  margin: 1.5% auto;
  transition: 0.5s all;
}
.Cadre .Projet img:hover {
  background-color: white;
  opacity: 0.1;
  transition: 0.5s all;
}
.col1 .texte {
  text-align: left;
}
.col1 p {
  line-height: 1.5;
  margin-left: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media screen and (max-width: 992px) {
  #menu {
    display: none;
  }
  #phone {
    display: block;
  }
  .phone {
    background-color: #36383f;
    border-radius: 40px;
    width: 300px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 30px 50px 100px #85888c;
  }

  #menuToggle {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 25px;
    left: 25px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle input {
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
  }

  #menuToggle span {
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  #menuToggle span:first-child {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -1px);
    background: #36383f;
  }
  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #navigate {
    position: absolute;
    font-size: 30px;
    width: 180px;
    height: 100vw;
    box-shadow: 0 0 10px #85888c;
    margin: -50px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    background-color: black;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  #navigate li {
    padding: 10px 0;
    transition-delay: 2s;
  }
  #navigate li a {
    color: gray;
    transition: all 0.8s;
  }
  #navigate a:hover {
    color: #ee8cfa;
    transition: all 0.8s;
  }

  #menuToggle input:checked ~ ul {
    transform: none;
  }
  .col2 {
    width: 46%;
    margin: 0 2.5%;
  }
  .col2 img {
    width: 85%;
  }
  .typewrite {
    font-size: 55px;
  }
  .col2 p {
    font-size: 20px;
  }
  .col2 .contact {
    text-align: center;
  }
  .contact input[type="submit"] {
    align-content: flex-start;
    display: flex;
    margin-left: 55px;
  }
}
@media screen and (max-width: 771px) {
  .col2 {
    width: 48%;
    margin: 0px 1.5%;
  }
  .col2 p {
    font-size: 16px;
  }
  .typewrite {
    font-size: 45px;
  }
  .col2 {
    text-align: center;
  }
}
@media screen and (max-width: 576px) {
  .container {
    min-width: 50vw;
    min-height: 100vh;
    display: -webkit-inline-box;
    display: -moz-inline-box;
  }
  .contenue {
    width: 100vw;
    display: block;
    padding-top: 90px;
  }
  .col2 {
    margin: 0 2%;
    text-align: center;
    width: auto;
  }
  .typewrite {
    font-size: 40px;
  }
  #navigate {
    width: 100vh;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
  }
  .col2 p {
    margin-top: 25px;
  }
  #ContactForm {
    margin-top: 20px;
  }
  input[type="text"],
  [type="email"] {
    width: 75%;
    font-size: 15px;
  }
  textarea.form-control {
    width: 77%;
  }
  .contact input[type="submit"] {
    margin: 5% auto;
  }
}

@media (min-width: 700px) {
  main {
    overflow-x: hidden;
  }
}
