body {
  background: linear-gradient(
    to bottom right,
    rgb(255, 200, 47),
    rgb(255, 37, 139),
    rgb(175, 77, 255)
  );
  color: white;
  margin: 0;
  padding: 0;
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 200;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255, 255, 255, 0.8);
  width: 100%;
  padding: 1rem 0;
  font-size: xx-large;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}
footer {
  background: rgb(255, 255, 255, 0.8);
  width: 100%;
  padding: 0.2rem 0;
  text-align: center;
  /* position: fixed;
  left: 0;
  bottom: 0; */
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-content .logo {
  opacity: 80%;
  margin: 0 1rem;
  max-height: 3rem;
}

.user-input {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
}
.user-input form {
  font-weight: bold;
  /* margin: 2rem auto; */
  background: rgb(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 15px; */
  width: 50%;
}
.user-input > div {
  font-weight: bold;
  /* margin: 2rem auto; */
  background: rgb(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 15px; */
  width: 90%;
}
.user-input > div > div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: 2rem;
}
.user-input > div > div a {
  text-decoration: none;
  color: #333;
  font-weight: normal;
  /* margin: 2rem auto; */
  background: rgb(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  /* gap: 15px; */
  transition: all 300ms;
  width: 20rem;
  height: 12rem;
}
.user-input > div > div a:hover {
  cursor: pointer;
  background: rgb(255, 255, 255, 1);
}

.user-input > div > div > a h2,
.user-input > div > div > a p {
  margin: 0;
  padding: 0;
  text-align: center;
}
label {
  font-size: 20px;
  color: #333;
  margin: 0.5rem;
}

input[type="text"] {
  margin-bottom: 0.5rem;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
  width: 90%;
}

input[type="text"]:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

button {
  padding: 10px 50px;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

/* For Media */
/* static/styles.css */
.container {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  background: rgb(255, 255, 255, 0.8);
  margin-bottom: 5rem;
}
.media-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.card {
  /* border: 1px solid #727272; */
  border-radius: 5px;
  padding: 10px;
  width: calc(33.333% - 20px);
  box-sizing: border-box;
}
.card img,
.card video {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.card-actions {
  margin-top: 10px;
  text-align: center;
}
.card-actions a {
  text-decoration: none;
  background-color: #007bff;
  color: #fff;
  border: 1px solid #007bff;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 500;
}
.card-actions a:hover {
  background-color: #0056b3;
  color: #fff;
}

/* loader */
.loader {
  width: 48px;
  height: 48px;
  display: block;
  margin: 15px auto;
  position: relative;
  color: #fff;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  transform: scale(0.5) translate(0, 0);
  background-color: #fff;
  border-radius: 50%;
  animation: animloader 1s infinite ease-in-out;
}
.loader::before {
  background-color: #008cff;
  transform: scale(0.5) translate(-48px, -48px);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animloader {
  50% {
    transform: scale(1) translate(-50%, -50%);
  }
}

.menu {
  display: flex;
  flex-direction: row;
  background-color: red;
}
