* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins';
    /* outline: red 1px solid; */
    text-decoration: none;
    transition:
        0.5s ease-in background-color,
        0.5s ease-in text,
        0.5s ease-in color,
        0.5s ease-in border,
        0.5s ease-in outline,
        0.5s ease-in box-shadow,
        0.5s ease-in filter,
        0.5s ease-in transform;
}


:root {
    --icon: #777;
    --bg-color: #FEF4CB;
    --text: black;
    --container: #fff;
    --highlight1: #FD5A46;
    --highlight2: #F9BB08;
    --highlight3: #058CD7;
    --border: black;
    --outline: black;
    --shadow: black;
    --invert: none;
}

.dark-theme {
    --icon: #6900FF;
    --bg-color: black;
    --text: #fff;
    --container: #333333;
    --highlight1: #FF0054;
    --highlight2: #BD00FF;
    --highlight3: #FF00CF;
    --border: #fff;
    --outline: #fff;
    --shadow: #fff;
    --invert: brightness(0) invert(1);
}

body {
    display: flex;
    background-color: var(--bg-color);
    justify-content: center;
    /* margin-top: 200px; */
    height: 100%;
    transition: 0.5s ease-in-out all;
}

p,
span,
h1 {
    color: var(--text);
}

.container {
    display: block;

    height: 100%;
    padding: 25px 10px;
    width: 500px;
    min-width: 300px;
}

.sm-container {
    margin-top: 15px;
    background-color: var(--container);
    height: auto;
    width: auto;

    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;

    border: 3px solid var(--border);

    box-shadow: 0 3px var(--shadow);
}

.left {
    display: flex;
    align-items: center;
}

.left .image {
    background-color: white;
    margin: 0 10px;
    width: 65px;
    height: 65px;
    border-radius: 50%;

    border: 3px solid var(--border);
    /* Use background-size: cover to make the background image cover the entire container */
}

.weather-art {
    width: auto;
    height: 150px;

    border-radius: 10px;

    border: 3px solid var(--border);
    background-color: var(--highlight1);
}

.details-name {
    font-size: 20px;
}

.details-other {
    font-size: 15px;
}

.card-title {
    font-size: 25px;
    color: var(--text);
    margin: 5px 0 5px 5px;
}

.prompt {
    margin: 5px 0 10px 5px;
}

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

.spacebetween {
    justify-content: space-between;
}

.button-me {
    box-sizing: border-box;
    height: 45px;
    width: auto;
    padding: 0 10px;
    display: flex;

    align-items: center;

    color: var(--text);
    font-size: 1em;
    font-weight: 600;

    border-radius: 15px;

    border: 2px solid var(--border);
    background: var(--highlight2);
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.button-mode {
    z-index: 1;

    box-sizing: flex;
    height: 45px;
    width: 50px;
    padding: 0 15px;
    display: flex;
    align-items: center;

    position: fixed;
    top: 10px;
    left: 10px;

    color: var(--text);
    font-size: 15px;
    font-weight: bolder;

    border-radius: 15px;

    border: 2px solid var(--border);
    background: var(--icon);
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

#input-search {
    caret-color: transparent;

    box-sizing: border-box;
    height: 60px;
    font-weight: 500;
    padding: 0 5%;
    width: 95%;

    display: inline;
    margin-right: 10px;
    margin-bottom: 5px;

    font-size: 25px;
    color: var(--text);

    border-radius: 15px;
    border: none;
    outline: 2px solid var(--outline);
    background: transparent;
    box-shadow: none;

    transition: all 0.5s ease-in-out;
}

#button-search {
    box-sizing: border-box;
    height: 60px;
    width: 20%;
    min-width: 50px;
    display: inline;

    margin-bottom: 5px;

    color: var(--text);
    font-size: 20px;

    border-radius: 15px;

    border: 2px solid var(--border);
    background: var(--highlight1);
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.weather-title{
    margin: 10px 0;
}

.weather-art{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: var(--highlight1);
}

.weather-art img{
    filter: var(--invert);
    height: auto;
    width: 100px;
    margin: 20px;
}

.weather-info ul {
    list-style: none;
}

.weather-info ul li {
    font-weight: 600;
    cursor: pointer;
    background-color: var(--highlight3);
    border: 2px solid var(--border);
    margin: 0 0 10px 0;
    padding: 5px 10px;

    border-radius: 10px;
}

#desc::first-letter{
    text-transform:capitalize;
}

.weather-info ul li div{
    color: var(--text);
}

/* EFFECTS */

.button-me:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px var(--shadow);
}

#button-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px var(--shadow);
}

#input-search:hover {
    box-shadow: 0 3px var(--shadow);
}

#input-search:focus {
    transform: translateY(-3px);
    box-shadow: 0 4px var(--shadow);
}

.weather-info ul li:hover{
    transform: translateY(-3px);
    box-shadow: 0 3px var(--shadow);
}