.banner-wrapper {
  display: block;
  background-image: url("../images/banner/banner_photo_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}

.banner-content {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  text-align: center;
  background-color: rgba(27, 177, 100, 0.51);
  color: white;
  min-height: 300px;

  padding: 2rem;

  font-size: 3rem;
  line-height: 3.5rem;

  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
}

.banner-main-title {
  font-size: 2.5rem;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 3px black;
}

.banner-gradient {
  display: none;
}

.banner-sub-title {
  font-size: 2rem;
  color: orange;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 3px black;
}

/* Contact buttons*/
.contact-container {
  max-width: 350px;
  height: 110px;
  background-color: rgba(0, 0, 0, 0.641);
  border-radius: 15px;
  display: flex;
  flex-flow: column;
  padding: 0 1rem;
}

.contact-container_title {
  margin-bottom: 1rem;
  font-size: 2rem;
  margin: 0 0.5rem;
}

.button-container {
  display: flex;
  justify-content: space-evenly;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 0.5rem;
}

.contact-link {
  position: relative;
  -webkit-user-drag: none;
  text-decoration: none;
  display: inline-block;
  width: 105px;
  height: 40px;
  border-radius: 20px;
  user-select: none;
  -webkit-user-drag: none;
  overflow: hidden;
  transition: all 0.2s;
}

.contact-button-image {
  width: 120px;
  position: absolute;
  display: inline-block;
  top: -7px;
  left: -6px;
}

.contact-link:hover {
  width: 105px;
}

.contact-button:active {
  transform: scale(0.95);
}

.button-container button a,
a:visited {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .banner-main-title {
    font-size: 2.5rem;
  }

  .banner-sub-title {
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .banner-main-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .banner-sub-title {
    font-size: 1.2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
  }

  .contact-container_title {
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .contact-container {
    width: 160px;
    height: 150px;
    padding: 0.5rem;
  }

  .button-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-evenly;
  }
}

@media screen and (min-width: 958px) {
  .banner-wrapper {
    display: block;
    background-image: url("../images/banner/banner_photo_1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 360px;
  }

  .banner-content {
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    text-align: center;
    background-image: none;
    background-color: transparent;
    color: white;
    min-height: 300px;
    max-width: 600px;
    /* border: 2px solid black; */

    padding-top: 1.5rem;

    /*FONT*/
    font-size: 2.5rem;
    line-height: 3.5rem;

    position: absolute;
    left: 20px;
    display: flex;
    gap: 10px;
    flex-flow: column;
    align-items: start;
    justify-content: space-between;
    z-index: 1;
  }

  .banner-gradient {
    display: block;
    position: absolute;
    width: 700px;
    height: 700px;
    top: -200px;
    left: -80px;
    transform: rotate(20deg);
    background-color: rgba(31, 132, 80, 0.8);
  }

  .banner-main-title {
    text-align: left;
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 3px black;
  }

  .contact-link {
    width: 40px;
  }
}
