:root {
    --main-bg-color: #1c427a;
}

body {
    background-color: var(--main-bg-color);
    color: white;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(#1c427a, #e66465);
    margin: 0;
}

body a {
    color: white;
}

body a:visited {
    color: lightslategray;
}

h1#title-animate {
    text-align: center;
    color: var(--main-bg-color);
}

h1#title-animate .static {
    display: inline-block;
    position: relative;
    opacity: 0;
    transition: top 1s, left 1s, opacity 1s;
}

h1#title-animate .static.go-home {
    top: 0 !important;
    left: 0 !important;
    opacity: 1;
    color: white;
}

h2 {
    text-align: center;
}

.footer {
    text-align: center;
}

.title-animate {
    text-align: center;
    padding: 50px 0;
}

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

.minesweeper {
    text-align: center;
}

.minesweeper .grid {
    max-width: 320px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.minesweeper .grid .cell {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid white;
    color: white;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

.minesweeper .grid .cell.revealed {
    background-color: white;
    color: var(--main-bg-color);
    cursor: default;
}

.minesweeper .grid .cell.revealed.exploded {
    background-color: red;
    color: white;
}

img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

#my-projects img {
    cursor: pointer;
}

#my-projects h3 {
    text-align: center;
}

nav {
    text-align: center;
}

nav a {
    margin: 1rem;
    display: inline-block;
}

ul.floating-list{
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding:0;
}

ul.floating-list li {
    display: inline-block;
    margin: 1rem;
}

section {
    margin-bottom: 5rem;
}