/*STYLE CONSTANTS AREA*/
/*FONTS*/

main{
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 70rem;
  margin: 0 auto;
}
.video-box{
  pointer-events: none;
  position: relative;       
  width: 100%;             
  height: 100%;              
  overflow: hidden;
  display: grid;
 
  #about_header{
  grid-area: 1/1;
  color: var(--text-color);
  font-family:var(--dog-font);
  font-size: 7em;
  margin-top:.5em;
  position: relative;
  z-index:  10;
  width: inherit;
  height: inherit;
  display: grid;
  place-items: center;
  translate: 0 -7.9vh;
  background-color: hsla(0, 0%, 20%, .3);
}
  iframe{
    grid-area: 1/1;
    
    position:relative;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    object-fit: contain;
    aspect-ratio: 16 / 9 ;
    z-index: 1;
  }      
}




  
.about-text{
  margin: none;
  text-align: none;
   display: grid;
   
 h1{
    text-align: left;
    grid-area: header;
    font-size: 3em;
 }
 .hero{
    grid-area: hero;
    background-image: url(media/matt_day.JPG);
    height: 20em;
    width: 20em;
    border-radius: 50%;
    background-position: 20% ;
    background-size: cover;
    border: 1em solid var(--background-color);
    position: relative;
  }
  p{
    grid-area: text;
    text-align: left;
    margin: 0;
  }
}
#hi{
  grid-template:
  "header . hero" 5em
  "text . hero" 20em/
  40vw 15vw 50vw
  ;
}
#work-with-us{
  grid-template:
  "header . hero" 5em
  "text . hero" 20em/
  50vw 5vw 30vw
  ;
}


.meet-us{
  background-color: hsl(from var(--text-color) h s l / .9);
  color:var(--background-color);
  border-radius: 10%;
  position: absolute;
  height: calc(56em + 1em);
  width: calc( 65em - 0.5em);
  padding: .5em;
  display: none;
}
  
  

.team{
  display: grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  gap: 1em;
  width: 65em;
  margin: 0 auto;
.about-card{
  color:var(--background-color);
  background-color: hsl(from var(--text-color) h s l / .9);
  border-radius: 10%;
  /* corner-shape: bevel; */
  padding: .25em;
  height: 28em;
  width: auto;
  /* overflow: hidden; */
  
  text-overflow: ellipsis;
  display:grid;
  grid-template: 
  "image " 3fr
  "name " 1fr 
  "title "1fr
  "description"3fr
  ;
  place-items: center;
  h1{
    grid-area: name;
  }
  h2{
    margin:0;
    grid-area: title;
  }
  p{
    margin:0;
    grid-area: description;
  }
  .about-image {
  grid-area: image;
  width: 12em;
  height: 12em;
  object-fit: cover;
  margin: 0;
  display: block;
  border-radius: 50%;
}
#sophieimage{
  object-position: 1% 80%;
}

button{
  background-color: var(--background-color);
  border: none;
  font-family: var(--dog-font);
  color: var(--text-color);
}
.dropdown-parent{
    position: relative;
}
  .dropdown{
  display:flex;
  flex-direction: column;
  place-items: center;
  visibility: hidden;           /* Hide by default */
  position: absolute;       /* Break out of standard document flow */
  list-style: none;
  width: 100%;
  padding-top: .75em;
  padding-bottom: .25em;
  background-color: var(--text-color);
  transform: translateX(-.5em);
  gap: .5em;
  height: 100%;
  overflow: hidden;
  
  a{
      font-size: 1em;
      color: var(--background-color);
      font-family: var(--body-font);
    }
}
  .dropdown-parent:hover{
    transform: scale(1.2);
    .dropdown{
      visibility: visible;
      height: fit-content;
      
      
    }
  }
}
}


