* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body { 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    height: 100vh;
    color: white;
}

main {
    width: 340px;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 30px;
    border: none;
    border-radius: 20px;
    background-image: linear-gradient(135deg, #00feba, #5b548a);
}

section { width: 100%;}

.search {

    #form-controls {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    #input-city {
        width: 100%;
        height: 2.5rem;
        border: none;
        border-radius: 100px;
        font-size: 1rem;
        padding: 10px 20px;
    }

    button {
        height: 2.5rem;
        width: 3.15rem;
        border: none;
        border-radius: 100px;

        img {
            width: 1rem;
            position: relative;
            top: 2px;
        }
    }
}

.image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;

    #weather-icon {
        width: 125px;
    }
}

.temperature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;

    #temp {
        font-size: 4rem;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 500;
    }
    
    #city {
        font-size: 2rem;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 500;
    }
}

.info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;

    .info-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;

        img {
            width: 2.5rem;
        }

        .inner-info {
            h3 {
                font-size: 1.15rem;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: 400;

            }

            h4 {
                font-size: 0.75rem;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: 400;
            }
        }
    }
}