@import url("https://fonts.googleapis.com/css?family=Jaldi:400|JetBrains+Mono:400,700|IBM+Plex+Sans+Devanagari:400");

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-dark: rgba(0 0 0 100%);
  --primary-light: rgba(255 255 255 100%);
  --black: rgba(0 0 0);
  --blue-charcoal: rgba(1 14 16);
  --blue-charcoal-2: rgba(3 21 24);
  --aquamarine: rgba(122 252 187);
  --cloud: rgba(199 199 199);
  --alto: rgba(217 217 217);
  --white: rgba(255 255 255);
  --font-size-s: 10.25rem; /* 20px */
  --font-size-m: 1.3125rem; /* 21px */
  --font-size-l: 1.5625rem; /* 25px */
  --font-size-xl: 1.875rem; /* 30px */
  --font-size-xxl: 2rem; /* 32px */
  --font-size-xxxl: 2.8125rem; /* 45px */
  --font-size-xxxxl: 6.25rem; /* 100px */
  --font-family-ibm-plex-sans-devanagari: "IBM Plex Sans Devanagari";
  --font-family-jaldi: "Jaldi";
  --font-family-jetbrains-mono: "JetBrains Mono";
}

html {
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: "JetBrains Mono", sans-serif;
  background-color: rgb(3 20 24);
  color: white;
}

main {
  flex-grow: 1;
}

.body-block {
  align-items: center;
  display: flex;
  gap: 78px;
}

.centered {
  display: grid;
  place-items: center;
  overflow: hidden;
  height: auto;
  margin-bottom: 1.5vh;
}

.home {
  background-color: rgb(3 20 24);
  flex-direction: column;
  align-items: center;
  display: absolute;
  overflow: hidden;
  border: 1px none;
  height: auto;
  width: 100%;
}

.title {
  height: 57px;
  letter-spacing: -1.5px;
  line-height: 102px;
  white-space: nowrap;
}

h1 {
  font-size: calc(26px + (82 - 26) * ((100vw - 300px) / (1600 - 300)));
  font-weight: 100;
}

h2 {
  font-size: calc(15px + (25 - 10) * ((100vw - 300px) / (1600 - 300)));
  color: var(--aquamarine);
  text-transform: uppercase;
  z-index: 999;
}

h3 {
  font-size: calc(30px + (45 - 30) * ((100vw - 300px) / (1600 - 300)));
  margin-top: 0.5em;
  z-index: 999;
}

h4 {
  font-size: calc(15px + (21 - 15) * ((100vw - 300px) / (1600 - 300)));
  color: var(--cloud);
  font-family: var(--font-family-jaldi);
  font-weight: 400;
  font-style: normal;
  max-width: 550px;
  margin-top: 0.5em;
  line-height: 35px;
}

h5 {
  font-size: calc(15px + (29 - 15) * ((100vw - 300px) / (1600 - 300)));
  color: var(--white);
  font-family: var(--font-family-jaldi);
  font-weight: 400;
  font-style: normal;
  max-width: 300;
  line-height: 2rem;
}

h6 {
  font-size: calc(15px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
  color: var(--cloud);
  font-family: var(--font-family-jaldi);
  font-weight: 100;
  font-style: normal;
  max-width: 300;
}

.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 1rem;
}

.btn-main {
    display: inline-block;
    color: var(--black);
    background: var(--aquamarine);
    border: 1px solid var(--aquamarine);
    padding: 0.625rem 1rem;
    border-radius: 0.3125rem;
    transition: color 200ms, background 200ms;

    &:hover {
        color: var(--white);
        background: transparent;
    }
}

@media screen and (width <= 1050px) {
  .left {
    display: flex;
    position: relative;
    overflow: hidden;
    white-space: normal;
  }

  .h2-alignment {
    margin-left: -10em;
  }

  h5 {
    font-size: calc(20px + (29 - 15) * ((100vw - 300px) / (1600 - 300)));
    color: var(--white);
    font-family: var(--font-family-jaldi);
    font-weight: 400;
    font-style: normal;
    max-width: 300;
    line-height: 2rem;
  }

  h6 {
    font-size: calc(17px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
    color: var(--cloud);
    font-family: var(--font-family-jaldi);
    font-weight: 100;
    font-style: normal;
    max-width: 300;
  }
}
