* {
  font-family: 'Lora', serif;
  background-color: #FFFFFF;


    
}

/* NAVBAR */ 
.navbar {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    padding: 5px;
    text-transform: uppercase;
    font-size: smaller;
    font-weight: 175;

}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    
}

.nav-links li {
    margin-right: 10px;
}

.nav-links li a {
    color:  #077b8a;
    text-decoration: none;
    font-size: 18px;
}

.nav-links li a:hover {
    background-color: #077b8a;
    color: #ffff;;
    font-weight: 400;
}
/* Mobile first queries */
@media (min-width: 768px) {
    .navbar {
      flex-direction: row;
      justify-content: space-between;
      padding: 2%;
    }
    .nav-links {
      flex-direction: row;
      justify-content: flex-end;
    }
    .nav-links li {
      margin-right: 1vw;
    }
    .nav-links li a {
      font-size: 1.4em;

    }
  }
  
  .alexander {
    color: #077b8a;
    font-weight: 100;
  }

  @media (min-width: 1200px) {
    .navbar {
      flex-direction: row;
      justify-content: space-between;
    }
    .nav-links {
      flex-direction: row;
      justify-content: flex-end;
    }
    .nav-links li {
      margin-right: 40px;
    }
    .nav-links li a {
      font-size: 1.6em;
    }
  }

  @media (min-width: 780px) {
    .navbar {
      flex-direction: row;
      justify-content: space-between;
    }
    .nav-links {
      flex-direction: row;
      justify-content: flex-end;
    }
    .nav-links li {
      margin-right: 20px;
    }
    .nav-links li a {
      font-size: 1.0em;
    }

  

  }

  /* FOOTER */ 
  
  .footer {
    width: 100%; 
    text-align: center; 
    padding: 30px 0;
    background-color: #FFFFFF;
    color: #077b8a;
    
    

 }

 .footer p {
  color: #077b8a;
  font-weight: 300;
 }


 .footer h4 {
  margin-bottom: 20px; 
  margin-top: 20px; 
  font-weight: 600;
  color: #077b8a;
  font-weight: 300;

}

.icons .fab {
  color: #077b8a;
  margin: 0 13px;
  cursor: pointer; 
  padding: 18px 0;
  opacity: 0.6;
  font-weight: 300;

}

/* HOME PAGE * 
/* text box on start page */
.text-box {
  width: 90%; 
  color: #077b8a;
  text-align: center;
  display:block;
  margin:0 auto;
  background-color: transparent;
  

}
  

.text-box h1 {
  font-size: 50px;
  font-weight: 400;
  background-color: transparent;
  
 
}

.text-box p {
  margin: 0 0 39px; 
  font-size: 13px;
  color: #077b8a;
  font-weight: 300;
  background-color:transparent;

}

.text-box iframe {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .text-box {
    width: 100%;
  }

  .text-box h1 {
    font-size: 36px;
  }

  .text-box p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .text-box h1 {
    font-size: 36px;
  }
  .text-box p {
    font-size: 12px;
  }
}
/* button */


.bam {
  display: inline-block;
  text-decoration: none;
  color: #077b8a;
  border: 0.5px solid #077b8a;
  padding: 13px 35px;
  font-size: 12px;
  background: transparent;
  margin: 0 auto;
  width: 200px;
  cursor: pointer;
  display:block !important;
   text-align:center !important;
}

.bam:hover {
  border: 0.5px solid #077b8a;
  background: #077b8a;
  transition: 1s;
  color: #FFFFFF;
}

nav .fas {
  display: none; 
   
}

/* Mobile first queries */
@media (min-width: 768px) {
  .text-box {
    width: 80%;
  }
}

@media (min-width: 1200px) {
  .text-box {
    width: 70%;
  }
}

@media (min-width: 500px) {
  .text-box {
    width: 90%;
  }
  


}



/* home page header */ 

