@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&display=swap');

:root {
    --blue: #13b5fe;
    --gradient: #13b5fe, #13b5fe;
    --light: #feffff;
    --dark: #000918;
    --shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
    --ndark: #00091896;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(135deg, #ABDCFF 10%, #0396FF 100%);
    /* background-image: url(https://webartdevelopers.com/blog/wp-content/uploads/2018/10/CSS-SVG-Waves-Animation.png); */
    background-size: 100%;
    background-position: bottom;



}

html {
    font-size: 62.5%;
}

.container {
    display: grid;
    place-items: center;
    height: 100vh;
}

.app {
    width: 300px;
    height: 600px;
    border: 4px solid var(--light);
    border-radius: 40px;
    box-shadow: var(--shadow);
    background-color: #feffff38;
    backdrop-filter: blur(300px);
    overflow: hidden;
}

header {
    width: 100%;
    height: 6rem;
    display: grid;
    place-items: center;
    position: relative;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    font-size: 2.4rem;
    color: var(--light);
    text-shadow: 0 0 5px #ffffff6d;
    display: grid;
    place-items: center;
    cursor: pointer
}

.menutoggler {
    background-color: transparent;
    border: none;
    color: var(--light);
    text-shadow: 1px 1px 8px #ffff;
    width: fit-content;
    height: fit-content;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    cursor: pointer
}

.location {
    color: var(--dark);
    font-size: 1.2rem;
    background-color: var(--light);
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: .2rem 1rem;
    letter-spacing: .1rem;
    gap: .5rem;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.locationBox {
    top: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light);
    padding: 0;
    z-index: 100;
    width: 80%;
    height: 2.5rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: none;
}

.locationBox.active {
    display: flex;
}

.locationBox input[type=text] {
    outline: none;
    border: none;
    padding-left: 1rem;
    caret-color: var(--ndark);
    flex: 1;
}

.locationBox>button {
    background-color: #2369f5;
    display: grid;
    place-items: center;
    height: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--light);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-box {
    position: relative;
    width: fit-content;
    height: fit-content;
}

.tempareture {
    position: absolute;
    top: 2%;
    left: 4%;
    font-size: 6rem;
    color: var(--light);
    line-height: 0;
    text-shadow: 2px 2px 10px rgba(126, 123, 123, 0.244);
}

.weatherinfo {
    position: absolute;
    right: 5%;
    bottom: 10%;
    font-size: 4rem;
    color: var(--light);
}

.info {
    width: 80%;
    margin: auto;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.info-box {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    text-align: center;
    background: linear-gradient(145deg, #8dc4ee, #cafaff);
    box-shadow: 5px 5px 30px -10px #00000053;
    border: 2px solid var(--light);
    /* backdrop-filter: blur(300px); */
}

.divider {
    width: 2px;
    height: 5rem;
    background-color: var(--ndark);
}

.infotext {
    font-size: 1.6rem;
    color: var(--ndark);
}

.infovalue {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--ndark);
}

/*foooter*/

.footer_nav{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 6.5rem;
    backdrop-filter: blur(200px);
    /* background-color: #c7e0f12e; */
    margin: auto;
    display: flex;
    justify-content: space-around;
    border-radius: 20px 20px 0 0 ;
    box-shadow: -5px -5px 20px -10px #00000060;
}
.footlink{
    color: var(--light);
    text-decoration: none;
    font-size: 2.5rem;
    display: grid;
    transition: .1s ease;
    place-items: center;
    padding: .8rem;
}
.footlink:hover{
    scale: 1.5;
}