body {
    margin: 0;
    padding: 0;
}

/* --- Header --- */
.header {
    background-color: black;
    color: white;
    font-size: 24px;
    min-height: 100px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.header__title {
    font-size: 36px;
    text-align: center;
}
.header__nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.nav__link {
    font-size: 24px;
    margin-right: 20px;
    text-wrap-mode: nowrap;
}
.nav__link.link__inactive {
    pointer-events: none;
    text-decoration: none;
    color: gray;
    opacity: 0.8;
}

/* --- Main --- */
.main {
    background-color: rgb(120, 120, 120);
    display: flex;
    flex-flow: row nowrap;
}
.main__left {
    background-color: rgb(212, 212, 212);
    padding: 5px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 20%;
}
.main__container {
    display: flex;
    flex-flow: column nowrap;
    min-height: 100vh;
    width: 80%;
}
.main__header {
    background-color: rgb(56, 56, 56);
    color: white;
    width: 100%;
    min-height: 100px;
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main__inner__container {
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
}
.main__content {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    width: 75%;
}
.main__right {
    background-color: rgb(212, 212, 212);
    padding: 5px;
    margin: 10px;
    width: 25%;
}

/* --- Footer --- */
.footer {
    background-color: rgb(0, 0, 0);
    color: white;
    min-height: 100px;
    font-weight: 400;
    font-size: 24px;
    padding: 25px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

/* --- Smaller screens adaptation --- */
@media (max-width: 820px) or (device-width <= 820px)
{
    .header__nav {
        flex-flow: column nowrap;
        margin-left: 50px;
    }
    .nav__link {
        margin: 10px 0;
    }
    .main {
        flex-flow: column-reverse nowrap;
    }
    .main__left {
        width: auto;
    }
    .main__container {
        width: auto;
        min-height: auto;
    }
}

@media (max-width: 500px) or (device-width <= 500px) {
    .header {
        flex-flow: column nowrap;
        align-items: center;
    }
    .main__inner__container {
        flex-flow: column nowrap;
    }
    .main__content {
        width: 100%;
    }
    .main__right {
        width: auto;
    }
}
@media (device-width <= 600px)
{
    p {
        font-size: 24px;
    }
    .header__title {
        font-size: 64px;
    }
}

/* For 5 lab tasks */
label {
    display: inline-block;
    width: 120px;
    height: 32px;
}
input {
    font-size: 20px;
    height: 1.5em;
}
.main__right.bold {
    font-weight: 700;
}
#checkbox__bold {
    anchor-name: --checkboxBold;
}
#button__clearbold {
    position: absolute;
    position-anchor: --checkboxBold;
    position-area: center right;
    margin-left: 20px;
}
.main__right {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}
.tableImage {
    width: 100px;
    height: auto;
}
#label__addToTable {
    width: 100%;
    margin: 20px 0;
}
#inputTable {
    width: 100%;
}
#scriptTable {
    width: 100%;
    text-align: center;
    background-color: rgb(56, 56, 56);;
}

td {
    background-color: white;
}