@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/**********************Global Variables************************
***************************************************************/

:root {
  --dark: #191932;
  --grey4: #474759;
  --grey3: #808091;
  --grey2: #ccccdc;
  --grey1: #ededf4;
  --primary: #702bd8;
  --spring-green: #5feead;

  --welcome-font: 'Inter', Arial, Helvetica, sans-serif;

  --big-font-size: 1.6rem;
  --default-font-size: 1.4rem;
  --small-font-size: 1.2rem;
}

*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

* {
  box-sizing: inherit;
}

a:link {
  text-decoration: none;
  font-weight: 500;
}

html {
  font-size: 62.5%;
  /* to set 10px = 1rem*/
}

body {
  box-sizing: border-box;
  font-family: var(--welcome-font);
  font-size: var(--big-font-size) !important;
  color: var(--dark);
  margin: 0;
  padding: 0;
}

/* main css starts */

.header {
  top: 0px;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  position: fixed;
  height: 6rem;
  background: white;
  z-index: 10;
  margin-top: 0;
  -webkit-box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.22);
  -moz-box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.22);
  box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.22);
  min-width: 100%;
}

.nav {
  list-style: none;
}

.nav li {
  display: inline-block;
}

.nav li:not(:first-child) {
  margin-left: 2.5rem;
}

.nav li a {
  color: var(--dark);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.nav li a:hover {
  color: var(--primary);
  transform: translateX(0.5rem);
}

.dropdown-selector {
  min-width: 150px;
}

.hero {
  margin-top: 1rem;
  background-image: linear-gradient(
      to right bottom,
      rgba(84, 32, 162, 0.95),
      rgba(186, 39, 228, 0.95)
    ),
    url(hero-img.png);
  height: 30rem;
  background-position: top;
  background-size: cover;
}

.hero__wrapper {
  max-width: 50rem;
  margin: 0 auto;
  padding-top: 5rem;
}

.hero__greetings {
  font-size: 4rem;
  font-weight: 600;
  line-height: 4.4rem;
  color: white !important;
  margin-bottom: 1rem;
  animation: moveInLeft 0.6s;
  text-align: center;
}

.hero__blurb {
  font-size: 2rem;
  text-align: center;
  margin-top: 3rem;
  color: white;
  line-height: 2.8rem;
  animation: moveInLeft 0.6s;
  font-weight: 400;
}

.boxes {
  width: 60rem;
  margin: 3rem auto;
  display: flex;
}

.boxes__openapi,
.boxes__webhook {
  width: 30rem;
  height: 30rem;
  display: flex;
  background-color: var(--grey1);
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--welcome-dark);
  animation: moveInBottomTop 0.6s;
  transition: transform 0.3s ease;
}

.boxes__openapi:hover,
.boxes__webhook:hover {
  transform: translateY(-0.3rem);
  background-color: var(--primary);
  color: white;
}

.boxes__webhook {
  margin-left: 4rem;
}

.welcome {
  font-style: italic;
}

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes moveInBottomTop {
  0% {
    opacity: 0;
    transform: translateY(20rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: var(--welcome-font) !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  font-size: 3.2rem !important;
  line-height: 4rem !important;
}

h2 {
  font-family: var(--welcome-font) !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  font-size: 2.4rem !important;
  line-height: 3rem !important;
}

h2 {
  font-family: var(--welcome-font) !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  font-size: 1.8rem !important;
  line-height: 2.4rem !important;
}

strong {
  font-family: var(--welcome-font) !important;
  font-weight: 500 !important;
}

p {
  font-family: var(--welcome-font) !important;
  font-weight: 400 !important;
  color: var(--dark) !important;
  font-size: var(--default-font-size) !important;
  line-height: 2rem !important;
}

.experimental-badge {
  vertical-align: top !important;
}

.redoc-wrap {
  padding-top: 6rem;
}
