/* Apply box-sizing to all elements */
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/*Set base font size*/
/* 62.5% * 1.6rem = 1rem = 10px*/
html {
  box-sizing: border-box;
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
}

/*Ensure layout displays properly across screen sizes*/
html,
body {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  max-width: 100vw;
}

/*Center h1/description paragraph and h1 margin*/
h1 {
  margin-top: 1rem;
}
h1,
main > p:first-of-type {
  text-align: center;
}

/*Centering of input element*/
.input-group {
  margin: 0 auto;
}

/*Centering of activity name and category and font size */
.activity-name {
  text-align: center;
}
#activity-name {
  font-size: 3rem;
}
.activity-category {
  text-align: center;
}

/*Styling for result details (participants, link, accessibility, price*/
.results {
  /* display: flex; */
  text-align: center;
  font-size: 2rem;
}
.activity-link {
  font-size: 3vw;
}

/*Styling for progress bar container and progress bar for price and accessibility*/
.progress {
  width: 30%;
  margin: 0 auto;
  margin-bottom: 1rem;
  border-radius: 5px;
  height: 15px;
  background-color: grey;
  transition: 100ms ease;
}
.progress-bar {
  border-radius: inherit;
  width: 10%;
  height: 100%;
  background-color: #ff4500;
}

/* Hide result container until button clicked */
.hide {
  display: none;
}

/*Input width is smaller for nicer design on medium-large to large screens*/
@media (min-width: 768px) {
  .input-group {
    width: 55%;
  }
}
