*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Montserrat", sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

/* DESKTOP NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsl(203, 98%, 43%);
  padding: .5rem 1rem;
  letter-spacing: .1rem;
}

.logo {
  height: 90px;
  width: 190px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
}

a:hover {
  color: hsl(0, 100%, 50%);
}

.button {
  background-color: hsl(0, 100%, 50%);
  padding: .5rem;
  border-radius: 10px;
}

.button:hover {
  cursor: pointer;
  background-color: hsl(0, 100%, 65%);
  color: white;
}

/* BURGER MENU */

#burger-nav {
  display: none;
}

.logo {
  position: relative;
  color: white;
}

.burger-menu {
  position: relative;
  display: inline-block;
}

.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  margin: 5px 0;
  cursor: pointer;
}

.burger-icon span {
  width: 100%;
  height: 2px;
  transition: all 300ms ease-in-out;
  border: white .1rem solid;
}

.menu-links {
  position: absolute;
  top: 110%;
  right: -10px;
  background-color: rgb(0, 0, 0, 0.5);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}

.menu-links a {
  display: block;
  padding: 15px 5px;
  text-align: center;
  font-size: 1.1rem;
  color: white;
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

.menu-links a:hover {
  color: hsl(0, 100%, 50%);
  transition: all 300ms ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.burger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.burger-icon.open span:nth-child(2) {
  opacity: 0;
}

.burger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.burger-icon span:first-child {
  transform: none;
}

.burger-icon span:first-child {
  opacity: 1;
}

.burger-icon span:first-child {
  transform: none;
}

/* HOME */
section {
  width: 100%;
  padding: 1.5rem;
}

#home {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  padding: 0;
  background-image: url('images/hero.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  height: 450px;
}

#home h1 {
  padding-top: 10%;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  color: white;
  text-shadow: 2px 2px rgb(55, 55, 55);
  text-transform: uppercase;
  background-color: #686868a5;
  height: 100%;
}

.hero {
  width: 100%;
}

/* ABOUT */
#about, #teambuilding, #break {
  background-color: #deeffa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2 {
  letter-spacing: .3rem;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.about-content a, .birthday-pricing a {
  color: inherit;
  text-decoration: underline;
  text-transform: unset;
  font-weight: normal;
}

.birthday-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.facility {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.img-row {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 200px;
  background-color: lightsteelblue;
}
.img-row img {
  display: block;
  max-height: 100%;
}

/* PRICING */
#pricing, #birthday {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.minor {
  margin-top: 10px;
  font-size: 0.8em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.card {
  background-color: hsl(0, 0%, 100%);
  border: 1px solid hsl(213, 9%, 79%);
  border-radius: 1rem;
  width: 315px;
}

.card-img {
  border-radius: 1rem;
  width: 100%;
  height: 250px;
}

.card-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.pricing-title {
  text-transform: uppercase;
  font-weight: 700;
}
.pricing-title a {
  color: hsl(0, 100%, 50%);
}

h3 {
  display: flex;
  flex-direction: column;
}

.price {
  color: black;
  font-weight: 700;
}

.princing-info {
  text-align: center;
}

/* TESTIMONIALS */
#testimonials {
  background-color: #deeffa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.client {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.name {
  font-weight: 600;
}

/* CONTACT */
#contact {
  padding: 1rem;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5rem;
}

.column {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  font-weight: 600;
}

.column a {
  color: black;
  text-transform: none;
}

.email:hover {
  color: hsl(0, 100%, 50%);
}

/* FOOTER */
footer {
  margin-top: 1rem;
  text-align: center;
  font-size: .7em;
  font-weight: 500;
}

@media screen and (min-width: 1000px) {
  section {
    padding: 1rem 3rem;
  }

  .about-content, .birthday-content {
    font-size: 1.3rem;
  }
}



@media screen and (min-width: 800px) {
  .about-content {
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left;
  }

  .birthday-content {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left;
  }

  .birthday-content p {
    flex: 1;
  }

  .about-content img {
    width: 50%;
  }

  .about-content p {
    width: 50%;
  }
}

@media screen and (max-width: 800px) {

  #desktop-nav {
    display: none;
  }

  #burger-nav {
    display: flex;
  }
}