body {
  margin: 0;
  padding: 0;
  background-color: #02205f;
}

h1, h2, p {
  font-family: 'Montserrat', Arial, sans-serif;
}

h1 {
  margin: 0 0 10px 0;
  font-size: 30pt;
  color: white;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
}

h2 {
  color: white;
  margin: 20px 20px 0px 20px;
  text-align: center;
}

p {
  color: white;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.margin_bottom {
  margin-bottom: 40px;
}

.margin_bottom_2 {
  margin-bottom: 100px;
}

.main_container {

  background-color: aqua;
  width: 100vw;
  margin-left: auto;
  margin-right: auto;
}

::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-button {
  display: none;
}

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

html  {
  scroll-behavior: smooth;
}

#home, #about, #contact, #gallery {
  scroll-margin-top: 98px;

}

.section_tops {
  height: 50px;
  margin-bottom: -2px;
}

.blue-colour {
  color: #02205f;
}

.button_shape {
  height: 40px;
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #02205f;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
}


.button_shape:hover {
  scale: 1.1;
  color: white;
}

.home, .about, .gallery, .contact, .footer {
  width: 100vw;
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.about, .gallery, .contact, .footer {
  margin-top: -50px;
}

.home {
  background-color: chartreuse;
  z-index: 1;
  height: 100vh;
}

.about {
  background: linear-gradient(to bottom, transparent 50px, #0096fc 50px);
}

.gallery {
  background: linear-gradient(to bottom, transparent 50px, #6fc800 50px);
}

.contact {
  background: linear-gradient(to bottom, transparent 50px, #fcd400 50px);
}

.footer {
  background: linear-gradient(to bottom, transparent 50px, #02205f 50px);
}

.about_text_container {
  display: flex;
  width: 700px;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.gallery_div {
  width: 1300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 100px;

}

.gallery_div img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  border-radius: 20px;
}

.gallery_div img:hover {
  transform: scale(1.2);
  position: relative;
  z-index: 10;
  border-radius: 0px;
  transition: 0.7s;
}

.hero_image_container {
  background-color: #fcd400;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero_image_specs {
  width: 100%;
  position: absolute;
  z-index: 1;
  width: 3000px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  mix-blend-mode: multiply;
  z-index: 2;
}

.main_overlay {
  opacity: 1;
  background-color: #02205f;
}

.home_overlay {
  opacity: 0;
  background-color: #fe9005;
}

.about_overlay {
  opacity: 0;
  background-color: #0096fc;
}

.gallery_overlay {
  opacity: 0;
  background-color: #6fc800;
}

.contact_overlay {
  opacity: 0;
  background-color: #fcd400;
}

body:has(.home_button:hover, .about_button:hover, .gallery_button:hover, .contact_button:hover) .main_overlay {
  opacity: 0;
}

body:has(.home_button:hover) .home_overlay {
  opacity: 1;
}

body:has(.about_button:hover) .about_overlay {
  opacity: 1;
}

body:has(.gallery_button:hover) .gallery_overlay {
  opacity: 1;
}

body:has(.contact_button:hover) .contact_overlay {
  opacity: 1;
}

.hero_logo {
  z-index: 5;
  position: absolute;
  width: 600px;
}

.overlay_logo {
  z-index: 9;
  width: 600px;
}

.overlay_text {
  width: 600px;
}

.location_container {
  width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
  margin-bottom: 100px;
}

.location_right {
  height: 100%;
  
}

.location_left {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.location_right iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

.justify_left {
  text-align: left;
  margin: 0 0 0 0;
  background-color: #0096fc;
}

.contact_div {
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width:1540px) {

  .button_shape {
    width: 100px;
  }

  .hero_image_specs {
    width: 3000px;
  }

  .gallery_div {
    width: 900px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 100px;
  }

  .location_container {
  width: 900px;
  }

}

@media (max-width:1030px) {

  .hero_image_specs {
  width: auto;
  height: 100vh;
  }

.hero_logo {
  height: auto;
  width: 80vw;
  transform: translateX(0px);
  }

.overlay_text, .overlay_logo {
  height: auto;
  width: 80vw;
  }



.about_text_container {
  width: 90vw;
  }

.gallery_div {
  width: 90vw;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 30px;
  }

.location_container {
  width: 90vw;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 40px;
  margin-bottom: 100px;
  }

  .location_right {
    order: 1; 
  }

  .location_left {
    order: 2;
  }

  .margin_bottom {
    margin-bottom: 20px;
  }

}