* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #444;
  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
  font-family: "Source Sans Pro", sans-serif;
  width: 100%;
  background-image: url("../images/gallery-bkgrnd.jpg");
  background-repeat: no-repeat;
  background-size: cover auto;
  background-position-x: center;
  background-position-y: top;
  background-color: #fff;
}

html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  overflow-x: hidden;
}
.navbar {
  background: rgb(255, 204, 0);
  display: flex;
  justify-content: center;
  width: 100%;
  height: 80px;
  top: 0px;
  margin-bottom: 0px;
}
.nav {
  list-style: none;
  display: flex;
  align-content: center;
}
.navlink a:link,
.navlink a:visited {
  border-radius: 30px;
  padding: 10px 20px;
  border: medium solid #86b300;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  line-height: 80px;
}

.navlink a:hover,
.navlink a:active {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.container {
  width: 85%;
  margin: 2rem auto;
  height: auto;
  padding: 2rem 6rem;
}
.masthead {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.logo {
  padding: 1rem;
  top: 2rem;
  width: 35%;
  height: auto;
}
.logo h1 {
  padding: 10px;
  background: rgba(107, 8, 236, 0.6);
  text-align: center;
  text-transform: lowercase;
  font-size: 2rem;
  color: #fff;
}
.logo h2 {
  padding: 10px;
  background: rgba(107, 8, 236, 0.6);
  text-align: center;
  font-size: 1.9rem;
  color: #fff;
}
.logo p {
  padding: 10px;
  background: #e4b20d;

  font-size: 1.8rem;
  color: #000;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  font-weight: 600;
}
.logo a:link,
.logo a:visited {
  text-transform: none;
  border: none;
  text-decoration: none;
  color: #fff;
}
.logo a:hover,
.logo a:active {
  color: rgb(250, 10, 10);
}

.tagline-text {
  margin-top: 5rem;
  width: 35%;
  height: auto;
  padding: 1.5rem;
  background: rgba(107, 8, 236, 0.6);
}
.tagline-text h1 {
  padding: 1rem;
  padding-top: 2rem;
  letter-spacing: normal;
  text-align: left;
  font-size: 2.5rem;
  color: #fff;
}
.tagline-text p {
  padding: 2rem;
  letter-spacing: normal;
  text-align: left;
  font-size: 2.1rem;
  color: #fff;
  line-height: normal;
}

.gallery {
  height: auto;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10rem;
  background-color: #e4b20d;
}
.wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  row-gap: 10rem;
  column-gap: 3rem;
}
.column {
  height: auto;
  display: grid;
  justify-self: center;
  padding: 1rem 3rem;
}
.column p {
  font-size: 2rem;
  padding: 3rem 1rem;
  padding-top: 6rem;
  font-weight: 600;
}
.column img {
  max-width: 100%;
  max-height: 100%;
  padding-bottom: 4rem;
}
.column a:hover img {
  cursor: pointer;
  transform: scale(1.2);
}

#footer {
  position: absolute;
  margin-bottom: 10rem;
  width: 100%;
  margin-top: 3rem;
  height: 180px;
  background: none;
  color: #000;
  display: block;
}
.footernav {
  display: flex;
  list-style: none;
  text-decoration: none;
  gap: 3rem;
  justify-content: center;
  align-content: center;
}
.f-navlink a:link,
.f-navlink a:visited {
  border-radius: 30px;
  padding: 10px 20px;
  border: medium solid #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  background-color: #e4b20d;
  line-height: 80px;
}

.f-navlink a:hover,
.f-navlink a:active {
  color: darkgreen;
}
.copyright {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  height: auto;
  margin: 3rem auto;
  background-color: rgb(255, 204, 0);
  color: #000;
}

