*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow: hidden;
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

noscript {
  position: fixed;
  z-index: 9999;
  inset: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  gap: 3rem;
  align-items: stretch;
  background-image: url("/images/noscript/noscript-background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

noscript > main {
  overflow: auto;
  flex: 1;
}

.overlay {
  padding: 0 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

header {
  position: sticky;
  top: 0;
  padding: 1rem 0;
  background: linear-gradient(
    0deg,
    rgba(3, 20, 28, 0) 0%,
    rgba(3, 20, 28, 0.56) 23.56%,
    var(--Color-Background-Dark, #03141c) 42.31%
  );
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
}

#info .browser-svg {
  display: none;
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.title {
  color: #42cd71;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.subtext {
  color: #d1d1d1;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.browser-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.24;
}

.fix {
  display: flex;
  padding: 24px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  border-radius: 16px;
  background: #2c3a40;
}

.fix-title {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 3px;
}

.fix-title h4 {
  color: #d1d1d1;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.fix-title icon {
  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;
}

#recommended-browsers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

#recommended-browsers .recommended-browsers-title {
  color: #d1d1d1;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

#recommended-browsers .grid {
  display: grid;
  height: 148px;
  row-gap: 8px;
  column-gap: 8px;
  align-self: stretch;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.browser-title {
  color: #d1d1d1;
  font-family: Rubik;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

#recommended-browsers .browser-tag {
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

#recommended-browsers .browser-tag .icon {
  display: flex;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}

#enable-js {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

#enable-js h5 {
  color: #d1d1d1;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

#enable-js .browser-tag {
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 16px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  background: #2c3a40;
}

#enable-js .browser-tag-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1 0 0;
}
#enable-js .browser-tag-text {
  color: #d1d1d1;
  font-family: Rubik;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

@media (min-width: 768px) {
  .overlay {
    max-width: 85%;
    margin: auto;
  }
}

@media (min-width: 1280px) {
  .overlay {
    max-width: none;
    display: flex;
    flex-direction: row;
    padding: 48px 100px;
    justify-content: center;
    align-items: center;
    gap: 72px;
  }

  .fix {
    display: flex;
    width: 624px;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .fix h4 {
    font-size: 32px;
    font-weight: 800;
    line-height: 40px;
  }

  .recommended-browsers-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
  }

  #info {
    position: relative;
    display: flex;
    max-width: 800px;
    padding: 40px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex: 1 0 0;
  }

  #info .browser-svg {
    display: block;
  }

  .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
  }

  .title {
    font-size: 40px;
    line-height: 48px;
  }

  .subtext {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
  }

  #recommended-browsers .grid {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    height: 64px;
  }

  #enable-js h5 {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
  }
}
