/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */
/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

html, body {
  overflow: hidden;
}

body {
  padding: 0;
  margin: 0;
  position: relative;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* ==========================================================================
   Variables
   ========================================================================== */
/* ==========================================================================
   Typography
   ========================================================================== */
@font-face {
  font-family: "Archia Regular";
  src: url("../fonts/Archia-Regular.otf");
}
@font-face {
  font-family: "Archia Bold";
  src: url("../fonts/Archia-Bold.otf");
}
h1, h2, h3, h4, h5, h6 {
  color: #333333;
}

body, html {
  font-family: "Archia Regular", sans-serif;
}

h1, h2, h3 {
  font-family: "Archia Bold", sans-serif;
}

button.primary {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
}

button.secondary {
  font-weight: bold;
}

button.map-bottom {
  font-family: "Archia Bold", sans-serif;
  color: #fff;
  font-size: 24px;
}

/* ==========================================================================
   Layouts
   ========================================================================== */
body.generic {
  background-color: #E6E7E2;
  background-image: url("../img/bg.png");
  background-size: 130vh;
}

body.map {
  margin: 0px;
  background-image: none;
}

#home header {
  margin: 60px 0;
}

#menu-bar {
  display: flex;
  justify-content: space-between;
  z-index: 120;
  position: absolute;
  background-color: #E6E7E2;
  padding: 10px;
  width: 100%;
}

footer.company-logo {
  bottom: 310px;
  position: absolute;
  margin: 60px 0;
  width: 100%;
}

#games,
#locations,
#east-stairs,
#west-stairs,
#map,
#flowers-1,
#trio-right-flower {
  display: none;
}

#games,
#locations {
  margin-top: 60px;
}

main {
  position: relative;
  z-index: 100;
  height: 100vh;
}

#bottomSheet {
  top: 100%;
  position: absolute;
  transition: all 0.15s ease-out;
  background: #fefefe;
  height: 100vh;
  width: 100%;
  border-radius: 30px 30px 0px 0px;
  box-shadow: 0px 1px 15px #ccc;
}

#bottomSheet.show {
  display: block;
  z-index: 130;
  top: 0px;
}

#bottomSheet.close {
  display: none;
  z-index: 101;
  top: 100%;
}

#bottomSheet header {
  margin: 15px 0;
}

.sub-title {
  margin-top: 25px;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* ==========================================================================
   Buttons and Links
   ========================================================================== */
#settings_main, #settings_volume, #settings_home {
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  padding: 10px;
}

#settings_main {
  background-image: url("../img/gear_icon.png");
  background-position: center;
}

#settings_volume, #settings_home {
  background-image: none;
  background-position: center;
  width: 0px;
  height: 0px;
}

#settings_volume.activated {
  width: 30px;
  height: 30px;
  background-image: url("../img/sound_icon.png");
}

#settings_home.activated {
  width: 40px;
  height: 30px;
  background-image: url("../img/home_icon.png");
}

