* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.challengejs-container {
  height: 100vh;
  padding: 0 16px;
  overflow-x: hidden;
}

.header {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
  position: relative;
}

.header .locale-select {
  display: flex;
  justify-content: flex-end;
  color: #1d1d1d;
  text-decoration: none;
  z-index: 2;
}

a.button {
  display: flex;
  font-family: "Roboto";
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  padding: 16px;
  background-color: #0528f2;
  color: white;
}

.arrow {
  width: 6px;
  height: 6px;
  border-right: 1px solid #1d1d1d;
  border-bottom: 1px solid #1d1d1d;
  transform: rotate(45deg);
  margin: 5px;
}

.header .choice {
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(20, 40, 242, 0.15);
  padding: 16px 50px 16px 16px;
  font-size: 14px;
  position: relative;
  transition: 0.5s;
  height: 48px;
  width: 120px;
  left: 18px;
}

.header .choice-container {
  position: absolute;
  overflow: hidden;
  height: 86px;
  width: 156px;
  top: 45px;
  right: -18px;
  z-index: 1;
}

.choice a {
  text-decoration: none;
  color: #000;
}

.header .choice-container .choice.hide {
  top: -100px;
}

.header .choice-container .choice.show {
  top: 12px;
}

.challengejs-body {
  height: 100%;
  margin-top: 50px !important;
}

.challengejs-card {
  margin: 0 auto;
  padding: 100px 24px 24px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 0 38px rgba(20, 40, 242, 0.13);
  position: relative;
}

.challengejs-card img {
  position: absolute;
  top: -35px;
  left: calc(50% - 32px);
}

.challengejs-card .challengejs-message-1 {
  margin-bottom: 32px;
  font-size: 22px;
  text-align: center;
}

.challengejs-card .separator {
  width: 32%;
  margin: auto;
  height: 2px;
  background-color: #0528f2;
  margin-bottom: 32px;
}

.challengejs-card .challengejs-message-2 {
  text-align: center;
  margin-bottom: 32px;
}

.challengejs-message-3 {
  border-radius: 8px;
  background-color: #f6f7ff;
  padding: 24px;
  margin-top: 32px;
}

.challengejs-message-3 .how {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 32px;
}

.challengejs-message-3 .how-to:not(:last-child) {
  margin-bottom: 16px;
}
.challengejs-message-3 .how-to {
  word-break: break-word;
}

@media screen and (min-width: 768px) {
  .challengejs-container {
    padding: 0 32px;
    overflow: hidden;
  }

  .challengejs-card {
    width: 60%;
  }
}

@media screen and (min-width: 769px) {
  .challengejs-body {
    margin: 100px 0;
  }
}

@media screen and (min-width: 1200px) {
  .challengejs-body {
    margin: 100px 10% 0;
  }
}

.container {
  margin: auto;
  width: 100%;
  padding: 0 15px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    width: 720px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}
