/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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: TheFarmerTextured;
  src: url('TheFarmerTextured-Vintage.otf');
}

@font-face {
  font-family: GeneralSansRegular;
  src: url('GeneralSans-Regular.otf');
}

@font-face {
  font-family: GeneralSansSemiBoldItalic;
  src: url('GeneralSans-SemiboldItalic.otf');
}

@font-face {
  font-family: GeneralSansLight;
  src: url('GeneralSans-Light.otf');
}

@keyframes bounce {

  20%,
  50%,
  80%,
  to {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  70% {
    transform: translateY(-15px);
  }

  90% {
    transform: translateY(-4px);
  }
}

/* LOADING PAGE */






.btn {
  font-family: TheFarmerTextured;
  font-size: 5em;
  text-align: center;
  color: sienna;
  background-color: rgba(255, 255, 255, 0.3);
  align-items: center;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  padding: 12px 40px;
  line-height: 57px;
  padding-top: 21px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 1s;
  transition: all ease-in-out .1s;
}



.btn:hover {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.12);
}




#start-btn.btn {
  margin-top: 40px;
  margin-bottom: 180px;
}


body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  font-family: 'GeneralSansLight';
  color: sienna;
  /* line-height: 170%; */
  /* text-align: center; */
}

/* changer la taille des flèches MARCHE PAS  */
#arrows {
  /* box-sizing: border-box;
  height: 40px; */
  display: flex;
  justify-content: space-between;
  width: 25%;
}

#start-screen-container {
  height: 100%;
  /* justify-content: space-around; */
  background-image: url('./images/loadingpage2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#text-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  max-width: 350px;
}


h1 {
  font-family: TheFarmerTextured;
  font-size: 6.5em;
  text-align: center;
  color: rgba(160, 82, 45, 0.6);
  margin-top: 100px;
  margin-bottom: 100px;

}

#intro-paragraph {
  font-family: 'GeneralSansLight';
  color: sienna;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 25px;
  line-height: 170%;
}



/* GAME CONTAINER */

#timer {
  font-family: TheFarmerTextured;
  font-size: 3em;
  text-align: center;
  color: rgba(160, 82, 45, 0.6);
  padding-top: 20px;
  margin-bottom: 50px;
}

#basket {
  width: 170px;
  height: 170px;
  background-image: url('./waste-images/basket.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
}

#game-container {
  background-image: url('./images/game-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%;
}

#game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.waste-item {
  position: absolute;
  top: -80px;
  left: 0;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: center;
}




/* MATURATION STAGE */

#turning-worm {
  width: 300px;
  -webkit-animation: spin 4000ms linear infinite;
  -moz-animation: spin 4000ms linear infinite;
  -ms-animation: spin 4000ms linear infinite;
  animation: spin 4000ms linear infinite;

}


@-ms-keyframes spin {
  from {
    -ms-transform: rotate(0deg);
  }

  to {
    -ms-transform: rotate(360deg);
  }
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


#maturation-stage {
  background-image: url('./images/soil.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



#cool-effect {
  color: white;
  font-size: 6em;
  position: relative;
  animation: bounce 1s linear infinite;
}


/* ENDPAGE */


#end-page {
  background-image: url('./images/YOUWON.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
  display: flex;
  position: absolute;
}

#content-end-page {
  background-color: rgba(255, 255, 255, 0.5);
  width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

#result {
  margin-bottom: 70px;
}

#video-sentence {
  margin-bottom: 20px;
}

#video-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;

}

a{
  color: sienna;
  line-height: normal;
}