:root {
    --background: #15293a;
    --accent: #ade3aa;
    --text-light: #f4f3f3;
    --text-dark: #131212;
}

@font-face {
    font-family: ancizar-sans;
    src: url(/fonts/AncizarSans-VariableFont_wght.ttf);
    font-display: swap;
}

@font-face {
    font-family: DMSerif;
    src: url(/fonts/DMSerifText-Regular.ttf);
    font-display: swap;
}

.logo {
    max-width: 100px;
    max-height: 100px;
    margin-right: 20px;
    margin-left: 20px;
}

.navTitle {
    text-align: left;
    font-family: 'DMSerif';
    font-size: 40px;
    text-decoration: none;
}

@media only screen and (max-width: 500px) {
    .navTitle {
        flex-direction: column;
        align-items: flex-start;
        font-size: 26px;
    }
}

/* NAV */
.titleNavLink {
    text-decoration: none;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 36px;

    display: flex;
    align-items: center;
}

.titleNavLink:hover {
    text-decoration: underline;
    text-decoration-color: var(--text-dark);
}


.logoWrapper {
    display: flex;
    justify-content: start;
    padding: 10px;
}

.logo {
    width: 260px;
}

/* Need more room for navbar if narrower than this */
@media only screen and (max-width: 850px) {
    .logo {
        width: 160px;
    }
}

/* Need more room for navbar if narrower than this */
@media only screen and (max-width: 500px) {
    .logo {
        width: 80px;
    }
}

.nav {
    display: flex;
    margin-bottom: 20px;
}

.desktopNavBar {
    display: flex;
    width: 100%;
}

.leftGroup {
    position: absolute;
    top: 0;
    left: 0;
}

.centerGroup {
    padding-top: 90px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1300px) {
    .centerGroup {
        margin-left: auto;
        margin-right: 10px;
    }
}

.rightGroup {
    position: absolute;
    top: 0;
    right: 0;
    height: 80px;
    width: 550px;
}


.contactWrapper {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* Need more room for navbar if narrower than this */
@media only screen and (max-width: 1050px) {
    .desktopNavBar {
        display: none;
    }
}

.navLink {
    color: var(--text-dark);
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 36px;
    font-family: montserrat, montserrat-fallback;
}

@media only screen and (max-width: 1440px) {
    .navLink {
        font-size: 28px;
    }
}

.navLink:hover {
    text-decoration: underline;
    text-decoration-color: var(--text-dark);
}

.phoneLink {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.phone {
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--text-dark);
    text-align: start;
    padding: 0px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    font-family: montserrat, montserrat-fallback;
}

.phoneIcon {
    height: 40px;
    width: 40px;
    padding-right: 10px;
}

/* Hide the phone first to make room */
@media only screen and (max-width: 640px) {
    .phoneLink {
        display: none;
    }
}

.ctaLink {
    color: var(--text-dark);
    text-align: center;
    white-space:nowrap;
    text-decoration: none;
    font-size: 32px;
    font-family: DMSerif;
    border-radius: 2px;
    border-width: 2px;
    cursor:pointer;
    font-weight: 700;
    background-color: var(--accent);
    width: 200px;
    margin-top: 46px;
}

.ctaLink:hover {
    text-decoration: underline;
    text-decoration-color: var(--text-dark);
}

@media only screen and (max-width: 850px) {
    .ctaLink {
        padding: 18px 36px;
        font-size: 18px;
        font-family: DMSerif;
        width: 160px;
    }
}

@media only screen and (max-width: 400px) {
    .ctaLink {
        padding: 12px 12px;
        font-size: 14px;
        font-family: DMSerif;
        width: 160px;
    }
}

.mobileNavLink {
    /* float: left; */
    color: var(--text-dark);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 24px;
    font-family: montserrat, montserrat-fallback;
    font-weight: 500;
}

.mobileCTAWrapper {
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.active {
    text-decoration: underline;
    text-decoration-color: var(--text-dark);
}

.navToggleButton {
    display: none;
}

/* Need more room for navbar if narrower than this */
@media only screen and (max-width: 1440px) {
    .navToggleButton {
        display: inline-block;
        cursor: pointer;
        margin-left: auto;
        padding-right: 10px;
    }
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: var(--text-dark);
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.mobileNavDropdown {
    display: none;
    flex-direction: column;
}

.mobileNavBarWrapper {
    display: none;
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Need more room for navbar if narrower than this */
@media only screen and (max-width: 1050px) {
    .mobileNavDropdown {
        display: flex;
    }

    .mobileNavBarWrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* make sure the footer is always at the bottom of the page, but not sticky */
footer {
    padding-top: 100px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: clamp(200px, 20vw, 300px); 
    background-image: url('/assets/images/footer-splash.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.footerWrapper {
    display: flex;
    justify-content: space-around;
}

.footerInfoWrapper {
    display:flex;
    align-items: center;
}

.mapPinIcon {
    height: 24px;
    width: 24px;
    padding-right: 18px;
    color: #ffac55;
}

.footerText {
    font-size: 36px;
    color: var(--text-dark);
    font-family: montserrat, montserrat-fallback;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media only screen and (max-width: 600px) {
    .footerText {
        font-size: 20px;
    }

    .mapPinIcon, .phoneIcon {
        padding-right: 10px;
    }

    .footerWrapper {
        flex-direction: column;
        padding: 10px;
        align-items: center;
    }
}

@media only screen and (min-width: 601px) {
    .footerText {
        font-size: 24px;
    }
}

@media only screen and (min-width: 768px) {
    .footerText {
        font-size: 24px;
    }
}


@media only screen and (min-width: 992px) {
    .footerText {
        font-size: 24px;
    }
}

@media only screen and (min-width: 1200px) {
    .footerText {
        font-size: 36px;
    }
}

.footerCredits {
    display: flex;
    justify-content: center;
}

.creditsText {
    color: var(--text-dark)
}

.creditsLink {
    color: var(--text-dark)
}