* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    display: grid;
    place-items: center;
}

.card {
    width: 100%;
    max-width: 500px;
    color: #222;
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    padding: 1em;
    display: grid;
    place-items: center;
    justify-content: center;
}

.card .card-header {
    width: 100%;
    margin-bottom: 1.5em;
}

.card .card-body {
    width: 100%;
}

.card .carb-body .form-group {
    width: 100%;
    margin-bottom: 1.5em;
    display: inline-block;
}

.card .card-body .form-group input {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 0.5em;
    outline: none;
}

.card .card-body .form-group input:focus {
    border-color: #333;
}

#submit {
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5em 1em;
    border-radius: 3px;
    display: block;
    margin: 0.75em auto;
}

#submit:hover {
    background-color: #222;
}

.result {
    width: 100%;
    margin-top: 1.5em;
}

.wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temp {
    display: block;
}

h1#weather {
    font-size: 2.875em;
    font-weight: 600;
}

h2#temp {
    font-size: 1.5em;
    font-weight: 500;
}

h3#min-max {
    font-size: 0.75em;
    font-weight: 400;
}

h2#humidity {
    font-size: 2.875em;
    font-weight: 600;
}