@font-face {
  font-family: "Nunito Sans";
  src: url("/vendor/font/NunitoSans.ttf");
}

:root {
--background: #2e5ff2;
--foreground: #edf0f3;
--primary: #2e5ff2;
--primary-foreground: #edf0f3;
--accent: #deb72b;
--color-text-dark: #333333;

--size-logo: 9rem;
--size-image: 600px;
--size-image-radius: 200px;
--size-shadow-logo: 900px;

--space-base: 1rem;
--space-lg: 4rem;
--space-xl: 10rem;

--font-family-base: "Nunito Sans", sans-serif;
--font-size-h1: 6rem;
--font-size-subtitle: 2.25rem;
--font-weight-bold: 700;

--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
  0 4px 6px -2px rgba(0, 0, 0, 0.05);

--gradient-split: 80%;
--content-max-width: 1000px;
}

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

body {
  font-family: var(--font-family-base);
  line-height: 1.5;
  color: var(--color-text-dark);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-section {
  min-height: 100dvh;
  background: linear-gradient(
    to right,
    var(--background) 0%,
    var(--background) var(--gradient-split),
    var(--foreground) var(--gradient-split),
    var(--foreground) 100%
  );
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-background-logo-shadow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size-shadow-logo);
  height: var(--size-shadow-logo);
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.15;
  user-select: none;
  pointer-events: none;
}

.hero-header {
  padding: var(--space-base);
  position: relative;
  z-index: 10;
}

.hero-logo {
  width: var(--size-logo);
  height: var(--size-logo);
  user-select: none;
}

.hero-content-wrapper {
  flex-grow: 1;
  display: flex;
  margin-top: 9rem;
  margin-bottom: auto;
  position: relative;
  z-index: 10;
}

.hero-content {
  background-color: var(--foreground);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  padding-left: var(--space-xl);
  padding-right: var(--space-lg);
  height: 300px;
  width: var(--gradient-split);
  max-width: 100%;
  margin-right: auto;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-base);
}

.hero-title {
  color: var(--primary);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--font-size-subtitle);
  color: var(--color-text-dark);
}

.hero-image-area {
  position: absolute;
  right: var(--space-xl);
  top: 50%;
  transform: translateY(-50%);
  width: var(--size-image);
  height: var(--size-image);
  user-select: none;
  z-index: 20;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  border-top-left-radius: var(--size-image-radius);
  border-bottom-right-radius: var(--size-image-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-border {
  position: absolute;
  top: 10px;
  left: 10px;
  width: var(--size-image);
  height: var(--size-image);
  border: 2px solid var(--accent);
  border-top-left-radius: var(--size-image-radius);
  border-bottom-right-radius: var(--size-image-radius);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1700px) {
  :root {
    --space-xl: 1rem;
  }
}

@media (max-width: 1440px) {
  :root {
    --size-image: 400px;
    --size-image-radius: 150px;
    --space-xl: 2rem;
    --font-size-h1: 4rem;
    --font-size-subtitle: 1.6rem;
    --gradient-split: 75%;
    --content-max-width: 850px;
  }
  
  .hero-content {
    height: 300px;
    padding-left: var(--space-xl);
    padding-right: var(--space-lg);
  }

  .hero-image-border {
    width: var(--size-image);
    height: var(--size-image);
    border-top-left-radius: var(--size-image-radius);
    border-bottom-right-radius: var(--size-image-radius);
  }
}

@media (max-width: 992px) {
  :root {
    --size-image: 250px;
    --size-image-radius: 60px;
    --space-xl: 2rem;
    --space-lg: 3rem;
    --font-size-h1: 3.5rem;
    --font-size-subtitle: 1.5rem;
    --size-logo: 8rem;
  }

  .hero-section {
    background: linear-gradient(
      to bottom,
      var(--background),
      #5c81f5
    );
    padding-bottom: calc(var(--space-lg) * 0.8);
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .hero-background-logo-shadow {
    width: 120vw;
    height: auto;
    opacity: 0.15;
    top: 40%;
    z-index: 2;
  }

  .hero-header {
    display: flex;
    justify-content: center;
    padding: var(--space-base);
    z-index: 10;
  }

  .hero-content-wrapper {
    margin-top: calc(var(--space-lg) * 0.8);
    order: 1;
    z-index: 10;
  }

  .hero-content {
    width: 90%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    background-color: transparent;
    color: var(--primary-foreground);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    color: var(--primary-foreground);
  }
  .hero-subtitle {
    color: var(--primary-foreground);
    opacity: 0.9;
  }

  .hero-image-area {
    position: relative;
    width: 85%;
    max-width: var(--size-image);
    height: auto;
    right: auto;
    top: auto;
    transform: none;
    margin: calc(var(--space-lg) * 0.8) auto 0 auto;
    order: 2;
    z-index: 5;
  }

  .hero-image-container {
    border-top-left-radius: var(--size-image-radius);
    border-bottom-right-radius: var(--size-image-radius);
  }

  .hero-image-border {
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border-top-left-radius: var(--size-image-radius);
    border-bottom-right-radius: var(--size-image-radius);
    z-index: -1;
  }
}

@media (max-width: 600px) {
  :root {
    --size-image-radius: 100px;
    --space-xl: 1.5rem;
    --space-lg: 2rem;
    --font-size-h1: 2.8rem;
    --font-size-subtitle: 1.25rem;
    --size-logo: 6rem;
  }

  .hero-section {
    padding-bottom: calc(var(--space-lg) * 0.8);
  }

  .hero-content-wrapper {
    margin-top: calc(var(--space-lg) * 0.8);
  }

  .hero-content {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
  }

  .hero-image-area {
    width: 80%;
    margin-top: calc(var(--space-lg) * 0.8);
  }

  .hero-image-border {
    top: 6px;
    left: 6px;
  }
}
