
/* BODY */
body {
    font-family: "Segoe UI", sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;

    background: linear-gradient(-45deg, #4592eb, #5aa6bd, #5f95c7, #5476be);
    /* background: linear-gradient(-45deg, #7a9fc9, #a1519b, #ed6dbc, #b02151); */
    /* background: linear-gradient(-45deg, #1e3c72, #2a5298, #6dd5ed, #2193b0); */
    background-size: 400% 400%;
    animation: bgMove 12s ease infinite;
}
@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* APP */
.app {
    width: 340px;
    padding: 30px;
    border-radius: 25px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    text-align: center;
    color: white;
}
h1 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #34525a;
}

section{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Credtis lite */
.credit {
    font-size: 12px;
    opacity: 0.7;
    margin-top: -10px;
}

/* SEARCH */
.search {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}
input {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #34525a;
    background-color: rgb(192, 246, 255);
    /* color: #1e725d;
    background-color: rgb(230, 177, 216); */
}
/* BUTTON */
button {
    padding: 12px 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;

    
    color: #34525a;
    background-color: rgb(192, 246, 255);
/* color: #1e725d;
    background-color: rgb(230, 177, 216); */
    font-weight: bold;
}
button:hover{
    transform:  translateY(-3px);
    
    color: #34525a;
    background-color: rgb(192, 246, 255);
    /* color: #1e725d;
    background-color: rgb(230, 177, 216); */
}

/* HISTORY DROPDOWN */
#history {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    margin-top: 5px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

    max-height: 150px;
    overflow-y: auto;

    display: none;
    z-index: 10;
    
    color: #34525a;
    background-color: rgb(192, 246, 255);
    /* color: #1e725d;
    background-color: rgb(230, 177, 216); */
}
#history p {
    padding: 10px;
    margin: 0;
    cursor: pointer;
    color: #333;
    border-bottom: 1px solid #eee;
}
#history p:hover {
    /* background: #f2f2f2; */
    
    color: #1e725d;
    background-color: rgba(54, 40, 40, 0.185);
}

/* WEATHER */
.weather {
    margin-top: 25px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
}
#weatherIcon {
    width: 90px;
    height: 90px;
    margin: 10px 0;
}

/* LOADING */
#loading {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}


/* SOCIAL ICONS */
.social-icons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-top:35px;
    flex-wrap:wrap;
  }
  
  
  /* ICON STYLE */
  .social-icons a{
    text-decoration:none;
    color: whitesmoke;
  
    width:52px;
    height:52px;
  
    background:rgb(21, 75, 70);
    border:1px solid #222;
    border-radius:50%;
  
    display:flex;
    justify-content:center;
    align-items:center;
  
    font-size:20px;
  
    transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  }
  
  /* ICON HOVER */
  .social-icons a:hover{
    transform:translateY(-6px) scale(1.1);
    background: rgb(149, 229, 229);
    color:black;
    border-color:white;
  }
  
  /* FOOTER TEXT */
  .footer-brand{
    max-width:700px;
    margin:auto;
    text-align:center;
  }
  .footer-bottom{
    margin-top:60px;
  }
  .footer-bottom p{
    color:#555;
    margin:5px 0;
  }

/* FOOTER TEXT */
 .footer-brand{
    max-width:700px;
    margin:auto;
    text-align:center;
    color: rgb(61, 74, 99);
  }
  .footer-bottom{
    margin-top:60px;
  }
  .footer-bottom p{
    border-top: 30px;
    border-color: #111;
    color: rgb(81, 93, 102);
    margin:5px 0;
  }
  
  .footer{
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: white;
}
