/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: 'GeneralSans';
  src:
    url('../fonts/GeneralSans-Variable.woff2') format('woff2'),     /* ✅ modern browsers */
    url('../fonts/GeneralSans-Variable.ttf') format('truetype');    /* ✅ fallback for dev */
  font-weight:100 200 300 400 500;
  font-style: normal;
  font-display: swap;
}

body, html {
  height: 100%;
  font-family: 'GeneralSans', sans-serif;
  color: white;
  background: #fff;
  font-weight: 100;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Full-screen hero image */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  z-index: 1;
}
img.hero-image {
    padding: 1em;
    border-radius: 2em;
}
/* Overlayed text */
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2.5rem;
}

/* Topbar (logo + contact) */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-logo {
  height: 40px;
}
  
.contact-info {
  margin-top: 0px;
}
span.contact-info {
    text-align: right;
}
/* Main text */
.hero-text {
  margin-top: auto;
  padding: 1em;
}

h1 {
  font-size: 4rem;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 1.5rem;
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.break {
  height: 1px;
  margin-bottom: 20px;
  background-color: #fff;
}

.content-section {
  display: flex;
  justify-content: space-between;
}

.sub-heading,
.description {
  width: 50%;
  padding: 0 0.5rem;
}
p.sub-heading {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 10vw;
  }

  .content-section {
    flex-direction: column;
  }

  .sub-heading,
  .description {
    width: 100%;
    padding: 0;
  }
  .sub-heading {
    margin-bottom: 1em;
  }

  .hero-text {
    padding: 1em 0;
    text-align: left;
  }
img.hero-image {
  padding: 1em;
}
.hero-overlay {
  padding: 2rem;
}
  .contact-info {
    font-size: 11px;
    margin-top: -5px;
  }
}