body {
    margin: 0;
}
header {
    width: 100%;
    text-align: center;
    height: 6vh;
}

main {
    height: 80vh;
    position: relative;
}
#blackCurtain {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    flex-direction: row;
    align-items: center;
    align-self: center;
    align-content: center;
    justify-content: center;
}
nav {
    width: 100%;
    margin: 0;
    padding: 0;
  height: 3vh;
}
nav ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
nav ul li {
    margin: 0;
    padding: 0;
    display:inline-block;
    width: calc((100% / 3) - 3px);
    text-align: center;
    cursor: pointer;
}
#krzyzyk {
    color: white;
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    font-weight: 800;
    font-size: 2em;
}

textarea {
    font-size: 30px;
    max-width: calc(100% - 5px);
    text-align: center;
    border: none;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    overflow: hidden;

    resize: none; /*remove the resize handle on the bottom right*/
}
#wielkosc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#employeesList {
    display: flex;
    align-items: flex-end;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
}
#employees {
    position: relative;
    top: 10%;
    left: 0;
    height: 90%;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    border: 2px solid black;
}
#packlists {
    position: absolute;
    top: 0;
    left: 0;
    height: 10%;
    display: flex;
    align-items: flex-end;
}

#delivery {
    position: relative;
    top: 10%;
    left: 0;
    width: calc(100% - 5px);
    height: calc(90% - 4px);
    padding: 3px;
    border: 2px solid black;
}
#nazwa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    
}
.flex {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.bar {
    max-width: 45%;
}
.description {
    max-width: 50%;
}
textarea:active, textarea:focus {
    border: 0!important;
}

#colors, #logon, #blackCurtain, #checkOther,#ukryte {
    display: none;
}

main ul {
    margin-block-start: 0;
    margin-block-end: 0;
    list-style-type: none;
    padding-inline-start: 0;
    padding: 0;
    margin: 0;
}

main li {
    cursor: pointer;
    border: 2px solid black;
    border-bottom: 0px;
    padding: 8px;
    margin-right: 2px;
    font-size: 0.7em;
    border-top-left-radius: 18px;
    border-top-right-radius: 25px;
    min-width: 40px;
    text-align: center;
}
.chosen {
    position:relative;
    top: 2px;
}
.objasnienie {
    position: absolute;
    top: 40%;
    width: 100%;
    left: 0;
    height: 10%;
   font-weight: bold;
}
.wlasciwa {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    max-height: calc(50% - 6px);
    overflow: auto;
}
#logon, #colors {
    background: white;
    width: 250px;
    text-align:center;
    padding: 15px;
    border-radius: 13px;
}
p:after {
    content: ":";
}
.flexi div:nth-child(1),.flexi div:nth-child(3),.flexi div:nth-child(5) {
    background: rgba(40,40,40,0.4)
}
.flexi {
    display: flex;
    flex-direction: row;
}
.flexi div {
    margin-left: 4px;
    margin-right: 4px;
    padding: 5px;
    height: 50px;
    width: calc(20% - 8px);
    overflow: hidden;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
li img {
    width: 20px;
    height: 10px;
}
.objasnienie table {
    width: 100%;
}

.objasnienie td {
    width: 20%;
    text-align: center;
}
input {
    text-align:center;
}

.info {
    font-size: 8px;
    font-style: italic;
    width: 100%;
    text-align: center;
}