/* Code is based on the tutorial: https://www.youtube.com/watch?v=3-2Pj5hxwrw
/* Original Author: Brian Design */
/* Modified and adjusted by Vincent Zhao */

/* Initial settings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

/* Styling the navigation bar box */
.navbar {
    background: #4646A5; /* Purple background color */
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    position: sticky;
    top: 0;
    z-index: 1337;
}

/* Styling the class that contains the navigation bar items. */
.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar_logo {
    background-color: #ffffff;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 25px;
}

.navbar_menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.navbar_items {
    height: 80px;
}

.navbar_links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    text-decoration: none;
    height: 100%;
    transition: all 0.4s ease;
}

.navbar_links:hover {
    color: #3BAFA2;
    transition: all 0.4s ease;
}

.highlight {
  border-bottom: 7px solid #3BAFA2;
}

/* Website view for phone users and small window browsers */
@media screen and (max-width: 960px) {
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar_menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: -1;
    }
    
    .navbar_menu.active {
        background: #4646A5;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 60vh;
        font-size: 25px;
    }

    #navbar_logo {
        padding-left: 25px;
      }
    
    .navbar_resize .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
      }
    
    .navbar_items {
        width: 100%;
      }
    
    .navbar_links {
        text-align: center;
        padding: 32px;
        width: 100%;
        display: table;
      }
    
    #mobile_navbar {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
      }
    
    .navbar_resize .bar {
        display: block;
        cursor: pointer;
      }
    
    #mobile_navbar.is-active .bar:nth-child(2) {
        opacity: 0;
      }
    
    #mobile_navbar.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }
    
    #mobile_navbar.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }
}

/* Hero section styling */
.hero {
    background: #E6F0F0;
    padding: 130px 0;
}

.hero_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 90%;
    text-align: center;
    padding: 30px;
  }
  
  .hero_heading {
    font-size: 100px;
    margin-bottom: 24px;
    color: #4646A5;
  }
  
  .hero_heading span {
    background: #3BAFA2;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -mo-text-fill-color: transparent;
  }
  
  .hero_description {
    font-size: 40px;
    background: #4646A5;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
  }
  
  /* Resize for mobile users */
  @media screen and (max-width: 768px) {
    .hero_heading {
      font-size: 60px;
    }
  
    .hero_description {
      font-size: 40px;
    }
  }

/* Info section */
.info {
    background-color: #fff;
    padding: 10rem 0;
  }

  .info h1 {
    background-color: #252525;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    margin-bottom: 50px;
    font-size: 64px;
    padding-bottom: 5px;
    text-align: center;
  }
  
  .info_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    height: 90%;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
  }
  
  .info_content {
    color: #000000;
    width: 100%;
    height: 500px;
    border: 5px solid #4646A5;
    border-radius: 8px;
    padding: 15px;
    background-color: #F2F2F2;
  }
  
  .info_content h2 {
    font-size: 48px;
    background: #4646A5; /* fallback for old browsers */
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
  }
  
  .info_content p {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 500;
  }

  .info_img_container {
    text-align: center;
  }
  
  .info_img_card {
    margin: 10px;
    height: 500px;
    width: 500px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background-image: #fff;
  }
  
  .info_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;

  }

  
  /* Style for the iframe*/
  iframe {
  margin-top: 90px;
  margin-left: auto;   /* Automatic margin from left */
  margin-right: auto; /* Automatic margin from right */
  display:block; /* Centers the iframe */
  } 
  
  /* Mobile Responsive */
  @media screen and (max-width: 1100px) {
    .info_container {
      display: grid;
      grid-template-columns: 1fr;
      align-items: center;
      justify-content: center;
      width: 100%;
      margin: 0 auto;
      height: 90%;
    }
  
    .info_img_container {
      display: flex;
      justify-content: center;
    }
  
    .info_img_card {
      height: 425px;
      width: 425px;
    }
  
    .info_content {
      text-align: center;
      margin-bottom: 4rem;
    }
  
    .info_content h1 {
      font-size: 2.5rem;
      margin-top: 2rem;
    }
  
    .info_content h2 {
      font-size: 3rem;
    }
  
    .info_content p {
      margin-top: 1rem;
      font-size: 1.5rem;
    }
    
  }
  
  @media screen and (max-width: 480px) {
    .info_img_card {
      width: 250px;
      height: 250px;
    }
  
    .info_content h1 {
      font-size: 2rem;
      margin-top: 3rem;
    }
    .info_content h2 {
      font-size: 2rem;
    }
  
    .info_content p {
      margin-top: 2rem;
    }
  
  }

