.c1f {
    font-family: harabararegular, Helvetica, sans-serif !important;
    font-size: 2em;
    letter-spacing: 1px;
    color: #F5B94C;
    padding-left: 10px;
}

.text {
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #e6e6e6;
    background-clip: content-box;
    -webkit-background-clip: content-box;
}

.ai {
    font-size: 20px;
    color: blue;
    text-decoration: underline;
    background-color: #e6e6e6;
    padding-left: 10px;
    padding-right: 10px;
    background-clip: content-box;
    -webkit-background-clip: content-box;
}

.content-background {
    flex: 1;
    background-image: url('images/clusterfreak22.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: 'harabararegular';
    src: url('fonts/harabara-webfont.woff2') format('woff2'),
    url('fonts/harabara-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'harabarabold';
    src: url('fonts/harabara-bold-webfont.woff2') format('woff2'),
    url('fonts/harabara-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow: auto;
    width: 100vw;
    height: 100vh;
    background-image: url('images/PolygonTree.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-attachment: fixed;
    background-color: #e6e6e6;
    box-sizing: border-box;
}

.navbar {
    height: 50px;
    background-color: rgba(255,255,255,1);
}

.navbar img {
    width: 150px;
    padding: 5px;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    position: relative;
}

.navbar ul .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    padding: 0;
    margin: 0;
    list-style-type: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.navbar ul li:hover .submenu {
    display: block;
}

.navbar ul .submenu li {
    width: 200px;
}

.navbar ul .submenu li a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #2D62AD;
}

.navbar ul .submenu li a:hover {
    background-color: #f1f1f1;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav {
    float: right;
    margin: 0;
}

li {
    display: inline;
    padding: 15px;
}

nav a {
    text-decoration: none;
    color: #2D62AD;
    display: inline-block;
    padding-top: 15px;
    background-color: white;
}

nav a:hover {
    color: #F5B94C;
}

nav a:active {
    font-weight: bold;
}

.orange {
    background-color: #F5B94C;
    margin: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.blue {
    background-color: #2D62AD;
    margin: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.area {
    display: grid;
    grid-gap: 12px;
    grid-template-rows: 50px 50px;
    grid-template-columns: 200px 200px;
    text-align: center;
    justify-content: left;
    padding-left: 10px;
}

.card {
    max-width: 320px;
    height: 100%;
    width: 100%;
    position: relative;
    transition: all 0.5s linear;
    transform-style: preserve-3d;
}

.front,
.back{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 10px;
    backface-visibility: hidden;
}

.front{
    color: #2D62AD;
    background-color: #F5B94C;
    border-color: #2D62AD;
    border-width: 2px;
    border-style: solid;
    z-index: 2;
}

.back{
    color: #F5B94C;
    background-color: #2D62AD;
    border-color: #F5B94C;
    border-width: 2px;
    border-style: solid;
    z-index: 1;
    transform: rotateY(180deg);
}

.container{
    display: flex;
    perspective: 1000px;
}

.container:hover .card{
    transform: rotateY(180deg);
}

@media screen and (max-width: 700px) {
    .content-background {
        background-size: cover;
    }

    .navbar {
        text-align: center;
    }

    nav {
        width: 100vw;
        margin-top: -10px;
        padding: 0;
    }

    nav ul {
        width: 100%;
    }

    nav li {
        display: block;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    nav a {
        text-decoration: none;
        color: #2D62AD;
        display: block;
        width: 100%;
        padding-top: 15px;
        background-color: white;
    }

    .submenu {
        display: none;
    }

    nav li:hover .submenu {
        display: block;
        position: relative;
        width: 100%;
    }

    .submenu li {
        display: block;
        width: 100%;
    }

    .submenu li a {
        padding: 10px;
        background-color: white;
        color: #2D62AD;
    }

    .submenu li a:hover {
        background-color: #f1f1f1;
    }

    .area {
        grid-template-rows: 50px 50px 50px 50px;
        grid-template-columns: 200px;
    }

    footer {
        white-space: nowrap;
    }

    body {
        margin-bottom: 100px
    }

    .image-container img {
        max-height: 100px;
    }
}

h1{
    font-family: harabararegular, Helvetica, sans-serif;
    color: #2D62AD;
    background-color: #F5B94C;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    text-align: center;
    letter-spacing: 1px;
}

p,td,th {
    color: #F5B94C;
}

.right-align {
    text-align: right;
}

* {
    font-family: Arial, Helvetica, sans-serif;
}

p.text{

}

p.footer{
    color: #2D62AD;
    line-height: 50px
}

footer{
    height: 50px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(255,255,255,1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
}

table{
    border-spacing: 0;
    background-color: #2D62AD;
    width: auto;
    padding: 20px;
    margin-left: 10px;
}

.narrow-table {
    width: max-content;
    border-collapse: collapse;
}

.narrow-table th, .narrow-table td {
    padding: 5px;
}

.image-container {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 50px;
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.0);
}

.image-container img {
    height: auto;
}