@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;800&display=swap');
:root{
    --header-height:3rem;
    --sat:63%;
    --h1-font-size:1.5rem;
    --normal-font-size:.938rem;
    --tiny-font-size:.625rem;
    --body-font:'open Sans',sans-serif;

    /* colours */
    --primary-color-6:#ff9f43;
    --secondary-color-2:#111;
    --background-color-1:#fcf2e8;

    --box-shadow-1:0 5px 15px rgba(0,0,0,.5);

}

@media screen and (min-width:968px) {
    :root {
        --h1-fot-size: 2.25rem;
        --normal-font-size: 1rem;
    }
}

*{
    text-decoration: 0;
        margin: 0;
        padding: 0;
        appearance: none;
        outline: 0;
        box-sizing: border-box;
        list-style: none;
        font-family: 'Poppins', sans-serif;
}
html{
    /* padding-left: 1em; */
    scroll-behavior: smooth;
        overflow-x: hidden;
}

body{
    height: 100vh;
    width: 100vw;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    
    
}

/* for dark mode=== */
body.dark{
/* background: url(./image/back-dak.jpg);
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    background-attachment: fixed; */
    
    /* --secondary-color-1: white;
    --secondary-color-2: black; */
    /* --box-shadow-2: 0 5px 15px rgba(0, 0, 0, .5); */
    height: 100vh;
    --background-color-1: #111;
        --secondary-color-2: white;
        --box-shadow-1: 0 2px 6px rgb(255, 255, 255, 0.7);

}

/* pre loader css */
#preloader {
    background: var(--background-color-1);
    color: var(--secondary-color-2);
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 100000;
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 80px;
    pointer-events: none;
}


ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
    height: auto;
}
/* =======dynamic island===== */
body .dynamic-box{
    align-items: center;
    padding-right: 2vw;
}
.dynamic-box{
    box-sizing: none;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5vh; 
    /* width: 60vw; */
    width: 96vw;
    color: greenyellow;
}
.dynamic{
   position: fixed;
    background-color: black;
    min-width: 23vh;
    min-height: 5vh;
    height: 5vh;
    width: 15vw;
    border-radius: 40px;
    z-index: 300;
    transition:700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}

.dynamic.hov {
 z-index: 300;
 top: 2vh;
 padding-left: 1.5vw;
 padding-right: 1.5vw;
 height: 16vh;
 width: 92vw;
 border-radius: 20px;
 transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
 
}

.dynamic.srch{
    z-index: 100;
    top:2vh;
    width: 55vw;
    height: 8vh;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}
/* =======search bar======= */
.search-container{
    z-index: 200;
    width: 98vw;
    display: flex;
    align-items: center;
    height: 8vh;
    justify-content: center;
    position: fixed;
    top: 2vh;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
    left: 0;
}
.search-container.hov{
        align-items: center;
            transform: translate(0%, -33%) scale(0.1);
            opacity: 0;
            pointer-events: none;
            transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}
