@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@font-face {
    font-family: FredokaOne;
    src: url(FredokaOne.ttf);
}


#banner {
    max-width: 100%;
}

#title {
    font-size: 4rem;
}

#gamesTitle {
    font-size: 4rem;
    align-self: center;
}

#games {
    display: flex;
    padding: 0.rem;
    flex-wrap: wrap;
    align-self: center;
    justify-content: center;
    gap: .2rem;
}

.icon {
    height: 7rem;
    transition: transform .7s ease;
    filter: brightness(0) invert(1);
}

.icon:hover {
    transform: scale(1.1);
}

.gameImg {
    box-sizing: content-box;
    width: 10rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: .2rem solid black;
    object-position: 50% 50%;
    object-fit: cover;
    transition: transform .7s ease;
}

.gameCont {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gameImg:hover {
    transform: scale(1.1);
}

body {
    font-family: FredokaOne;
    color: white;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

html {
    height: 100%;
}

main {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    height: 100%;
}

#container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 4rem 0 0 0;
}

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

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navbar a {
    transition: all .3s ease-out;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
    transition-delay: 0s;
}

#leftNav {
    display: flex;
    font-size: 2rem;
    gap: 3rem;
}

#gamesCont {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer {
    display: flex;
}

#links a {
    border-radius: 50%;
    background-color: black;
}

#footerLinks img {
    filter: brightness(0) invert(1);
    height: 1.5rem;
    margin-top: 50px;
}

#about {
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 2rem;
}

#bar {
    max-height: 10rem;
    padding: 0 5rem;
}

#aboutText {
    display: flex;
    flex-flow: column wrap;
}

#aboutTextTitle {
    font-size: 2rem;
}

#left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}



#right {
    flex: 1;
}

#mc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 25%;
    margin: 0 0 10rem 0;
}

#mcLogo {
    max-width: 10rem;
}

#mcLogo:hover {
    transform: scale(1.25);
}

#mcTitle {
    font-size: 2rem;
    margin: 12rem 0 0 0;
}

#mcLogoCont {
    margin: 2rem;
}

#filler {
    padding: 15rem 0;
}

@media only screen and (max-width: 100px) {
  #title {
    font-size: 2rem;
  }

  #gamesTitle {
    font-size: 2em;
  }

  #games {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .icon {
    height: 2rem;
  }

  .gameImg {
    width: 5rem;
  }

  #container {
    flex-wrap: wrap;
    overflow-x: scroll;
  }

  #leftNav {
    font-size: 1rem;
    gap: 2rem;
  }

  #footerLinks img {
    height: 1rem;
  }

  #about {
    width: 100%;
  }

  #aboutTextTitle {
    font-size: 1rem;
  }
}

#subtitle {
    font-size: 2rem;
}

#footerDiv {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0rem;
}
