 /* Count form styling */

 .formModal {
    background-Color: rgba(0, 0, 0, 0.3);
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); /* Adjust the blur strength as needed */
  
    display: none;
    align-items: center;
    justify-content: center;
  }
  
  #countForm {
    background-color: #1c1c1c;
    color: white;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    text-align: center;
    width: 50vw;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    line-height: 1.5;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    font-weight: bold;
    line-height: 1;
  }
  
  .close-button:hover {
    color: #F44336;
  }
  
  #countForm p {
    color: white;
  }
  
  #countForm img {
    margin-bottom: 2vh;
    height: 10vh;
  }

  #caseSkinConditionLink {
    display: inline-block;
    transition: color 0.3s ease-in-out;
  }

  #caseSkinConditionLink:hover {
    color: #F44336 !important;
  }
  


  /* Responsive layout for smaller screens */  
  @media only screen and (max-width: 1000px) {
    #countForm {
      width: 70vw;
    }
  }
  
  @media only screen and (max-width: 700px) {
    #countForm {
      width: 85vw;
    }
  }
  
  @media only screen and (max-width: 500px) {
    #countForm p {
      font-size: small;
    }
  }
  
  @media only screen and (max-width: 450px) {
    #countForm {
      width: 95vw;
    }
  }