body {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: Palatino;
  background-color: #fff0db;
  background-position: top;
  background-image: url(../icons/opaque-background.png);
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

u:hover{
  opacity: 0.5;
}

.container {
  margin: 50px auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 20px;
  gap: 20px;
  max-width: 90vw;
}

@media screen and (max-width: 500px) {
  .container {
    flex-direction: column;
  }
}
button {
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  margin: 10px 0;
}
button:hover {
  background: rgba(134, 47, 139, 0.8);
}

.rules-container {
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 0;
  font-size: 20px;
}
.rules-container img {
  width: 880px;
  max-width: 95%;
}

.rules {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  padding: 20px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  width: 760px;
  max-width: calc(90vw - 40px);
  max-width: calc(90vw - 40px);
  border-radius: 0;
  text-align: justify;
  line-height: 30px;
}
.rules b {
  color: rgb(77, 161, 169);
}
.rules span {
  color: darkred;
}
.rules em {
  color: rgb(134, 47, 139);
}
.rules em:hover {
  opacity: 0.5;
}
.rules h2 {
  margin-top: 20px;
  margin-bottom: 0;
}

video {
  max-width: 90vw;
  height: auto;
}

.text-container {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  padding: 20px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  width: 500px;
  max-width: calc(90vw - 40px);
  text-align: center;
  line-height: 30px;
}
.text-container b:hover {
  color: rgb(134, 47, 139);
}

.logo {
  max-width: 95vw;
}