@font-face {
    font-family: 'Frutiger';
    font-style: normal;
    font-weight: normal;
    src: local('Frutiger'), url('https://fonts.cdnfonts.com/s/13615/Frutiger.woff') format('woff');
}

body, html {
    min-height: 100%;
    margin: 0;
}

body {
    margin: auto;
    font-family: 'Frutiger', 'Verdana', sans-serif;
    color: white;
    background: linear-gradient(140deg, #06131f, #0b1f2e 50%, #081018);
}

/* Add swoops and gradients */
body::before {
    content: "";
    position: fixed;
    pointer-events: none;
    inset: -30%;
    background:
        conic-gradient(from 180deg at 50% 50%,
          rgba(0,255,200,0.25),
          rgba(120,160,255,0.22),
          rgba(255,120,220,0.18),
          rgba(0,255,200,0.25)
        );
    filter: blur(10px);
    transform: scale(1.4) rotate(0deg);
    opacity: 0.4;
    mix-blend-mode: screen;
}

body::after {
    position: fixed;
    content: "";
    pointer-events: none;
    inset: -20%;
    background:
        linear-gradient(120deg,
            transparent 20%,
            rgba(255,255,255,0.08) 30%,
            rgba(120,220,255,0.25) 40%,
            rgba(255,255,255,0.08) 50%,
            transparent 60%
        ),
        linear-gradient(60deg,
            transparent 25%,
            rgba(120,255,200,0.18) 35%,
            rgba(255,255,255,0.06) 45%,
            transparent 55%
        ),
        radial-gradient(circle at 20% 10%,
            rgba(255,255,255,0.35),
            rgba(120,220,255,0.2),
            transparent 70%
        ),
        radial-gradient(circle at 75% 85%,
            rgba(255,255,255,0.35),
            rgba(120,220,255,0.2),
            transparent 70%
        );
    mix-blend-mode: screen;
    filter: blur(10px);
    opacity: 0.8;
}

#header {
    padding-top: 8%;
    position: relative;
    border-radius: 18px 18px 0px 0px;

    font-size: 8vh;
    text-align: center;

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.08));
            
    background-color: rgba(0,255,200,0.1);
    overflow: hidden;
    margin-bottom: 0;

}

#header .header-image {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: -5%;
    width: 300px;
    height: auto;
    transform: translateY(-50%);
    opacity: 0.4;
}


#navbar {
    height: 40px;
    width: 100%;
    margin-top: auto;
    background-color: #334c61;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 0;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 12px;
    font-size: large;
}

#flex {
    display: flex;
}

footer {
    width: 100%;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    font-size: smaller;
}

a {
    color: skyblue;
    text-decoration: none;
}

a:hover {
    color: lightseagreen;
    text-decoration: underline;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    position: relative;
    z-index: 1;
    padding: 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #effcff;
    border-radius: 0px 0px 18px 18px;
    backdrop-filter: blur(14px);
}

.card::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 10%;
    border-radius: inherit;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.45),
        rgba(255,255,255,0));
    pointer-events: none;
}

#container {
    padding: 1em;
    max-width: 900px;
    margin: 0 auto;
}

#leftSidebar,
#rightSidebar {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    width: 200px;
    padding: 0 20px;
    background-color: rgba(0, 70, 70, 0.2);
}

#leftSidebar.card::before {
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.45) 0%,
        rgba(255,255,255,0) 10%,
        rgba(255,255,255,0) 100%
    ),
    radial-gradient(
        circle at 20% 80%,
        transparent 10%,
        rgba(120, 255, 219, 0.18) 40%,
        rgba(0,255,200,0.15) 48%,
        rgba(120,220,255,0.12) 56%,
        transparent 70%
    );
    height: 100%;
}

#rightSidebar.card::before {
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.45) 0%,
        rgba(255,255,255,0) 10%,
        rgba(255,255,255,0) 100%
    ),
    radial-gradient(
        circle at 80% 20%,
        transparent 10%,
        #78ffdb2e 40%,
        rgba(0,255,200,0.15) 48%,
        rgba(120,220,255,0.12) 56%,
        transparent 70%
    );
    height: 100%;
}

#center {
    border-radius: 0px;
}

#leftSidebar {
    border-radius: 0px 0px 0px 18px;
}

#rightSidebar {
    border-radius: 0px 0px 18px 0px;
}

main {
    flex: 1;
    padding: 0px 20px 0px 20px;
    background-color: rgba(0, 70, 70, 0.2);

    position: relative;
    overflow: hidden;
    isolation: isolate;
}


td {
    padding: 20px;
}

th.name {
    width: 30%;
}

th.description {
    width: 70%;
}

table {
    margin: 0 auto;
    width: 100%;
}

#teaser img {
    height: 200px;
    object-fit: contain;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* BELOW THIS POINT IS MEDIA QUERY */
@media only screen and (max-width: 800px) {
    table, thead, tbody, tr, th, td {
        display: block;   /* treat everything as block elements */
        width: 100%;      /* each cell takes full width */
    }


    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    /* the order of the items is adjusted here for responsiveness!
    since the sidebars would be too small on a mobile device.
    feel free to play around with the order!
    */
    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}
