body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #282c34;
    color: #fff;
    font-family: sans-serif;
    margin: 0;
    padding: 20px 0; /* Add padding to the body to create space at the top and bottom */
}

.container {
    display: flex;
    flex-direction: column;
    background-color: #282c34;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 600px;
    padding: 20px;
    margin-top: 20px; /* Add margin at the top */
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

button[type="button"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}
#search-btn{
    height: 30px;
    width: 650px;
}
.weather-details {
    display: flex; /* Arrange left and right sections side by side */
}

.left {
    flex: 1; /* Make the left section take up half the container */
    background: linear-gradient(to bottom, #4682B4, #ADD8E6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.right {
    flex: 1; /* Make the right section take up half the container */
    background-color: #282c34;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the contents vertically */
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.date {
    font-size: 14px;
    margin-bottom: 10px;
}

.location {
    font-size: 14px;
}

.temp {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 10px;
}

.description {
    font-size: 18px;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.detail-label {
    font-size: 14px;
}

.detail-value {
    font-size: 16px;
    font-weight: bold;
}
