/* Fonts */
@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-VariableFont_wght.ttf);
    font-display: swap;
  }
@font-face {
    font-family: Clear Sans;
    src: url(../fonts/ClearSans-Regular.ttf);
    font-display: swap;
  }

/* Font Styles */
.header {
  font-family: Raleway;
  font-size: 3em;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
}
@media (max-width: 1600px) {
  .header {
    font-size: 2.5em;
  }
}
.copy {
  font-family: Clear Sans;
  font-size: 12pt;
  color: white;
  text-transform: none;
  font-weight: 100;
}

/* div {
  border: solid;
  border-color: red;
  border-width: 5px;
} */

.row {
  max-width: 100%;
  --bs-gutter-x: 0;
}

/* Styling */
#home {
  position: relative;
  min-height: 30vh;
  max-height: 30vh;
  /* background-image: url('../img/homeBackground.jpg'); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 8em;
  }
  .homeButton {
    object-fit: contain;
    height: 10vh;
  }
  #homeContent {
    z-index: 3;
    color:white;
  }
  #homeName img {
    max-height: 100%;
    display: block;
    margin: auto;
    transform: scale(0.5);
  }

  #homeTagline {
    margin-top: 0.25em;
    font-family: Raleway;
    font-size: 1.5em;
    color: white;
    text-transform: uppercase;
  }
body{
  background-color: #1F3B4D;
  max-width: 100%;
}

/* Navbar */
#navbar {
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  height: 13vh; 
  margin-bottom: -13vh;
}
#navbarButton {
  margin-top: 0.5em; 
  margin-bottom: 0.5em;
}
.nav-item {
  margin-top: 5vh;
  margin-left: 5em;
  margin-right: 5em;
  list-style: none;
}
.nav-link {
  font-family: Raleway;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  height: 10vh;
  margin-top: 2.5vh;
  text-decoration: none;
}
.nav-link:focus, .nav-link:hover {
  text-decoration: none;
}
.homeButton {
  object-fit: contain;
  height: 10vh;
}

/* Staff */
#staff {
  margin-top: 8em;
}
.staffPic {
  width: 100%;
  max-width: 80vw;
  margin: 0 auto;
}
.staffPic img{
  position:relative;
  height: 100%; 
  width:100%; 
  object-fit: contain; 
  padding-left: 2.5em;
  padding-right: 2.5em;
  padding-top: 2em;
  padding-bottom: 1em;
  opacity: 80%;
  margin: 0 auto;  
}
.staffCopy {
  padding-left: 3em;
  padding-right: 3em;
  padding-top: 1em;
  padding-bottom: 2em;
}
  /* Contact Form */

  #contact {
    padding-top: 0;
  }

  .contact-form {
    width: 100%;
    margin: 0 auto;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    font-weight: bold;
    color: rgba(244,106,74,1);
  }
  .form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }
  .form-group textarea {
    height: 150px;
  }
  .form-group button {
    background-color: rgba(244,106,74,1);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    float: right;
  }
  #successMessage {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 10px; /* Adjust as needed */
    font-weight: 300;
    font-family: Clear Sans;
    font-size: 0.75em;
  }

#footer {
  background-color: rgba(0,0,0,0.3); 
  padding-top: 1em;
}
.orangeLink a{
  color: rgba(244,106,74,1);
  text-decoration: none;
}
.orangeLink a:visited {
  color: rgba(244,106,74,1);
}

/* Special CSS to override Bootstrap Buttons */
.btn{
  color: #fff;
  background-color:rgba(244,106,74,0.9);
  font-family:'Raleway';
  font-size: 22px;
  font-weight: 300;
  padding: 10px 20px;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}
.btn:hover {
   color: #fff;
  background-color:rgba(244,106,74,0.9);
}


/* Custom Mobile Nav Menu */
#ham-menu {
  display: none;
}

label[for="ham-menu"] {
  display: block;
  position: fixed;
  top: 24px;
  left: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;

}

