
* {
  box-sizing: border-box;
  */: center;
  font-family: "Pragati Narrow", sans-serif;
}

html {
  background: url("https://i.imgur.com/UTk3vSX.png");
  overflow: scroll;
}

header {
  box-sizing: border-box;
}

h1 {
  margin-right: auto;
  margin-left: auto;
  font-size: 90px;
  line-height: 90%;
}

h2 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 0px;
  margin-top: 0px;
  line-height: 100%;
}

h3 {
  font-size: 25px;
  line-height: 50%;
}

#event-info {
  line-height: 100%;
  font-size: 20px;
}

#homepage-form {
  margin-right: auto;
  margin-left: auto;
}

#main-div {
  width: 350px;
  text-align: center;
  background-color: white;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
  padding-right: 30px;
  padding-left: 30px;
  padding-top: 20px;
  padding-bottom: 0px;
  border-radius: 3px;
}

#explanation-text {
  line-height: 100%;
  font-size: 25px;
  margin-bottom: 0%;
}

fieldset legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

#main-fieldset {
  margin: auto;
  border: 0;
  padding: 0;
}

legend {
  display: none;
}

#homepage-form {
  margin-bottom: 20px;
}

#geolocation-button {
  display: inline-block;
  height: 70px;
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 15px;
  font-size: 27px;
  background-color: #eb5757;
}

#or {
  font-size: 40px;
  margin: 0px;
}

#location-text {
  font-size: 27px;
  margin: 0px;
  margin-top: 18px;
}

#location-input {
  width: 200px;
  height: 53px;
  margin-top: 18px;
  margin-bottom: 20%;
  background-color: #f1eded;
  border: none;
  font-size: 30px;
}

#submit-location-button {
  background-color: #eb5757;
  width: 75px;
  height: 53px;
  font-size: 30px;
  margin-bottom: 40px;
  margin-top: 18px;
}

#geolocation-button,
#submit-location-button:hover {
  cursor: pointer;
}

label {
  display: block;
}
#future-date {
  margin-bottom: 15px;
}

#map {
  position: absolute;
  height: 100%;
  top: 0;
  bottom: -200px;
  left: 0;
  right: 0;
  z-index: 0;
}

#future-date-form,
#new-location-form {
  position: relative;
}

#new-location-fieldset {
  margin-bottom: 20px;
}

#new-location-search-submit, #future-date {
  background-color: #eb5757;
}

.overlay {

  height: 100%;
  width: 50%;
  max-width: 400px;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;

  background-color: white;
  background-color: white;
  overflow-x: hidden;
  transition: 0.5s;
}
.overlay-padding {
  padding: 0 20px;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  z-index: 100;
  position: fixed;
  margin-top: 45px;
  background-color: white;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}


@media screen and (max-width: 450px) {
  .overlay a {
    font-size: 20px;
    width: 50%;
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

@media screen and (max-width: 580px) {
  .overlay {
    width: 80%;
  }
}


@media only screen and (max-width: 640px) {
  html {
    width: 100%;
    overflow: scroll;
  }

  h1 {
    margin-bottom: 20%;
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    font-size: 20vw;
    line-height: 80%;
  }

  #main-div {
    width: 75%;
    text-align: center;
    background-color: white;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
  }


  #homepage-form {
    margin-bottom: 20px;
  }

  #main-fieldset {
    margin-left: auto;
    margin-right: auto;
    width: 75px;
  }

  #geolocation-button {
    font-size: 23px;
    line-height: 80%;
    height: 60px;
  }

  #location-text {
    font-size: 27px;
    margin-bottom: 0%;
  }

  #location-input {
  width: 165px;
  height: 40px;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  background-color: #f1eded;
  border: none;
  }

  #submit-location-button {
    background-color: #eb5757;
    width: 75px;
    height: 40px;
    font-size: 30px;
    margin-bottom: 10%;
    text-align: center;
    padding-bottom: 10px;
  }

  #new-location-search-submit, #future-date  {
    margin-top: 5px;
  }

  .gm-style-iw {
    width: 175px;
  }

  .open-nav {
    position: fixed;
    padding: 10px 15px;
    top: 60px;
    left: 20px;
    z-index: 1000;
    background-color: #eb5757;
  }
}

.open-nav {
  position: fixed;
  padding: 10px 15px;
  top: 60px;
  left: 15px;
  z-index: 1000;
  background-color: #eb5757;
}
