@media (min-width: 320px) and (max-width: 500px) {
  /* Opening media query for mobile devices */

  /* The Coming soon page*/
  body {
    background-color: #1b1c1e;
  }
  /* coming soon logo */
  .cmg-logo {
    text-align: center;
  }
  /* resize image of the logo */
  .cmg-logo img {
    width: 120px;
    height: 100px;
    opacity: 1;
  }
  div.comingsoon {
    width: 360px;
    height: 388px;
    top: 463px;
    left: 20px;
    opacity: 1;
    gap: 48px;
  }
  /* for white colored texts */
  .wht {
    color: #ffffff;
  }
  /* header  */
  h1.wht {
    font-family: Inter;
    font-weight: 700;
    font-style: Extra Bold;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
  }
  /* paragraph on coming soon */
  p.wht {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
  }
  /* notify group for email subscribers */
  form.notify-group {
    display: grid;
    grid-template-rows: auto auto;
    width: inherit;
    max-width: max-content;
    height: 120px;
    opacity: 1;
    gap: 32px;
  }
  form.notify-group input {
    width: 300px;
    height: 43px;
    opacity: 1;
    gap: 10px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #abf565;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    background-color: inherit;
    color: #ffffff;
  }
  form.notify-group button {
    /* margin: auto; */
    width: 300px;
    height: 46px;
    opacity: 1;
    border-radius: 1000px;
    gap: 10px;
    padding-top: 12px;
    padding-right: 16px;
    padding-bottom: 12px;
    padding-left: 16px;
    background-color: #abf565;
    color: #000000;
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    border-style: none;
  }
  form.notify-group input:focus {
    outline: none;
    border: 1px solid #abf565 !important;
    transition: border-color 0.3s ease-in-out;
  }

  /* timer function in coming soon page */
  div.timer {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    width: 320px;
    height: 90px;
    opacity: 1;
  }
  div.days,
  div.hours,
  div.minutes,
  div.seconds {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    width: 70px;
    height: 70px;
    opacity: 1;
    border-radius: 8px;
    gap: 8px;
    padding: 6px;
    background-color: #abf5650d;
  }
  span.num {
    font-family: Inter;
    font-weight: 800;
    font-style: Extra Bold;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    color: #abf565;
  }
  span#rep {
    width: 60px;
    height: 19px;
    opacity: 1;
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff99;
  }
  /* For the Frames of animated images on the coming soon page */
  img.fr1 {
    display: none;
  }
  img.fr2 {
    display: none;
  }
  img.fr3 {
    display: none;
  }
  img.fr4 {
    display: none;
  }
  img.fr5 {
    display: none;
  }

  img.fr6 {
    display: none;
  }
  img.fr7 {
    display: none;
  }
 div.mf {
  width: inherit;
  height: 161px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px auto; /* bottom margin added */
}

  div.mf img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
    .message {
  position: fixed; /* Keeps the message at the top */
  top: 0; /* Aligns the message at the top */
  left: 50%; /* Horizontally centers the message */
  transform: translateX(-50%); /* Adjusts for the width of the element */
  background-color: #abf5650d; /* Light red background for visibility */
  color: #abf565; /* Dark red text color */
  padding: 10px 20px; /* Adds some padding */
  border: 1px solid #abf5650d; /* Adds a border matching the background */
  border-radius: 5px; /* Rounds the corners */
  text-align: center; /* Centers the text */
  font-family: Arial, sans-serif; /* Sets a clean font */
  font-size: 16px; /* Adjust font size */
  z-index: 1000; /* Ensures it appears above other content */
}
.messageError {
  position: fixed; /* Keeps the message at the top */
  top: 0; /* Aligns the message at the top */
  left: 50%; /* Horizontally centers the message */
  transform: translateX(-50%); /* Adjusts for the width of the element */
  background-color: #f8d7da; /* Light red background for visibility */
  color: #721c24; /* Dark red text color */
  padding: 10px 20px; /* Adds some padding */
  border: 1px solid #f5c6cb; /* Adds a border matching the background */
  border-radius: 5px; /* Rounds the corners */
  text-align: center; /* Centers the text */
  font-family: Arial, sans-serif; /* Sets a clean font */
  font-size: 16px; /* Adjust font size */
  z-index: 1000; /* Ensures it appears above other content */
}
}
