
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Courier Prime', monospace;
    background: #222;
    background-image: url('https://source.unsplash.com/1600x900/?landscape');
    font-size: 120%;
  }
  
  .card {
    background: #000000d0;
    color: whitesmoke;
    padding: 2em;
    border-radius: 30px;
    width: 100%;
    max-width: 420px;
    margin: 1em;
  }
  
  .search {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  button {
    margin: 0.5em;
    border-radius: 50%;
    border: none;
    height: 44px;
    width: 44px;
    outline: none;
    background: #7c7c7c2b;
    color: whitesmoke;
    cursor: pointer;
    transition: 0.2s ease-in-out;
  }
  
  input.search-bar {
    border: none;
    outline: none;
    padding: 0.4em 1em;
    border-radius: 24px;
    background: #7c7c7c2b;
    color: whitesmoke;
    font-family: inherit;
    font-size: 105%;
    width: calc(100% - 100px);
  }
  
  button:hover {
    background: #7c7c7c6b;
  }
  
  h1.temp {
    margin: 0;
    margin-bottom: 0.4em;
  }
  
  .flex {
    display: flex;
    align-items: center;
  }
  
  .description {
    text-transform: capitalize;
    margin-left: 8px;
  }
  
  .weather.loading {
    visibility: hidden;
    max-height: 20px;
    position: relative;
  }
  
  .weather.loading:after {
    visibility: visible;
    content: "Loading...";
    color: white;
    position: absolute;
    top: 0;
    left: 20px;
  }


 


  :root {
    --background: #7c7c7c6b;
    --accent: #F4BD50;
  }

  .cta-button {
    align-items: center;
    border-radius: 20px;
    border: none;
    box-shadow: 0 0 0 0 var(--accent);
    background-color: var(--background);
    color: whitesmoke;
    cursor: pointer;
    /*display: flex;
    display: grid;*/
    display: inline-block;
    font-size: 15px;
    font-weight: 100;
    font-family: 'Courier prime', monospace;
    font-size: 20px;
    height: auto;
    justify-content: center;
    line-height: 1.9rem;
    letter-spacing: 0.1rem;
    max-width: 180px;
    margin-top: 15px;
    outline: 2px solid;
    outline-color: whitesmoke;
    outline-offset: 0px;
    padding: 12px 15px;
    position: relative;
    place-items: center;
    text-align: center;
    text-decoration: none;
    text-transform:inherit;
    text-shadow: none;
    transition: all 550ms cubic-bezier(.36, .63, .5, .73);
    width: auto;
  }
  .cta-button:hover {
    box-shadow: 0 0 0 2px var(--accent);
    outline-color: rgba(255, 255, 255, 0);
    color: var(--accent);
  }