*{

    font-family: Inter, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{

    --text-color: white;
    --bg--url:url(./assets/bg-desktop.jpg);
    --stroke-color-mode: rgba(255,255,255,0.5);
    --sufarce-color: rgba(255,255,255,0.1);
    --surfarce-color-hover: rgba(255, 255, 255, 0.5);
    --highlight-color: rgba(255,255,255,0.2);
    --swith-bg-url: url(./assets/MoonStars.svg);
     transition:  background 0.6s ease-in-out;
    
}

.light{
    --text-color: black;
    --bg--url: url(./assets/bg-mobile-light.jpg);
    --stroke-color-mode:rgba(0,0,0,0.5);
    --surfarce-color: rgba(0.0.0,0.5);
    --surfarce-color-hover: rgba(0,0,0,0.1);
    --highlight-color: rgba(0,0,0,0.1);
     --swith-bg-url: url(./assets/Sun.svg);
      transition:  background 0.6s ease-in-out;
     
}

body{

    /*Background*/
    height: 100vh;
    background:  var(--bg--url) no-repeat top center;
    background-size: cover;
    
    
}


.container{
    max-width: 588px;
    width: 100%;
    margin: 56px auto 0px;
    padding: 0 24px;
}

.profile{

    text-align: center;
    
}

.profile img{
    max-width: 150px;
    width: 100%;
    
    
}

.profile p{
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
}


/*Swith*/

#swith{

    position: relative;
    width: 64px;
    margin: 4px auto;
   
   
}

#swith span{
    display: block;
    width: 64px;
    height: 24px;
    background:  var(--sufarce-color);
    border:  1px solid var(--stroke-color-mode);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    
}

button{
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: white var(--swith-bg-url) no-repeat center;
    cursor: pointer;
    animation: slide-out 0.3s;
}

#swith button:hover{

    outline: 8px solid var(--highlight-color);
}

.light #swith button{

   animation: slide-in 0.4s forwards;
}

/*Links*/

ul{

    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
}

ul li a{

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    text-decoration: none;
    background-color: var(--sufarce-color);
    border: solid 1px var(--stroke-color-mode);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-weight: 500;
    transition: background 0.5s;
    
}

ul li a:hover{

    background-color: var(--surfarce-color-hover);
    border: solid 1.5px var(--text-color);
    transform: scale(1.1);
}

/*Social Links*/

.social-links{

    display: flex;
    padding: 24px 0;
    font-size: 32px;
    justify-content: center;
    align-items: center;
}

.social-links a{

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    transition: background 0.2s;
     border-radius: 50%;
}
.social-links a:hover{

    background: var(--highlight-color);
    padding: 16px;
   


}

/*Footer*/

footer{

    padding: 24px 0;
    font-size: 14px;
    text-align: center;
}



@media (max-width: 700px) {
    
    :root{

        --bg-url: url(./assets/bg-mobile.jpg);
    }

    .light{

        --bg-url: url(./assets/bg-mobile-light.jpg);
    }
    
}


@keyframes slide-in{

    from{

        left: 0
    }
    to{
        left: 50%;
    }
}

@keyframes slide-out {

    from{

        left: 50%;
    }

    to{

        left: 0;
    }
    
}