/* conf 375 px */
* {
    margin: 0;
    padding: 0;
    font-family: "Ubuntu", "sans-serif";
}

html,
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgb(101, 100, 98) 0%, rgb(255, 255, 255) 100%);

}

h1 {
    color: whitesmoke;
    box-shadow: 2px 2px 15px rgba(77, 77, 77, .5);
    width: 100%;
    padding: 1% 0;
    justify-content: center;
    align-items: center;
    display: flex;
}

.img-brand{
    height: 50px;
    margin: 0px;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
   
}

.container_input {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 1% auto 2% auto;

}

.city_input {
    border: none;
    /* border-bottom: 1px solid; */
    text-align: center;
    width: 20%;
    color: white;
    background: transparent;
    box-shadow: 2px 2px 15px rgba(77, 77, 77, .5);
    font-size: 20px;
}

.city_input::placeholder {
    color: rgb(186, 186, 186);
  }

  .city_input:focus {
    box-shadow: 0 0 0 0;
    border: 0 none;
    box-shadow: 2px 2px 15px rgba(77, 77, 77, .5);
    outline: 0;
}

.city_input,
#search {
    margin-top: 8px;
    padding: 0.8rem;
    
    
}

#search {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: whitesmoke;
    text-shadow: 1px 1px 3px black;

}
#search i{
    font-size: 30px;
}

.weather {
    width: 40%;
    height: 50vh;
    box-shadow: 2px 2px 15px rgba(77, 77, 77, .5);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin: 0 auto;
}

.weather>h3 {
    display: flex;
    margin: .6rem;
    align-items: center;
}
i{
    margin-right: 5px;
    color: whitesmoke;
}
.country {
    height: 50%;
    margin-left: 5px;
}

.weather>p {
    font-size: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 3px whitesmoke;
    margin-top: 0.6rem;
}

.desc_element_style{
    background-image: radial-gradient(#b5b5b5,#f7f7f7);
    border-radius: 50%;
}

.feedbackError {
    display: none;
    top: 15rem;
    border-radius: 5px;
    margin: 0 auto;
    font-weight: bold;
    justify-content: center;
    padding: .5rem;
    align-items: center;
    font-size: 1.5rem;
    transform: translateY(calc(-2rem - 100%));
    transition: transform .3s;
    height: max(80px, 1);
    animation: details .4s;
    background-color: #ef9595;
    color: #652f2f;
}

.p-feedback {
    margin: .5em auto;
}

.feedbackError i{
    font-size: 2.5rem;
    cursor: pointer;
    margin-left: 5px;
}

.feedbackError.showError {
    transform: translateY(0px);
}

footer {
    display: flex;
    align-items: center;
    width: 100%;
    height: 5%;
}
footer p{
    text-align: center;
    margin: 0 auto;
}

@media(max-width:540px) {
    .city_input{
        width: 45%;
    }
    .weather {
        width: 100%;
        border: none;
        margin: 0;
        border-top: 5px solid whitesmoke;  
        box-shadow: none;
      
    }
}