@charset "utf-8";
/* CSS Document */


/* =========================================================
   FONTS
   ========================================================= */


@font-face {
    font-family: "DejaVuSans-ExtraLight Web";
    src: url("./fonts/DejaVuSans-ExtraLight.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "DejaVuSans Web";
    src: url("./fonts/DejaVuSans.ttf") format("truetype");
    font-display: swap;
}



@font-face {
    font-family: "DejaVuSans Web";
    src: url("./fonts/DejaVuSans-ExtraLight.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DejaVuSans Web";
    src: url("./fonts/DejaVuSans.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "UnPilgi";
    src: url("./fonts/UnPilgi.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "CalamityJaneNF";
    src: url("./fonts/CalamityJaneNF.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "CalamityJaneNF-Bold";
    src: url("./fonts/CalamityJaneNF-Bold.ttf") format("truetype");
    font-display: swap;
}


/* =========================================================
   GLOBAL
   ========================================================= */

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

html,
body {
    height: 100%;
    margin: 0;
}


body {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;

    font-family: "DejaVuSans-ExtraLight Web";
    font-size: 18px;
    font-weight: lighter;
    color: #413823;

    background-color: #7d7267;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    display: block;
    width: 100%;
    height: 12px;
    background-color: #7d7267;
}

p {
    line-height: 25px;
    padding: 4px;
    margin-right: 15px;
}


#content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 15px auto;
}

/* =========================================================
   LINKS
   ========================================================= */

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a:link {
    color: #314e5d;
    font-weight: bold;
}

a:visited {
    color: #056497;
}

a:hover {
    color: #339999;
}

a:active {
    text-decoration: none;
}


/* =========================================================
   FORMS
   ========================================================= */

.container {
    width: 250px;
    clear: both;
}

.container input {
    width: 100%;
    clear: both;
}

input[type="email"],
input[type="text"],
textarea {
    background-color: #7d7267;
}

input[type="submit"],
textarea {
    font-family: "DejaVuSans-ExtraLight Web";
    font-size: 18px;
    background-color: #7d7267;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.textblock {
    background-color: #ebe4dd;
    /* font-size: 20px; */
    border-radius: 12px;
    font-weight: 400;
}


.textblock b,
.textblock strong {
    font-weight: 900;
}

.quotation {
    color:  #ebe4dd; /* #a9bbd0; */
    font-family: "DejaVuSans-ExtraLight Web";
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: normal;
    font-weight: bold;
    text-align: center;

    background-color: #7d7267;

    word-wrap: break-word;

    padding: 8px 16px; /* top/bottom left/right */

}

.quote-text {
    font-style: italic;
}

.quote-author {
    font-style: normal;
}

.footnote {
    color: #A5590D;
    font-size: 10px;
}


.footer {
    width: 100%;
    margin: 0;
    padding: 20px 16px;
    text-align: center;
    background-color: #7d7267;
}

.footer-text {
    width: 100%;
    text-align: center;
    color: #ebe4dd;
    font-family: "DejaVuSans-ExtraLight Web";
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ebe4dd;
    font-weight: bold;
    font-size: 20px;
}

.footer-links a:hover {
    color: #339999;
}

.footer-copy {
    margin-top: 10px;
    font-size: 14px;
}


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

    .footer {
        padding: 4px 4px;
    }

    .footer-text {
        width: 96%;
    }

    .footer-links {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-copy {
        margin-top: 6px;
        font-size: 10px;
        line-height: 1.2;
    }
}


/* @media screen and (max-width: 600px) { */

/*     .footer { */
/*         padding: 10px 4px; */
/*     } */

/*     .footer-text { */
/*         width: 96%; */
/*     } */

/*     .footer-links { */
/*         flex-wrap: nowrap; */
/*         gap: 4px; */
/*     } */

/*     .footer-links a { */
/*         font-size: 9px; */
/*     } */

/*     .footer-copy { */
/*         margin-top: 4px; */
/*         font-size: 7px; */
/*         line-height: 1.1; */
/*     } */
/* } */


.section_header {
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section_header span {    
    font-family: "CalamityJaneNF", sans-serif;
    font-size: 50px;
    line-height: 35px;
    color: #056497;
    font-weight: bold;
}

.section_header img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


@media screen and (max-width: 600px) {
    .section_header span {
        font-size: 35px;
        line-height: 30px;
    }

    .section_header img {
        width: 25px;
        height: 25px;
    }
}

/* =========================================================
   HEADER / BANNER
   ========================================================= */


.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;

    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;
    top: 300px;
    left: 0;
    z-index: 1100;

    width: 250px;
    height: calc(100vh - 300px);
    padding: 8px;

    /* font-family: "CalamityJaneNF", sans-serif; */
    color: #ebe4dd;
    background-color: #7d7267;
    font-size: 22px;

    /* font-size: 37px; /\* for calamity *\/ */

    line-height: 24px;
}

/* Extra padding at the top of the sidebar */
.w3-sidebar.sidebar {
    padding-top: 25px;
}

/* Sidebar links */
.w3-sidebar a,
.w3-sidebar .sidebar-link {
    color: #ebe4dd;
    font-weight: bold;
    text-decoration: none;
}

/* Rounded menu item corners */
.sidebar .w3-button {
    border-radius: 10px;
}


/* All sidebar links: teal on hover */
.sidebar a:hover,
.sidebar .w3-button:hover,
.w3-sidebar .sidebar-link:hover {
    color: #339999 !important;
}

/* Preserve the existing active appearance */
.w3-sidebar a:active,
.w3-sidebar .sidebar-link:active {
    color: #339999;
    background-color: inherit;
}

/* Sidebar item alignment */
.sidebar .w3-bar-item {
    text-align: left;
}


/* =========================================================
   MOBILE SIDEBAR
   ========================================================= */

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

    .w3-sidebar {
        position: fixed;
        top: 0;

        height: 100vh;
        padding-bottom: 150px;

        overflow-y: auto;
    }
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.socialmedia-link {
    display: inline-block;
}

.socialmedia-img {
    transition: transform 0.3s ease;
}

.socialmedia-link:hover .socialmedia-img {
    filter: brightness(0) saturate(0%) invert(30%);
    transform: scale(1.1);
}


/* =========================================================
   DROPDOWNS
   ========================================================= */

.section-flex {
    display: flex;
    align-items: center;

    width: 100%;
}


/* text */

.section-link {
    flex: 1;
    padding: 12px 16px;
    margin: 0;

    text-align: left;
    white-space: nowrap;

    font-family: inherit;
    font-weight: bold;
    line-height: 1.2;

    color: #ebe4dd !important;

    background: none;
    border: none;
    outline: none;

    text-decoration: none;
}


/* Section 2 text hover */

.section-link:hover {
    color: #339999 !important;
    background-color: inherit;
}


/* Dropdown arrow */

.dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 48px;
    flex-shrink: 0;

    cursor: pointer;
    color: #ebe4dd;
    text-decoration: none;
}

.dropdown-arrow-icon {
    display: block;
    width: 15px;
    height: 15px;

    color: #ebe4dd;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.dropdown-arrow:hover {
    color: #339999;
}

.section-flex.open .dropdown-arrow-icon {
    transform: rotate(90deg);
}


/* .dropdown-arrow { */
/*     position: relative; */

/*     display: flex; */
/*     align-items: center; */
/*     justify-content: center; */

/*     width: 50px; */
/*     height: 48px; */
/*     flex-shrink: 0; */

/*     cursor: pointer; */
/*     color: #ebe4dd; */
/*     text-decoration: none; */
/* } */




/* Visible arrow */

/* .dropdown-arrow::after { */
/*     content: "›"; */
/*     display: block; */
/*     width: 10px; */
/*     height: 10px; */

/*     font-family: Arial, sans-serif; */
/*     font-size: 28px; */
/*     font-weight: normal; */
/*     line-height: 1; */

/*     color: #ebe4dd; */

/*     transform: translateY(-10px); */
/*     transition: */
/*         transform 0.2s ease, */
/*         color 0.2s ease;} */


/* /\* Arrow hover *\/ */

/* .dropdown-arrow:hover::after { */
/*     border-color: #339999; */
/* } */


/* /\* Arrow direction when dropdown is open *\/ */

/* .section-flex.open .dropdown-arrow::after { */
/*     transform: rotate(90deg); */
/* } */


/* Dropdown items */

#dropdown1 .w3-bar-item,
#dropdown2 .w3-bar-item {
     width: calc(100% - 15px);
     border-radius: 10px;
     margin-left: 15px;
    
}


/* =========================================================
   MAIN CONTENT LAYOUT
   ========================================================= */

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

    .main {
        margin-left: 0;
    }
}

@media screen and (min-width: 993px) {

    .main {
        margin-left: 250px;
    }
}


/* =========================================================
   BURGER MENU
   ========================================================= */

.menu-button {
    position: absolute;

    margin: 0 !important;
    padding: 0 5px;

    font-size: 26px;
    color: #ebe4dd !important;

    background: transparent;
    border: none;

    cursor: pointer;

    margin-bottom:  15px;
}

.burger-icon div {
    width: 25px;
    height: 3px;
    margin: 5px 0;

    background-color: #ebe4dd;
}


/* =========================================================
   SCROLL MARGIN
   ========================================================= */

[id] {
    scroll-margin-top: 142px;
}


/* =========================================================
   HOME IMAGE PADDING
   ========================================================= */


.home-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
}

