html,
body {
    padding: 0;
    margin: 0;
    min-height: 100vh;

    background-image: linear-gradient(rgba(90, 91, 93, 0.7), rgba(90, 91, 93, 0.7)), url('/img/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.weatherCard {
    background: white;
    width: 90%;
    max-width: 340px;

    height: 70px;
    border-radius: 12px;
    transition: height 0.4s ease;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.height {
    height: 380px;
}

.notFoundHeight {
    height: 200px;
}

.inputdiv {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

input[type="text"] {
    font-size: 16px;

    padding: 10px 12px;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #CBCBCB;
    box-sizing: border-box;
    text-transform: capitalize;
}

input::placeholder {
    text-align: left;

    color: #888;
}

input:focus {
    outline: none;
    background: #CBCBCB !important;

}

#btnSearch {
    padding: 10px 14px;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    background: #CBCBCB;
    color: black;
    border: none;
    border-radius: 6px;
    font-weight: 500;
}

#btnSearch:hover {
    background: #222;
    color: white;
}

#weatherResult {
    display: none;
    text-align: center;
    background: #CBCBCB;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    margin-top: 15px;
    box-sizing: border-box;
}