body * {
  font-family: Arial, Helvetica, sans-serif;
}

main.container {
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
main.container header {
  min-height: 50px;
}

main.container header h2 {
  text-align: center;
}

/* Main */
main.container section {
  display: flex;
  flex-wrap: wrap;
}

main.container section div {
  margin-bottom: 20px;
  border-radius: 5px;
  background-color: rgb(39, 148, 220);
  color: #ffffff;
  height: 150px;
  transition: all 0.3s;
}

main.container section div:hover {
  transform: scale(1.05);
}

main.container section div {
  width: calc(25% - 15px);
  user-select: none;
}

main.container section div a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  height: 100%;
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

@media screen and (min-width: 992px) {
  main.container section div:not(:nth-child(4n)) {
    margin-right: 20px;
  }
}

@media screen and (min-width: 600px) and (max-width: 992px) {
  main.container section div {
    width: calc(33.333% - 13.3333px);
  }
  main.container section div:not(:nth-child(3n)) {
    margin-right: 20px;
  }
}

@media screen and (min-width: 400px) and (max-width: 600px) {
  main.container section div {
    width: calc(50% - 10px);
  }
  main.container section div:not(:nth-child(2n)) {
    margin-right: 20px;
  }
}

@media screen and (max-width: 400px) {
  main.container section div {
    width: 100%;
  }
}

/* Custom Styling */

#more1 {
  display: none;
}

#more2 {
  display: none;
}
#more3 {
  display: none;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: large;
  }
}

.header {
  font-size: 64px;
}

.header-body {
  margin-top: 15%;
  font-size: 36px;
  font-family: "Raleway";
  /* font-style: normal; */
  color: #e1e1e1;
}

@media only screen and (max-width: 960px) {
  .header {
    font-size: 6vw !important;
  }

  .header-body {
    margin-top: 0%;
    font-size: 15px;
    font-family: "Raleway";
    /* font-style: normal; */
    color: #e1e1e1;
  }
}

.wrapper {
  width: 100% !important;
  /* whatever width you want */
  display: inline-block;
  /*/*position: relative;*/
  background-size: contain;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/images/background.png") no-repeat top center;
  height: 100%;
  /* height: 50% !important; */
  background-size: 100%;
  margin: 0 auto;
}

.wrapper:after {
  padding-top: 100%;
  margin-bottom: -50%;
  /* this llama image is 800x600 so set the padding top % to match 600/800 = .75 */
  display: block;
  content: "";
}

.main {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  color: black;
  text-align: center;
  margin-top: 5%;
}

/* quick reset */
* {
  margin: 0;
  padding: 0;
  border: 0;
}

/* relevant styles */
.img__wrap {
  position: relative;
  height: auto;
  width: auto;
}

.img__description {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));

  color: #fff;
  visibility: hidden;
  opacity: 0;

  /* transition effect. not necessary */
  transition: opacity 0.2s, visibility 0.2s;
}

.img__wrap:hover .img__description {
  visibility: visible;
  opacity: 1;

  -webkit-filter: brightness(60%);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.bg-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/images/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
  height: 450px;
  padding-top: 50px;
}
