:root {
    --nav-color: #d84143;
    --nav-color-secundary: #ba0001;
}
body{
    background:#fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Figtree", sans-serif;
}
.display-block{
    display: block !important;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.topbar{
    background-color: var(--nav-color-secundary);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.lowbar{
    background-color: var(--nav-color);
    height: 7rem;
    width: 100%;
    display: flex;
    max-width: 100%;
    font-family: "Staatliches", sans-serif;
}
.lowbar a{
    cursor: pointer;
}
.lowbar .center{
    flex-direction: row;
}
.main{
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    margin-bottom: 4rem;
}
.sitenav{
    position: sticky;
    top: 0;
    flex-direction: column;
    height: 9rem;
    width: 100%;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 20px 0 rgba(0, 0, 0, 0.19);
    font-family: "Figtree", sans-serif;
}
.start{
    display: flex;
    align-items: center;
}
.center{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.end{
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0.2rem;
}
.nav_menu{
    position: fixed;
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: darkgray;
    border-radius: 1px;
    max-width: 11rem;
    display: none;
}

.sitenav a{
    text-decoration: none;
}
.lowbar img{
    max-height: 6rem;
    padding-right: 0.5rem;
    max-width: 15vw;
}
.topbar img{
    padding-right: 0.5rem;
    max-height: 1.8rem;
}
.topbar ul{
    display: flex;
    align-items: center;
    justify-content: center;
}
.lowbar ul{
    justify-content: space-between;
    width: 60vw;
}
.topbar li{
    display: flex;
    width: auto; /* Makes it as wide as its content */
    white-space: nowrap; /* Prevents wrapping */
    align-items: center;
    justify-content: center;
}
.lowbar li{
    width: auto; /* Makes it as wide as its content */
    white-space: nowrap; /* Prevents wrapping */
}
.topbar a{
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    padding-left: 0.5rem;
    color: white;
}
.lowbar a{
    color: white;
}
.topbar a:hover{
    text-decoration: underline;
}
.topbar li:first-child{
    margin-left: 1rem;
}
.topbar li:last-child{
    margin-right: 1rem;
}
.lowbar a{
    font-size: 2rem;
}
.topbar .end a{
    font-size: 1.5rem;
}
.nav_menu li{
    display: flex;
    padding: 0;
}
.nav_menu a{
    font-size: 1rem;
    color: gray;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    border-bottom: solid lightgray 1px;
}
.nav_menu a:hover{
    background-color: lightgray;
}
footer{
    margin-top: auto;
    background-color: var(--nav-color-secundary);
    border-top: solid var(--nav-color) 5px;
}
.footer-trademark{
    text-align: center;
    color: lightgray;
}
.nav-button{
    display: none;
}
.print-only{
    display: none;
}
@media screen and (min-width: 951px) {
    .lowbar li:hover .nav_menu{
        display: block;
    }
}
@media screen and (max-width: 950px) {
.sitenav{
    height: 7.5rem;
}
.lowbar li .nav_menu{
    position: relative;
}
.lowbar{
    height: 5.5rem;
}
.lowbar ul{
    width: 100%;
}
nav #nav-menu-div{
    position: absolute;
    display: block;
}
.nav-display{
    display: block !important;
}
.nav-button{
    display: flex;
    align-items: center;
    height: 4rem;
    width: 4rem;
    cursor: pointer;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    margin-left: 1rem;
}
.nav-button img{
    display: flex;
    height: 80%;
    align-items: center;
}
.nav-button:hover{
    background-color: var(--nav-color-secundary);
}
.nav-logo{
    display: none;
}
.nav_menu{
    max-width: 100%;
}
.nav-menu{
    display: none;
    position: absolute;
    justify-content: center;
    background-color: var(--nav-color);
    box-shadow: 0 16px 16px 0 rgba(0, 0, 0, 0.4);
    border-bottom: 5px solid #242424CF;
    overflow-y: auto;
    height: calc(100vh - 7.5rem);

    /* FireFox */
    scrollbar-color: #FFFFFF00;
    scrollbar-width: none;
    /* IE */
    scrollbar-face-color: #FFFFFF00;
    scrollbar-shadow-color: #FFFFFF00;
    scrollbar-highlight-color: #FFFFFF00;
    top: 5.5rem;
  }
  .nav-menu li{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .nav-menu a{
    flex-direction: row;
    justify-content: flex-start;
    padding: 0;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 3px solid #cbcbcb4f;
    -webkit-text-stroke: thin;
    box-sizing: border-box;
  }
  .nav-menu a:hover{
    background-color: var(--sec-color);
    -webkit-text-stroke: medium;
  }
}

@media print {
    .sitenav{
        visibility: hidden;
        display: none;
    }
    footer{
        visibility: hidden;
    }
    section{
        break-after: page;
    }
    .print-only{
        display: block;
    }
    .no-print{
        display: none;
    }
    .center.print-only{
        display: flex;
    }
}

@media screen and (max-width: 500px) {
.nav-menu{
    height: calc(100vh - 9rem);
}
}