.middle1 {
  width: 100%;
  height: 85vh;
  background-position: center;
  background-size: cover;
  position: relative;
  user-select: none;
  background-image: url("/images/banner1.jpg");
  background-position: center;
  background-size: cover;
}

.text-box {
  width: fit-content;
  border-radius: 20px;
  color: #fff;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  margin-top: 24px;
  color: var(--light-black);
  font-size: 62px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-shadow: 2px 3px 2px #949494;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
  background-color: rgba(250, 247, 247, 0.75);
  border-radius: 15px;
  line-height: 1;
  overflow: hidden;
}

.text-box p {
  margin: 10px 0 10px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: var(--light-black);
}

.text-box img {
  padding: 25px 10px 10px 10px;
  width: 250px;
  height: 250px;
}

.text-box a {
  background: var(--navbackground);
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 25px;
  padding: 10px 35px;
  font-size: 18px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  position: relative;
  cursor: pointer;
  font-weight: bold;
}

.hero-btn:hover {
  background: #f44336;
  transition: 0.2s;
}

@media (max-width: 768px) {
  .text-box h1 {
    font-size: 36px;
  }
  .middle1 {
    position: relative;
    top: 0;
    padding: 0;
    margin: 0;
    height: 90dvh;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .middle1 {
    height: 95dvh;
  }
}

@media (max-width: 575px) {
  .text-box {
    top: 55%;
  }
}