@import "root.css"; /* All Resets and global variables */
@import "globals.css";


/* HERO SECTION */
.hero {
  background-image: url("/assets/speaker-bg.jpg");
  background-position: -60em -195em;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--primary-clr);
  background-blend-mode: overlay;
  opacity: 95%;
}

.header-info {
  padding: 1em;
  margin-bottom: 5em;
  color: var(--light-clr);
  width: fit-content;
  margin-left: auto;
}

.company-name {
  font-size: clamp(1.5rem, 3vw, 4rem);
  color: var(--white-clr);
}

.alt-clr {
  color: var(--alt-txt-clr);
}

.company-email {
  font-size: clamp(0.6rem, 1.5vw, 1rem);
}

.logo {
  width: clamp(8em, 40vw, 25em);
}

/* MAIN SECTION */
.main-section {
  background-color: var(--white-clr);
}

.main-section .container {
  gap: 4em;
}

.video-outter {
  position: relative;
  padding: 56.25% 0 0 0;
  border: 5px solid var(--dark-clr);
}

.video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.training-points {
  margin-bottom: 5em;
  justify-content: center;
  align-content: center;
  gap: 1em;
}

.topic {
  text-transform: uppercase;
  font-size: clamp(0.6rem, 1.5vw, .8rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  border-left: 2px solid var(--primary-clr);
  border-right: 2px solid var(--primary-clr);
  color: var(--secondary-clr);
}

.topic:hover { 
  color: var(--alt-txt-clr);
}

/* MEDIA QUERIES */
@media (min-width: 700px) {
  .hero {
    height: 85vh;
    background-size: cover;
    background-position: center center;
  }

  .scroll-down {
    visibility: visible;
  }
  
  .nav-toggle {
    display: none;
  }

  .main-nav {
    margin: 0 auto;
  }

  .main-nav-ul {
    all: unset;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-evenly;
    align-items: center;
  }

  .logo {
    margin-left: auto;
  }
}