.ham-menu {
  width: 50vw;
  height: 100%;
  position: fixed;
  top: 0;
  visibility: hidden;
  transform: translate(-110%);
  z-index: 998;
  background-color: #162936;
  transition: 1s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ham-menu > ul {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  padding: 20px;
  height: 50%;
  font-family: Raleway;
}

.ham-menu > ul > li {
  font-size: 2rem;
  white-space: nowrap;
  letter-spacing: 0.15em;
  cursor: pointer;
}

#ham-menu:checked + label {
  background-color: transparent;
  border-color: #ffffff;
}

#ham-menu:checked ~ div.ham-menu {
  transform: translate(0px);
  visibility: visible;
}

#ham-menu:checked ~ div.full-page-blue {
  display: block;
  opacity: 1;
  visibility: visible;
}

[for="ham-menu"] > div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column wrap;
  align-content: center;
  align-items: center;
}

.menu-line {
  display: block;
  width: 17px;
  height: 2px;
  margin: 10px 0 5px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  background-color: #ffffff;
  transition: 500ms;
  transform-origin: right center;
}

[for="ham-menu"] > div > span:nth-child(4),
[for="ham-menu"] > div > span:nth-child(5),
[for="ham-menu"] > div > span:nth-child(6) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  transform-origin: left center;
}

#ham-menu:checked + label span:nth-child(2),
#ham-menu:checked + label span:nth-child(5) {
  transform: scale(0);
}

#ham-menu:checked + label span:nth-child(1) {
  transform: translateY(17px) rotate(45deg);
}

#ham-menu:checked + label span:nth-child(4) {
  transform: translateY(17px) rotate(-45deg);
}

#ham-menu:checked + label span:nth-child(3) {
  transform: translateY(-17px) rotate(-45deg);
}

#ham-menu:checked + label span:nth-child(6) {
  transform: translateY(-17px) rotate(45deg);
}


.text {
  font-size: 2.5em;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Raleway";
}

.title {
  font-size: 3rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Raleway";
  color: #ffffff;
  padding: 10px;
}

.heading {
  font-size: 6rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Raleway";
}

.centre-text {
  text-align: center;
}

.bold-text {
  font-weight: bold;
}

#bgImg {
  position: relative; 
  opacity: 10%; 
  height: 100vh; 
  margin-bottom: -100vh;
}
#bgImg img {
  width: 100%; 
  position: absolute; 
  z-index: -2; 
  object-fit: cover; 
  object-position: center center;
}
#aboutBgImg {
  position: relative; 
  height: 100vh; 
  margin-bottom: -100vh;
}
#aboutBgImg img {
  width: 100%; 
  position: absolute; 
  z-index: -8; 
  object-fit: cover; 
  object-position: center center;
  opacity: 15%; 

}
/* CSS for the mobile navigation menu hiding*/
#mobileNav {
  display: none;
  color: white;
}

#mobileNav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

/* Media query for screens smaller than xl */
@media (max-width: 1199.98px) {
  /* Hide the regular navbar */
  #navbar {
    display: none;
  }
  
  /* Show the mobile navigation menu */
  #mobileNav {
    display: block;
  }
}

/* Masonry Grid CSS */
* { box-sizing: border-box; }

/* force scrollbar */
html { overflow-y: scroll; }


/* ---- grid ---- */

.grid {
  background: #DDD;
  margin: 0 auto;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  max-width: 400px;
}

.grid-item {
  float: center;
  margin-bottom: 24px;
}

.grid-item img {
  display: block;
  max-width: 100%;
  border: 1px transparent;
  border-radius: 24px;
}


#diamond {
  width: 0;
  height: 0;
  border: 25px solid transparent;
  border-bottom-color: rgba(244,106,74,1);
  position: relative;
  top: -25px;
}
#diamond:after {
  content: '';
  position: absolute;
  left: -25px;
  top: 25px;
  width: 0;
  height: 0;
  border: 25px solid transparent;
  border-top-color: rgba(244,106,74,1)
}

.projectPic {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.projectPic img {
  max-width: 100%;
  padding:15px;
}