.header {
  min-height: 50vh; 
  width: 100%; 
  background-image: url("../images/headerhamiltonedited.png");
  background-position: center; 
  background-size: cover;
  position: relative;  
  backdrop-filter: blur(20px);
  margin-bottom: 20px;
  border-radius: 1%;
}

@media screen and (max-width: 767px) {
  .header {
    min-height: 30vh;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .header {
    min-height: 40vh;
  }
}

/* ABOUT PAGE */ 

.about {
  margin: 0 auto;
  width: 80%;
}

.about .text {
  padding-left: 20px;
  
}



.about img {
  width: 500px;
  height: 350px;
  border-radius: 0;
  display: block;
  float: left;
  margin-right: 40px;
  margin-bottom: 10px;
  border-color: #077b8a;
}

.about h2 {
  font-size: 2.5em;
  text-align: center;
  font-weight: bold;
  color: #323232;
  
}

.about h5 {
  font-size: 1.5em;
  text-align: center;
  font-style: italic;
  color: #077b8a;
}

.about p {
  font-size: 0.9em;
  margin-top: 1em;
  text-indent: 25px;
  line-height: 1.5em;
  color: #077b8a;
  font-weight: 400;

}

.info a.bam {
  font-family: sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #077b8a;
  padding: 10px 25px;
  text-decoration: none;
  display: block;
  margin: 20px auto;
  width: 200px;
  text-align: center;
}


@media only screen and (max-width: 768px) {
  .about p {
    font-size: 1em;
  }


.about img {
  width:90%;
  height: 90%;
}

.about h2 {
  font-size: 1.9em;

}

.about h5 {
  font-size: 1.0em;

}

}

.about h2 {
  font-size: 2.5em;
  text-align: center;
  font-weight: bold;
  color: #077b8a;
  
}

.about h5 {
  font-size: 1.5em;
  text-align: center;
  font-style: italic;
  color: #077b8a;
}

.about p {
  font-size: 0.9em;
  margin-top: 1em;
  text-indent: 25px;
  line-height: 1.5em;
  color: #077b8a;
  font-weight: 400;

}

.info a.bam {
  font-family: sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #077b8a;
  padding: 10px 25px;
  text-decoration: none;
  display: block;
  margin: 20px auto;
  width: 200px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .about p {
    font-size: 1em;
  }


.about img {
  width:90%;
  height: 90%;
}

.about h2 {
  font-size: 2.5em;

}

.about h5 {
  font-size: 1.0em;

}

}

/* MEMBER FORM PAGE*/ 
body{
  width: 100%; 
  height: 100vh; 
  
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
  height: 100%; 
  padding: 20px 100px; 

}

.container:after {
  content: '';
  position: absolute;
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%;
  background: url(/assets/images/contactform.jpg) , no-repeat center; 
  background-size: cover;
  z-index: -1;
  filter: blur(50px);

}

.contact-box {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);  
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #DDD0C8;
  box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.18);
}

.left {
  height: 100%; 
  background: url("../images/contactform.jpg") no-repeat center; 
  background-size: cover;
  
}

.right {
  padding: 25px 40px; 

}

.container div h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
 
}

.container div h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0; 
  transform: translateX(-50%);
  height: 4px; 
  width: 50px; 
  border-radius: 2px;
  background-color: #077b8a;



}

.field {
  width: 100%;
  padding: 0.5rem 1rem; 
  outline: none; 
  border: 2px solid rgba(0, 0, 0, 0);
  background-color: rgba(251, 251, 251, 0.7);
  font-size: 1.1rem; 
  margin-bottom: 22px;
  transition: 1.3s;
}

field:hover {
  background-color: rgba(0,0,0,0.1);
} 
/* this one is bugged*/
field:focus {
  background-color: #F4F4F4;
  border: 2px solid rgba(30, 85, 250, 0.47);
}

.area {
  min-height: 150px;

}

  /*Log-in form*/

  form {
    border: 0.5px #077b8a;
    color: #077b8a;
    font-weight: 100;
    
}

