html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* START CSS */

body {
    position: relative;
    min-width: 770px;
    background: linear-gradient(140deg, rgb(0, 36, 44), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgb(0, 36, 44)),
    linear-gradient(260deg, rgb(0, 8, 44), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgb(0, 8, 44));
    background-size: cover;
    background-color: black;
    background-repeat: no-repeat;
    min-height: 100vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.headerSpace {
    position: relative;
    display: block;
    height: 60px;
    width: auto;
}

/* Navigation */

#navBar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    width: auto;
    padding: 20px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 50;
    backdrop-filter: blur(20px);
}

#navBar img {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translate(0, -50%);
    width: auto;
    height: 75%;
}

#navBar ul {
    display: flex;
    position: relative;
    flex-direction: row;
    width: 50%;
    margin: auto;
    min-width: 610px;
}

#navBar li {
    width: auto;
    text-align: center;
    margin: auto;
}

#navBar a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-family: arial, sans-serif;
    color: #f1f1f1;
    font-size: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

#navBar a:hover {
    color: #ffffff;
}

#navBar a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

#navBar a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Homepage Hero */

#hero {
    display: block;
    position: relative;
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 90vh;
}

/* Headers */

h1 {
    display: block;
    position: relative;
    margin: 20px auto;
    text-align: center;
    font-size: 25px;
    font-family: arial, sans-serif;
    color: white;
}

.pageHeader {
    font-size: 50px;
}

/* Body */

#cards {
    display: flex;
    flex-direction: row;
    margin: 40px auto;
    position: relative;
}

.card {
    position: relative;
    width: 20%;
    margin: auto;
    background-color: rgba(99, 98, 98, 0.25);
    box-shadow: 0px 4px 8px #000000;
    border-radius: 1em;
    backdrop-filter: blur(20px);
}

.card img {
    width: 90%;
    height: 300px;
    margin: 10px auto;
    display: block;
    object-fit: cover;
    border-radius: 1em;
}

.overlayhover {
    display: block;
    border-radius: inherit;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgb(0, 0, 0, 0.8));
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 30;
    opacity: 0;
    text-decoration: none;
    color: white;
    font-family: arial, sans-serif;
    font-size: 1.5vw;
    text-align: center;
    padding-top: 320px;
    transition: 0.3s;
}

.overlayhover:hover {
    opacity: 1;
}

.bold {
    font-weight: bold;
}

.button {
    display: inline-block;
    position: relative;
    padding: 22px;
    font-family: arial, sans-serif;
    font-size: 20px;
    width: auto;
    height: auto;
    background-color: rgba(99, 98, 98, 0.25);
    box-shadow: 0px 4px 8px #000000;
    border-radius: 1em;
    backdrop-filter: blur(20px);
    margin: 30px auto;
    transform: translatex(calc(50vw - 171.55px));
    text-align: center;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.button:hover {
    background-color: rgba(109, 108, 158, 0.25);
    box-shadow: 0px 0px 15px #0024bc;
}

.bodyImg {
    width: 30vw;
    height: 300px;
    margin: 10px auto;
    display: block;
    object-fit: cover;
    border-radius: 1em;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    width: 75%;
    margin: 20px auto;
}

.grid p {
    color: white;
    font-family: arial, sans-serif;
    font-size: 1.3vw;
    margin: 10px;
    line-height: 1.95vw;
}

/* Footer */

footer {
    display: block;
    width: auto;
    position: relative;
    text-align: center;
    font-family: arial, sans-serif;
    font-size: 15px;
    padding: 25px 0;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.5);
    z-index: 40;
    color: white;
    background-color: rgba(99, 98, 98, 0.25);
    backdrop-filter: blur(20px);
}