/* =========================================================
   DISCLAIMER & SOCIAL NETWORKS
   ========================================================= */

.disclaimer-link {
    margin-top: 20px;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: normal !important;
    opacity: 0.8;
}


.sidebar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px 15px;
}

.sidebar-social a {
    display: block;
    line-height: 0;
    /* color: #ebe4dd; */
}

.sidebar-social img {
    display: block;
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.sidebar-social a:hover img {
    filter: brightness(0) saturate(100%) invert(51%) sepia(18%) saturate(1117%) hue-rotate(131deg) brightness(88%) contrast(86%);
    transform: scale(1.1);
}



/* =========================================================
   HOME IMAGE WITH OVERLAID TEXT
   ========================================================= */

.home {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;}

.home img {
    display: block;
    width: 100%;
    height: auto;
}

.home-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 900px;

    padding: 20px;

    text-align: center;

    /* color: #ebe4dd; */
    color:  #7d7267; /* #056497; /\* #339999 *\/ */
    font-family: "CalamityJaneNF", sans-serif;
     font-weight: bold; 
    
    font-size: 55px;
    line-height: 1.2;

    /* text-shadow: */
    /*     0 2px 5px rgba(0, 0, 0, 0.8), */
    /*     0 0 12px rgba(0, 0, 0, 0.4); */
}

