body {
    font-size: 1.2rem;
    font-family: sans-serif;
}

main {
    padding: 50px;
}

.row-table-form {
    display: flex;
    flex-direction: row;
    width: 800px;
    padding: 15px 5px;
    position: relative;
}

label {
    flex: 1;
}

input {
    flex: 3;
    border-radius: 4px;
    line-height: 1.4rem;
}

input[type="submit"] {
    width: 200px;
    height: 50px;
    font-size: 1.6rem;
}

input[type="radio"] {
    text-align: left;
}

.second-column {
    flex: 3;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

span.error {
    position: absolute;
    left: 100%;
    width: 100%;
}

.logout {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
}

.modal {
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    top: 0;
}

.modal p {
    display: block;
    font-size: 70px;
    color: white;
}

.column1 {
    width: 40%;
}

.column2 {
    width: 60%;
}

/* Menu */

#adicionar_item-btn {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 5px;
    background: white;
    cursor: pointer;
    margin-top: 4px;
}

h2 {
    text-align: center;
    margin: 40px 0;
}

#nav-menu {
    color: black;
    width: 350px;
    height: 400px;
    position: fixed;
    top: -500px;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    visibility: hidden;
    background: #f1f1f1;
    border: 1px solid gainsboro;
    z-index: 1;
    padding-top: 80px;
    padding-right: 40px;
}

#burger-btn {
    position: fixed;
    top: 7px;
    left: 10px;
    width: 50px;
    height: 50px;
    background: #f1f1f1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 2;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
    border-radius: 1px;
}

#burger-btn span {
    background-color: black;
    width: 40px;
    height: 4px;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}

#menu input[type="checkbox"] {
    background: red;
    /* debug */
    position: fixed;
    cursor: pointer;
    width: 50px;
    height: 50px;
    top: 7px;
    left: 10px;
    z-index: 4;
    opacity: 0;
}

#menu input[type="checkbox"]:checked ~ #nav-menu {
    top: 0;
    border-radius: 0 0 20px 0;
    visibility: visible;
}

#menu input[type="checkbox"]:checked ~ #burger-btn {
    -webkit-transform: scale(75%);
    transform: scale(75%);
    border-radius: 3px;
    border: 1px solid black;
    background: black;
}

#menu input[type="checkbox"]:checked ~ #burger-btn span:nth-child(1) {
    background: white;
    -webkit-transform: translateY(11px) rotate(45deg);
    transform: translateY(11px) rotate(45deg);
    -webkit-transform-origin: center;
    transform-origin: center;
    height: 8px;
    border-radius: 3px;
}

#menu input[type="checkbox"]:checked ~ #burger-btn span:nth-child(2) {
    background: white;
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
}

#menu input[type="checkbox"]:checked ~ #burger-btn span:nth-child(3) {
    background: white;
    -webkit-transform: translateY(-11px) rotate(-45deg);
    transform: translateY(-11px) rotate(-45deg);
    -webkit-transform-origin: center;
    transform-origin: center;
    height: 8px;
    border-radius: 3px;
}

.navbar-brand {
    padding-left: 50px;
}
