/*=================================*
 * lander.css - William Astley
 * Astley Digital landing page stylesheet.
 * This file defines elements unique to the landing page.
/*=================================*

/*=================================*
 * 1. 
 *=================================*/
 /* COMPONENT: HERO */

.bg-hero {
  background-repeat: no-repeat, no-repeat;
  background-image:
    url('http://kymetric.com/assets/wave-optimized.svg'),
    /*url('wave-optimized.svg'),*/
    linear-gradient(180deg, #0e493d, #182757);
  position: relative;
  background-position: center center, center;
  background-size: contain, cover;
  overflow: visible;
  min-height:95vh;
}

.hero--sub{
  max-width:850px;
  font-size:1.1rem;
  background-color: #083a3c9b;
  border-radius:10px;
  padding:0.7rem;
}

.hero--content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero--content h1 {
  font-size: 2.7rem;
  text-shadow: 0 0 10px rgba(21, 12, 3, 0.5);
}

.hero--fade {
  background-image:url('http://kymetric.com/assets/fade.svg');
  /*background-image: url('fade.svg');*/
  background-repeat: repeat-x;
  background-size: auto 160px;
  display: inline-block;
  width: 100%;
  height: 80px;
}

.hero--vsl {
  margin-top: -3rem;
}

.vsl-preview {
  width: 90%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #0a2c3b;
  border: 2px dashed rgba(93, 255, 247, 0.4);
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 0 20px rgba(93, 255, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(93, 255, 247, 0.6);
  font-size: 1.25rem;
  font-family: sans-serif;
}

/* COMPONENT: REGFORM */

.regform {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    padding: 3rem; 
    width:80%;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(93, 255, 247, 0.25);
    box-shadow:
    inset 0 -3px 8px rgba(0, 0, 0, 0.25),
    inset 0 2px 3px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.12);
}

.regform label{
    font-weight: bold;
    display: block;
    margin-top: 1em;
}

.regform textarea,select,input[type="text"], input[type="email"], input[type="tel"],input[type="date"]{
    width: 100%;
    padding: 0.8em;
    margin-top: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.check {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.check label {
    margin: 0; 
}

/*=================================*
 * 2. Media Queries
 *=================================*/


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
    font-size: 1.1rem;
    margin: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero--sub{
    font-size:0.9rem;
  }
  .hero--content h1 {
    font-size: 2rem;
  }
  .vsl-preview {
    margin-top: 1rem;
  }
}

@media (max-width: 769px) {
  .regform {
    width: 100%;
  }
}