:root {
    --primary-color: #e6f3ff; /* Light sky blue */
    --secondary-color: #e8f5e9; /* Mint cream */
    --tertiary-color: #f3e5f5; /* Lavender blush */
    --accent-color: #17a2b8; /* Turquoise */
    --text-color: #333333;
    --bubble-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.1);
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: auto;
    overflow: hidden;
    background-color: var(--primary-color);
    animation: backg 20s infinite;
  }

  div {
    justify-items: center;
    text-align: center;
  }
  
  .container {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--bubble-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
  }
  
  h1, h2 {
    font-family: 'Roboto', sans-serif;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 10px 0;
  }
  
  input[type="text"] {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    display: block;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  
  input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
  }
  
  select {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    display: block;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: white;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2317a2b8" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
  }
  
  select:focus {
    outline: none;
    border-color: var(--accent-color);
  }

  button {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    margin: 10px 0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: var(--bubble-shadow);
    width: 80%;
  }
  
  button:hover {
    background-color: #0e86a2;
  }
  
  .result {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    box-shadow: var(--bubble-shadow);
    width: 100%;
  }
  
  @keyframes backg {
    0%  {background-color: var(--primary-color);}
    34% {background-color: var(--secondary-color);}
    67% {background-color: var(--tertiary-color);}
    100% {background-color: var(--primary-color);}
  }

/* Media query for mobile devices */
@media (max-width: 1010px) {
    body {
        font-size: 24px; /* Adjust font size for better readability on small screens */
        width: 90%;
        margin: auto;
    }

    .container {
        width: 90%;
        margin: 10px auto;
    }

    input[type="text"] {
        width: calc(100% - 20px);
        font-size: 24px; /* Adjust font size for better readability on small screens */
    }

    select {
        width: 100%;
        font-size: 24px; /* Adjust font size for better readability on small screens */
    }

    button {
        width: 100%;
        font-size: 24px; /* Adjust font size for better readability on small screens */
    }
}
