/* ============= GLOBAL CSS =============== */

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

html {
  font-size: 100%;
} /*16px*/
:root {
  /* colors */
  --primary-100: #ffe5ab;
  --primary-200: #ffd787;
  --primary-300: #ffc963;
  --primary-400: #ffbc4f;
  --primary-500: #ffbd39; /* base color */
  --primary-600: #e6a733;
  --primary-700: #cc922d;
  --primary-800: #b37c27;
  --primary-900: #996721;

  /* grey */
  --grey-50: #ffffff;
  --grey-100: #cfd1d3;
  --grey-200: #a0a3a7;
  --grey-300: #70767c;
  --grey-400: #414850;
  --grey-500: #111a24;
  --grey-600: #0e151d;
  --grey-700: #0a1016;
  --grey-800: #070a0e;
  --grey-900: #030507;

  /* rest of the colors */
  --clr-green: #2cb67d;
  --black: #222;
  --white: #fff;
  --red-light: #f8d7da;
  --red-dark: #842029;
  --green-light: #d1e7dd;
  --green-dark: #0f5132;
  --small-text: 0.875rem;
  --extra-small-text: 0.7em;
  --light-black: #1a1a1a;

  /* rest of the vars */
  --backgroundColor: #000000;
  --textColor: var(--white);
  --borderRadius: 0.25rem;
  --letterSpacing: 1px;
  --transition: 0.3s ease-in-out all;
  --max-width: 1120px;
  --fixed-width: 600px;

  /* box shadow*/
  --shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-4: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --primary-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --secondary-font: "Abril Fatface", serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--backgroundColor);
  font-family: "Poppins", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: #999999;
  overflow-x: hidden;
  margin-top: 60px;
  scroll-behavior: smooth;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--headingFont);
  font-weight: 400;
  line-height: 1;
  text-transform: capitalize;
  letter-spacing: var(--letterSpacing);
}

h1 {
  font-size: 3.052rem;
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}
@media screen and (max-width: 800px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 0.875rem;
  }
}
.text {
  margin-bottom: 1.5rem;
  max-width: 40em;
}

small,
.text-small {
  font-size: var(--small-text);
}

a {
  text-decoration: none;
}
ul {
  list-style-type: none;
  padding: 0;
}

.img {
  width: 100%;
  display: block;
  object-fit: cover;
}
/* buttons */

.btn {
  cursor: pointer;
  color: var(--white);
  background: var(--primary-500);
  border: transparent;
  border-radius: var(--borderRadius);
  letter-spacing: var(--letterSpacing);
  padding: 0.375rem 0.75rem;
  box-shadow: var(--shadow-1);
  transition: var(--transition);
  text-transform: capitalize;
  display: inline-block;
}
.btn:hover {
  background: var(--primary-700);
  box-shadow: var(--shadow-3);
}
.btn-hipster {
  color: var(--primary-500);
  background: var(--primary-200);
}
.btn-hipster:hover {
  color: var(--primary-200);
  background: var(--primary-700);
}
.btn-block {
  width: 100%;
}
.btn-small {
  padding: 0.9rem;
}
/* alerts */
.alert {
  padding: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  border-color: transparent;
  border-radius: var(--borderRadius);
}

.alert-danger {
  color: var(--red-dark);
  background: var(--red-light);
}
.alert-success {
  color: var(--green-dark);
  background: var(--green-light);
}
/* form */

.form {
  width: 90vw;
  max-width: var(--fixed-width);
  background: var(--white);
  border-radius: var(--borderRadius);
  box-shadow: var(--shadow-2);
  padding: 2rem 2.5rem;
  margin: 3rem auto;
}
.form-label {
  display: block;
  font-size: var(--small-text);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  letter-spacing: var(--letterSpacing);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.375rem 0.75rem;
  border-radius: var(--borderRadius);
  background: var(--backgroundColor);
  border: 1px solid var(--grey-200);
}

.form-row {
  margin-bottom: 1rem;
}

.form-textarea {
  height: 7rem;
}
::placeholder {
  font-family: inherit;
  color: var(--grey-400);
}
.form-alert {
  color: var(--red-dark);
  letter-spacing: var(--letterSpacing);
  text-transform: capitalize;
}
/* alert */

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  width: 6rem;
  height: 6rem;
  border: 5px solid var(--grey-400);
  border-radius: 50%;
  border-top-color: var(--primary-500);
  animation: spinner 0.6s linear infinite;
  margin: 0 auto;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  overflow-x: hidden;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.highlight-text {
  color: var(--primary-500);
}
.btn-primary {
  background-color: var(--primary-500) !important;
  border: 1px solid var(--primary-500) !important;
  color: var(--black) !important;
  border-radius: 40px;
  box-shadow: 0px 24px 36px -11px rgba(0, 0, 0, 0.09);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 1.2rem;
  outline: none !important;
  cursor: pointer;
  text-decoration: none;
}

/* Hover, Focus, and Active states for .btn-primary */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-500) !important;
  border: 1px solid var(--primary-500) !important;
  color: var(--black) !important;
}
.btn-secondary,
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  background: transparent !important;
  color: #fff !important;
  border-radius: 40px;
  box-shadow: 0px 24px 36px -11px rgba(0, 0, 0, 0.09);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 1.2rem;
  outline: none !important;
  cursor: pointer;
  text-decoration: none;
}

/* Hover, Focus, and Active states for .btn-secondary */
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background: rgba(
    255,
    255,
    255,
    0.2
  ) !important; /* Lighten the background on hover/focus/active */
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important; /* Lighten the border on hover/focus/active */
}

.btn-small {
  padding: 1.2rem 1rem;
}

.section-heading {
  font-size: 50px;
  font-weight: 700;
  position: relative;
  margin-bottom: 3rem;
  color: var(--white);
  text-align: center;
}
.section-heading .overlay {
  position: absolute;
  top: 0px;
  width: 100%;
  text-align: center;
  font-size: 7vw;
  color: rgba(255, 255, 255, 0.1);
  z-index: -1;
  font-weight: 900;
}
.section-heading.left .overlay {
  left: 0%;
}
.section-heading.left {
  text-align: start;
}
section {
  margin: 3rem 0;
}

.section-subtitle {
  text-align: center;
}

section > div:last-child {
  overflow-y: hidden;
}

a:hover {
  text-decoration: none;
}
