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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --text-color: white;
    --bg-url: url("./assets/bg-mobile.jpg");
    --stroke-color: rgba(255, 255, 255, 0.5);
    --surface-color: rgba(255, 255, 255, 0.1);
    --surface-color-hover: rgba(255, 255, 255, 0.05);
    --highlight-color: rgba(255, 255, 255, 0.2);
    --switch-fig: url('./assets/MoonStars.svg');

}

.light{
    --text-color: black;
    --bg-url: url('./assets/bg-mobile-light.jpg');
    --stroke-color: rgba(0, 0, 0, 0.5);
    --surface-color: rgba(0, 0, 0, 0.05);
    --surface-color-hover: rgba(0, 0, 0, 0.02);
    --highlight-color: rgba(0, 0, 0, 0.1); 
    --switch-fig: url('./assets/Sun.svg');
}

body{
    background: var(--bg-url) no-repeat top center/cover;

}

body *{
    font-family:"Inter", sans-serif;
    color: var(--text-color);
}

#container{
    width: 360px;
    margin: 56px auto;
    /*
    border: 2px solid red; */
}


#profile img{
    display: block;
    margin: auto;
    
}

#profile p{
    text-align: center;
    margin-top: 8px;
    margin-bottom: 24px;
    color: var(--text-color);
    font-weight: 500;
    
     
}

#switch{
    position: relative;
    margin: 4px auto;
    width: 64px;

}

#switch span{
    display: block;
    width: 64px;
    height: 24px;

    background-color: var(--surface-color);
    border: 1px solid var(--stroke-color);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

#switch button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: initial;
    z-index: 1;

    padding: 16px;
    width: 32px;
    height: 32px;
    background: white var(--switch-fig) no-repeat center;
    border-radius:50%;
}

.light #switch button{
    right: 0;
    left:initial;
}


ul.links{
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 24px;

    
}


.links li a{
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    cursor: pointer;
    text-decoration: none;

    background-color: var(--surface-color);
    border: 1px solid var(--stroke-color);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.links li a:hover{
    background-color:  var(--surface-color-hover);
    border:1px solid var(--stroke-color);
    transition: 0.4s;
}


#social{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    font-size: 30px;
}


#social a{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-radius: 50%;
    transition: 0.5s;
    
}

#social a:hover{
    padding: 16px;
    background-color: var(--highlight-color);
}


footer{
    padding: 24px 0;
    font-size: 14px;
    text-align: center;
}

footer a{
    text-decoration: none;
    font-weight: bold;
}

footer a:hover{
    text-decoration: underline;
}


