:root {
    --body-font-size: 10vh;
    --bottom-font-size: 6.6vh;
    --head-font-color: #520450;
    --head-background-color: white;
    --body-font-color: white;
    --footer-background-color: white;
    --footer-font-color: black;
    --body-background-color: #520450;
}

html, body {
    margin:0;
    padding:0;
    width:100vw;
    height:100vh;
    font-family: Arial, sans-serif;
    
    cursor: none;
    overflow:hidden;
}


/* ----------------  IMG container ---------------- */
.image-container {
    flex: 1;
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit:cover;
}

#slideshow {
    transition: opacity 1.5s ease-in-out;
    opacity: 1;
}


/* ----------------  Logo and head ---------------- */

.logo {
    max-width: 32%;
    max-height: 12%;
}

.logoContainer {
    padding-top: 1rem;
}

.cell-30 {
    width: 20%;
    align-content: center;
}

.cell-35 {
    width: 28%;
    align-content: center;
}

.cell-40 {
    width: 46%;
}

/* ----------------  Table ---------------- */

table {
    width: 100%;
    border-collapse: collapse;
    width: 100%;
}

#userTable tr:first-of-type td:nth-child(1),
#userTable tr:first-of-type td:nth-child(2) {
    border-top: none !important;
}

td {
    text-align: left;
    font-size: var(--body-font-size);
    border-top: 1px solid white;
    text-align: center;
}

tbody tr {
    height: 16vh;
    font-weight: bolder;
    color: var(--body-font-color);
}


/* ----------------  Popup  ---------------- */

.popup {
    background-color: #333;
    z-index: 1000;
    width: 100%;
    height:100%;
    font-size: 1vh;
    position: absolute;
    display: none;
    opacity: 1;
    transition: opacity 1s ease;
}

.greenRow, .whiteRow {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.greenRow {
    background-color: var(--body-background-color);
    color: var(--body-font-color);
    height: 17%;
    font-size: 8vh;
}

.whiteRow {
    background-color: white;
    color:var(--head-font-color);
    height: 33%;
    font-size: 17vh;
}

.small-text {
    font-size: 5vh !important;
}

.smaller-text {
    font-size: 10vh !important;
}

.popup.fade-out {
    opacity: 0;
}

/* ----------------  Grid ---------------- */


.parent {
    display: grid;
    grid-template-columns: 45% 55%;
    grid-template-rows: 8vh 84vh 8vh;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.grid-head {
    grid-area: 1 / 1 / 2 / 3;

    display: flex;
    color: var(--head-font-color);
    align-items: center;
    padding: 0 20px;
    font-size: 6vh;
    font-weight: bold;
}

.grid-left {
    grid-area: 2 / 1 / 3 / 2;
}

.grid-right {
    grid-area: 2 / 2 / 3 / 3;

    background-color: var(--body-background-color);
    position:relative;
}

.grid-footer {
    grid-area: 3 / 1 / 4 / 3;

    font-size: var(--bottom-font-size);
    color: #4D566C;
    font-weight: bold;
}

/* ----------------  Blazor specific ---------------- */

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}



