* {
    box-sizing: border-box;
}

:root {
    --border-radius: 16px;
    --padding: 8px;
    --borders: 1px solid #ffffff;
    --navbar-height: 36px
}

body {
    margin: 0;
    background-color: #EEF2FA;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 16px 72px;
    margin-top: calc(var(--padding) + var(--navbar-height));
}

a:link,
a:visited,
a:active {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #FE7743;
}

.mobile-disabled {
    display: block;
}

.container,
.grid {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

a[target=_blank]::after {
    /* Use a background SVG icon */
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 10px;

    background-color: currentColor;

    mask-image: url('/static/images/external-link.svg');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    -webkit-mask-image: url('/static/images/external-link.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

/* TOPNAV */
.grid1-main {
    display: flex;
    align-items: center;
    grid-area: 1 / 1 / 2 / 3;
    background-color: #1F2A40;
    margin: 0;
    color: #ffffff;
    flex-wrap: nowrap;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    font-size: larger;
}

.topnav {
    display: flex;
    justify-content: space-around;
    flex: 1;
    z-index: 99;
}

/* SIDENAV */
.sidenav {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    overflow-x: hidden;
    transition: 0.5s;
    background-color: #1F2A40;
    margin-top: var(--navbar-height);
}

.sidenav a {
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
    padding: 8px 8px 8px 32px;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenavopenbutton {
    cursor: pointer;
    margin-right: 8px;
}

/* semesters */
.semesterform {
    padding: 8px 8px 8px 32px;
    width: 100%;
}

.semesterform select {
    padding: 4px 0px;
    border: none;
    background-color: #EEF2FA;
    font-size: medium;
    border-radius: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
    .mobile-disabled {
        display: none !important;
    }

    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.in-progress {
    /*background-color: #E4E4E4;*/
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
}

/* SVG */
.external-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.external-link svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-wrap: nowrap;
}