@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;
}

* {
    box-sizing: border-box;
}


body {
    margin: auto;
    font-family: 'Frutiger', 'Verdana', sans-serif;
    color: black;
    background-image: url('https://tilde.club/~twinbfield/assets/windows_vista_59.jpg');
    background-size: cover;
}

#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: #00836f;
    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: rgb(0, 114, 185);
    text-decoration: none;
}

.card a {
    color: rgb(169, 222, 255);
    text-decoration: none;
}

.card a:hover {
    color: rgb(101, 188, 242);
    text-decoration: underline;
}

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

.card::before {
    z-index: -1;
    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;
}

#center {
    border-radius: 0px;
}

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

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

main {
    flex: 1;
    order: 2;
    padding: 0px 20px 0px 20px;
    background-color: rgba(0, 255, 200, 0.1);

    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;
}

.h-card {
    list-style-type: none;
    padding: 0;
    /* margin: 0; */
}

.h-card a {
    color: white;
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: break-word;
}

.h-card li {
    display: flex;
    align-items: flex-start;
}

.h-card li > img:first-child {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.h-card li > a,
.h-card li > p {
    margin: 0;    
}

/* 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;
        min-width: 0;
    }

    #leftSidebar {
        order: 2;
        width: 100%;
        border-radius: 0px;
    }

    #rightSidebar {
        order: 3;
        width: 100%;
        padding-bottom: 20px;
        border-radius: 0px 0px 18px 18px;
    }

    #navbar ul {
        flex-wrap: wrap;
    }

    .cards {
        grid-template-columns: 1fr;
    }

}
