* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient( #DDAAE9, #F7E4FF);
    font-size: 2rem;
    font-family: sans-serif;
    color: rgb(7, 9, 10);
  }
  #loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  
  .container {
    height: auto;
    width: auto;
    background-color: #FFFFFF;
    line-height: 35px;
    text-align: center;
    padding: 12px;
    border-radius: 16px;
    border: 2px solid rgb(14, 43, 1);
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
  }
  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
  }
  
  @keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
  }
  #weather-container {
    display: none;
  }
    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
    }
    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* The slider */
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .slider::before {
        display: flex;
        position: absolute;
        /* content: "°F"; */
        font-size:16px;
        text-align: center;
        align-items: center;
        justify-content: center;
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }
    

    input:checked + .slider {
        background-color: #2196F3;
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }
    .slider.round {
        border-radius: 34px;
    }
        
    .slider.round:before {
        border-radius: 50%;
        content: "°C";
    }
    /* input:checked + .slider::after {
        content: "°F";
    } */
    .location {
      margin-bottom: 1%;
    }
    .summary {
        text-transform: capitalize;
        margin-bottom: 3%;
    }
    .feels-stack {
      vertical-align: top;
      display: inline-block;
      text-align: center;
      margin: 1rem;
      line-height: 1.5rem;
    }
      .feels-text {
        display: block;
        font-size: 15px;
      }
      .feels {
        display: block;
        font-size: 20px;
      }
    .wind-stack {
      vertical-align: top;
      display: inline-block;
      text-align: center;
      margin: 1rem;
      line-height: 1.5rem;
    }
      .wind-text {
        display: block;
        font-size: 15px;
      }
      .wind{
        display: block;
        font-size: 20px;
      }
    
    
    