@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: auto;
  font-family: 'Montserrat';
}

header {
  width: 100%;
  height: auto;
}

html {
  font-family: 'Montserrat';
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

hr {
  height:4px;
  background-color:#365E99;
  width: 50%;
  margin-left: 25%;
}

/** Footer **/

.footer {
  background-color: #c1c2c6;
  width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.footer-logo-div {
  align-content: center;
  text-align: center;
}

.footer-logo {
  margin-top: 5%;
  margin-bottom: 5%;
  min-width: 290px;
  min-height: 166px;
  height: auto;
  width: 290px;
  z-index: 2;
}

/** Footer Socials Links **/

.footer-socials {
  text-align: center;
  align-content: center;
}

.footer-socials-img {
  width: 28px;
  margin-top: 5%;
  margin-bottom: 2%;
}

.insta {
  margin-right: 5%;
}

.fb {
  padding-left: 5%;
}

/** Footer Contact Info **/

.footer-contact {
  padding-left: 5%;
  padding-right: 5%;
  text-size-adjust: none;
  padding-top: 3%;
  padding-bottom: 3%;
}

.headline-container {
  align-content: center;
  text-align: center;
}

.headline {
  font-size: 17pt;
  padding-left: 2%;
}

.info-container {
  padding-top: 3%;
  padding-bottom: 3%;
}

.footer-img {
  text-align: center;
  width: 45px;
  padding-left: 20px;
}

.footer-link {
  text-decoration: none;
  color: inherit;
}

.cont-info {
  padding-left: 20px;
  font-size: 12pt;
  text-size-adjust: none;
  width: auto;
  height: auto;
  display: table-cell;
  vertical-align: middle;
}

/** Footer Memberships **/

.footer-memberships {
  align-content: center;
  text-align: center;
}

.bbb-container {
  align-content: center;
  text-align: center;
}

.bbb{
  min-width: 246px;
  width: 246px;
  min-height: 129px;
  margin-top: 5%;
  margin-bottom: 5%;
}

.five-container {
  align-content: center;
  text-align: center;
}

.footer-five {
  min-width: 328px;
  width: 328px;
  height: 137.17px;
  object-fit: cover;
  margin-bottom: 10%;
}

.boss-container {
  padding-bottom: 3%;
  text-align: right;
  padding-right: 3%
}

/* Background */

.background-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.background {
  background-image: url("/img/about/landscape.jpg");
  background-size:cover;
  filter: brightness(80%);
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: 60vh;
  z-index: 1;
  transition: opacity 0.3s ease-out;
}

.title-aboutus {
  position: absolute;
  top: 45vh;
  z-index: 2;
  color: white;
  font-size: 3rem;
  width: 100vw;
}

.arrow {
  z-index: 2;
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, 0);
  width: 30px;
  height: 30px;
  margin-top: 1%;
}

/* Nav Bar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease-out;
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100vw;
  height: auto;
  background-color: transparent;
  transition: background-color 0.2s ease-in;
}

.hamburger {
  display: none;
  z-index: 10;
  color: #365E99;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #365E99;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10%;
}

.nav-item {
  margin-left: 5rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 400;
  color: white;
}

.nav-link:hover {
  color: #365E99;
}

.nav-logo {
  font-size: 2.1rem;
  font-weight: 500;
  color: #365E99;
  z-index: 900;
  padding-left: 10%;
}

.nav-logo-wb {
  z-index: 99;
  width: 50px;
  height: auto;
}

.navbar-solid {
  background-color: #c1c2c6; /* Eggshell color */
}

@media only screen and (max-width: 768px) {

  body {
    width: 100%;
    height: auto;
  }
  
  header {
    width: 100%;
    height: auto;
  }  

  .navbar {
    z-index: 1000;
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    overflow: hidden;
    color: red;
    background-color: transparent;
    transition: background-color 0.2s ease-in;
  }

  /** Background Landing **/

  .background-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    align-content: center;
  }
  
  .background {
    filter: brightness(80%);
    margin-left: auto;
    margin-right: auto;
    min-width: 549px;
    min-height: 447px;
    z-index: 1;
    transition: opacity 0.3s ease-out;
    transform: translateX(-16.3%);
  }

  .title-aboutus {
    position: absolute;
    top: 73%;
    z-index: 2;
    color: white;
    font-size: 35px;
    width: 100vw;
  }
  
  .back-content {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .back-title {
    font-size: 3.4rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
  }
  
  .back-desc {
    font-size: 1.6rem;
    color: #ffffff;
    margin-left: 6%;
    margin-right: 6%;
  }
  

  .overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* semi-transparent black overlay */
    opacity: 0; /* start with opacity at 0 */
    z-index: 1; /* set a higher z-index than the background */
    transition: opacity 0.3s ease-out; /* transition the opacity */
  }

  /* Gallery */

  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-bottom: 5vw;
}

