﻿body {
    width: 100%;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    max-width: 600px;
    font-size: 17px;
}


.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 1em;
    row-gap: 1em;
    width: 95%;
    max-width: 600px;
}

.flex-container-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 95%;
    max-width: 600px;
    justify-content: space-evenly
}

.flex-item {
    margin: 5px;
    padding: 5px;
    border: 1px solid black;
    border-radius: 15px;
    width: 95%;
    min-height: 100px;
}

.flex-item-short {
    margin: 5px;
    padding: 5px;
}

.flex-hdr {
    width: 100%;
    font-weight: bold;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}

input {
    font-size: 17px;
}
select {
    font-size: 17px;
}




/*Hamburger Menu*/
nav {
    display: flex;
    justify-content: space-between;
}
nav ul {
    /*Make the markers disappear*/
    list-style-type: none;
}
nav ul li {
    /*PUt the elements in a single line*/
    display: inline-flex;
    margin: 0.3em 1em;
}
/*Make the checkbox disappear*/
nav input[type="checkbox"] {
    display: none;
}
/*Mobile mode specs*/
input[type="checkbox"]:not(:checked) + ul {
    display: none;
}
nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
    width: 95%;
}
/*styling the menu icon, the checkbox stays hidden*/
nav label {
    text-align: right;
    display: block;
    padding: 0.5em;
    line-height: 1.6em;
    align-self: center;
}
/*Because we are in mobile mode, we want to display as a vertical list*/
nav ul {
    display: block;
}
/*We have 2 lists, the first one are always visible items in the menu bar, the second is the one that will be hidden*/
nav ul:last-child {
    width: 100%;
    flex-basis: 95%;
}
nav ul li {
    margin-bottom: 0;
    width: 95%;
    text-align: right;
    padding: 0.5em;
}
