:root {
 font-size: clamp(18px, 2.4vw, 24px) 
}
body {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 5rem;
}
h1 {
  text-align: center;
  font-size: 3rem;
}
h2 {
  text-align: center;
  text-decoration: underline;
}
li {
    list-style: none;
    padding: .25rem 1.5rem;
    background-image: url("../images/star.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1rem;
}

/*table stuff*/
table {
  width: 95%;
  margin: 0 auto;
}
table, td {
  border: 3px solid black;
  border-collapse: collapse;
  border-style: ridge;
}
td {
  width: 50%;
  padding: 0 1rem;
}

video {
  border: 2px solid black; 
  width: 100%;
  height: auto;
}

.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
  text-align: center;
}

#header ul {
     list-style-type: none;
}
#header li {
  font-weight: bold;
  display: inline-block;
  margin-right: 2rem;
  padding: 0;
}
#header a {
  color: white;
  text-decoration: none;
}
#header li a:hover {
  text-decoration: underline;
}

/*HEADER STYLE*/
#header {
  background-color: black;
  color: white;
  position: sticky;
  top: -3px;
  font-weight: bold;
  width: 95%;
  padding: 0;
  z-index: 100;
}
#header a{ 
  text-decoration: none;
  }
#header ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0.9rem;
}
#header li {
  background-image: none;
  display: inline-block; padding: 0 1rem;
  margin: 0;
}

/*talking guy stuff*/
#talkguy {
   float: left; 
   aspect-ratio: 1/1; 
   width: 45%; 
   position: relative;
}
#bubble {
  background-image: url('../images/bubble.png');
  background-repeat: no-repeat; 
  background-size: 100% 100%;
  width:45%;
  aspect-ratio: 1/1;
  display: inline-block;
}
#guy {
  padding: 10% 10% 10% 30%; 
  font-size: .7rem; 
}



@media screen and (max-width: 750px) {  
  /*2 column tables becomes 1 column on mobile*/
  td {
    display: block;
    width: 100%;
    margin: 0 auto;
    border: none; 
    border-bottom: 3px solid black;
    box-sizing: border-box;
  }
}