@font-face {
    font-family: custom;
    src: url("fonts/Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: custom;
    src: url("fonts/ExtraBold.otf") format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: custom;
    src: url("fonts/Heavy.ttf") format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: custom;
    src: url("fonts/Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: custom;
    src: url("fonts/Medium.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: custom;
    src: url("fonts/Light.ttf") format('truetype'),
         url("fonts/Light.otf") format('opentype');
    font-weight: 200;
    font-style: normal;
}


:root {
    --gold: #F5B637;
    --off-white: #F9F9F9;
    --navy: #0A213A;
    --dark-blue: #0A0D2C;
}

* {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 2.4rem;
    font-weight: 700;
}

body {
    box-sizing: border-box;
    padding-top: 0;
    font: 1.6rem "custom", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html {
    font-size: 62.5%;
    font-weight: 400;
    line-height: 1.6;
    background-color: var(--color-grey-light-1);
    background-size: cover;
    background-repeat: no-repeat;
    scroll-behavior: smooth;

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.header {
    background-image: image-set(
        url("../img/Background.webp") type("image/webp"),
        url("../img/Background.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
/*    height: min-content;*/
}

.contact-header {
    display: flex;
    justify-content: end;
    margin-inline: 3rem;
    padding-block: 1rem;
    border-bottom: solid 1px #FFFFFF;
}

.contact-header__social {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    position: relative;
}

.contact-header__social-item {
    padding-block: 1rem;
    margin-block: -1rem;
    margin-inline: 1rem;
    color: #FFFFFF;
    text-decoration: none;
}

.contact-header__social-item > svg {
    margin-right: 3px;
    transform: translateY(2px);
}

.contact-header__contact {
    margin-inline: 2rem;
}

.contact-header__contact a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    padding-block: 2rem;
    margin-block: -2rem;
}

    .hamburger {
      display: none;
      border: none;
      cursor: pointer;
      background-color: transparent;
      padding: 4px;
    }

    .hamburger .line {
      display: block;
      width: 30px;
      height: 3px;
      background-color: #ffffff;
      margin: 7px 7px;
      transition: 0.4s;
      border-radius: 2px;
    }


/*nav .hamburger {*/
/*    display: none;*/
/*}*/

.contact-header__contact-item:not(:nth-child(-1)) {
    margin-right: 1rem;
}

.contact-header__contact-item > *:not(:nth-child(-1)) {
    margin-right: .5rem;
}

.contact-header__contact-item span {
    vertical-align: center;
    height: 16px;
    line-height: 16px;
}

.contact-header__contact-item:nth-child(1) svg {
    transform: translateY(2px);
}

.contact-header__contact-item:nth-child(2) svg {
    transform: translateY(4px);
}

header li {
    list-style: none;
    padding-inline: 1rem;
}

header li #contact-us {
    padding-block: 1rem;
    padding-inline: 1.6rem;
    border: solid 1px var(--gold);
    border-radius: 5px;
    color: var(--gold);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin: 3rem;
    position: relative;
}

@media screen and (min-width: 1170px) {
    .header__nav {
        margin-inline: 6rem;
    }

    .contact-header {
        margin-inline: 6rem;
    }
}

.nav__list ul {
    display: flex;
    justify-content: space-between;
}

.nav__list-link {
    transition: .2s;
}

.header__nav a {
    color: #FFFFFF;
    text-decoration: none;
}


.header__nav li {
    transition: .2s;
}

.header__nav li:hover {
    transform: translateY(-1px) scale(1.05);
}

.header__nav img {
    height: 32px;
    width: 206px;
    box-sizing: content-box;
    padding: 1rem;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin-block: auto;
    opacity: 1;
    transition-property: opacity;
    transition-duration: .4s;
    transition-timing-function: ease-in;
    transition-delay: .1s;
/*    transform: translateY(-50%);*/
}

@media screen and (max-width: 950px) {
    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .contact-header__social {
        display: none;
    }

    .contact-header__contact {
        margin-left: auto;
    }

    .contact-header {
        background-color: var(--dark-blue);
        margin-inline: 0;
        border: none;

    }

    .header__nav {
        backdrop-filter: blur(10px);
        margin: 0;
        background-color: #0A0D2C99;
    }

    nav .hamburger svg {
        stroke: #ffffff;
    }

  .hamburger {
    display: block;
    align-self: start;
  }
  .hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 8px);
  }
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -8px);
  }

   header li #contact-us {
    padding: 1rem;
    border: none;
    color: var(--gold);
   }

    .nav__list {
        max-height: 0;
        opacity: 0;
        margin-right: auto;
/*        visibility: hidden;*/

        transition:  max-height 0.3s ease-out;
    }

    .nav__list ul {
      display: block;
    }

     .header__nav {

    }

     .header__nav.open img {
        opacity: 0;
        transition-property: opacity;
        transition-duration: 0s;
        transition-delay: 0s;

    }

    .header__nav.open a * {
        pointer-events: none;
    }

    .header__nav.open nav.nav__list  {
        overflow: hidden;
        opacity: 1;
        max-height: 500px;
    }

    .header__nav nav .nav__list-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .header__nav.open nav .nav__list-link:hover {

/*        color: var(--light-blue);*/
/*        transform: none;*/
        transform: translateX(6px) scale(1.05);
/*        transform: translateY(-1px) scale(1.15);*/
    }

    .main-info {
        flex-direction: column;
    }

}


/*.contact-header__background {*/
/*    max-height: 600px;*/
/*}*/


/*********************
**********************
**********************
FOOTER */

footer {
    background-color: #0A0D2C;
    color: #FFFFFF;
    font-size: 1.4rem;
}

.main-info {
    display: flex;
    justify-content: space-between;
    padding: 5rem;
}

main-info > * {
    flex-basis: 20%;
}

.contact {
/*    margin: 2rem;*/
}

.contact__info a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    display: block;
}

.contact__info-logo {
}

.contact__info-logo-border {
    width: 60%;
    height: 1px;
    background-color: #FFFFFF;
    margin-block: 1.5rem;

}

.contact__info-address {
    font-weight: 400;
    margin: 1rem;
}

.contact__info-number {
    font-weight: 700;
    margin: 1rem;
}

.contact__info-hours {
    display: inline-block;
    font-weight: 700;
    margin-inline: 1rem;
}

.address {
    margin-inline: 1rem;
    margin-top: 1rem;
}

.address_title {
    font-size: 1.6rem;
    font-weight: 700;
}

.address__address {
    font-weight: 400;
    margin-block: 2rem;
}

.address__maps iframe {
    width: 100%;
    height: 100%;
}

.footer-border {
    height: 1px;
    width: 95%;
    background-color: #FFFFFF;
    margin-inline: auto;
}

.copyright-notice {
    text-align: center;
    font-size: 1.6rem;
    padding-top: 1.6rem;
    padding-bottom: 5rem;
    margin-inline: 2rem;
}


/*********************
**********************
**********************
ANCHOR TAGS */
#about, #sdi-info, #testimonials {
    scroll-margin-top: 1rem;
}

@media screen and (max-width: 950px) {

  #about, #sdi-info, #testimonials {
      scroll-margin-top: 11rem;
  }

  #our-process {
      scroll-margin-top: 14rem;
  }

}