@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+US+Trad:wght@100..400&display=swap');




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Geist", sans-serif;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

body{
    width: 100%;
    height: 100%;
}



.home{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}

.navbar{
    width: 700px;
    margin: auto;
    height: 60px;
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
        display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}


.logo-img{
    width: 30px;
    height: 30px;
    display: inline-flex;
}

.logo-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

ul{
    display: flex;
    justify-content: center;
    align-items: center;
}

ul li{
    padding: 10px 14px;
    background: #ececec;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

ul li a{
    color: black;
}


/* HOME */
ul li:nth-child(1).active-li {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* COMPONENTS */
ul li:nth-child(2).active-li {
    border-radius: 12px;
}

/* TEMPLATES */
ul li:nth-child(3).active-li {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}


.toggleBtn{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}

.toggleBtn i{
    position: absolute;
    transition: all 0.3s ease;
}

i.sun{
    opacity: 0;
    pointer-events: none;
    filter: blur(8px);
    rotate: 90deg;
}
i.moon{
    opacity: 1;
    pointer-events: auto;
}

.toggleBtn.active i.moon{
    opacity: 0;
    pointer-events: auto;
}

.toggleBtn.active i.sun{
    opacity: 1;
    pointer-events: auto;
    filter: blur(0px);
    rotate: 0;
}