/* TODOs: 
- BEM Component Architectures
- 7-1 Architecture Patters
- SaaS CSS Preprocessor (SCSS Syntax)
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: black;
  box-sizing: border-box;
  padding: 1rem;
  width: 100vw;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1 rem;
  width: 100%;
  align-items: center;
}

.logo-main {
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background-color: black;
  padding: 1.25rem;
  width: 100%;
}

.hero-section {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  height: auto;
  align-items: center;
  background-color: black;
  color: white;
  overflow: hidden;
}

.icon {
  width: 1.5rem;
  height: auto;
  margin-right: 0.5rem;
}

.logo-main p {
  margin: 0;
  font-size: 1.15rem;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
}

.heading {
  order: 0;
  max-width: 90%;
  text-align: left;
}

.heading-primary {
  font-family: "Merriweather", serif;
  font-weight: 200;
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.heading-secondary {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  padding: 1rem 0;
}

.video-box {
  order: -1;
  position: relative;
  max-width: 95%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: black;
}

.video {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  pointer-events: none;
}

.square {
  aspect-ratio: 1/1;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.square.square-black {
  background-color: rgb(0, 0, 0);
}

.square.square-mid {
  background-color: rgba(254, 254, 254, 0.507);
}

.square.square-v-bright {
  background-color: rgba(254, 254, 254, 0.921);
}

.square.square-bright {
  background-color: rgba(254, 254, 254, 0.707);
}

.square.square-v-light {
  background-color: rgba(255, 255, 255, 0.32);
}

.square.square-blank {
  background-color: rgba(255, 255, 255, 0);
}

@media screen and (min-width: 480px) {
  .video-box {
    max-width: 85% !important;
  }
  .heading-primary {
    font-size: 2.5rem;
  }
  .heading-secondary {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 105%;
  }
  .video-box {
    max-width: 90% !important;
  }
  .content {
    max-width: 85%;
  }
}
@media screen and (min-width: 1024px) {
  html {
    font-size: 105%;
  }
  body {
    max-width: 100%;
  }
  .content {
    flex-direction: row;
    padding: 1rem;
    max-width: 100%;
  }
  .heading {
    order: -1;
    max-width: 35%;
  }
  .video-box {
    max-width: 55% !important;
    width: 55% !important;
  }
}
@media screen and (min-width: 1400px) {
  html {
    font-size: 125%;
  }
  .video-box {
    max-width: 50% !important;
  }
}
@media screen and (min-width: 1800px) {
  .container {
    max-width: 1700px;
  }
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.logos {
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos::before {
  left: 0;
  background: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0));
}

.logos::after {
  right: 0;
  background: linear-gradient(to left, rgb(0, 0, 0), rgba(0, 0, 0, 0));
}

.logos-slide {
  display: inline-block;
  animation: 25s slide infinite linear;
}

.logos-slide img {
  height: 1.9rem;
  margin: 2.45rem;
}

@media screen and (max-width: 580px) {
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 45px;
    height: 100%;
    content: "";
    z-index: 2;
  }
}
