* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  width: auto;
  text-align: center;
  color: #F2F2F0;
  background-color: #1B3C59;
  font-family: 'proxima-nova', sans-serif;
  padding: 0;
  margin: 0;
}

body.contact-body {
  background-image: url(../img/skyline.png);
  background-size: cover;
}

.header {
  background-image: url(../img/skyline.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 100%;
  height: 75%;
  padding: 0 0 5rem 0;
}

.top-btn {
  background-color: #11BFAE;
  padding: 4px 20px 4px 8px;
  position: fixed;
  right: 0px;
  bottom: 8em;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #1B3C59;
  text-decoration: none;
  box-shadow: -1px 10px 15px 1px rgba(0,0,0,0.75);
  opacity: 0;
  pointer-events: none;
  transition: all .4s;
  border: none;
}

.top-btn.active {
  opacity: 1;
  bottom: 4em;
  pointer-events: auto;
  z-index: 1;
}

.nav-container {
  width: 100%;
  margin: auto;
}

.nav-subcontainer {
  width: 85%;
  margin: auto;
}

.nav-bar {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

#nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: #F2F2F0;
  text-decoration: none;
  gap: 40px;
  padding: 20px;
}

#nav-menu a {
  color:#F2F2F0;
  text-transform: uppercase;
  font-weight: 650;
  text-decoration: none;
  padding: 0 10px;
}

#nav-menu li {
  margin: 10px;
  text-decoration: none;
}

#nav-menu a:visited {
  text-decoration: none;
}

#nav-menu a:active {
  text-decoration: none;
}

#nav-menu a:hover {
  border:#F2F2F0 2px solid;
  text-decoration: none;
}

.nav-bar img {
  width: 100%;
  height: auto;
  max-width: 2em;
  max-height: 1.5em;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  transition: all 0.3s ease;
  background-color: #11BFAE;
}

.title p {
  text-align: center;
  color: white;
  margin: auto;
  max-width: 400px;
  font-weight: 650;
  margin-top: 1px;
}
.title-bg {
  width: 100%;
  height: auto;
  max-height: 700px;
  max-width: 800px;
  margin-top: 4rem;
}

.card-container {
  display: flex;
  justify-content: space-around;
  flex-flow: wrap;
  background-color: #F2F2F0;
}

.card {
  width: 20%;
  background-color: #1B3C59;
  border: 2px solid #11BFAE;
  margin: 25px;
  transition: 0.3s;
}

.prec-header, .lex-header, .other-header {
  text-align: center;
  padding: 50px 10px;
  color: #F2F2F0;
  text-transform: uppercase;
  position: relative;
  background: url('../img/prec-card.png');
  background-size: cover;
}

.bj-header {
  text-align: center;
  padding: 50px 10px;
  color: #F2F2F0;
  text-transform: uppercase;
  position: relative;
  background: url('../img/cards/Back.png');
  background-size: cover;
}



.card-body {
  padding: 30px 20px;
  text-align: center;
  font-size: 18px;
}

.card-body .btn {
  display: block;
  color: #F2F2F0;
  text-align: center;
  background-color: rgb(17, 191, 174);
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 30px;
  padding: 10px 5px;
  transition: 0.3s;  
}

.card-body .btn-hover {
  transform: scale(1.1);
}

.card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.25);
}

hr {
  border: 1px solid #11BFAE;
  width: 50%;
  max-width: 500px;
  min-width: 300px;
  margin: 20px auto;
}

.about-section {
  margin: 0;
  padding: 2rem;
}

.about-header {
  text-transform: uppercase;
}

.about-info p {
  display: inline-block;
  margin: 20px 10px;
}

.about-info a {
  text-decoration: none;
  color:#11BFAE;
}

.about-info a:visited {
  text-decoration: none;
  color:#11BFAE;
}

.about-info a:hover {
  text-decoration: none;
  color:#456173;
}

/*
  **** CONTACT FORM ****
*/

.contact-title {
  margin-top: 2em;
}

#description {
  margin-bottom: 2em;
  margin-top: 1em;
}

.form {
  width: 60vw;
  max-width: 500px;
  min-width: 300px;
  margin: 0 auto;
  padding-bottom: 2em;
}

