@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans Black"), local("WebsupportSans-Black"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Black.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans ExtraBold"), local("WebsupportSans-ExtraBold"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-ExtraBold.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans Bold"), local("WebsupportSans-Bold"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Bold.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans Normal"), local("WebsupportSans-Normal"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Normal.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Normal.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans Light"), local("WebsupportSans-Light"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Light.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans ExtraLight"), local("WebsupportSans-ExtraLight"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-ExtraLight.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Websupport Sans";
  src: local("Websupport Sans Thin"), local("WebsupportSans-Thin"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Thin.woff2") format("woff2"),
    url("https://cdn.websupport.sk/fonts/WebsupportSans-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Active24";
  src: url("https://cdn.active24.eu/fonts/OTF/Active24-Regular.otf") format("opentype"),
  url(https://cdn.active24.eu/fonts/OTF/Active24-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Active24";
  src: url("https://cdn.active24.eu/fonts/OTF/Active24-Medium.otf") format("opentype"),
  url(https://cdn.active24.eu/fonts/OTF/Active24-Medium.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Active24";
  src: url("https://cdn.active24.eu/fonts/OTF/Active24-Bold.otf") format("opentype"),
  url(https://cdn.active24.eu/fonts/OTF/Active24-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* CSS */
body {
  background: linear-gradient(180deg, #1e262d 0%, #2c3843 100%);
  margin: 0;
  padding: 0;
  color: #ffff;
}

body.ws {
  font-family: "Websupport Sans";
}

body.a24 {
  font-family: "Active24";
}

.ws-logo {
  display: block;
  margin: 50px auto 40px;
  height: 64px;
  width: 196px;
  user-select: none;
  filter: brightness(0) invert(1);
}

.a24-logo {
  display: block;
  margin: 50px auto 40px;
  height: 64px;
  width: 196px;
  user-select: none;
}

/* content */

.ws .api-rest-landing-page {
  display: flex;
  justify-content: center;
  align-items: center;
}

.a24 .api-rest-landing-page {
  display: flex;
  justify-content: center;
  align-items: start;
}

/* text */

.api-info {
  width: 30%;
  line-height: 28px;
  display: flex;
  flex-direction: column;
}

.api-info__heading {
  font-weight: 900;
  font-size: 65px;
  line-height: 80px;
  width: 90%;
  letter-spacing: 2px;
  margin: 0px 0 10px;
}

.api-info__version {
  background: #00ffa0;
  border-radius: 80px;
  color: #2c3843;
  font-size: 50px;
  padding: 0px 20px;
  display: inline-block;
  transform: rotateZ(-3deg);
}

.api-info__text {
  width: 85%;
  font-weight: 400;
  font-size: 17px;
  line-height: 28px;
}

.api-info__text p:nth-child(2) {
  width: 108%;
}

.api-info__docs-link {
  background-color: #00ffa0;
  color: #2c3843;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  border-radius: 6px;
  padding: 10px 20px 10px 35px;
  width: fit-content;
  margin: 50px 0 10px;
  box-shadow: 0px 2px 5px #00ffa274;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.api-info__docs-link a:visited,
.api-info__docs-link a:link {
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: #2c3843;
  padding: 15px 10px;
}

.api-info__docs-link:hover {
  transform: translateY(-3px);
  box-shadow: 0px 5px 10px #00ffa274;
}
.api-info__docs-link:active {
  transform: translateY(-1px);
  box-shadow: 0px 3px 6px #00ffa274;
}

.api-info__docs-link img {
  position: absolute;
  top: 10px;
  left: 15px;
}

.api-info__legacy-link {
  position: relative;
  width: fit-content;
}

.api-info__legacy-link img {
  position: absolute;
  top: 8px;
  transition: all 0.3s;
}
.api-info__legacy-link:hover img {
  transform: translateX(10px);
}

.api-info__legacy-link a:visited,
.api-info__legacy-link a:link {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  color: #97a1ab;
  margin-right: 10px;
}

.api-info__helpdesk {
  color: #97a1ab;
  font-size: 16px;
  margin-top: 180px;
}
.api-info__helpdesk a:visited,
.api-info__helpdesk a {
  display: inline-block;
  text-decoration: none;
  color: #ffff;
  font-size: 16px;
  margin-left: 10px;
  transition: all 0.3s;
}
.api-info__helpdesk a:hover {
  transform: scale(1.05);
}

.api-info__docs-link {
  cursor: pointer;
}

.api-info__links a:visited,
.api-info__links a:link {
  display: inline-block;
  text-decoration: none;
  color: #97a1ab;
  font-size: 16px;
  margin: 0 10px;
  transition: all 0.3s;
}
.api-info__links a:hover {
  transform: scale(1.05);
}
.api-info__links a:first-child {
  margin-left: 0;
}

/* img */

.api-info__img {
  z-index: -1;
}
.ws .api-info__img img {
  height: 947px;
  width: auto;
  display: inline-block;
  overflow: hidden;
  user-select: none;
}

.a24 .api-info__img img {
  height: 700px;
  width: auto;
  display: inline-block;
  overflow: hidden;
  user-select: none;
}

::selection {
  background-color: #df5e5e;
}

/* responsivenes */

/* tablet */

@media screen and (max-width: 1047px) {
  .ws-logo, .a24-logo {
    height: 45px;
    width: 137px;
  }

  .api-rest-landing-page {
    flex-direction: column;
  }
  .a24 .api-rest-landing-page {
    align-items: center;
  }
  .api-info__heading {
    width: 100%;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
  }

  .api-info__version {
    font-size: 40px;
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .api-info__text p:nth-child(2) {
    width: 100%;
  }
  .api-info__text {
    width: 60%;
    margin: 0 auto;
    font-size: 14px;
    line-height: 20px;
  }
  .api-info {
    width: 70%;
    text-align: center;
  }

  .api-info__docs-link {
    margin: 50px auto 10px;
    font-size: 13px;
  }
  .api-info__legacy-link {
    margin: 0 auto;
    font-size: 13px;
  }

  .api-info__helpdesk {
    margin: 50px auto 0;
    font-size: 13px;
  }

  .api-info__helpdesk a:visited,
  .api-info__helpdesk a {
    font-size: 13px;
  }

  .api-info__links a:visited,
  .api-info__links a:link {
    font-size: 13px;
  }
  .api-info__links {
    margin-top: 0px;
  }

  .ws .api-info__img img {
    height: 500px;
    width: auto;
    margin-top: 30px;
  }
  .a24 .api-info__img img {
    height: 450px;
    width: auto;
    margin-top: 30px;
  }
}

/* mobile */

@media screen and (max-width: 600px) {
  .api-info__heading {
    width: 100%;
    font-weight: 600;
    font-size: 40px;
    line-height: 45px;
  }
  .api-info__version {
    font-size: 40px;
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
  .api-info__text {
    width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 16px;
  }
  .api-info {
    width: 100%;
  }

  .api-info__helpdesk {
    font-size: 10px;
  }

  .api-info__helpdesk a:visited,
  .api-info__helpdesk a {
    font-size: 10px;
  }

  .api-info__links a:visited,
  .api-info__links a:link {
    font-size: 10px;
  }
  .ws .api-info__img img {
    height: 400px;
    width: auto;
    margin-top: 30px;
  }
  .a24 .api-info__img img {
    height: 300px;
    width: auto;
    margin-top: 30px;
  }
}

.chat-button {
  display: none;
}
