body{
   margin: auto;
   background-color: hsl(228, 5%, 15%);
   color: white;
   font-size: 22px;
}


ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: hsl(225, 13%, 18%);
}

a:link{
  color: #f2f2f2;
}

a:visited{
  color: white;
}

li a {
  display: block;
  list-style-type: none;
  color: #f2f2f2;
  padding: 8px 16px;
  font-size: 30px;
  text-decoration: none;
}

/* Change the link and background color on hover */
li a:hover {
  background-color: #555555;
  list-style-type: none;
  color: white;
}


.topnav {
  display: flex;
  justify-content: center;
  background-color: hsl(225, 13%, 18%);
  align-items: center;
  overflow: auto;
}

/* Style the links inside the navigation bar 
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}*/

/* Change the color of links on hover */
/* .topnav a:hover {
  background-color: #ddd;
  color: black;
} */

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.search-wrapper {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: center;
  font-size: xx-large;
  margin:45px;
}

input {
  font-size: 1rem;
  block-size: 2.5em;
}

h1{
  display: grid;
  align-items: center;
  place-items: center;
}

.user-cards {
  display: grid;
  gap: .25rem;
  margin-top: 1rem;
  align-items: center;
  place-items: center;
}

.card {
  border: 1px solid black;
  padding: 20px;
  align-items: center;
  background-color: hsl(225, 13%, 18%);
}

.card > .header {
  margin-bottom: .25rem;
  color: chocolate;
  align-items: center;
  text-align: center;
  font-size:30px;
}

.card > .body {
  font-size: 50px;
  text-decoration: underline;
  font-weight: bold;
  color: #f70a0a;
  align-items: center;
  z-index: 2;
  float: none;
  text-align: center;
  position: absolute;
  margin: 152px;
  transform: rotate(345deg);
}

.messagebox{
  text-align: center;
  font-size: 20px;
  color: yellow;
  font-weight: bold;
   padding: 20px;
}

.card > #myIframe{
  align-items: center;
  z-index: 1;
}

.hide {
  display: none;
}


@media only screen and (max-width: 600px) {
  .card > #myIframe{
  align-items: center;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintains the 16:9 ratio */
}

h1{
  margin: auto;
  width: 100%;
}

}
