* {
  box-sizing: border-box; }

body {
  margin: 0;
  box-sizing: content-box; }

ul {
  padding: 0; }
  ul li {
    list-style: none; }

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

figure {
  padding: 0;
  margin: 0; }

:root {
  --font-size: 18px;
  --max-width: 1200px;
  --padding-lr: 25px;
  --padding-tb: 50px;
  --nav-height: 100px;
  --nav-padding: 20px var(--padding-lr);
  --border-radius: 4px;
  --transition-time: 150ms;
  --base-font-family: "Open Sans", sans-serif;
  --second-font-family: "Lato", sans-serif;
  --text-color: #353535;
  --text-light-color: #424242;
  --text-lighten-color: #8e8e8e;
  --cta-color: #aee265;
  --footer-color: #fff;
  --bg-color: #fff;
  --bg-footer: #202225;
  --selection--text-color: #fff;
  --selection--bg-color: rgba(0, 0, 0, 0.6); }

@media (max-width: 780px) {
  :root {
    --padding-lr: 25px;
    --padding-tb: 25px; } }

@media (max-width: 355px) {
  :root {
    --font-size: 15px;
    --padding-lr: 5px;
    --padding-tb: 25px; } }

*::selection {
  color: var(--selection--text-color);
  background-color: var(--selection--bg-color); }

body {
  height: calc(100vh);
  font-size: var(--font-size);
  font-weight: 400;
  font-family: var(--base-font-family);
  color: var(--text-color);
  background-color: var(--bg-color); }

img {
  width: 100%;
  height: auto; }

footer {
  padding: 25px 0;
  color: var(--footer-color);
  background-color: var(--bg-footer); }
  footer a {
    color: var(--footer-color); }
  footer .copyright {
    text-align: center; }

.container {
  max-width: var(--max-width);
  padding: 0 var(--padding-lr);
  margin: 0 auto; }

.btn {
  display: inline-block;
  padding: 20px 30px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition-time) ease-in-out; }
  .btn.btn-container {
    background-color: var(--cta-color); }
  .btn.btn-link {
    text-decoration: underline; }
  .btn:hover, .btn:focus {
    transform: scale(1.02); }

.hidden {
  display: none; }

.text-light {
  color: var(--text-light-color); }

.text-lighten {
  color: var(--text-lighten-color); }

p a,
.link {
  text-decoration: underline; }

.page-logo {
  display: flex;
  align-items: center;
  gap: 10px; }
  .page-logo-svg #bg {
    fill: #d02626; }
  .page-logo img {
    width: 35px;
    height: auto; }
  .page-logo .name {
    margin: -7px 0 0;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600; }
    .page-logo .name span {
      display: block; }

nav {
  display: flex;
  align-items: center;
  height: var(--nav-height); }
  nav.navbar {
    justify-content: space-between;
    width: 100%;
    padding: var(--nav-padding); }
    nav.navbar .menu {
      display: flex;
      gap: 35px; }
      nav.navbar .menu .item {
        font-weight: 600; }
      nav.navbar .menu a {
        outline: none; }
        nav.navbar .menu a::after, nav.navbar .menu a::after {
          content: "";
          display: block;
          height: 1px;
          width: 0%;
          margin-left: 50%;
          transform: translateX(-50%);
          background-color: black;
          transition: all ease-in-out var(--transition-time); }
        nav.navbar .menu a:hover::after, nav.navbar .menu a:focus::after {
          width: 100%; }
    nav.navbar .small_menu {
      display: flex;
      gap: 35px; }
      nav.navbar .small_menu .item {
        font-weight: 500; }
      nav.navbar .small_menu a {
        outline: none; }
        nav.navbar .small_menu a::after, nav.navbar .small_menu a::after {
          content: "";
          display: block;
          height: 1px;
          width: 0%;
          margin-left: 50%;
          transform: translateX(-50%);
          background-color: black;
          transition: all ease-in-out var(--transition-time); }
        nav.navbar .small_menu a:hover::after, nav.navbar .small_menu a:focus::after {
          width: 100%; }

header.hero {
  position: relative;
  max-width: 100vw;
  height: 100vh; }
  header.hero .container {
    height: 100%; }
  header.hero .info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    color: #fff;
    z-index: 10; }
    header.hero .info .text {
      grid-column: 1 / span 2;
      background-color: black;
      opacity: .75;
      border-radius: 10px;
      padding: 20px; }
    header.hero .info .title {
      margin: 0;
      font-size: 3.5em;
      font-weight: 900; }
    header.hero .info .description {
      margin-top: 10px;
      font-weight: 500; }
      header.hero .info .description a {
        font-weight: 500;
        text-decoration: underline; }
  header.hero .bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10; }
    header.hero .bg .img {
      width: inherit;
      height: inherit;
      background: url("../img/1280px-Sega_Mega_Drive_PAL_1024x1024.png") center no-repeat;
      background-size: cover;
      background-attachment: fixed; }
      header.hero .bg .img::before {
        content: "";
        display: block;
        width: inherit;
        height: inherit;
        background-color: black;
        opacity: 0.4; }

.community-links {
  display: grid;
  padding: 100px 10px; }
  .community-links .link {
    flex: 0 1 250px;
    height: 50px;
    opacity: 0.5;
    -ms-filter: grayscale(100);
    filter: grayscale(100);
    transition: all ease-in-out var(--transition-time); }
    .community-links .link:hover, .community-links .link:focus {
      opacity: 1;
      -ms-filter: grayscale(0);
      filter: grayscale(0); }
    .community-links .link .logo {
      display: flex;
      gap: 10px;
      align-items: center;
      justify-content: center;
      height: 100%; }
      .community-links .link .logo .name {
        font-weight: 700;
        text-transform: uppercase; }
      .community-links .link .logo .image {
        height: 100%; }

@media (max-width: 780px) {
  header.hero .info {
    grid-template-columns: 1fr;
    padding: 0px; }
    header.hero .info .cta {
      gap: 30px; }
    header.hero .info .text {
      grid-column: unset; } }

.section {
  padding: var(--padding-tb) 0; }
  .section .title,
  .section .description {
    margin: 0; }
  .section .title {
    margin: 0;
    font-family: var(--second-font-family);
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    word-spacing: 2px; }

main .info {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  margin-top: 10px; }
  main .info .description {
    flex: 1 1 300px;
    line-height: 1.9em; }
    main .info .description a {
      font-weight: 700;
      text-decoration: underline; }
    main .info .description br {
      display: block;
      margin-top: 10px;
      line-height: 22px; }
    main .info .description strong {
      font-weight: 700; }
  main .info-steam {
    flex: 1 0 auto; }

.card {
  width: 500px;
  border-radius: var(--border-radius); }
  .card .image {
    position: relative; }
    .card .image img {
      border-radius: var(--border-radius) var(--border-radius) 0 0; }
    .card .image .btn {
      position: absolute;
      right: 10px;
      bottom: -10px;
      padding: 15px 30px;
      font-size: 1em;
      font-weight: 600;
      text-transform: capitalize;
      transform: translateY(-50%);
      color: #000; }
      .card .image .btn:hover, .card .image .btn:focus {
        transform: translateY(-50%) scale(1.02); }