/* Gallery Section */
.gallery_section {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10rem 0;
}

.gallery_section h1 {
  background-color: #252525;
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 10px;
  font-size: 64px;
}

.gallery_container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;

}


.gallery_image {
  display: inline-block;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 30px;
}

.gallery_image img {
  width: 100%;
  transition: 0.25s ease-in-out;
}


.gallery_image:hover img {
  transform: scale(1.1);
}

.gallery_container h2{
  position: absolute;
  padding: 5px;
  margin: 5px;
  font-size: 25px;
  background: #000000;
  color: #ffffff;
  border-radius: 5px;
  opacity: 0;
  z-index: 1;
  transition: 0.25 ease-in-out;
}

.gallery_image:hover h2{
  opacity: 0.5;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1300px) {
  .gallery_container h2 {
    grid-template-columns: 1fr 1fr;
    font-size: 20px;
  }
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 768px) {
  .gallery_container {
    grid-template-columns: 1fr;
    
  }
}

  .gallery_container h2 {
    font-size: 15px;
  }
  
/* About Us Section */
.aboutus {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10rem 0;
  }
  
  .aboutus h1 {
    background-color: #252525;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    margin-bottom: 50px;
    font-size: 64px;
    padding-bottom: 5px;
    text-align: center;
  }
  
  .aboutus p {
    text-align: center;
    font-size: 20px;
  }
  
  .aboutus_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  
  .aboutus_card {
    margin: 40px;
    height: 450px;
    width: 320px;
    border-radius: 5px;
    border: 2px solid #252525;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #252525;
    transition: 0.3s ease-in;
    background-color: #F2F2F2;
  }
  .aboutus_card:hover {
    box-shadow: 0 8px 16px 0 #000000;
  }

  .aboutus_card_container {
      padding: 10px;
  }
  
  .aboutus_card img {
      border-radius: 5px 5px 0 0;
      height: 80.4%;
  }
  
  .aboutus_card h2 {
    text-align: center;
  }
  
  .aboutus_card h3 {
    text-align: center;
    color: #708090;
  }
  .aboutus_card p {
    text-align: center;
    font-size: 16px;
  }
  
  @media screen and (max-width: 1300px) {
    .aboutus_wrapper {
      grid-template-columns: 1fr 1fr;
    }
}
  
  @media screen and (max-width: 768px) {
    .aboutus_wrapper {
      grid-template-columns: 1fr;
    }
}

/* Footer CSS */
.footer_container {
  background-color: #596c72;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#footer_logo {
  color: #fff;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 25px;
}

.footer_links {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.footer_link_wrapper {
  display: flex;
}

.footer_link_items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 16px;
  text-align: left;
  width: 160px;
  box-sizing: border-box;
}

.footer_link_items h2 {
  margin-bottom: 16px;
  color: #fff;
}

.footer_link_items a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: 0.3 ease-out;
}

.social_icon_link {
  color: #fff;
  font-size: 24px;
}

.footer_ender {
  max-width: 1000px;
  width: 100%;
}

.footer_ender_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  margin: 40px auto 0 auto;
}

.social_icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80px;
}

.copyright {
  color: #fff;
}

@media screen and (max-width: 820px) {
  .footer_links {
    padding-top: 30px;
    padding-left: 20px;
  }

  #footer_logo {
    margin-bottom: 2rem;
  }

  .copyright {
    margin-bottom: 2rem;
  }

  .footer_link_wrapper {
    flex-direction: column;
  }

  .footer_ender_wrapper {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .footer_link_items {
    margin: 0;
    padding: 10px;
    width: 100%;
  }
}