@import url("icons.css");
@import url("colors.css");

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

.page__container {
  margin: 72px auto auto;
}

a {
  cursor: pointer;
  display: inline-block;
  height: fit-content;
  text-decoration: none;
  width: fit-content;
}

a:hover {
  color: var(--text-red);
}

button {
  cursor: pointer;
  display: inline-block;
  height: fit-content;
  width: fit-content;
}

.button__round {
  background: #ffffff25;
  border: 0;
  border-radius: 20px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 8px 24px;
}

.button__round:hover {
  background: #ffffffbf;
  color: var(--text-red);
}

.button__square {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 12px 18px;
}

.button__square--white {
  background: var(--white);
  border: 1px solid var(--border-grey);
  color: var(--text-red);
}

.button__square--white:hover {
  background: var(--text-red);
  color: var(--white);
  text-decoration: none;
}

.button__square--red {
  background: var(--medium-red);
  color: var(--white);
}

.button__square--red:hover {
  background: #9e9e9e;
  color: var(--text-red);
}

.button__square--transparent {
  background: transparent;
}

.button__square--transparent:hover {
  box-shadow: 0px 2px 3px 0px #0000004d;
  box-shadow: 0px 6px 10px 4px #00000026;
}

.button__square--shadow {
  box-shadow: 4px 4px 15px 0px #00000040;
}

.button__square--colab {
  background: var(--grey-blue);
  border-radius: 4px;
  color: var(--white);
  display: flex;
  font-size: 14px;
  gap: 12px;
  justify-content: center;
  padding: 8px;
  width: 176px;
}

.button__square--colab:hover {
  color: var(--white);
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration,
input[type="search"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="search"]::-moz-clear {
  display: none;
}

input[type="search"]::-ms-clear {
  display: none;
}

p {
  margin: 0;
}

.text--white {
  color: var(--white);
}

.text--white:hover {
  color: var(--white);
}

.text--black {
  color: var(--text-black);
}

.text--red {
  color: var(--text-red);
}

/* Prism */
pre[class*="language-"] {
  background: var(--code-background);
  border-radius: 8px 8px 0 0;
  margin: 0;
  padding: 2em 1.2em;
  text-shadow: none;
  overflow-y: hidden;
}

code[class*="language-"] {
  color: var(--code-foreground);
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  text-shadow: none;
}

code[class*="language-"] * {
  background: inherit !important;
}

.footer__container div {
  transform: translateY(2px);
}

@media only screen and (max-width: 1199px) {
  h1 {
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 0%;
    margin: 0;
  }

  h2 {
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0%;
    line-height: 40.96px;
    margin: 0;
  }
}

@media only screen and (min-width: 1200px) {
  code[class*="language-"] {
    font-size: 14px;
  }

  h1 {
    font-size: 72px;
    font-weight: 700;
    margin: 0;
  }

  h2 {
    line-height: 52px;
    font-size: 40px;
    font-weight: 700;
    margin: 0;
  }

  h3 {
    color: var(--text-red);
    font-size: 24px;
    line-height: 31.2px;
    margin: 0;
  }

  h4 {
    color: var(--text-red);
    font-size: 18px;
    line-height: 24px;
    margin: 0;
  }

  .page__container {
    margin-top: 86px;
  }

  .button__square {
    padding: 12px 24px;
  }

  .footer__container {
    margin: auto;
    max-width: 1440px;
    padding: 16px 64px;
  }
}
