/**
 * © 2021 Baechler Stéphanie, Gustin Gwenaëlle, Marques Antony 
 * Let's Drop was created as a student project for 624-2 RIA course
 * from HES-SO Valais Wallis / BSc in Business Information Technology
 * Please give credit to us if you're using our code. THX!
 **/
 
 @import url('https://fonts.googleapis.com/css?family=Montserrat:200,400,400i,700|Roboto+Slab:700|Delius:700');
/* game */
* {
    box-sizing: border-box;
    padding:0; 
    border:none; 
    margin:auto;
    font-family: 'Delius', 'Trebuchet MS', Arial, sans-serif;
}

::selection {
  background-color: rgba(255, 255, 255, 0);
}

body, html {
    height: 100%;
    margin: 0;
    background-color: black;
  }
  
#bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  height: 100%;
  max-width: 1500px;
  min-height: 600px;
  max-height: 600px;
  position: relative;
}

#drop {
  display: flex;
  justify-content: center;
}

#droppies {
  position: absolute;
  z-index: 1;
  bottom: 190px;
}

.droppies{
  cursor: grab;
  position: relative;
  margin-left: 10px;
}

#geolocation {
  position: fixed;
  padding-left: 850px;
  width: 1500px;
  top: 320px;
}

#dropzone {
  height: 135px;
  width: 700px;
  position: fixed;
  top: 415px;
}

#dropzone p {
  text-align: center;
  font-size: 1.8em;
  color: white;
}

canvas {
    padding: 0;
    padding-top: 0;
    margin: auto;
    margin-top: 0;
    display: block;
}


/* help container */
/* based on: https://www.w3schools.com/howto/howto_css_tooltip.asp */
#help {
  color: white;
  font-size: 18px;
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 5px 12px;
  border: 1px solid white;
  border-radius: 100%;
}

/* help text */
#help .helptext {
  visibility: hidden;
  width: 400px;
  color: #fff;
  background-color: black;
  text-align: center;

  /* Position the help text */
  position: absolute;
  z-index: 1;
  top: 50px;
  right: 10px;

  /* Fade in help */
  opacity: 0;
  transition: opacity 0.3s;
}

#help:hover .helptext {
  visibility: visible;
  opacity: 1;
}

#geolocation { 
  text-align: left;
  font-size: 1.6em;
  color: #86dbff;
}