.home-text p {
    margin: 20px 0;
    padding: 0;

    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

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

    .home-text {
        width: 94%;
        max-width: none;

        padding: 8px;

        font-size: 30px;
        line-height: 1.2;
    }

    .home-text p {
        margin: 8px 0;
        padding: 0;
    }
}


.home-content {
    background-color: transparent !important;
    box-shadow: none !important;
    margin: 16px !important;
    padding: 0 !important;
}


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

    .home-text {
        width: 94%;
        max-width: none;

        padding: 8px;

        font-size: 24px; /* clamp(24px, 7vw, 30px); */
        line-height: 1.2;
    }

    .home-text p {
        margin: 8px 0;
        padding: 0;
    }

/* Reduce gap between quote and main text */
    .quotation {
	font-size: 0.9rem;
	line-height: 1.3;
        margin-bottom: 0 !important;
        padding-bottom: 4px !important;
    }
/* Space above content, but none below */
    #content.textblock {
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }
}

.quotation {
    margin-bottom: 0;
}

#content.textblock {
    margin-top: 0;
}


#content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 15px auto;
}

#content .section_header img {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0;
    vertical-align: middle;
}

/* increase size of text block, keeping mobile */

@media screen and (min-width: 993px) {
    .textblock {
        font-size: 22px;
    }
}

/* iframes in mobile */

@media screen and (max-width: 600px) {
    iframe {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
