@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #f1f5f9;
}
html, body{
    min-height: 100vh;
    background-color: #0f172a;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}


.loading-msg{
    display: none;
    width: 80vw;
    color: #f87171;
}

p#curious{
    text-align: center;
    font-size: 2.5rem;
    margin: 0;
}

p#type-in{
    font-size: 2rem;
    margin: 0.5em;
    text-align: center;
}

.input-div{
    width: 80vw;
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

input::placeholder {
    color: #64748b;
}

input{
    width: 70%;
    background-color: #1e293b;
    border: 1px solid #334155;
    padding: 1em;
    border-radius: 0.5em;
    font-family: inherit;
}

input:focus{
    border-color: #38bdf8;
}

.search-button{
    width: 30%;
    background-color: #38bdf8 ;
    font-weight: 700;
    color: #0f172a ;
    border: none;
    cursor: pointer;
    border-radius: 0.5em;
}

.search-button:hover{
    background-color: #0ea5e9;
}


.render-weather{
    width: 80vw;
    min-height: 70vh;
    background-color: #1e293b;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 1em;
}

.render-weather > div,
.render-weather > p
{
    margin: 0 2em;
}

.render-weather > h1{
    margin: 0 1em;
}

.temperature{
    color: #38bdf8;
}

#date,
.label{
    color: #94a3b8;
}

.stat-cards-div{
    display: flex;
    justify-content: space-between;
}

h3{
    margin: 0;
}

.stat-card{
    width: 30%;
    border-radius: 0.5em;
    padding: 0.7em;
    background-color: #273548;
}

.stat-card p{
    margin: 0;
}


