/* FONTS */
@font-face {
    font-family: 'Neue Haas Grotesk';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/NeueHaasGroteskTextPro55Roman/font.woff2') format('woff2');
}
@font-face {
    font-family: 'Neue Haas Grotesk';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/NeueHaasGroteskTextPro75Bold/font.woff2') format('woff2');
}
@font-face {
    font-family: 'Ivy Presto Headline';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/IvyprestoHeadline-Regular.woff2') format('woff2');
}

/* GLOBAL */
*,
*:before,
*:after {
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html {
    overflow-x:hidden;
    font-size: 15px;
    scroll-behavior: smooth;
}
body {
    color:#1E1E1E;
    font-family: 'Neue Haas Grotesk', sans-serif;
    text-wrap:balance;
    background:#131936;
}
main {
    background:white;
}
img {
    width:100%;
    height:auto;
    margin:auto;
    vertical-align:top;
}
video {
    width:100%;
    height: auto;
    vertical-align:top;
}
a {
    color:inherit;
    text-decoration:none;
    cursor:pointer;
}
h1 {
    font-size:4rem;
    font-family: 'Ivy Presto Headline', serif;
    margin-bottom:60px;
    font-weight:400;
    line-height:1.2;
}
@media (max-width: 991px) {
    h1 {
        font-size:3rem;
    }
}
@media (max-width: 767px) {
    h1 {
        font-size:2rem;
        margin-bottom:30px;
    }
}
h2 {
    font-size:3rem;
    font-family: 'Ivy Presto Headline', serif;
    margin-bottom:30px;
    font-weight:400;
    line-height:1.2;
}
@media (max-width: 991px) {
    h2 {
        font-size:2.5rem;
    }
}
@media (max-width: 767px) {
    h2 {
        font-size:2rem;
    }
}
h3 {
    font-size:2rem;
    margin: 0 0 15px;
    font-weight:400;
}
@media (max-width: 991px) {
    h3 {
        font-size:1.5rem;
    }
} 
p {
    margin-bottom:30px;
    line-height:1.5;
}
strong {
    color:#037A70;
    font-weight:700;
}
ul {
    margin-left:15px;
    margin-bottom:30px;
}
li {
    margin-bottom:5px;
}
section {
    padding:120px 0;
}
@media (max-width: 991px) {
    section {
        padding:60px 0;
    }
} 
input,
select,
textarea {
    display:block;
    width:100%;
    max-width:450px;
    margin-bottom:15px;
    padding:15px;
    font-family:inherit;
    border-radius:5px;
    border:1px solid black;
}

.desktop {
    display: block;
}
.mobile {
    display: none;
}
@media (max-width: 767px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
}
.container {
    padding:0 15px;
    max-width:1200px;
    width:100%;
}
.btn {
    padding:15px 20px;
    background: #39586D;
    color:white;
    text-decoration: none;
    border-radius:10px;
    display:inline-block;
    transition: all 0.3s ease;
    border:0;
    cursor:pointer;
}
.btn:hover {
    background:#1f3645;
}
.subtitle {
    margin-bottom:15px;
}
.subtitle:before {
    content:'●';
    color:#5CA396;
    margin-right:10px;
}
.textlink {
    font-weight: bold;
    padding-bottom:5px;
    border-bottom: 2px solid #04A497;
}
.textcenter {
    text-align:center;
}

/* HEADER */
#header {
    background: #131936;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}
#header.scrolled {
    background: #E8E8E1;
}
#header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    padding: 15px;
    margin: auto;
    position: relative;
}
#header .logo {
    margin-right:15px;
    max-width:180px;
}
#header .navy-logo {
    display:none;
    transition: all 0.3s ease;
}
#header.scrolled .white-logo {
    display:none;
}
#header.scrolled .navy-logo {
    display:block
}
#header .menu {
    display: flex;
    align-items:center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#header .menu li a {
    color: white;
    text-decoration: none;
    font-weight:bold;
}
#header.scrolled .menu li a {
    color:#131936;
}
#header .menu li a:hover {
    color: #04A497;
}
#header .btn {
    background:transparent;
    border:1px solid white;
    text-decoration:none;
    font-weight:normal;
}
#header.scrolled .btn {
    border-color:#131936;
}
#header .btn:hover {
    background:white;
    color:#131936 !important;
}
@media (max-width: 991px) {
    #header .btn {
        padding:10px 10px;
    }
}
#header .hamburger {
    font-size: 32px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
}
#header.scrolled .hamburger {
    color:#131936;
}
@media (max-width: 767px) {
    #header .menu {
        flex-direction: column;
        position: absolute;
        align-items:baseline;
        top: 100%;
        right: 0;
        background: #131936;
        border-top: 1px solid white;
        padding: 15px 30px;
        display: none;
        z-index:2;
    }
    #header.scrolled .menu {
        background:#E8E8E1;
    }
    #header .menu.open {
        display: flex;
    }
    #header .hamburger {
        display: block;
    }
}

/* FOOTER */
#footer {
    background:#131936;
    color:white;
    padding:60px 0;
}
#footer .border {
    border-bottom: 1px solid #39586D;
    padding-bottom:60px;
    margin-bottom:60px;
}
#footer .textlink {
    float:right;
}
#footer .textlink:hover {
    color:inherit
}
@media (max-width: 767px) {
    #footer .textlink {
        float:none;
    }
}
#footer .logo {
    max-width:180px;
    display: inline-block;
    margin-bottom:15px;
}
#footer a {
    transition: all 0.3s ease;
}
#footer a:hover {
    color: #04A497;
}
#footer .links a {
    display: block;
    font-weight:bold;
    font-size:1.2rem;
    padding:5px 0;
    margin-bottom:5px;
}
#footer .legal {
    font-size:.75rem;
}
#footer .copyright {
    margin-top:30px;
    font-size:.75rem;
}

/* MODALS */
.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:999;
}

.modal__container {
  background-color: #fff;
  padding: 60px 30px 30px;
  width:100%;
  max-width: 500px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
  position:relative;
  text-align:center;
  margin:15px;
  z-index:9;
}

.modal__close {
  background: transparent;
  border: 0;
  position:absolute;
  top:15px;
  right:15px;
  font-size:1.5rem;
  cursor:pointer;
}

.modal__close:before { content: "\2715"; }

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}