@media only screen and (min-width: 2300px) {
  .container {
    width: 50%;
  }
  .header {
    width: 49%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 2299px) {
  .container {
    width: 60%;
  }
  .header {
    width: 55%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1989px) {
  .container {
    width: 88%;
    margin: 2rem auto;
    height: 60vh;
  }
  .header {
    width: 86%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 1529px) {
  .container {
    width: 94%;
  }
  .header {
    width: 85%;
    display: flex;
    justify-content: space-between;
  }

  .column {
    height: auto;
    display: grid;
    justify-self: center;
    padding: 1rem;
  }
}
@media only screen and (max-width: 1449px) {
  .header {
    width: 92%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
  .tagline-text p {
    display: inline-block;
    width: auto;
    padding: 0.7rem;
    font-size: 2rem;
  }

  .gallery {
    width: 99%;
    margin-top: 6rem;
  }
}
@media only screen and (max-width: 1248px) {
  .container {
    width: 100%;
  }

  .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
  .gallery {
    width: 99%;
    margin-top: 6rem;
  }
  .masthead {
    width: 100%;
  }
  /* .logo {
    width: 33%;
  } */
}
@media only screen and (max-width: 1049px) {
  .container {
    margin: 0.5rem auto;
    padding: 0.5rem 2rem;
  }
  .masthead {
    width: 80%;
    display: block;
    margin: 0 auto;
  }
  .navlink a:link,
  .navlink a:visited {
    padding: 12px 18px;
    font-size: 1.1rem;
  }

  .logo {
    width: 100%;
    display: block;
    margin: 2rem auto;
  }
  .logo h1,
  .logo h2 {
    padding: 10px;
  }
  .tagline-text {
    width: 100%;
    display: block;
    height: auto;
    margin: 0.5rem auto;
    padding-bottom: 2rem;
  }
  .tagline-text h1 {
    display: block;
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
  }
  .tagline-text p {
    text-align: center;
    display: block;
    font-size: 2rem;
    color: #fff;
    padding-bottom: 1rem;
  }

  .gallery {
    margin-top: 10rem;
    width: 60%;
    height: auto;
  }
  .wrapper {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 4em;
    column-gap: auto;
  }
  .column {
    padding: 1rem;
  }
  .column img {
    max-width: 100%;
    max-height: 100%;
    padding-bottom: 4rem;
  }
  .column p {
    padding: 4rem;
    padding-top: 4rem;
    background-color: seashell;
  }
}
@media only screen and (max-width: 699px) {
  .navbar {
    background: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    top: 0px;
    margin-bottom: 0px;
  }
  .nav {
    list-style: none;
    display: block;
    align-content: center;
    background: none;
  }
  .navlink a:link,
  .navlink a:visited {
    display: block;
    margin-bottom: 1rem;
    border-radius: 30px;
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    text-align: center;
    background-color: #e4b20d;
  }

  .navlink a:link,
  .navlink a:visited {
    padding: 6px;
    font-size: 0.7em;
  }

  .container {
    width: 100%;
  }
  .masthead {
    width: 96%;
    display: block;
    /* padding-top: 5rem; */
  }
  .logo {
    width: 100%;
    display: block;
    left: 0;
    margin: 0 auto;
  }
  .logo h1,
  .logo h2 {
    padding: 5px 0;
    margin: 0;
  }
  .tagline-text {
    width: 100%;
    display: block;
    height: auto;
    right: auto;
    top: 2rem;
    margin: 2rem auto;
  }
  .tagline-text h1 {
    padding: 1rem;
    letter-spacing: normal;
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
  }
  .tagline-text p {
    display: block;
    padding: 1rem;
    letter-spacing: normal;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
  }

  .gallery {
    margin-top: 6rem;
    width: 86%;
    height: auto;
  }
  #footer {
    position: absolute;
    margin-bottom: 10rem;
    width: 100%;
    margin-top: 3rem;
    height: auto;
    background: none;
    color: #000;
    display: block;
  }
  .footernav {
    display: flex;
    flex-direction: column;
    list-style: none;
    text-decoration: none;
    gap: 3rem;
    justify-content: center;
    align-content: center;
  }
  .f-navlink a:link,
  .f-navlink a:visited {
    display: block;
    text-align: center;
    border-radius: 30px;
    padding: 10px 20px;
    border: medium solid #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    background-color: #e4b20d;
    line-height: 1.5;
  }

  .copyright {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    height: auto;
    margin: 3rem auto;
    background-color: rgb(255, 204, 0);
    color: #000;
  }
}
@media only screen and (max-width: 489px) {
  .masthead {
    width: 100%;
    display: block;
  }
  .navlink a:link,
  .navlink a:visited {
    padding: 6px;
    font-size: 0.7em;
  }
  .logo h1,
  .logo h2 {
    padding: 5px 0;
    margin: 0;
  }
  .tagline-text {
    width: 100%;
    display: block;
    height: auto;
    right: auto;
    top: 2rem;
    margin: 2rem auto;
  }
  .tagline-text p {
    display: block;
    padding: 1rem;
    letter-spacing: normal;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
  }
  .tagline-text h1 {
    padding: 1rem;
    letter-spacing: normal;
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
  }
  .gallery {
    margin-top: 5rem;
    width: 92%;
    height: auto;
  }
  .column p {
    font-size: 1.5rem;
    padding: 2rem;
  }

  /* .gallery-container {
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 5rem;
  } */

  /* .column {
    padding-left: 20px;
  } */
}
@media only screen and (min-width: 100px) and (max-width: 290px) {
  .logo h1,
  .logo h2 {
    padding: 5px 0;
    margin: 0;
  }
  .logo h1 {
    font-size: 1rem;
  }
  .logo h2 {
    font-size: 1rem;
  }
  .logo p {
    font-size: 1rem;
  }
  .tagline-text {
    width: 100%;
    display: block;
    height: auto;
    right: auto;
    top: 2rem;
    margin: 2rem auto;
  }

  .tagline-text h1 {
    padding: 1rem;
    letter-spacing: normal;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
  }
  .tagline-text p {
    font-size: 1.2rem;
    padding-bottom: 0;
  }
  .navlink a:link,
  .navlink a:visited {
    padding: 6px;
    font-size: 0.7em;
  }

  .column p {
    font-size: 1rem;
    line-height: 1.2;
    display: inline-block;
    padding: 2rem;
    background-color: seashell;
  }
  .f-navlink a:link,
  .f-navlink a:visited {
    font-size: 1rem;
    line-height: 1;
  }
}