.contact-fs {
  border: none;
  padding: 2rem 0;
}

fieldset:not(:last-of-type) {
  border-bottom: 3px solid #11BFAE;
}

#contact-form input {
  background-color: #456173;
  border: 2px solid #11BFAE;
  color: #F2F2F0;

}

#contact-form input,
textarea,
select {
  margin: 10px 0 0 0;
  width: 100%;
  min-height: 2em;
}

#contact-form label {
  display: block;
  margin: 0.5rem 0;
  text-align: center;
}

#contact-form input[type="submit"] {
  display: block;
  width: 60%;
  margin: 1em auto;
  height: 2em;
  font-size: 1.1rem;
  background-color: #456173;
  border-color: white;
  min-width: 300px;
}

.radio-btn {
  display: inline;
}

#submit {
  margin-top: 3em;
}

#submit:hover {
  background-color: #11BFAE;
}


#contact-form input[type="file"] {
  padding: 1px 2px;
}

#contact-form a {
  color: #F2F2F0;
}

.contact-hr {
  border: 1px solid #11BFAE;
  width: auto;
  max-width: 500px;
  min-width: 300px;
}

#contact-form label textarea {
  vertical-align: middle;
}

/*
  *** Contact Home ***
*/

.contact-section {
  padding: 30px;
  padding-bottom: 50px;
  background-color: #F2F2F0;
  color:#1B3C59;
}

.contact-header 
{
  text-transform: uppercase;
}

.contact-info-btn {
  margin-top:20px;
  text-decoration: none;
  display: inline-flex;
}

.contact-info-btn a {
  margin:0 20px;
  text-decoration: none;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 2.5em;
}

.projects-btn {
  border: #11BFAE 2px solid;
  text-transform: uppercase;
  text-decoration: none;
  padding: .5em 1.5em;
  color: #11BFAE;
}

.projects-btn:visited {
  text-decoration: none;
  color: #11BFAE;
}

.contact-btn {
  border: #11BFAE 2px solid;
  background-color: #11BFAE;
  color: #F2F2F0;
  text-transform: uppercase;
  text-decoration: none;
  padding: .5em 1.5em;
}

.contact-btn:visited {
  text-decoration: none;
  color: #F2F2F0;
}

/*
  *** FOOTER ***
*/

.site-footer {
  background-color: #11BFAE;
  padding:45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #1B3C59;
}

.site-footer hr {
  border-top-color: #1B3C59;
}

.site-footer hr.small {
  margin: 20px 0;
}

.site-footer h6
{
  color:#fff;
  font-size:16px;
  text-transform:uppercase;
  margin-top:5px;
  letter-spacing:2px
}

.site-footer a {
  color: #1B3C59;
}

.site-footer a:hover {
  color: #F2F2F0;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links a:active,.footer-links a:focus,.footer-links a:hover
{
  color:#F2F2F0;
  text-decoration:none;
}

.left-col, .right-col, .footer-logo{
  display: inline-block;
  margin: 10px 20px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  max-width: 5em;
  max-height: 3em;
  margin: 20px;
}

@media (max-width: 1024px) {
  .card {
    width: 40%;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #1B3C59;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #1B3C59;
  }

  #nav-menu {
    position: absolute;
    display: inline;
    left: -100%;
    top: 0px;
    gap: 0;
    flex-direction: row;
    background: rgb(27,60,89);
    background: linear-gradient(14deg, rgba(27,60,89,1) 18%, rgba(25,90,109,1) 50%, rgba(17,191,174,1) 100%);
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  #nav-menu.active {
    left: 0% !important;
  }

  .nav-item {
    margin: 16px 0;
  }

}

@media (max-width: 620px) {
  .card {
    width:80%
  }

  .left-col, .right-col, .footer-logo{
    display: block;
  }
  
}

@media (max-width: 1600) {
  .nav-container {
    width: 100%;
  }
}

/*

  Colour Palette:
  Dark Blue #1B3C59
  Grey Blue #456173
  Aqua-ish #11BFAE
  Light grey/white #F2F2F0

*/