@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&family=Tomorrow&display=swap');

body {
    margin: 0;
    background-color: #0f1219;
    color: #FEFBE1;
    font-family: sans-serif;
}

div#navbar {
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
}

div#navbar-content {
    position: fixed;
    height: 50px;
    width: calc(100% - 4px);
    text-align: center;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background-color: #0f1219F0;
    z-index: 2;
    margin: 0 2px;
    border-radius: 0 0 50px 50px;
}

div#navbar-bottom {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    z-index: 1;
    background: linear-gradient(90deg, #FEFBE1, #6D84C0, #D2644B, #FEFBE1, #6D84C0);
    background-size: 500% 100%;
    animation: navGradient linear infinite 5s;
    border-radius: 0 0 52px 52px;
}

div#header-background {
    background-image: url('Images/Angled Guardians.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 50px 100px 0 100px;
    border-radius: 0 0 100px 100px;
}

div#header-content {
    text-align: center;
    backdrop-filter: blur(35px);
    border-radius: 0 0 100px 100px;
}

div#content {
    margin: 50px 100px;
    padding-left: 10px;
}

div.grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
}

div.grid-item {
    width: 100%;
    height: max-content;
    background: linear-gradient(45deg, #FEFBE1, #6D84C0, #D2644B, #FEFBE1, #6D84C0);
    background-size: 500% 500%;
    animation: navGradient linear infinite 5s;
    border-radius: 52px;
    transition: scale ease-out 0.2s;
}

div.grid-item:hover {
    scale: 101%;
}

div.grid-item-content {
    background-color: rgba(15, 18, 25, 0.90);
    border-radius: 50px;
    height: calc(100% - 44px);
    width: calc(100% - 44px);
    margin: 2px auto;
    padding: 20px;
}

h1#title {
    margin: auto;
    padding: 17vh 0;
    font-family: "Bruno Ace SC", sans-serif;
    font-style: italic;
    text-shadow: -1px -1px 10px #00000030;
    font-size: 250px;
    animation: titleGradient ease-out 8s infinite;
}

h1#title2 {
    margin: auto;
    padding: 3vh 0;
    font-family: "Bruno Ace SC", sans-serif;
    font-style: italic;
    text-shadow: -1px -1px 10px #00000030;
    font-size: 150px;
    animation: titleGradient ease-out 8s infinite;
}

h2.project-title {
    margin: auto;
    text-align: center;
    font-family: "Tomorrow", sans-serif;
    font-size: 30px;
}

h2.heading {
    margin: auto;
    font-family: "Tomorrow", sans-serif;
    font-size: 30px;
}

p.project-descriptors {
    padding-bottom: 5px;
    font-size: 13px;
}

img.project-image {
    margin: auto;
    width: 100%;
    border-radius: 30px;
    height: 45%;
    object-fit: cover;
}

p.navbar-item > a {
    height: 50px;
    color: #6D84C0;
    transition: color ease-out 0.4s;
    text-decoration: none;
}

p.navbar-item:hover > a {
    color: #D2644B;
}

p.navbar-item-current > a {
    color: #FEFBE1;
}

p.project-descriptors {
    text-align: center;
}

span.navbar-text {
    font-family: "Bruno Ace SC", serif;
    font-size: 15px;
    display: none;
}

p.navbar-item:hover > a > span.navbar-text {
    display: inline;
}

h2#aboutMeContainer {
    text-align: center;
    font-family: "Tomorrow", serif;
    font-size: 30px;
    font-weight: normal;
}

/*noinspection CssUnusedSymbol*/
span#aboutMe > span.blue, span#aboutMeCursor {
    color: #6D84C0;
    font-weight: bold;
}

span#aboutMe > a {
    font-weight: bold;
    color: #D2644B;
}

span#aboutMe > a:hover {
    color: #6D84C0;
}

a {
    color: #6D84C0;
    text-decoration: none;
    transition: color ease-out 0.4s;
}

a:hover {
    color: #D2644B;
}

p.project-descriptors > span.active {
    background-color: #FEFBE1;
    color: #0f1219;
    padding: 3px 7px;
    border-radius: 100vh;
}

p.project-descriptors > span.inactive {
    border: 2px solid #FEFBE1;
    padding: 3px 5px;
    border-radius: 100vh;
}

p.project-descriptors > span.lang {
    border: 2px solid #6D84C0;
    padding: 3px 5px;
    border-radius: 100vh;
}

p.project-descriptors > span.platform {
    border: 2px solid #D2644B;
    padding: 3px 5px;
    border-radius: 100vh;
}

p.project-links {
    text-align: center;
    padding-top: 5px;
}

p.project-links > a {
    border: 2px solid #D2644B;
    color: #FEFBE1;
    padding: 5px 10px;
    border-radius: 100vh;
    font-size: 15px;
    font-family: "Bruno Ace SC", serif;
    transition: background-color ease-out 0.4s, color ease-out 0.4s;
    margin: 0 1px;
}

p.project-links > a:hover {
    background-color: #D2644B;
    color: #0f1219;
}

@keyframes navGradient {
    0% {
        background-position: 0 95%;
    }
    100% {
        background-position: 95% 0;
    }
}

@keyframes titleGradient {
    0% {
        color: #FEFBE1;
    }
    33% {
        color: #6D84C0;
    }
    66% {
        color: #D2644B;
    }
    100% {
        color: #FEFBE1;
    }
}