button.primary {
  border: none;
  width: 100%;
  padding: 5px 15px;
  justify-content: left;
  display: inline-flex;
  align-items: center;
  color: #FFFFFF;
  margin-bottom: 10px;
  transition: background-color 0.3s;
  background: linear-gradient(180deg, #FF7169 9.5%, #FB453B 51.83%, #C82F26 100%);
  border-radius: 40px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

button.primary span {
  width: 90px;
}

button.primary img {
  height: 60px;
  /* width: 20px; Set the width of the icon as needed */
  margin: 0 10px; /* Adjust margin for spacing between icon and text */
}

button.primary.activated {
  background: linear-gradient(180deg, #C82F26 100%, #FB453B 50%, #FF7169 10%);
  box-shadow: 0px 0px 0px #CA2B22;
  top: 5px;
  position: relative;
}

button.primary:active {
  box-shadow: 0px 0px 0px #CA2B22;
  top: 5px;
  position: relative;
}

button.secondary {
  box-sizing: border-box;
  background: transparent;
  border: 4px solid #FF7067;
  border-radius: 30px;
  width: 100%;
  margin-bottom: 10px;
  padding: 7px;
}

button.secondary.activated {
  background: #F64339;
  border: 4px solid #F64339;
}

button.setting {
  border: none;
  background: none;
  width: 100%;
  padding: 0px 0px;
  justify-content: left;
  display: flex;
  font-size: 25px;
}

button.nav {
  border: transparent;
  background: none;
}

.button-rows .col {
  margin: 0 0 30px 0;
}

button.close-button {
  width: 20px;
  height: 20px;
  display: block;
  border: none;
  float: right;
  background-color: transparent;
  background-image: url("../img/close-icon.png");
  margin: 25px 10px;
  background-repeat: no-repeat;
}

.map-bottom {
  bottom: -10px;
  position: absolute;
  width: 100%;
  left: 0;
  height: 350px;
  border: none;
  background-color: transparent;
  background-image: url("../img/map_bottom_lrg.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

/* ==========================================================================
   Map styles
   ========================================================================== */
.mapContainer {
  aspect-ratio: 1/2.2;
  background-image: url("../img/map_bg_v4.png");
  background-repeat: no-repeat;
  background-size: 100% 100vh;
  /*background-color: #91BF47;*/
}

.grassRegion1 {
  background: center no-repeat url("../img/grassRegion.png");
  border: none;
  height: 280px;
  width: 60vw;
  position: absolute;
  top: 40vh;
  left: 30vw;
  background-size: contain;
}

.treeSmall {
  background: center no-repeat url("../img/med_tree.png");
  border: none;
  height: 120px;
  width: 20vw;
  position: absolute;
}

.treeLarge {
  background: center no-repeat url("../img/lrg_tree.png");
  border: none;
  height: 220px;
  width: 70vw;
  position: absolute;
}

.flowerIcon {
  background: center no-repeat url("../img/rainbow.png");
  border: none;
  height: 150px;
  width: 34vw;
  position: absolute;
}

.flower_pink_purple {
  background: center no-repeat url("../img/flower_pink_purple.png");
  border: none;
  height: 150px;
  width: 34vw;
  position: absolute;
}

.flower_yellow_green {
  background: center no-repeat url("../img/flower_yellow_green.png");
  border: none;
  height: 100px;
  width: 25vw;
  position: absolute;
}

.flower_purple_pink {
  background: center no-repeat url("../img/flower_purple_pink.png");
  border: none;
  height: 100px;
  width: 25vw;
  position: absolute;
}

.flower_green_yellow {
  background: center no-repeat url("../img/flower_green_yellow.png");
  border: none;
  height: 100px;
  width: 25vw;
  position: absolute;
}

.flower_yellow_orange {
  background: center no-repeat url("../img/flower_yellow_orange.png");
  border: none;
  height: 100px;
  width: 25vw;
  position: absolute;
}

.flower_orange_yellow {
  background: center no-repeat url("../img/flower_orange_yellow.png");
  border: none;
  height: 100px;
  width: 25vw;
  position: absolute;
}

.rainbow {
  background: center no-repeat url("../img/rainbow.png");
  border: none;
  height: 170px;
  width: 34vw;
  position: absolute;
}

.tubes {
  background: center no-repeat url("../img/tubes.png");
  border: none;
  height: 52px;
  width: 45vw;
  position: absolute;
  background-size: 70%;
}

.west-stairs {
  background: center no-repeat url("../img/west_stairs.png");
  border: none;
  height: 65px;
  width: 35vw;
  position: absolute;
}

.east-stairs {
  background: center no-repeat url("../img/east_stairs.png");
  border: none;
  height: 65px;
  width: 35vw;
  position: absolute;
}

.oval {
  background: center no-repeat url("../img/oval_feature.png");
  border: none;
  height: 95px;
  width: 40vw;
  position: absolute;
}

.tree-1 {
  left: -7vw;
  top: -5vh;
}

.tree-2 {
  left: 16vw;
  top: -14vh;
}

.tree-3 {
  left: -6vw;
  top: 55vh;
}

.tree-4 {
  left: 54vw;
  top: 61vh;
}

.rainbow-location {
  left: 63vw;
  top: 68vh;
}

.tubes-location {
  left: 27vw;
  top: 9vh;
}

.west-stairs-location {
  left: 13vw;
  top: 16vh;
}

.east-stairs-location {
  left: 45vw;
  top: 16vh;
}

.oval-location {
  left: 66vw;
  top: 50vh;
}

/* ======== Flowers ======== */
.flower-1 {
  left: -6vw;
  top: 5vh;
}

.flower-2 {
  left: 75vw;
  top: 17vh;
}

.flower-3 {
  left: 44vw;
  top: 27vh;
}

.flower-4 {
  left: 26vw;
  top: 38vh;
}

.flower-5 {
  left: 60vw;
  top: 38vh;
}

.flower-6 {
  left: 10vw;
  top: 77vh;
}

.bounce {
  animation: smoothbounceball 0.25s;
  animation-direction: alternate;
  animation-iteration-count: 2;
}

@keyframes smoothbounceball {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -50px, 0);
  }
}

/*# sourceMappingURL=style.css.map */