.search-bar{
    background-color: black;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    border-radius: 60px;
    padding:8px 15px;
    width:55vw ;
    height: 8vh;
    /* backdrop-filter: blur(4px) saturate(180%); */
    transition: 1000ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
    user-select: none;
}
.search-bar input{
    background: black;
    flex: 1;
    border: 0;
    outline: none;
    font-size: 20px;
    color: #cac7ff;
}
::placeholder{
    color: #cac7ff;
    font-size: 17px;
}
.search-bar button span{
    width: 25px;

}
.search-bar button{
    border: 0;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* =====social media and color start=== */
.social-media{
    background-color: black;
    position: fixed;
    left: 3vw;
    display: flex;
    height: 16vh;
    width: 92vw;
    border-radius: 20px;
    flex-direction: column;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}
 .medias{
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height:10vh ;
    width: 92vw;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.medias a{
   width: 1px;
   display: flex;
   align-items: center;
   justify-content:space-around;
  /* margin: 0; */
}
.medias a i{
    font-size: 4rem;
}

.fa-brands {
    background-color: #18191f;

    box-shadow: 18px 20px 20px 15px #00000080, -16px 20px 12px 5px #00000080, 2px 2px 10px #00000080, 2px 2px 3px #00000080, -16px 2px 12px 13px #00000080, 12px -2px 17px 16px #00000080;

    border-radius: 8px;
    margin: 0 40px;
    color: #fff;

    text-shadow: 0 0 50px #0072ff, 0 0 100px #0072ff, 0 0 150px #0072ff, 0 0 200px #0072ff;

}
.colour-container{
    width: 92vw;
    height: 6vh;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.colour-container span{
    height: 24px;
    width: 24px;
    border-radius: 50%;
}
 .colour-container span:hover{
    box-shadow: 2px 3px 13px white;
 }

.social-media.container {
    height: fit-content;
    width: fit-content;
    border-radius: 40px;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
    transform: translate(0%, -33%) scale(0.1);
    opacity: 0;
    pointer-events: none;
}
/* ======start of date and time======= */
.time-container{
        background: black;
        position: fixed;
        left: 3vw;
        display: flex;
        height: 16vh;
        width: 92vw;
        border-radius: 20px;
        flex-direction: column;
        transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}
.time-container h1{
    text-align: center;
    font-size: 25px;
}
.time-container span{
    height: 11vh;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 55px;
}
.time-container i,.time-container h1,.time-container span{
    color: #fff;
}
.time-container.tim{
   /* display: none; */
    align-items: center;
    transform: translate(0%, -33%) scale(0.1);
    opacity: 0; 
    pointer-events: none;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}
/* ====starting of project=== */
.proj-container{
    background: transparent;
    position: fixed;
    left: 3vw;
    height: 16vh;
    width: 92vw;
    border-radius: 20px;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}
.proj-container .project{
    height: 16vh;
    width: 92vw;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.proj-container .project div{
    width: 50vw;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-2);
        overflow: hidden;
        color: #000;
}
.proj-container .project div span{
border:1px solid white;
color:white;
    border-radius: 50%;
    font-size: 50px;
}
.proj-container .project div h2{
    color: white;
    font-weight: 100;
}
.proj-container.clck{
    transform: translate(0%, -33%) scale(0.1);
    opacity: 0;
    pointer-events: none;
    transition: 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}

/* ====navigation bar===== */


.nav{
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
}

.nav-img{
    width: 32px;
    border-radius: 50%;
}

@media screen and (max-width: 580px){
.search-bar button{
    display: none;
}
}
@media screen and (max-width: 767px){
    .nav-menu{
        position: fixed;
        bottom: 0;
        left: 0;
        box-shadow: var(--box-shadow-1);
        overflow: hidden;
        box-shadow: 0 -1px 12px black;
        height: 8rem;
        width: 100%;
        padding: 0 1 rem;
        transition: .4s;
        display: flex;
        align-content: center;
        user-select: none;
        z-index: 150;
    }
    .nav-list{
        height: 4rem;
        display: inline-flex;
        justify-content: space-around;
    }
    .nav-item{
        display: flex;
        box-sizing: border-box;
        flex-direction: column;
    }
    a.nav-link{
        width: 25vw;
        height: 8rem;
        display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;font-size: large;

    }

        a.nav-link:hover{
            background-color: yellow;
        }
}
@media screen and (min-width: 768px){
    
    .nav-icon{
        display: none;
    }
    .nav-menu{
        position: absolute;
        width:100%;
        height: 3.5rem;
        box-shadow: var(--box-shadow-1);
        overflow: hidden;
        color: #000;
        border-radius: 10px;
        display: flex;
      user-select: none;
        justify-content: center;

    }
    .nav-list{
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .nav-list{
        width: 25%;
    }
        .nav-link {
            width: 13vw;
            height: 3.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 10px;
        }
                .nav-name{
                    font-size: 25px;
                }
}
/* =========draggable ball=========? */

.toggle-container {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 200;
}

.toggle-content {

    display: flex;
    transform: rotate(-45deg);
    height: 55px;
    width: 55px;
    user-select: none;
}

.toggle-item {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    background-color: var(--primary-color-6);
    box-shadow: var(--box-shadow-1);
    overflow: hidden;
    cursor: pointer;
}

.toggle-symbol {
    border-radius: 50%;
    font-size: 33px;
    transform: rotate(calc(var(--i) * (-360deg/8)));
    color: var(--secondary-color-2);
}

.toggle-item {
    position: absolute;
    transition: 400ms;
}

.toggle-symbol.add {
    font-size: 55px;
    transform: rotate(-45deg);
    transition: 400ms;
    font-weight: 400;
}

.toggle-item.dark-light {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-light-item {
    display: flex;
    box-sizing: border-box;
    position: absolute;
    height: 65px;
    width: 65px;
    background-color: var(--secondary-color-1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.dark-light-item.light {
    display: none;
}

.toggle-container.tog-open .toggle-item {
    transform: rotate(calc(var(--i) * (360deg/8))) translateY(100px);
    transition: 400ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}

.toggle-container.tog-open .toggle-symbol {
    rotate: 45deg;
}

.toggle-container.tog-open .toggle-symbol.add {
    rotate: 315deg;
    transition: 400ms;
}




.project-container{
    margin-left: 1vw;
    height: 60vh;
    width:90vw; 
    box-shadow: var(--box-shadow-1);
    overflow: hidden;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.project-container span{
    border: 1px solid black;
    border-radius: 50%;
    font-size: 100px;
}

