body {
    background-color: aqua;
    text-align: center;
    margin: 0;
}

#header1 {
    color: #004d40;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    gap: 10px;
}

.form-container div {
    text-align: center;
}

#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#dropdown {
    display: flex;
    justify-content: center;
}

#button {
    position: relative;
    overflow: hidden;
}

.button-text {
    transition: opacity 0.3s;
}

#button.is-loading .button-text {
  opacity: 0;
}

#button.is-loading::after {
  content: "Loading";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: loading-dots 1.5s infinite;
  white-space: nowrap;
}

@keyframes loading-dots {
  0% {
    content: "Loading.";
  }
  33% {
    content: "Loading..";
  }
  66% {
    content: "Loading...";
  }
  100% {
    content: "Loading.";
  }
}

.form-control,
.form-select,
.btn {
    width: 100%;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 400px;
    margin: 10px 0;
    box-sizing: border-box;
}

#cityname {
    font-family: 'Times New Roman', Times, serif;
}

.table-horizontal {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-horizontal table {
    min-width: max-content;
    border-collapse: collapse;
}

.table-vertical {
    width: 100%;
    overflow-y: auto;
}

.site-footer {
    background-color: white;
    margin-top: 3rem;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #e0e0e0;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.site-footer a:hover {
    text-decoration: underline;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.github-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media(max-width: 600px) {
    #header1 {
        font-size: 1.5rem;
    }

    .form-container {
        width: 95%;
        padding: 10px;
        margin: 10px auto;
        flex-direction: column;
    }

    .form-control,
    .form-select,
    .btn {
        max-width: 100%;
        min-width: auto;
    }

    .table {
        font-size: 0.9rem;
    }

    .site-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
