/* still for my beautiful wife, my shining star, love you alex */

@font-face {
    font-family: main-font;
    src: url(../fonts/8bitOperatorPlus-Regular.woff) format("opentype");
    font-style: normal
}

@font-face {
    font-family: bold-font;
    src: url(../fonts/8bitOperatorPlus-Bold.woff) format("opentype");
    font-style: normal
}

*{
    margin: 0;
    padding: 0;
}

body {
    background: black;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
    image-rendering: pixelated;
    font-family: "8bitOperatorPlus-Regular",monospace;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px;
}

img {
    max-width: 100%;
}

.outline {
	text-shadow:
		3px 3px 0 #000,
		-3px 3px 0 #000,
		-3px -3px 0 #000,
		3px -3px 0 #000;
}

.banner-container {
    position: relative;
    top: 0px;
    left: 0px;
}

.banner-2 {
    position: absolute;
    top: 0px;
    left: 0px;
}

/*  -------------- navbar elements -------------- */

.navbar {
    z-index: 15;
    width: 100%;
    top: 0;
    position: sticky;
    background-color: black;
    border-color: white;
    border-bottom-style: solid;
    border-top-style: solid;
    border-width: 3px;
}

.navbar li {
    display: inline-block;
    padding: 12px 30px;
}

.navbar .navbar-link {
    padding: 20px;
    color: #ffffff;
    text-shadow: 0 2px rgb(99, 99, 99);
    text-decoration: none;
    font-size: 1.2em;
    font-family: bold-font;
}

.home-link:hover, .home-link:focus {
    color: #E2B3B3;
    text-decoration: none;
    background-color: inherit;
    transition: 0.2s ease;
}

.about-link:hover, .about-link:focus {
    color: #EFD8AA;
    text-decoration: none;
    background-color: inherit;
    transition: 0.2s ease;
}

.devlogs-link:hover, .devlogs-link:focus {
    color: #C1FFC3;
    text-decoration: none;
    background-color: inherit;
    transition: 0.2s ease;
}

.credits-link:hover, .credits-link:focus {
    color: #96D6FF;
    text-decoration: none;
    background-color: inherit;
    transition: 0.2s ease;
}

/*  -------------- footer elements -------------- */

.footer {
    z-index: 15;
    height: 160px;
    width: 100%;
    background-color: black;
    border-color: white;
    border-top-style: solid;
    border-width: 3px;
}

.footer li {
    padding-top: 20px;
    padding-bottom: 10px;
}

.footer .footer-link {
    padding: 10px;
    color: #ffffff;
    text-shadow: 0 2px rgb(99, 99, 99);
    text-decoration: none;
    list-style: none;
    font-size: 1.2em;
    font-family: bold-font;
}

.footer .footer-link :hover {
    filter: drop-shadow(0 0 0.4rem white);
    transition: 0.2s ease;
    cursor: pointer;
}

.footer .footer-disclaimer {
    padding-bottom: 20px;
    color: grey;
    text-decoration: none;
    font-size: 12px;
    font-family: bold-font;
}

.footer a {
	font-family: main-font; 
}

/* -------------- scroll bar -------------- */

::-webkit-scrollbar-track {
    background-color: #2c2c2c;
}

::-webkit-scrollbar-thumb {
    background-color: white;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ddc9ff;
}

::-webkit-scrollbar-corner {
    background-color: rgb(56, 56, 56);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/*  -------------- article -------------- */

.article {
    margin: auto;
    padding-left: 16px;
    padding-right: 16px;
    max-width: 800px;
}

/*  -------------- text -------------- */

h1, h2, h3, h4, h5, h6, p, b, strong {
    color: whitesmoke;
    font-weight: normal;
    margin: 0;
    font-family: main-font;
}

h2 {
    font-size: 2rem;
    font-family: bold-font;
}

p {
    font-size: 1rem;
}

b {
    font-family: bold-font;
}

.indent {
    text-indent: 4em;
}

.sneaky {
    color: #808080;
    font-size: 14px;
}

/*  -------------- flex & alignment classes -------------- */

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

.image-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

/*  -------------- animation properties -------------- */

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2%);
    }
    100% {
        transform: translateY(0);
    }
}

.banner-fadein {
    animation: fadeIn 2s ease-in-out;
}

.banner-float {
    animation: float 3s ease-in-out infinite;
}


