* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('img/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  backdrop-filter: blur(16px);
  flex-direction: column;
  user-select: none;
}

.overlay {
  padding: 170px;
  /* Default - 140px */
  height: auto !important;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  text-align: center;
  font-size: 17px;
}

.block {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 10px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 1.2rem;
  line-height: 1.5em;
  margin-bottom: -25px;
}

.block h2 {
  font-size: 24px;
  color: #dadada;
}

.launcher {
  margin-top: -150px;
  padding: 70px 150px 70px 150px;
}

.block:hover {
  background: rgba(255, 255, 255, 0.13);
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 60px;
  /* Default - 40px */
  max-width: 1600px;
  /* Default - 1400px */
}

h1 {
  color: white;
}

p {
  margin-bottom: -15px;
  color: white;
}

#info p {
  margin: 0;
  padding-bottom: 20px;
}

.platforms-text {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.platform-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.platform-link {
  display: flex;
}

.platform-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

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

#nav.sticky {
  background: rgba(255, 255, 255, 0.3);
}

#nav {
  position: sticky;
  top: 0;
  right: 0;
  width: 100%;
  padding: 25px 15px;
  text-align: right;
  transition: .2s all;
}

#nav a {
  padding: 10px 20px;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s ease;
  position: relative;
}

#nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease;
}

#nav a:hover::after {
  width: 100%;
}

#nav a[href*="download"] {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

#nav a[href*="download"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease, background 0.3s ease;
}

#nav a[href*="download"]:hover {
  color: #1e90ff;
}

#nav a[href*="download"]:hover::after {
  width: 100%;
  background: #1e90ff;
}

#nav a:hover {
  color: rgba(255, 255, 255, 1);
}

a.button {
  color: white;
  text-decoration: none;
  background-color: #1e90ff;
  padding: 17px 35px;
  border-radius: 50px;
  font-size: 1.15rem;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
  display: inline-block;
  margin: 10px;
  margin-top: 60px;
  font-weight: bold;
}

a.button:hover {
  background-color: #1e78ff;
}

.platforms {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.platforms p {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
}

.platform {
  margin: 0 10px;
}

.platform img {
  width: 33px;
  height: 33px;
  margin-right: 5px;
  filter: invert(100%);
}

.contacts {
  display: flex;
  justify-content: center;
  padding: 20px;
  gap: 15px;
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 0.6) !important;
}

.blackout {
  background: rgba(0, 0, 0, 0.7);
}

.blackout * {
  color: #dadada;
}

.footer {
  text-align: center;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 50px;
  font-size: 0.9rem;
  color: #bbb;
  background: rgba(0, 0, 0, 0.7);
}

.footer a {
  color: #1e90ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #1c78e0;
}

/* .footer {
  text-align: center;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 50px;
} */

@media (max-width: 1745px) {
  .block.launcher {
    margin-top: -150px;
    padding: 70px 150px 70px 150px;
  }
}

@media (max-width: 1536px) {
  .wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    max-width: 1450px;
  }
}

@media (max-width: 1280px) {
  .container {
    flex-direction: column;
    padding: 20px;
    height: auto;
  }

  .wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }

  .block h2 {
    font-size: 1.5rem;
  }

  .contacts {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  .contacts p {
    margin: 5px 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 1097px) {
  .block {
    width: 100%;
    margin-bottom: 0px;
    padding: 20px;
    box-shadow: none;
  }

  .block.launcher {
    width: 55% !important;
    margin-top: -150px !important;
    background: none;
    padding: 20px;
    margin: 0;
  }

  .wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
}

@media (max-width: 480px) {
  .wrapper {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }

  .block {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  #nav {
    display: none;
  }

  .block.launcher {
    width: 100% !important;
    margin-top: -40px !important;
    background: none;
    padding: 20px;
    margin: 0;
  }
}