:root{
    --main-color: #333333;
    --secondary-color: #18122B;
}

body{
    margin: 0%;
    background-color: var(--main-color);
}

h1{
    text-align: center;
    color: white;
    padding-bottom: 10px;
}

h2{
    text-align: center;
    color: white;
    padding-bottom: 10px;
}

a{
    text-decoration: none;
    color: white;
}

a:hover{
    color: blue;
}

.nav-bar-wrapper{
    display: flex;
    justify-content: center;
    background-color: var(--main-color);
}

.nav-bar-item{
    padding-left: 20px;
    padding-right: 20px;
    font-size: 2em;
    color: white;
}

.nav-bar-item:hover{
    background-color: red;
}

.video-section{
    position: relative;
    object-fit: fill;
}


.video-section video{
    width: 100%;
    height: auto;
}

.about-me-section{
    text-align: center;
    position: absolute;
    color: white;
    bottom: 0%;
    background-color: #006CE044;
}

.title-text{
    font-size: 5em;
}

.about-me-section p{
    font-size: 3em;
}

.game-section{
    text-align: center;
    font-size: 3em;
    color: white;
    background-color: #333333;
}

.game-projects-list{
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, 620px);
    column-gap: 200px;
    row-gap: 50px;
}

.list-item{
    position: relative;
    color: white;
    background-color: #202020;
    border-radius: 25px;
    padding: 10px;
}

.list-item:hover .gif-container{
    opacity: 1;
}

.list-title{
    font-size: 30px;
    font-weight: bold;
}

.list-item-description{
    font-size: 20px;
}

.gif-container{
    position: absolute;
    top: 1.5%;
    opacity: 0;
    transition: opacity 0.3s;
}

.inner-grid{
    display: grid;
    grid-template-columns: repeat(3, 80px);
    column-gap: 10px;
}

.inner-grid-item{
    text-align: center;
    color: white;
    border-radius: 10px;
}

.inner-grid-item.yellow{
    background-color: yellowgreen;
}

.inner-grid-item.red{
    background-color: red;
}

.inner-grid-item.blue{
    background-color: darkblue;
}

.youtube-section{
    background-color: red;
    text-align: center;
}

.youtube-section a{
    font-size: 30px;
}

.youtube-section-intro{
    display: flex;
    justify-content: center;
}

.youtube-section-videos{
    display: flex;
    justify-content: center;
}

.youtube-section-videos > iframe{
    padding: 20px;
}

.links-link{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 10px;
}

.links-link a{
    font-size: 30px;
    padding: 20px;
}