
@font-face {
    font-family: crimsonPro;
    src: url(../assets/fonts/CrimsonPro_Complete/Fonts/WEB/fonts/CrimsonPro-Variable.woff2) format(woff2) tech(variations);
    font-weight: 200 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: crimsonPro;
    src: url(../assets/fonts/CrimsonPro_Complete/Fonts/WEB/fonts/CrimsonPro-VariableItalic.woff2) format(woff2) tech(variations);
    font-weight: 200 900;
    font-display: swap;
    font-style: italic;
}

@font-face {
    font-family: playfair-display;
    src: url(../assets/fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf) format(truetype) tech(variations);
    font-weight: 400 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: playfair-display;
    src: url(../assets/fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf) format(truetype) tech(variations);
    font-weight: 400 900;
    font-display: swap;
    font-style: italic;
}

:root {
    --ultramarine: #0437F2;
    --signal-blue: #154889;
    --signal-green: #0F8558;
    --signal-red: #A02128;
    --signal-yellow: #F7BA0B;
    --signal-gray: #9EA0A1;
    --signal-black: #282828;
    --phtalo-blue: #040967;
    --luminous-orange: #FF2300;

    --full-text-height: 1.125em;
    --half-text-height: 0.5625em;
    --quarter-text-height: 0.28125em;

    --toolbar-height: 6rem;
    --text-var: calc(5rem + 10px);




    /*word-break: break-all;*/
    
    /* overflow-wrap: anywhere; */

    /* word break is deprecated, use overflow-wrap: anywhere; instead */

    /* magic width for wordbreak 425px */

}

* {
    box-sizing: border-box
}


body {
    font-family: crimsonPro;
    margin: 0;
    font-size: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);

    /* word-break: break-all; */
    /* overflow-wrap: anywhere; */
    /* overflow-wrap: normal; */
    /* overflow-wrap: anywhere; */
}

.block-image {
    display: block;
    object-fit: contain;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
}

/* 
.heading-distance {
    margin: 0 0 0.5625em 0;
    
    @media (width < 425px) {
        word-break: break-all;
        
    }
}
 */

/* 
 .article-heading {
    margin: 0.67em 0 0 0;

}

 */

 .text-distance {
    margin: 0.5625em 0 0.5625em 0;
}

.quart-text-distance {
    margin: var(--quarter-text-height) 0 var(--quarter-text-height) 0;
}

.toolbar {
    container: toolbar / inline-size;
    display: flex;
    justify-content: center;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--signal-blue);
    height: var(--toolbar-height);

    position: fixed;

    @media (width > 48rem) {
        position: static;
        display: block;
    }
}

.toolbar-navigation {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0;
}

.toolbar-navigation__quick-link {
    color: white;
    text-decoration: none;
}

.toolbar-navigation__items-list {
    display: none;
    margin: 0 0 0 auto;
    font-size: 1.25em;
    color: white;
    list-style: none;

    @media (width > 48rem) {

        display: flex;
        flex-direction: row;
        margin: auto;
    }
}

.toolbar-navigation__items-quick-list {
    color: white;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 1em;

    @media (width > 48rem) {
        display: none;
    }
}

.toolbar-navigation__items-list__item {
    padding: 0 0.5rem;
}

.toolbar-navigation__items-list__item-link {
    color: inherit;
    text-decoration: none;
}

.toolbar-navigation__items-list__item-link:hover,
.toolbar-navigation__items-list__item-link:active {
    outline-style: dotted;
    outline-color: white;
    outline-width: 2px;
    outline-offset: 4px;
    border-radius: 0.25em;
}

.toolbar-navigation__items-list__item-link.active {
    text-decoration: underline;
}

.toolbar-logo__home {
    margin: 0;
    color: white;
    text-decoration: none;
    display: inline-block;

    @media (width > 48rem) {
        margin: 0 auto 0 auto;

    }
}

.toolbar-logo-scale {
    width: 9em;

    @media (width > 48rem) {
        width: 12em;
    }
}

.toggle-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 2em;
    width: 2em;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;

    @media (width > 48rem) {
        display: none;
    }
}

.toggle-button__img {
    height: 100%;
    width: 100%;
    outline: none;
}

.toggle-button:focus-visible {
    outline-offset: 3px;
}


.content {
    
    margin-top: var(--toolbar-height);
    
    @media (width > 48rem ) {
        margin-top: 0;
    }
}

.content-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto 0 auto;
    max-width: 1400px;
}

.side-drawer {
    height: 100%;
    background: white;
    box-shadow: 2px 0px 5px black;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 400px;
    z-index: 200;
    transform: translateX(-110%);
    transition: transform 0.3s ease-out;

    @media (width > 48rem) {
        display: none;
    }
}

.side-drawer__top {
    margin: 0.5em 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}


.side-drawer__top-cross {
    margin: 0 1em 0 auto;
    fill: var(--signal-blue);
    height: 2em;
    width: 2em;
}

.side-drawer__items-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 30% auto 0 auto;
}

.side-drawer__item {
    margin: 0.5em 0;
    align-self: center;
}

.side-drawer__item-link {
    display: inline-block;
    text-align: center;
    color: var(--signal-blue);
    text-decoration: none;
    font-size: 1.75em;
    width: 100%;
}

.side-drawer.open {
    transform: translateX(0);
}
.backdrop.active {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;
    background-color: rgb(0,0,0,0.3);
    z-index: 100;

    @media (width > 48rem) {
        display: none;
    }
}

.map {
    height: 350px;
    z-index: 0;
}

.footer-container {
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}