.gallery-image {
    min-width: 36vw;
    max-width: 44vw;
    height: auto;
    cursor: pointer;
}

.overlay1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.overlay-content {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
    position: relative;
}

#enlarged-image {
    max-width: 100%;
    max-height: 100%;
}

#close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.overlay1.active {
    display: flex;
}


/** Footer **/

  .footer {
    background-color: #c1c2c6;
    width: 100vw;
    height: auto;
    display: block;
  }

  .footer-logo-div {
    align-content: center;
    text-align: center;
  }

  .footer-logo {
    margin-top: 5%;
    margin-bottom: 5%;
    min-width: 290px;
    min-height: 166px;
    height: auto;
    width: 290px;
    z-index: 2;
  }

  /** Footer Socials Links **/

  .footer-socials {
    text-align: center;
    align-content: center;
  }

  .footer-socials-img {
    width: 28px;
    margin-top: 5%;
    margin-bottom: 2%;
  }

  .insta {
    margin-right: 5%;
  }

  .fb {
    padding-left: 5%;
  }

  /** Footer Contact Info **/

  .footer-contact {
    padding-left: 5%;
    padding-right: 5%;
    text-size-adjust: none;
    padding-top: 3%;
    padding-bottom: 3%;
  }

  .headline-container {
    align-content: center;
    text-align: center;
  }

  .headline {
    font-size: 17pt;
    padding-left: 2%;
  }

  .info-container {
    padding-top: 3%;
    padding-bottom: 3%;
  }

  .footer-img {
    text-align: center;
    width: 45px;
    padding-left: 20px;
  }

  .footer-link {
    text-decoration: none;
    color: inherit;
  }

  .cont-info {
    padding-left: 20px;
    font-size: 12pt;
    text-size-adjust: none;
    width: auto;
    height: auto;
    display: table-cell;
    vertical-align: middle;
  }

  /** Footer Memberships **/

  .footer-memberships {
    align-content: center;
    text-align: center;
  }

  .bbb-container {
    align-content: center;
    text-align: center;
  }

  .bbb{
    min-width: 246px;
    width: 246px;
    min-height: 129px;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .five-container {
    align-content: center;
    text-align: center;
  }

  .footer-five {
    min-width: 328px;
    width: 328px;
    height: 137.17px;
    object-fit: cover;
    margin-bottom: 10%;
  }

  .boss-container {
    padding-bottom: 3%;
    text-align: right;
    padding-right: 3%
  }

  /** Nav **/
  .nav-menu.active + .overlay {
    opacity: 1; /* increase opacity to 1 when nav-menu is active */
  }
  
  /* rest of CSS code */
  .nav-menu.active + .overlay {
    display: block; /* show the overlay when the nav-menu is active */
  }

  .navbar-solid {
    background-color: #c1c2c6; /* Eggshell color */
  }

  .nav-link {
    color: #365E99;
  }

  .nav-menu {
    position: fixed;
    right: -70%; /* slide the menu off-screen to the right */
    top: 0;
    height: 100vh; /* set the height to the full viewport height */
    width: 70%; /* set the width to 70% of the viewport width */
    max-width: 400px; /* set a max-width to limit the width on larger screens */
    background-color: white;
    opacity: 87%;
    border-radius: 0; /* remove the border-radius */
    transition: right 0.3s ease-out; /* transition the right property */
    z-index: 10000; /* set a higher z-index to make it appear above everything else */
    display: flex; /* make the list items appear vertically */
    flex-direction: column; /* make the list items appear vertically */
    justify-content: flex-start; /* align the items to the top */
    align-items: center; /* center the list items horizontally */
    padding-top: 15%; /* add a 15% padding to the top */
  }
  
  .nav-menu.active {
    right: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* align the items to the top */
    align-items: center; /* center the items horizontally */
  }

  .nav-logo {
    font-size: 2.1rem;
    font-weight: 500;
    color: #365E99;
    z-index: 900;
    padding-left: 0%;
  }
  
  .nav-item {
    margin: 2.5rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    position: relative;
    top: 0;
    z-index: 1000000;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
    
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

}