.text-style-member-form {
    font-size: 100px;
}


/* member form */ 

body{
    width: 100%; 
    height: 100vh; 
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    height: 100%; 
    padding: 20px 100px; 

}

.container:after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%;
    background: url(/assets/images/contactform.jpg) , no-repeat center; 
    background-size: cover;
    z-index: -1;
    filter: blur(50px);

}

.contact-box {
    max-width: 850px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #F4F4F4;
    box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.18);
}

.left {
    height: 100%; 
    background: url("../images/contactform.jpg") no-repeat center; 
    background-size: cover;
    
}

.right {
    padding: 25px 40px; 

}

.container div h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
   
}

.container div h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0; 
    transform: translateX(-50%);
    height: 4px; 
    width: 50px; 
    border-radius: 2px;
    background-color: #077b8a;



}

.field {
    width: 100%;
    padding: 0.5rem 1rem; 
    outline: none; 
    border: 2px solid rgba(0, 0, 0, 0);
    background-color: rgba(251, 251, 251, 0.7);
    font-size: 1.1rem; 
    margin-bottom: 22px;
    transition: 1.3s;
}

field:hover {
    background-color: rgba(0,0,0,0.1);
} 

.area {
    min-height: 150px;

}

/* Styles for screens smaller than 768px */
@media (max-width: 767px) {
  .container {
    padding: 20px;
    flex-direction: column;
  }
  
  .contact-box {
    grid-template-columns: 1fr; 
  }
  
  .right {
    padding: 25px;
  }
  
  .field {
    font-size: 1rem; 
    margin-bottom: 16px;
  }
  
  .area {
    min-height: 100px;
  }
  
  .contact-box,
  .right {
    justify-self: center;
    align-self: center;
  }
}

/* Styles for screens between 768px and 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 40px;
    flex-direction: column;
  }
  
  .contact-box {
    grid-template-columns: 1fr; 
  }
  
  .right {
    padding: 25px;
  }
  
  .field {
    font-size: 1.1rem; 
    margin-bottom: 18px;
  }
  
  .area {
    min-height: 120px;
  }
  
  .contact-box,
  .right {
    justify-self: center;
    align-self: center;
  }
}

/* Styles for screens larger than 1024px */
@media (min-width: 1024px) {
  .container {
    padding: 60px 100px;
  }
  
  .contact-box {
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .right {
    padding: 40px;
  }
  
  .field {
    font-size: 1.2rem; 
    margin-bottom: 20px;
  }
  
  .area {
    min-height: 150px;
  }
}
/* EVENTS PAGE */ 

.content-hamilton-page {
  padding: 20px;
  text-align: center;
  color: #077b8a;
}

.content-hamilton-page p {
  padding: 20px;
  text-align: center;

}



.content-hamilton-page h1 {
  font-size: 3.5em;
  color: #077b8a;
  font-weight: 400;
}

.content-hamilton-page h3 {
  font-size: 1.5em;
  color: #077b8a;
  font-weight: 400;
}

.content-hamilton-page a {
  color: #077b8a;
  text-decoration: none;
}

.content-hamilton-page a:hover {
  color: #FFFFFF;
  background-color: #077b8a;
}

.resize {
  width: 300px;
  height: auto;
}

.row {
  width: 100%;
  margin: 5px 0;
 
}

/* THANK YOU FOR JOINING PAGE */ 

.thank-you-contact{
  text-align: center;
  color: #077b8a;
  font-size: 55px;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.thank-you-contact p {
  font-size: 40px;
 
}

/* Styles for smaller screens */
@media only screen and (max-width: 600px) {
  .thank-you-contact {
    font-size: 48px;
  }
  
  .thank-you-contact p {
    font-size: 36px;
  }
}

/* Styles for larger screens */
@media only screen and (min-width: 1200px) {
  .thank-you-contact {
    font-size: 80px;
  }
  
  .thank-you-contact p {
    font-size: 60px;
  }
}





