@charset "UTF8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "ubuntu", sans-serif;
}

body {
    background-image: linear-gradient(45deg, rgb(8, 8, 40), rgb(149, 144, 196));
    min-height: 100vh;
    margin: auto;
    padding: 5px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

a {
    font-weight: 500;
    color: rgb(195, 199, 252);
    text-decoration: inherit;
    text-shadow: 1px 1px 2px #00000057;
    margin-bottom: 4px;
}

a:hover {
    color: rgb(230, 230, 156);
}

nav {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 20px;
    font-size: .8em;
}

nav a {
    border-radius: 5px;
    text-transform: uppercase;
}

.nav-icon {
    width: 15px;
    vertical-align: text-bottom;
}

.hide {
    display: none;
}

.container {
    background-color: #15083658;
    box-shadow: rgba(0, 0, 0, 0.208) 0px 3px 8px;
    color: #fdfdfd;
    padding: 1.0rem 1.7rem;
    border-radius: 1rem;
}

.container h2 {
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.541);
}

/*Formulário*/

.form h3 {
    margin-bottom: 1rem;
    color: rgb(185, 233, 255);
}

.form-input-container {
    display: flex;
}

.form input {
    padding: 1rem;
    border: none;
    flex: 1;
    border-radius: 4px;
    outline: none;
}

.form button {
    padding: .8rem;
    min-width: 50px;
    margin-left: 8px;
    background-color: rgba(38, 38, 90, 0.897);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form button:hover {
    background-color: rgba(167, 155, 255, 0.452);
    color: rgb(8, 8, 40);
}

#weather-data {
    border-radius: 5px;
    padding-top: 1.5rem;
    text-align: center;
}

#weather-data h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .6rem;
}

#weather-data h2 i {
    font-size: 1rem;
}

#weather-data span {
    margin: .6rem;
}

#country {
    height: 25px;
    border-radius: 2px;
}

#description-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .6rem 0;
}

#description {
    font-weight: bold;
    text-transform: capitalize;
    color: rgb(240, 255, 127);
}

#details-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#details-container #humidity {
    border-right: 1px solid #fff;
    margin: .6rem;
    padding: .6rem;
}

#details-container #wind {
    color: rgb(185, 233, 255);
    ;
}

#options {
    width: 330px;
    font-size: 14px;
    color: #fff;
    text-transform: capitalize;
    border: 1px solid rgba(255, 255, 255, 0.108);
    border-radius: 10px;
}

#options ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    list-style-type: none;
}

#options ul li {
    margin: 10px;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(12, 12, 12, 0.459);
}

#options ul li:hover {
    text-decoration: underline;
    color: rgb(230, 230, 156);
}

footer {
    margin-bottom: 50px;
    width: 250px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.068);
    border-radius: 10px;
}

#logo {
    filter: drop-shadow(1px 1px 1px #eeb10a70);
}

#author {
    color: rgb(202, 165, 41);
}

footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.596);
    text-shadow: 1px 1px 1px #00000057;
    line-height: 20px;
    border-radius: 7px;
    padding: 7px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.23);
    letter-spacing: 1px;
}

footer a:hover {
    text-decoration: underline;
}

footer img {
    opacity: 90%;
}

footer #links {
    width: 204px;
    margin: auto;
    padding-top: 6px;
    display: flex;
    justify-content: center;
    column-gap: 43px;
}

footer #links a {
   box-shadow: 1px 1px 2px  rgba(255, 217, 0, 0.199);
   border-radius: 2px;
}

footer #links img {
    opacity: 60%;
    padding: 1px;
}

#links img:hover {
    border-radius: 5px;
    opacity: 100%;
}

#mark {
    font-size: .8em;
    color: #949292;
    padding: 5px;
}

@media screen and (max-width:800px) {
    .container {
        margin-top: -10px;
    }

    #options {
        margin-top: -20px;
    }

    nav {
        text-align: center;
    }
}