/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'GeneralSans';
  src:
    url('../fonts/Satoshi.woff2') format('woff2'),     /* modern browsers */
    url('../fonts/Satoshi.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: 'Satoshi', 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: center 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: normal;
}

.hero-logo {
  height: 80px;
}
  
.contact-info {
  margin-top: 10px;
}
span.contact-info {
    text-align: right;
    font-weight: 100;
}
/* Main text */
.hero-text {
  margin-top: auto;
  padding: 1em;
}

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

.content-section {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
}

.description {
  width: 45%;
  padding: 0 0.5rem;
}
.sub-heading {
  width: 55%;
  padding: 0 0.5rem;
}

p.sub-heading {
    font-weight: 100;
    text-transform: uppercase;
}

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

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

  .sub-heading,
  .description {
    width: 100%;
    padding: 0;
  }
  .sub-heading {
    margin-bottom: 1em;
  }
  .topbar {
    align-items: center;
  }
  .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;
  }
}
@media (min-width: 768px) {
  #mobile-rspnsv {
    display: none;
  }
}
@media (max-width: 768px) {
  #desktop-rspnsv {
    display: none;
  }
  img.email {
    width: 40px;
  }
}
@media (max-width: 550px) and (min-width: 450px) {
  .hero-logo {
    height: 60px;
  }
}
@media (max-width: 450px) {
  .hero-logo {
    height: 12vw;
  }
}
/* Narrow-but-wide phones in landscape */
@media (orientation: landscape) and (max-height: 480px) and (hover: none) and (pointer: coarse) {
  .heading { width: 100%; }
  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  p.description { font-size: 0.8em; }
  span.contact-info { font-size: 0.9em; }
  /* tighten column width so all 7 can still fit when possible */
  .logos {
    margin: 0;
    margin-top: -1rem;
  }
  
  .sub-title { width: 45%; }
  .hero-text { padding: 1rem 0; }
  .hero-overlay { padding: 2rem; }
  .hero-logo { width: 22vw; height: auto;}
}


/* Samsung Galaxy S8+ and Similar Sizes */
@media screen and (orientation: landscape) and (max-height: 420px) {
  .heading { width: 100%; }

  h1 { font-size: 2rem; margin-bottom: 1rem; }
  p.description { font-size: 0.8em; }
  span.contact-info { font-size: 0.9em; }

  /* IMPORTANT: switch back to grid so the columns rule applies */
  .logos {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0px, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    justify-items: center; /* keep each logo centered in its cell */
  }

  .sub-title { width: 45%; }
  .hero-text { padding: 1rem 0; }
  .hero-overlay { padding: 2rem; }
}