@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;

  font-family: "Nunito Sans", sans-serif;
  color: #0c1200;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

.hero-section {
  width: 100%;
  height: auto;
}

.top-hero {
  /* border: 1px solid red; */

  width: 100%;
  max-height: 500px;

  position: relative;
}

.img-banner {
  /* border: 1px solid blue; */
  max-height: 500px;
  width: 100%;

  border-radius: 0 0 0 100px;

  overflow: hidden;
}

.img-banner img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center bottom;
}

.vid-hero {
  /* border: 1px solid red; */
  max-width: 450px;
  max-height: 400px;

  border-radius: 10px;

  overflow: hidden;

  position: absolute;
  bottom: -125px;
  right: 120px;

  z-index: 1;

  transition: all 0.4s ease-in-out;
}

.vid-hero:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 rgba(0, 0, 0, 1);
}

.bot-hero {
  /* border: 1px solid red; */
  width: 50vw;
  height: auto;

  margin: 36px 0 54px 120px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

h1 {
  font-size: 95px;
  line-height: 1;
  letter-spacing: -6px;
  font-weight: 500;
}

h1 span {
  font-style: italic;
}

p {
  font-size: 20px;
}

button {
  width: auto;
  height: auto;
  padding: 8px 16px;
  border-style: none;
  /* text-shadow: 0 1px 1px #000; */
  background-color: transparent;
  border: 2px solid #00a652;
  position: relative;
  z-index: 0;
  cursor: pointer;
  font-size: 20px;

  border-radius: 25px;
  overflow: hidden;
}
button::after {
  content: "";
  background: rgb(0, 166, 82, 1);
  height: 100%;
  width: 0px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: 300ms ease-in-out;
}
button:hover::after {
  width: 100%;
  color: #000;
}

button.btn1 {
  background-color: #00a652
}

button.btn1::after {
  content: "";
  background: white;
  height: 100%;
  width: 0px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: 300ms ease-in-out;
}

button.btn1:hover::after {
  width: 100%;
}

a {
  text-decoration: none;
  color: #000;
}

.bot-hero img {
  width: 100%;
}
