/* Masthead section */

.masthead {
  position: relative;
  width: 100%;
  height: 240px;
  padding-top: 60px;
  background-color: var(--dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.masthead-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../img/jellyfish-banner.webp);
  opacity: 0.15;
}
.masthead-intro {
  text-align: center;
  color: var(--off-white);
  font-size: 2.4rem;
  line-height: 1.3;
  z-index: 100;
}
.masthead-heading {
  text-align: center;
  color: var(--off-white);
  font-size: 4.8rem;
  line-height: 1.3;
  font-weight: 600;
  z-index: 100;
}
.about-me-section {
  width: 100%;
  padding: 40px 0px;
  background-color: var(--off-white);
}
.about-me-section h1{
  color: var(--dark-blue);
  text-align: center;
}
.about-me-section-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 80px;
}
.about-me-section-img img {
  width: 300px;
  border-radius: 10px;
}
.about-me-section-text {
  flex-basis: 500px;
}
.about-me-section-text p{
  padding: 5px 0px;
  color: var(--dark-blue);
}

/* images section */

.about-me-images {
  width: 100%;
  padding: 40px 0px 40px 0px;
  background-color: var(--dark-blue);
  display: flex;
  justify-content: center;
  column-gap: 50px;
  flex-wrap: wrap;
}
.about-me-images p {
  text-align: center;
  padding-bottom: 60px;
  font-size: 2.2rem;
  flex-basis: 100%;
}
.about-me-images a {
  font-size: 1.8rem;
  display: block;
  background-color: var(--coral);
  border-radius: 10px;
  padding: 5px 10px;
  width: fit-content;
  transition: all ease-in-out 200ms;
}
.about-me-images a:hover {
  background-color: var(--coral-hover);
}
.img-box p {
  position: absolute;
  top: -35px;
  font-size: 1.6rem;
}
.img-box {
  width: 32rem;
  height: 46rem;
  border-radius: 10px;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.img-box:nth-child(2) {
  background-image: url(../img/about-img/cal-coast.webp);
}
.img-box:nth-child(3) {
  background-image: url(../img/about-img/santa-cruz.webp);
}
.img-box:nth-child(4) {
  background-image: url(../img/about-img/russian-river.webp);
}

@media only screen and (min-width: 700px) and (max-width: 1100px) { /*ipad*/
  .burger-menu {
    padding-top: 60px;
  }
  .about-me-section-img {
    width: 225px;
  }
  .img-box {
    width: 20rem;
    height: 29rem;
  }
}

@media only screen and (max-width: 700px) { /*mobile*/
  .burger-menu {
    padding-top: 60px;
  }
  .about-me-images {
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
  }
  .about-me-images p {
    padding-bottom: 20px;
  }
  .img-box {
    width: 300px;
    height: 400px;
  }
  .about-me-section-flex {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .about-me-section-img:nth-child(2) {
    display: none;
  }
  .about-me-section-text {
    flex-basis: 100%;
  }
  .about-me-section-text h2 {
    text-align: center;
  }
}