html, body {
    height: 100%;
    margin: 0;
}
body {
    display: grid;
    place-items: center;
    font-family: Arial, Helvetica, sans-serif;
    p {
      margin: 0;
      width: 480px;
      line-height: 16px ;
    }
}

.contact {
  padding: 5px;
}
.container {
    width: 350px;
    height: auto;
    background-color: #f2f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #b6b6b6;
    border-radius: 4px;
    padding: 10px;
  }
  .item {
    width: 10em;
  }
  label {
      display: inline-block;
      margin-bottom: 5px;
  }
  input, select{
    width: 100%;
    margin-bottom: 20px;
    padding: 5px 5px;
    box-sizing: border-box;
  }
  input[type=text] {
    width: 100%;
    box-sizing: border-box;
  }
  input[type=text] {
    border: 1px solid gray;
    border-radius: 4px;
  }
  input[type=text] {
       padding: 10px; /* Padding to increase clickable area */
    font-size: 16px; /* Larger font size for readability */

  }
  input[type=text] {
    transition: width 0.4s ease-in-out;
  }

  input[type=text]:focus {
    width: 100%;
  }

  input[type=button], input[type=submit], input[type=reset] {
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 0;
    cursor: pointer;
  }
  input[type=submit] {
    padding: 25px 32px;
  }
  #emailContainer {
    width: 100%;
  }
  /* Styles for the cookie notice modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.cookie-modal-content p {
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
}

.button-container button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0 10px;
    cursor: pointer;
}

.button-container button:hover {
    background-color: #0056b3;
}
.error-input {
    border: 1px solid red;
     background-color: #fcc7c0;
}
#submitButton:disabled {
    opacity: 0.5; /* Adjust the opacity value as needed */
    cursor: not-allowed; /* Change cursor to not-allowed */
}

select {
    width: 100%;
    padding: 10px; /* Padding to increase clickable area */
    font-size: 16px; /* Larger font size for readability */
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    box-sizing: border-box;
    margin-bottom: 20px;
    /* Remove custom appearance */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

@media (max-width: 768px) {
    .cookie-modal-content {
        max-width: 300px;
    }
   body p {
      width: 280px;
    }
    form label {
        font-size: 14px;
    }
    form input[type="submit"] {
        padding: 10px;
    }
 
}

@supports (-webkit-touch-callout: none) {
    select {
        height: 44px; /* This is a good height for iPhone select inputs */
        font-size: 16px; /* Increase font size for readability on mobile */
    }
}
