* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: black !important;
  color: rgba(255, 0, 72, 0.685) !important;
  display: flex;
  justify-content: start;
  flex-direction: column;
font-weight: 800;
font-size: large;
  gap: 10px;
}

.allupdates {
  width: 100%;
  padding: 20px;
}

.carddiv {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.card {
  width: calc(33.33% - 20px);
  height: 250px;
  background-color: black !important;
  color: white !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0px 0px 20px white;
}

.card img {
  width: 150px;
  height: 150px;
  margin-top: 10%;
}

.card-body .btn {
  background-color: black !important;
  color: rgba(255, 0, 72, 0.685) !important;
}

.subsbtn {
  position: fixed;
  top: 70px;
  right: 10px;
  z-index: 1000;
}

.subsbtn button {
  margin: 0;
  border-radius: 5px;
  color: #fff;
  background-color: #ff0033;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.subsbtn button:hover {
  background-color: #cc0022;
}

.subsform {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 300px;
}

.cut {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.cut img {
  width: 50px;
  height: 50px;
}

.subsform form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Media Queries */

@media (max-width: 992px) {
  .card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .card {
    width: 100%;
  }
  .carddiv {
    gap: 10px;
  }
  .subsbtn {
    top: 60px;
  }
}

@media (max-width: 480px) {
  .card img {
    width: 100px;
    height: 100px;
  }
  .card {
    height: 200px;
  }
  .subsbtn {
    top: 50px;
  }
  .subsbtn button {
    padding: 5px 10px;
  }
}
@media screen and (max-width: 466px) {
    .subsbtn {
        margin-top: 27px;
    }
  }