
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* styling navigation */

header {
    position: fixed;
    left: 0;
    height: 100%;
    width: 30%;
    max-width: 300px;
    background-color: rgb(104, 103, 124);
    font-family: sans-serif;
    border-right: 2px solid rgb(177, 177, 177);
}

header h1 {
    padding: 15px 0 15px 30px;
    font-size: 1.75rem;
    background-color: rgb(88, 87, 105);
    color: rgb(27, 27, 27);
}

nav li {
    list-style-type: none;
    border-bottom: 2px solid black;
    
}

nav li:first-of-type {
    border-top: 2px solid black;
}

nav a {
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    color: rgb(39, 39, 39);
    padding: 20px 0 20px 20px;
}

nav a:hover {
    background-color: rgb(90, 89, 107);
    color: black;
}

/* ----------------- */

main {
    width: 100%;
    background-color: #1b1b32;
    padding-left: min(330px, 30%);
    padding-top: 15px;
    display: flex;
    flex-flow: row wrap;
    font-family: sans-serif;
    gap: 25px 20px;
    padding-bottom: 40px;
}

/* styling elements */

.item {
    border: 3px solid black;
    width: max(45%, 300px);
    background-color: #f5f6f7;
    border-radius: 20px;
}

.item > div {
    display: flex;
    height: 80%;
}

.item ul {
    /* align-content: center; */
    margin: 20px;
}

.item li {
    list-style-type: "-  ";
}

.item li:last-of-type {
    list-style-type: none;
}

.item img {
    border: 1px solid rgb(199, 199, 199);
    border-radius: 10px;
    max-height: 250px;
    height: 100%;
    display: block;
    margin: 10px;
}

.item h2 {
    text-align: center;
    padding: 0 10px;
    border-bottom: 2px solid rgb(73, 73, 73);
    background-color: rgb(223, 223, 223);
    border-radius: 17px 17px 0 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* barcode */

.barcode {
    width: 80px;
    margin: 0 auto;
    margin-top: 12px;
}

.barcode a {
    text-decoration: none;
    background-color: black;
    color: white;
    display: block;
    padding: 11px;
    text-align: center;
    border: 2px solid black;
    border-radius: 10px;
}

.barcode a:hover {
    background-color: rgb(53, 53, 53);
}

.barcode5840 a {
    background-color: rgb(137, 0, 216);
    border: 2px solid rgb(85, 0, 146);
}

.barcode5840 a:hover {
    background-color: rgb(113, 0, 178);
}

/* additional styling */

.bold {
    font-weight: bold;
}

.highlight {
    border-bottom: 2px dotted red;
    border-top: 2px dotted red;
}

