

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-size: 120%;
    font-family: 'Open Sans', sans-serif;
    background-image: url('https://source.unsplash.com/1600x900/?landscape');
}

.main{
    background: rgba(0,0,0,0.85);
    color: white;
    max-width: 450px;
    margin: 1em;
    border-radius: 30px;
    padding: 2em;
    width: 420px;
}

.main  h2{
    text-align: center;
    margin-top: 0;
}

.search{
    display: flex;
    justify-content: center;
    align-items: center;
}

.search input{
    border: none;
    outline: none;
    padding: 0.4em 1em;
    border-radius: 24px;
    background: #7c7c7c2b;
    color: white;
    font-family: inherit;
    font-size: 105%;
    width: calc(100% - 100px);
    text-align: center;
}

.search button{
    color: white;
    background: #7c7c7c2b;
    border: none;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin: 0.5em;
}

.search button:hover {
    background: #7c7c7c6b;
    transition: 200ms ease-in-out;
  }

.getLocation{
    cursor: pointer;
    width: 100%;
    background: #7c7c7c2b;
    color: white;
    border:none;
    padding: 0.4em 1em;
    height: 35px;
    border-radius: 24px;
}

.getLocation:hover{
    background: #7c7c7c6b;
    transition: 200ms ease-in-out;
}

.flex{
    display: flex;
    align-items: center;
    margin: 0;
}

.weather-icon{
    visibility: hidden;
    width: 60px;
    height: 50px;
}

.weather-description{
    text-transform: capitalize;
}

.temp{
    margin: 0%;
    margin-right: 70px;
}

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

.info{
    background: rgba(214, 85, 85, 0.5);
    outline-color: red;
    border-color: red;
    text-align: center;
    padding: 0.3em;
    border-radius: 50px;
    display: none;
}

.error{
    background: rgba(214, 85, 85, 0.5);
    outline-color: red;
    border-color: red;
    text-align: center;
    padding: 0.3em;
    border-radius: 50px;
}