/* General styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
}



/* Logo styles */
#logo {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 1em auto;
  margin-top: 69px;
}

#logoCM {
  max-width: 90%;
  height: auto;
  display: block;
  margin: .5em auto;
}


/* Main content styles */
/* Moving Gradient Background */
@keyframes gradient-background {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Main content styles */
main {
  background: linear-gradient(-45deg, #2C3E50, #4CA1AF, #F39C12, #333);
  background-size: 400% 400%;
  animation: gradient-background 15s ease infinite;
  color: white;
  padding: 2em;
  font-size: 1.2em;
  /* Increase base font size */
}

/* Section styles */
section {
  margin-bottom: 2em;
  background-color: rgba(0, 0, 0, 0.6);
  /* Semi-transparent black */
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  /* Add some shadow for depth */
}

h2 {
  color: gold;
  margin-bottom: 1em;
  /* Add some space below the title */
}

/* Featured games */
#featured-games {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* Where to find us */
#where-to-find-us a {
  color: red;
  text-decoration: none;
  margin-right: 1em;
  /* Add some space between links */
  transition: color 0.3s ease;
  /* Smooth color transition */
}

#where-to-find-us a:hover {
  color: gold;
  /* Change color on hover */
}

/* About Us */
#about-us p {
  line-height: 1.6;
  /* Improve readability */
}

/* Responsive styles */
@media (max-width: 768px) {
  #featured-games {
    flex-direction: column;
    align-items: center;
  }
}


/* About Install */
@media only screen and (min-width: 768px) {
  .about_install_wrapper {
    width: auto;
  }
}

@media only screen and (min-width: 970px) {
  .about_install_wrapper {
    width: 260px;
  }
}

.about_install_steam_link {
  display: block;
  text-transform: uppercase;
  width: calc(100% - 75px);
  padding: 15px 50px 15px 25px;
  border-radius: 3px;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: left;
  color: #fff;
  position: relative;
  font-family: "Motiva Sans", Sans-serif;
  font-weight: normal;
  /* normal */

  background: linear-gradient(to right, #fdcc22 50%, #ffe681 100%);
  background-size: 200%;
  background-position: right 0;
  transition: background-position 300ms ease-in;
}

.about_install_steam_link:hover {
  background-position: 0 0;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.about_install.mobile .about_install_steam_link {
  width: calc(100% - 50px);
  padding-right: 25px;
  text-align: center;
}

.about_install:not(.mobile) .about_install_steam_link:after {
  content: "";
  background-position: top right;
  background-size: auto 100%;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  right: 25px;
}

.about_install.win:not(.mobile) .about_install_steam_link:after {
  background-image: url('../assets/logos/misc/icons8-windows-11-48.png');
}

.about_install.mac:not(.mobile) .about_install_steam_link:after {
  background-image: url('../assets/logos/misc/icons8-mac-50 face.png');
}

.about_install.linux:not(.mobile) .about_install_steam_link:after {
  background-image: url('../assets/logos/misc/icons8-linux-50.png');
}

.about_install.android:is(.mobile) .about_install_steam_link:after {
  background-image: url('../assets/logos/misc/icons8-android full green.svg');
}

.about_install.ios:is(.mobile) .about_install_steam_link:after {
  background-image: url('../assets/logos/misc/icons8-apple.svg');
}

a.about_install_steam_link:hover {
  text-decoration: none;
  color: #fff;
}

.installer_list {
  margin-top: 5vw;
  opacity: 0.60;
  font-family: "Motiva Sans", Sans-serif;
  font-weight: 300;
  /* light */

  font-size: 3vw;
  line-height: 6vw;
  display: flex;
  letter-spacing: 0.5px;
  flex-flow: row;
  align-content: center;
}

@media only screen and (min-width: 768px) {
  .installer_list {
    margin-top: 15px;
    font-size: 12px;
    line-height: 20px;
    opacity: 0.80;
    justify-content: end;
  }
}

.installer_list .available_platforms {
  display: inline-block;
}

.installer_list .platform_icon {
  display: inline-block;
  width: 4vw;
  height: auto;
  margin-left: 3vw;
}

@media only screen and (min-width: 768px) {
  .installer_list .platform_icon {
    display: block;
    width: 16px;
    margin-left: 10px;
  }

  .installer_list .platform_icon:nth-child(2) {
    margin-left: auto;
  }
}

.installer_list .platform_icon img {
  max-width: 100%;
  height: auto;
}