@import url(./vars.css);

@font-face {
  font-family: argone;
  src: url(../fonts/Argone\ W00\ Regular.ttf);
}

@font-face {
  font-family: helvetica;
  src: url(../fonts/HelveticaLTStd-Cond.otf);
}

@font-face {
  font-family: Lucida;
  src: url(../fonts/LucidaGrande.ttc);
}

@font-face {
  font-family: Bocadillo;
  src: url(../fonts/DK\ Bocadillo.otf);
}

body {
  background-color: var(--main-color);
  margin: 0;
  text-align: center;
	font-family: helvetica, sans-serif;
  color: var(--white);
}

.nav-admin {
  background: #282828;
  height: 80px;
  font-family: helvetica;
  font-size: 1.1em;
  justify-content: center;
}

nav {
    background: #ffffff;
    height: 70px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

nav img {
    width: 5em;
}

h1 {
    color: var(--white);
    font-family: Bocadillo, sans-serif;
    font-size: 3em;
    font-weight: 900;
    text-align: center;
  }

h2 {
    color: var(--white);
    font-family: Helvetica, sans-serif;
    font-size: 2.8em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
}

h3 {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-family: Bocadillo, sans-serif;
    font-size: 2.5em;
    font-weight: 900;
    text-align: center;
    margin: 0 auto;
}

h4 {
  color: var(--white);
  font-family: Lucida, sans-serif;
  font-size: 1.5em;
  font-weight: 900;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero {
    min-height: 90vh;
    background-image: url(../assets/img/thon_saupiquet2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-shadow: 1px 2px 2px black;
  }

.info {
  width: 60%;
  margin: 0 auto;
  padding: 2em;
}

.hero img {
  width: 16vw;
}

.play-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: var(--white);
    color: var(--main-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.5em;
    padding: 0.4em 1.4em;
    font-weight: 600;
    margin-bottom: 10vh;
    transition: all .4s ease-in-out;
}

.small-button {
    background-color: var(--main-color);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-family: Helvetica, sans-serif;
    font-size: 1.2em;
    padding: 0.2em 1.1em;
    font-weight: 600;
    transition: all .4s ease-in-out;
    border: none;
    margin-top: 0.5em;
}

.play-button:hover, .small-button:hover {
    background: linear-gradient(to right, #FED925, #102bb1, #001689);
    color: white;
    background-size: 350% 100%;
    background-position: 100% 0;
}

.howto {
    padding: 5vh 0;
    background-size: 10% auto;
    background-repeat: no-repeat;
    background-position-x: 6em;
    background-position-y: 18em;
    background-image: url(../assets/img/MIETTES_THON_PIMENT_160G.png);
}

.howto::before {
        content: "";
        position: absolute;
        right: 0rem;
        width: 30rem;
        height: 20rem;
        background-size: 50% auto;
        background-repeat: no-repeat;
        background-image: url(../assets/img/tomato-bg.png);
    }

.cards-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 60vw;
    margin: 0 auto;
    padding: 10vh 0 20vh 0;
}

.card {
    background-color: var(--main-color);
    box-shadow: rgba(22, 22, 41, 0.25) 0px 40px 80px -20px, rgba(0, 0, 0, 0.2) 0px 20px 40px -30px;
    color: var(--black);
    background-color: #ffffff;
    width: 25%;
    font-weight: 300;
    border-radius: 30px;
    padding:  1.5em;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    transition: all .4s ease-in-out;
    margin: 0 auto;
    text-shadow: none;
}

.howto .card p {
  font-size: 1.1em;
  margin: 0 auto;
  font-weight: 400;
}


.howto .card .number {
    color: var(--secondary-color);
    font-family: Lucida;
    font-weight: 800;
    font-size: 2em;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 0;
    margin-bottom: 15px;
}

footer {
    background-color: var(--main-color);
    color:var(--white);
    padding: 2em 0;
}

footer .container {
	margin:auto;
}

footer .container .row {
	display: flex;
  width: 80vw;
	flex-wrap: wrap;
  justify-self: center;
  align-items: center;
  justify-content: space-between;
    
}

.footer-col {
   width: 45%;
   padding: 0 15px;
}

.footer-col h4 {
	font-size: 18px;
	color: var(--white);
	text-transform: uppercase;
    margin-top: 0;
	font-weight: 800;
	position: relative;
}

.footer-col a {
	font-size: 16px;
	color: var(--white);
	text-decoration: none;
	font-weight: 300;
	display: block;
	transition: all 0.3s ease;
}

.footer-col a:hover {
	color: var(--white);
	transform: scale(1.2);
}

.footer-col .social-links a {
	display: inline-block;
    font-size: 2em;
	height: 50px;
	width: 50px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 50px;
	border-radius: 50%;
	color: var(--white);
	transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
	color: var(--dark);
	background-color: var(--white);
  -webkit-transform:scale(0.8);
  -moz-transform:scale(0.8);
  -ms-transform:scale(0.8);
  transform:scale(0.8);
}


@keyframes fadeInUp {
    0% {
      transform: translateY(100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0%);
      opacity: 1;
    }
  }
  
  .fadeInUp-animation {
    animation: 1.5s fadeInUp;
  }

  #confetti-canvas {
    position: fixed; 
    z-index: 999; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    pointer-events: none;
  }

  form {
    text-align: left;
  }

  .text-input {
    border: solid 1px rgb(162, 183, 204);
    padding: 0.5em;
    margin: 0.2em 0;
    border-radius: 5px;
  }

  .yeah {
    width: 80%;
    margin: 0 auto;
    text-align: center;
  }

  .modal h1, .modal h2 {
    color: #1d1d1d;
    font-size: 1.5em;
    text-shadow: none;
    text-align: left;
  }

  .modal h2 {
    color: #1d1d1d;
    font-size: 1em;
    text-align: left;
  }

  .modal-body {
    text-align: left;
    color: black;
  }

  .social-links a {
    display: inline-block;
    font-size: 1.4em;
    height: 44px;
    width: 44px;
    background-color: var(--white);
    margin:0 10px 10px 0;
    text-align: center;
    line-height: 44px;
    border-radius: 50%;
    color: var(--main-color);
    transition: all 0.5s ease;
  }
 
  .social-links a:hover {
    color: var(--dark);
    background-color: var(--main-color);
    -webkit-transform:scale(0.9);
    -moz-transform:scale(0.9);
    -ms-transform:scale(0.9);
    transform:scale(0.9);
  }
  

/*GAME*/

  .p5Canvas {
    border-radius: 15px;
    margin-top: 30vh !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    }