:root{
    --color-primary: #373372;
    --color-secondary: #7C336C;
    --color-tertiary: #B3588A;
    --color-text: #ffffff;
    --color-text-secondary: #888888;
    --api-key: d280b8d8145a073ea17e30d81ec7b1f3;
    --city: Colombo;
    --name: User;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Product Sans','Roboto', sans-serif;
}

body{
    background-color: #000;
    color: var(--color-text);
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 500%;
}

.center{
    z-index: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#greetings{
    position: absolute;
    top: 20px;
    font-size: 20%;
    z-index: 100;
    color: var(--color-text-secondary);
}

#clock{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: 150%;
    max-width: 100%;
    z-index: 100;
}

#date{
    font-size: 20%;
    margin-bottom: 10px;
    z-index: 100;
}

#weather{
    font-size: 20%;
    z-index: 100;
    text-align: center;
    position: absolute;
    bottom: 20px;
    text-transform: capitalize;
    color: var(--color-text-secondary);
}

#weather img{
    position: relative;
    width: 40px;
    top: 15px;
    z-index: 100;
}

#user-input{
    align-items: end;
    display: flex;
    flex-direction: column;
    z-index: 200;
    background-color: #333333;
    padding: 20px;
    border-radius: 20px;
    font-size: 20px;
    display: none;
}

#user-input input{
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    outline: none;
    background-color: #020202;
    color: #fff;
    text-align: center;
}

#user-input button{
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    outline: none;
    background-color: var(--color-primary);
    color: #000000;
    cursor: pointer;
}

@keyframes fly {
    100% {
      transform:rotate(1turn) translate(100px) rotate(-1turn);
    }
  }
  
  @keyframes flyPlus {
    100% {
      transform:rotate(-1turn) translate(100px) rotate(1turn);
    }
  }
  
  .wrapper {
    width: 98vw;
    height: 98vh;
    background: #000000;
    
    position: absolute;
    overflow:hidden;
    border-radius: 40px;
    z-index: 0;
    transition: color 2s ease-in-out;
  }
  
  .base {
    position: absolute;
    filter: blur(60px);
    opacity: 0.8;
    transition: color 2s ease-in-out;
  }
  
  .one {
    border-radius: 100%;
    width: 600px;
    height: 600px;
    background-color: var(--color-primary);
    left:-50px;
    top:-300px;
    z-index: 3;
    animation: fly 12s linear infinite;
    transform:rotate(0) translate(80px) rotate(0);
  }
  
  .two {
    width: 500px;
    height: 800px;
    background-color: var(--color-secondary);
    bottom:-30px;
    left:-80px;
  }
  
  .three {
    border-radius: 100%;
    width: 450px;
    height: 450px;
    bottom:-80px;
    right:-100px;
    background-color: var(--color-tertiary);
    animation: flyPlus 8s linear infinite;
    transform:rotate(0) translate(100px) rotate(0);
  }

  /* refresh button */
 #refresh{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #16161609;
    color: #000;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }