:root {
  color-scheme: light dark;
}

html,
body {
  margin: 0;
  padding: 0;
  color: #ff7a1a;
}

body {
  min-height: 100%;
  background: #17191d;
  background-size: cover;
  background-position: center;

  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: white;
}

.outest-container {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  overflow-y: scroll;
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
}

.outer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 380px;
  flex-grow: 1;

  @media (max-width: 500px) {
    /*max-width: 100%;*/
    margin: 0 22px;
  }

  @media (max-height: 800px) {
    gap: 12px;
  }
}

.container {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 15px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  max-height: 1000px;
  position: relative;
  transition: all 0.3s ease-in-out;

}

.container.collapsed {
  max-height: 260px;

  box-shadow: inset 0px -40px 19px -12px rgba(0, 0, 0, 0.36);

  .sometimes-hidden {
    pointer-events: none;
    filter: grayscale(65%) blur(1px);
    opacity: 0.7;
  }
    transition: all ease-out;
    transition-duration: 200ms;
    transition-delay: 150ms;
    transition: max-height 200ms ease-out 0ms;
    transition: box-shadow 200ms ease-out 0ms;

  .more-btn img {
    transform: rotate(90deg);
  }
}

.sometimes-hidden {
  transition-duration: 300ms;
  transition-delay: 0ms;

}

.more-btn {
  position: absolute;
  bottom: 0;
  height: 36px;
  left: 0;
  right: 0;
  background: transparent;
  border: none;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  font-size: 13.3333px;

  img {
    transform: rotate(270deg);
  }

  .container.collapsed > img {
    transform: rotate(270deg);
  }
}

.more-btn:focus-visible {
  outline: none;
}

.top-banner {
  top: 0;
  position: sticky;
  position: -webkit-sticky;
  width: 100%;
  height: 48px;
  background-color: #171a1c;
  z-index: 2;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  @media (max-width: 768px) {
    font-size: 0.85em;
  }
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;

  img {
    max-width: 64px;
  }

  h2 {
    margin: 0;
  }
}

.tb-flex {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  width: 60%;
  gap: 6px;

  @media (max-width: 768px) {
    width: 100%;
    justify-content: space-between;
  }

  padding: 0 12px;

  div,
  a {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
}

.jamshare-header {
  font-size: 32px;
  font-weight: 800;
  line-height: 40px;
  color: white;
  margin-top: 120px;
}

.header {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  font-size: 1.4em;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.header::after,
.header::before {
  content: "";
  height: 1px;
  background-color: rgba(255, 255, 255, 0);
  flex-grow: 1;
}

.header::after {
  margin: 0 -30px 0 10px;
}

.header::before {
  margin: 0 10px 0 -30px;
}

.cta-header {
  font-weight: 700;
  font-size: 1.4em;
  text-align: center;
  margin: 0;
}

.cta-header span {
  color: #ff7a1a;
}

.title {
  text-align: left;
  margin: 0;
  color: white;
  font-weight: 400;
  font-size: 1.4em;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(var(--num-rows, 2), minmax(0, 1fr));
  grid-gap: 16px;
  justify-items: center;
}

.grid-container img {
  /*width: 56px;*/
  width: 80%;
  border-radius: 100%;
  user-select: none;

  @media (max-height: 800px) {
    width: 70%;
  }
}

.grid-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.grid-container img:active {
  transform: scale(1);
}

.platform-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.platform-container span {
  font-size: 10px;
  text-wrap: nowrap;
  font-weight: 600;
}

.disabled {
  pointer-events: none;
  filter: grayscale(75%);
  opacity: 0.4;
}

.remember-dl {
  align-self: flex-start;
  font-size: 14px;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.remember-dl::before {
  display: inline-block;
  content: "";
  height: 12px;
  width: 12px;
  border: 1px solid white;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: baseline;
}

.remember-dl span {
  color: rgba(0, 132, 255, 1);
}

button {
  -webkit-tap-highlight-color: transparent;
}

.button {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ff7a1a;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.background-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.background-circles::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  -webkit-filter: blur(20px);
  filter: blur(20px);
  background: rgba(255, 96, 54, 0.33);
  background: -webkit-linear-gradient(132.16deg, rgba(255, 132, 0, 0.33) -25.4%, rgba(255, 60, 108, 0.33) 87.44%);
  background: linear-gradient(132.16deg, rgba(255, 132, 0, 0.33) -25.4%, rgba(255, 60, 108, 0.33) 87.44%);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.pink {
  color: rgb(255, 60, 108);
}

.background-circles::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0);
  transform: translate(-50%, -50%) translate3d(0, 0, 0);
  border-radius: 50%;
  filter: blur(75px);
  background: rgba(255, 96, 54, 0.33);
  background: -webkit-linear-gradient(132.16deg, rgba(255, 132, 0, 0.33) -25.4%, rgba(255, 60, 108, 0.33) 87.44%);
  background: linear-gradient(132.16deg, rgba(255, 132, 0, 0.33) -25.4%, rgba(255, 60, 108, 0.33) 87.44%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.background-circles .ball-4 {
  width: 400px;
  height: 400px;
  top: -2%;
  left: 81%;
  animation-duration: 50s;
  animation-direction: alternate-reverse;
  animation-delay: -5s;

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


.loading {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.8);
  /* semi-transparent white */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: skLinRotate 1s ease-in-out infinite alternate;
}

.loading:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: #ff3d00;
}

@keyframes skLinRotate {

  95%,
  100% {
    transform: translate(-50%, -50%) rotate(840deg);
  }
}

.img-container {
  position: relative;
  display: inline-block;
}

.img-container img {
  display: block;
  max-width: 100%;
  height: auto;
}

.loading {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: skLinRotate 1s ease-in-out infinite alternate;
}

.loading:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: rgba(255, 60, 108, 1);
}

@keyframes skLinRotate {

  95%,
  100% {
    transform: translate(-50%, -50%) rotate(840deg);
  }
}

input {
  width: 100%;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  text-align: center;
}

input:focus {
  outline: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.outline-button {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 6px;
  color: white;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.outline-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.outline-button:active {
  background-color: rgba(255, 60, 108, 1);
  transform: scale(0.99);
  border-color: rgba(255, 60, 108, 1);
}

.logo {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  @media (max-height: 800px) {

    img,
    h3 {
      display: none;
    }
  }
}

div.logo img {
  max-width: 100px;
}

h3 {
  color: white;
  font-weight: 800;
  font-size: 24px;
  margin: 3px 0 0;
}

.button_black {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 25px;
  font-family: "Montserrat", sans-serif;
}

div.bottom {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;

  img {
    height: 40px;
  }
}

div.bottom p {
  margin: 5px 0 0;
}

.platform-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.platform-link {
  text-align: center;
}

.platform-icon {
  font-size: 2rem;
  color: white;
  transition: all 0.2s ease-in-out;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  color: #ffa13c;
}

.platform-icon.loading {
  animation: skLinRotate 1s infinite linear;
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
