/* 1758389417562 */
:root {
    --info-text: white;
    --main-background: white;
    --blue-text: #0033CC;
    --davis-blue-background: #163972;
    --davis-blue-background2: rgb(28, 72, 142);
    --transparent: rgba(0, 0, 0, 0)
}

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


@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?11yix9');
    src:  url('fonts/icomoon.eot?11yix9#iefix') format('embedded-opentype'),
      url('./fonts/icomoon.ttf?11yix9') format('truetype'),
      url('./fonts/icomoon.woff?11yix9') format('woff'),
      url('./fonts/icomoon.svg?11yix9#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
    
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-phone:before {
    content: "\e942";
  }
  .icon-envelop:before {
    content: "\e945";
  }
  .icon-location:before {
    content: "\e947";
  }


body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--main-background);
    background-size: cover;
    font-family: "Sawarabi Gothic",  Georgia, 'Times New Roman', Times, serif;
}

section.title h1 {
    text-shadow: 0 0 6px black;
}

 h2 {
    max-width: 500px;
    text-align: center;
    margin: 15px auto;
}

header, footer {
    background: var(--davis-blue-background2);
    color: var(--info-text);
    z-index: 1;
}

a {
    text-decoration: none;
}

address {
    font-style: normal;
    text-align: center;

    & ul {
        padding: 10px 0;
    }
}

h2, main img, main iframe {
    border-radius: 10px;
}

iframe {
    width: 70vw !important;
    height: 40vh;
}

.hidden {
    display: none;
    min-width: none;
}

.center-aligned {
    margin: auto;
    text-align: center;
    align-content: center;
}

.right-aligned {
    margin: auto 0 auto auto;
    text-align: end;
}

header {
    display: flex;
    position: sticky;
    top: 0;
    padding: 1vh 4vw;
    height: 11dvh;
    min-height: 100px;
    max-height: 13dvh;
    box-shadow: 1px 1px 10px black;
    justify-content: space-between;
}

header section {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.copyright, footer .right-aligned, header img, header section.title {
    z-index: 1;
}

header img {
    align-self: center;
}

nav {
    display: flex;
}

#hamburger {
    display: none;
}

nav .hamburger-btn:hover {
    cursor: pointer;
}

nav .hamburger-btn {
    margin: auto;
    align-self: center;
    justify-self: center;
    min-height: 40px;
    min-width: 40px;
    position: relative;
    appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 50%;
    border: 2px solid rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.137);
    z-index: 1;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 60%;
    background-color: rgb(245, 245, 245);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger-btn span:nth-child(1) {
    top: 25%;
    transition: .3 ease;
}

.hamburger-btn span:nth-child(2) {
    transition: .1s ease;
}

.hamburger-btn span:nth-child(3) {
    top: 75%;
    transition: .3 ease;
}

.hamburger:checked ~ .hamburger-btn span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: .3s ease-in-out;
}


.hamburger:checked ~ .hamburger-btn span:nth-child(2) {
    opacity: 0;
    transition: .3s ease;
}

.hamburger:checked ~ .hamburger-btn span:nth-child(3) {
    top: 53%;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: .3s ease-in-out;
}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 2em;
    background-color: #1c478e;
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    translate: 45vw;
    list-style: none;
    transition: .2s ease-out;
    padding-right: 4vw;
    padding-inline-start: 10px;
    margin-block: 0;
    will-change: translate;
}

.nav-links li {
    margin: 2vh 0;
}

.nav-links li a {
    transition: none;
    font-weight: bolder;
    text-decoration: none;
    border-radius: 25px;
    min-width: 50%;
    padding: 10px 10px;
}

.hamburger:checked ~ .nav-links {
    transition: .2s ease-in; 
    translate: calc(-96vw + 40px); 
    box-sizing: content-box;
}

ul.nav-links .menu-link {
    display: block;
    background-color: aliceblue;
    width: 80dvw;

    &:active {
        color: rgba(255, 255, 0, 0.815);
    }
}

body main {
    display: flex;
    flex-direction: column;
    margin: 3vh auto 6vh;
    align-items: center;
    font-size: .875rem;
    background-color: var(--main-background);
}

main p {
    text-align: justify;
    padding: 0 1dvh;
}

main ul {
    text-align: start;
    align-self: flex-start;
}

main img, main iframe {
    width: 90dvw;
    max-width: 800px;
    box-shadow: 0px 0px 10px black, 
    0px 0px 20px rgba(50, 50, 50, 0.6);
    border: none;
}

article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

footer {
    position: fixed;
    bottom: 0;
    display: flex;
    font-size: .8em;
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 1vh 4vw;
}

footer a {
    color: white;
    padding: 0 10px ;
}

@media only screen and (min-width: 768px) {
    .hamburger {
        display: none;
    }

    header {
        align-items: center;
        max-height: max-content;
    }

    header img {
        max-height: 14dvh;
    }

    header nav {
        justify-content: center;
    }

    header h1 {
        display: none;
    }

    nav .hamburger-btn {
        display: none;
    }

    .nav-links {
        translate: 0px;
        flex-direction: row;
        min-height: 1vw;
        position: relative;
        margin: auto 0 auto auto;
        padding: 0;
        width: 100%;
        align-content: center;
        transition: none;
    }

    header .nav-links li {
        list-style: none;
        padding: 0 1vw ;
        width: max-content;
        margin: auto;
        border-right: 2px solid rgb(255, 255, 255);
    }

    header .nav-links li a {
        width: max-content;
        color: rgb(255, 255, 255);
        font-size: 1rem;
        padding: 0;
    }

    header .nav-links li a:hover {
        color: yellow;
        text-decoration: underline;
    }

    header .nav-links :last-child {
        border-right: none;
    }

    header ul.nav-links .menu-link {
        width: max-content;
        background-color: transparent;
    }

    .nav-links .current-page {
        color: rgb(233, 233, 16);
    }
}