html {
    height: 100vh;
}

body {
    height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Vazirmatn", sans-serif;
  font-size: larger;
  font-weight: 100;
  direction: rtl;
  display: flex;
  justify-content: center;
  background-color: #EC303A;
  /* background-image:url('../images/IMG_9445.JPG');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; */
}

.container {
    padding: 25px;
    margin-top: 50px;
  background-color: white;
  color: black;
  border-radius: 25px;
  width: 80%;
height: fit-content;
  margin: 3%;
  display: flex;
  flex-direction: column;
  flex-grow: 0.5;
}

.details {
  font-size: small;
  direction: ltr !important;
}

.alignr {
  float: right;
  width: 75%;
}

.alignl {
  float: left;
  text-align: left;
  width: 25%;
}

.offer {
  font-weight: 300;
  margin-bottom: 10%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  border-radius: 20px;
  color: black;
  max-width: 90%;
  /* max-height: fit-content; */
  background-color: white;
  /* padding: 1%; */
}

.offer_p {
  margin: 0;
}


@media (prefers-color-scheme: dark) {
    html {
        height: 100vh;
    }
    
    body {
        height: 100%;
      margin: 0;
      padding: 0;
      font-family: "Vazirmatn", sans-serif;
      font-size: larger;
      font-weight: 100;
      direction: rtl;
      display: flex;
      justify-content: center;
      background-color: #EC303A;
      /* background-image:url('../images/IMG_9445.JPG');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center; */
    }
    
    .container {
        padding: 25px;
        margin-top: 50px;
      background-color: white;
      color: black;
      border-radius: 25px;
      width: 80%;
    height: fit-content;
      margin: 3%;
      display: flex;
      flex-direction: column;
      flex-grow: 0.5;
    }
    
    .details {
      font-size: small;
      direction: ltr !important;
    }
    
    .alignr {
      float: right;
      width: 75%;
    }
    
    .alignl {
      float: left;
      text-align: left;
      width: 25%;
    }
    
    .offer {
      font-weight: 300;
      margin-bottom: 10%;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      justify-content: center;
      border-radius: 20px;
      color: black;
      max-width: 90%;
      /* max-height: fit-content; */
      background-color: white;
      /* padding: 1%; */
    }
    
    .offer_p {
      margin: 0;
    }
    
  }