* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: young;
  src: url('../css/fonts/Young.ttf') format('truetype');
  letter-spacing: 3px;
}

html {
  height: 100vh;
  min-height: 100%;
}

body {
  font-family: young, Arial, Helvetica, sans-serif;
  color: black;
  font-size: 22px;
  line-height: 1.8;
  overflow-x: hidden;
}

h3 {
  color: black;
}

@media only screen and (max-width: 767px){
  body {
    font-size: 18px; 
  }
  h1,h2 {
    font-size: 30px;
  }
}

/* hero image */

#full-image {
  position: fixed;
  z-index: -2;
  background-image: url("../img/canvasmain1.jpg");
  background-repeat: no-repeat;
  background-size: scroll;
  top: -50px;
  left: 0;
  margin: 0 auto;
  width: 100%;
  min-height: 100%;
}

@media (max-width: 916px) {
  #full-image {
    background-image: url("../img/canvasmain1.jpg");
  }
}

@media (max-width: 769px) {
  #full-image {
    background-image: url("../img/canvasmain2.jpg");
  }
}

@media (max-width: 628px) {
  #full-image {
    background-image: url("../img/canvasmain3.jpg");
  }
}

@media (max-width: 500px) {
  #full-image {
    background-image: url("../img/canvasmain4.jpg");
    top: 50px;
  }
}
 /* text on image */

#hero-flex{
  padding-top: 300px;
}

a#language {
  float: right;
  padding: 2% 4% 0 0;
  color: lightgrey;
  font-size: 0.7em; 
}

.hero-container {
  display: inline-block;
  float: left;
  padding-left: 50px;
}

.hero-content {
  display: inline-block;
  float: left;
  text-align: left;
  padding-top: 10px;
  padding-left: 50px;
  min-width: 80%;
}

.hero-content h1#underName {
  margin-top: -20px;
  font-size: 24px;
}

#bucket {
  width: 90px;
  border: 1px solid black;
}

@media only screen and (max-width: 767px){
  #hero-flex {
    padding-top: 200px;
  }
  .hero-content {
    font-size: 20px;
    padding-left: 15px;
  }
  .hero-container {
    padding-left: 15px;
  }
}

@media only screen and (max-width: 539px){
  .hero-content {
    margin-top: -10px;
  }
}

#description {
  clear: both;
  z-index: 2;
  display: flex;
  padding: 10% 2%;
  background-color: #ff6161;
  margin-top: 170px;
}

@media (min-width: 768px) {
  #full-image {
    margin-top: 40px;
  }
}

.desc {
  color: white;
}

#article {
  width: 70%;
  padding-left: 3%;
  padding-right: 2%;
}

#aside {
  padding-left: 3%;
  width: 27%;
  border-left: 1px solid lightgrey;
}

@media only screen and (max-width: 767px){
  #description {
    display: block;
  }
  #article {
    width: 100%;

  }
  #aside {
    width: 100%;
    border: none;
    text-align: center;
  }
}

  /*style for section padImage*/
#padImages {
  padding: 9% 0 8%;
  background-color: #edecea;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-around;
  clear: both;
}

.four {
  padding-top: 30px;
  width: 400px;
}

.one {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  display: block;

}

@media only screen and (max-width: 600px){
  .coverPhone {
    display: none;
  }
  .coverIpad {
    display: block;
  }
}
@media only screen and (min-width: 600px){
  .coverIpad {
    display: none;
  }
}

   /*section pour bouton download*/

#download {
  background-color: #edecea;
  text-align: center;
  padding: 55px;
}

#down {
  width: 180px;
}

  /*style pour section goal with big image*/
#goal { 
  background-color: #ff6161;
}

#goal h2 {
  color: black;
  text-align: center;
}

.text {
  margin: 0 auto;
  padding: 10% 4%;
}

.imageDiv {
  min-width: 220px;
}

/* style section experience video and text*/

#experience {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-left: 5%; 
  background-color: #edecea;
}

#pictureExperience {
  padding-top: 80px;
  margin-bottom: -130px;
}

#pad {
  width: 400px;
}

video {
  position: relative;
  bottom: 280px;
  width: 324px;
}

#video {
  margin-bottom: -280px;
}

#pExperience {
  color: #808090;
}

@media only screen and (max-width: 933px){
  #experience {
    display: block;
    padding: 0;
  }
}

@media only screen and (max-width: 510px){
  #pad {
    width: 270px;
  }
  video {
    width: 218px;
    bottom: 191px;
  }
  #video {
    margin-bottom: -200px;
  }
}

/* style footer */

footer {
  padding-top: 10%;
  background-color: black;
  font-size: 0.8em;
}

footer h3 { 
  color: white;
  font-size: 18px;
}
footer #copy { color: #808090; }

/* two columns of footer */

.flexFooter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  }

.column {
  text-align: center;
  width: 48%;
  color: grey;
  padding: 0 4% 3%;
}

@media only screen and (max-width: 767px){
  .column {
    display: block;
    width: 95%;
  }
}

/* envelope */
.fa {
  color: #ff6161;
  font-size: 40px;
}

 /* button to subscribe */

button {
  background-color: transparent;
  border: none;
  width: 80px;
}
/* modal style for subscribe email */

.modal1,.modal2,.modal3 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #edecea;
    margin: auto;
    padding: 25px; 
    width: 85%;
    color: black;
}

/* modal content */
input,textarea {
  padding: 10px;
  border: 1px solid black;
  border-radius: 4px;
  margin-top: 3%;
}

textarea {
  width: 100%;
  resize: none;
}

input[type=text], input#emailInfo{  
  width: 80%;
}

input#emailInput {
  width: 90%;
  border: none;
}
::placeholder {
  color: lightgrey;
  font-size: 1.2em;
  padding-left: 5px;
}

input#subscribe {
  width: 150px;
}

input[type="submit"] {
font-size: 17px;
}

@media only screen and (max-width: 767px){
  form {
    width: 85%;
    margin: 0 auto;
  }
}

@media (max-width: 580px) {
  input[type=text],input#emailInfo {
    width: 100%;
  }
  .modal form {
    margin-top: 20px;
  }
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#appStore {
  margin-top: 40px;
}

.apple {
  width: 135px;
  margin-top: 8px;
}

#copy {
  padding: 5%;
  margin: 0 3%;
  border-top: 1px solid grey;
  text-align: center;
  color: grey;
  font-size: 12px;
}
