@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
}

.captcha {
  position: relative;
}
.captcha-fake-field {
  background: transparent;
  bottom: 0;
  border: none;
  display: block;
  height: 1px;
  left: 12px;
  width: 1px;
  position: absolute;
  z-index: -1;
}

.home-header {
  background-image: url('/assets/features-bg.svg');
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100%;
}

.contact-header {
  background-image: url('/assets/bg-weav-pattern.svg');
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100%;
}

.arrow-btn {
  display: none;
}

.btn-learn-more:hover .arrow-btn {
  display: flex;
  transition: all 500ms ease-in;
}

.hero-image-desktop {
  display: none;
}

.text-info {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.text-info > * {
  padding: 0 2.5rem 1rem;
}

/* intended for the first h2 within .text-info */
.text-info h2:nth-child(1) {
  color: #020c13;
  font-weight: normal;
  padding-top: 1.8rem;
  padding-bottom: 1rem;
}

.text-info h2 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #031723;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.text-info p {
  color: #020c13;
  line-height: 24px;
}

.text-info .email-signup {
  margin: 1rem 0 6rem;
  position: relative;
  width: 100%;
}

.partner-header {
    background-image: url('/assets/hero-bg-shapes.svg');
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

@media only screen and (min-width: 540px) {
  .home-header {
    background-image: url('/assets/features-bg.svg');
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
  }
}

@media only screen and (min-width: 768px) {
  .blog-body {
    background-image: url(https://assets.codepen.io/6060109/destop-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    height: 100vh;
  }

  main {
    display: flex;
    flex-direction: column;
    height: inherit;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 3.5rem;
  }

  .text-info h2 {
    font-size: 4.5rem;
  }

  .text-info p {
    font-size: 16px;
  }

  .hero-image-desktop {
    display: block;
    height: 100%;
    width: 55vw;
  }

  .hero-image-desktop img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
}
