/* Common styles for all screen sizes */
html,
body {
  background-color: black;
  margin: 0;
  color: #800080;
}

h1 {
  font-family: 'Caveat', cursive;
  font-size: 4em;
  margin-left: 40px;
  background-color: #800080;
  color: black;
  width: 350px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

h1:hover {
  background-color: black;
  color: #800080;
  margin-top: 70px;
  margin-left: 70px;
  transform: scale(1.1);
}

iframe {
  width: 100%;
  height: 500px;
}

div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

p {
  display: flex;
  align-self: center;
}

::selection {
  color: #800080;
  background-color: black;
}

p::selection {
  background-color: #800080;
  color: black;
}

/* Media Queries for different screen sizes */

/* Small screens (mobile) */
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  h1 {
    font-size: 2.5em;
    width: 250px;
  }

  video {
    height: auto;
  }

  div {
    margin-top: 60px;
  }

  p {
    margin-top: 20px;
  }

  a {
    font-size: 2.5em;
    width: 250px;
  }
  iframe {
    height: 300px; /* Adjust height for smaller screens */
  }

  table {
    font-size: 0.8em; /* Adjust font size for smaller screens */
    overflow-x: auto; /* Add horizontal scroll for small screens */
  }
}

body {
  margin: 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  direction: rtl;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  /* background-color: #800080;
  color: black; */
  font-weight: 800;
}