/* Basic styling */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: sans-serif;
}

nav {
    background: rgb(153, 52, 52);
    padding: 8px;
}
/* 1em */

ul {
    list-style-type: none;
}

a,
.logo {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.menu li {
    font-size: 1rem;
    padding: 1em;
    white-space: nowrap;
}

.item.active {
    display: block;
}

p {
    text-indent: 0em;
    padding: 1em;
}

/* Mobile menu */

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/* align-items: center; justify-content: space-between;*/

.ul-list {
    display: none;
}

.menubutton {
    text-align: right;
}

/* ------------------------------------------- */
.menubutton_animated {
    position: relative;
    left: 90%;
    display: inline-block;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 4px;
  background-color: white;
  margin: 5px 0;
  transition: 0.5s;
}

.change .bar1 { transform: translate(0, 9px) rotate(-45deg); }
.change .bar2 {opacity: 0;}
.change .bar3 { transform: translate(0, -9px) rotate(45deg); }
/* ------------------------------------------- */

.toogle {
    order: 0;
}

.toggle {
    flex: 1;
    text-align: right;
}

.menu-item.button {
    order: 1;
}

.menu-item {
    width: 100%;
    text-align: center;
    order: 2;
}

.button {
    border-bottom: 2px rgb(0, 0, 0) solid;
}

.button a {
    padding: 7.5px 15px;
    background: rgb(0, 0, 0);
    border: 1px #3d0000 solid;
}

.button a:hover {
    text-decoration: none;
    background: #3d0101;
    border-color: #242424;
}

.h2_ {
    padding-top: 1em;
    padding-left: 1em;
    background: White;
}

.h1xxx_ {
    margin: 30px;
    background: #008CBA;
}

/* Desktop menu */

@media all and (min-width: 60em) {
    .menu-item {
        width: auto;
    }
    
    .logo {
        order: 0;
    }
    .menu-item {
        order: 1;
    }
    .button {
        order: 2;
    }
    
    .menu li.button {
        padding-right: 0;
    }
    
    .menubutton {
        display: none;
    }
    .menubutton_animated {
        display: none;
    }
    .toggle {
        display: none;
    }
    .ul-list {
        display: block;
    }
    
    nav {
    background: rgb(153, 52, 52);
    padding: 1em;
}
