* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {
  color: rgb(0, 0, 0);
  font-size: 60px;
  width: 100%;
  text-align: center;
  font-family: "Michroma", sans-serif;
}
header {
  padding: 1em;
}
h2,
header,
#exercises {
  color: rgb(0, 0, 0);
  font-family: "Michroma", sans-serif;
}

h3 {
  text-align: center;
  color: rgb(0, 0, 0);
  font-family: "Michroma", sans-serif;
}

h4 {
  text-align: left;
  color: rgb(0, 0, 0);
  margin: 8px;
}

h6 {
  font-family: "Michroma", sans-serif;
}

body {
  font-size: 30px;
  background-color: rgba(238, 238, 238, 0.692);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100%;
  height: 100%;
}

html {
  height: 100%;
}

#exercises a {
  display: block;
  padding: 0.25rem;
}

footer {
  width: 100%;
  padding: 1.2rem 0;
  font-family: "Michroma", sans-serif;
  font-size: 1em;
  background-color: white;
  box-shadow: 0 -11px 0 0 #d3d3d3 inset;
  position: fixed;
  bottom: 0;
  text-align: left;
}

a:link,
a:visited {
  color: rgb(0, 0, 0);
}

a {
  transition: 0.3s;
  margin: 0.5em;
  text-decoration-line: none;
}

a:hover,
a:focus {
  color: rgb(182, 0, 0);
  scale: 1.3;
}

video {
  max-width: 100%;
  height: 300px;
  text-align: center;
}
figure {
  border-radius: 2em;
  background: #fff;
  box-shadow: 0 -11px 0 0 #d90000 inset;
  transition: 0.3s;
}
figure:hover {
  box-shadow: 0 -11px 0 0 #008881 inset;
}
figure iframe {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.8);
}

img {
  height: 300px;
  width: 100%;
  aspect-ratio: 16/9;
}

#topnav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  padding: 1.2rem 0;
  font-family: "Michroma", sans-serif;
  font-size: 1em;
  font-weight: 500;
  background-color: white;
  box-shadow: 0 -11px 0 0 #d3d3d3 inset;
}

#Exercises {
  text-align: center;
  padding: 2rem 5rem;
  gap: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#videos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 4rem;
  margin: 0 4rem;
}

/*Responsive*/
@media screen and (max-width: 1024px) {
  .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .wrapper {
    grid-template-columns: 1fr;
  }
  footer {
    font-size: 0.5em;
  }
  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1em;
  }
  #topnav {
    font-size: 0.8em;
  }
  #Exercises {
    grid-template-columns: 1fr;
    padding: 0 1.2rem;
  }
}
