﻿html body {
    /* position: static; */
    font-family: Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: "liga" 1;
    font-feature-settings: "liga" 1;
    min-height: 100%;
    margin: 0;
    background-color: #F5F5F5;

    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
}

h1 {
  font-weight: 500;
  font-style: Medium;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: 0%;
  margin: 0px;
}

h2 {
  font-weight: 500;
  font-style: Medium;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: 0%;
  margin: 0px;
}

#main {
  margin-bottom: 64px;
}

.header {
  background-image: url('./img/header-background.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  height: 420px;

  box-shadow: 0px 6px 15.1px 0px #10233440;
}

.header-content-wrapper {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  max-width: 590px;
  width: 100%;

  color: #FFFFFF;
}

.logo {
  max-width: 514px;
  margin-bottom: 36px;
}

.header-description {
  margin-top: 12px;
  margin-bottom: 24px;
}

.copyable-block {
  opacity: 1;
  border-radius: 14px;
  background-color: #232323;
  display: flex;
}

.copyable-block.horizontal {
  padding-top: 12px;
  padding-right: 12px;
  padding-bottom: 12px;
  padding-left: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.copyable-block.vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}

.copyable-block-content {
  font-family: Fira Code;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFFFFF;
}

.copyable-block-button {
  gap: 12px;
  opacity: 1;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  background-color: #BA0C2F;
  color: #FFFFFF;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;

  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0%;
}

.copyable-block-button:hover {
  background-color: #D70C36;
}

.title {
  margin-top: 128px;
  margin-bottom: 128px;
  text-align: center;
}

.example {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.example-agent-request {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 1;
  border-radius: 14px;
  padding: 16px;
  background: #FFFFFF;
  box-shadow: 0px 10px 45px 0px #10202F14;
  flex: 1 1 50%;
}

.example-agent-request-description {
  margin-top: 8px;
  margin-bottom: 24px;
}

.example-agent-request-description a{
  text-decoration: none;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #BA0C2F;
}

.example-image-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: max-content;
  flex: 1 1 50%;
}

.example-image {
  max-width: 590px;
  min-width: 480px;
  height: auto;
  aspect-ratio: 1.25;
  border-radius: 14px;
  background-image: url('./img/example.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.example-image-caption {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: center;
  color: #999999;
}

.row {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.connection-manual {
  margin-top: 128px;
}

.connection-manual-header {
  padding: 16px;
  opacity: 1;
  border-radius: 14px;
  background-color: #FFFFFF;
  box-shadow: 0px 10px 45px 0px #10202F14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.connection-manual-description {
  margin-top: 12px;
  margin-bottom: 32px;
  color: #666666;
}

.connection-manual-tab-headers {
  display: flex;
  flex-direction: row;
  gap: 9.33px;
  justify-content: center;
}

.tab-header {
  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;
  gap: 8px;
  opacity: 1;
  border-radius: 35px;
  display: flex;
  flex-direction: row;
  color: #FFFFFF;
  background-color: #333333;
  align-items: center;

  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;

  cursor: pointer;
}

.tab-header:hover {
  background-color: #666666;
}

.tab-header.active {
  background-color: #BA0C2F;
}

.tabs {
  margin-top: 48px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  min-height: 280px;
}

.tab {
  width: 590px;
  padding-bottom: 16px;
  gap: 24px;
  opacity: 1;
  border-radius: 14px;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.tab-tag {
  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;
  gap: 10px;
  opacity: 1;
  border-top-left-radius: 14px;
  border-bottom-right-radius: 14px;
  background-color: #BA0C2F;
  color: #FFFFFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-start;
}

.tab-text {
  margin-left: 16px;
  margin-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-example {
  margin-left: 16px;
  margin-right: 16px;
}

a.link {
  color: #BA0C2F;
  text-decoration: none;
}

.reverted {
  rotate: 180deg;
}

.swiper-container {
  width: 590px;
}

.navigation-button {
  margin-top: 104.5px;
}

.button-hidden {
  visibility: hidden;
}

.navigation-button {
  cursor: pointer;
}

.header,
.content {
  padding-left: 80px;
  padding-right: 80px;
}

@media (max-width: 1024.9px) {
  html body {
    font-size: 16px;
    line-height: 22px;
  }

  h1 {
    font-size: 36px;
    line-height: 40px;
  }

  h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .header {
    height: 380px;
  }

  .header-description {
    margin-top: 8px;
    margin-bottom: 16px;
  }
  
  .title {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .example {
    gap: 12px;
  }

  .example-agent-request-description {
    margin-bottom: 16px;
  }

  .connection-manual {
    margin-top: 96px;
  }

  .connection-manual-description {
    margin-top: 8px;
    margin-bottom: 24px;
  }

  .tab {
    gap: 20px;
  }
}


@media (max-width: 905.9px) {
  .header,
  .content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .example {
    flex-direction: column;
    gap: 20px;
  }

  .example-image {
    max-width: unset;
    min-width: unset;
  }

  .example-image-wrapper {
    width: 100%;
  }

  .navigation-button {
    display: none;
  }

  .swiper-container {
    width: 100%;
  }

  .tab {
    width: 100%;
  }

  .connection-manual-description {
    margin-top: 8px;
    margin-bottom: 16px;
  }

  .connection-manual-tab-headers {
    flex-wrap: wrap;
  }
}

@media (max-width: 768.9px) {
  .header {
    background-position: right -50px bottom 50%;
  }

  .copyable-block.horizontal {
    flex-wrap: wrap;
    row-gap: 16px;
  }
  
  .copyable-block-content {
    word-wrap: break-word;
    white-space: pre-wrap;
  }

  .example-agent-request {
    min-width: unset;
  }
}

@media (max-width: 440.9px) {
  html body {
    font-size: 14px;
    line-height: 20px;
  }

  h1 {
    font-size: 32px;
    line-height: 36px;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .header {
    height: 375px;
    background-position: right -50px bottom 50%;
  }

  .header,
  .content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    margin-bottom: 24px;
  }

  .title {
    margin-top: 64px;
    margin-bottom: 64px;
  }

  .copyable-block.horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 12px;
  }

  .copyable-block-content {
    font-size: 12px;
    line-height: 16px;
  }

  .tab-header {
    font-size: 16px;
    line-height: 20px;
  }

  .tab {
    gap: 16px;
  }

  .tab-header-icon {
    width: 24px;
    height: 24px;
  }

  .example-image {
    aspect-ratio: 0.64;
    background-image: url('./img/example-mobile.svg');
  }
}

@media (max-width: 320.9px) {
  h1 {
    font-size: 28px;
    line-height: 32px;
  }

  .header {
    height: 360px;
    background-position: right -50px bottom 50%;
  }

  .header,
  .content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .title {
    margin-top: 52px;
    margin-bottom: 52px;
  }

  .connection-manual {
    margin-top: 80px;
  }
}