*{
    margin: 0;
    padding: 0;
    box-sizing: 0;
    font-size: 16px;
}
:root{
    --text-color: white;
    --stroke-color: rgba(255, 255, 255, 0.5);
    --surface-color: rgba(255, 255, 255, 0.5);
    --surface-color-hover: rgba(255, 255, 255, 0.02);
    --highlight-color: rgba(255, 255, 255, 0.2);
    --switch-bq-url: url(./assents/moon-stars.svg);
}
.light{
    --text-color: #2f2e2e;
    --stroke-color: rgba(250, 244, 244, 0.9454);
    --surface-color:  #d29f58d2;
    --surface-color-hover: #ffd9a4;
    --highlight-color: #f1c589fb;
    --switch-bq-url: url(./assents/sun.svg);
}
*{
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}
body{
    background-image: radial-gradient(circle, rgba(30, 40, 56, 1) 0%, rgba(60, 45, 100, 1) 49%, rgba(52, 43, 72, 1) 100%) ; 
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
#container{
    width: 100%;
    max-width: 36.75rem;
    margin: 3.5rem auto 0;
    padding: 0 1.5rem;
}
#profile{
    text-align: center;
    padding: 1.5rem;
}
#profile img{
    width: 7rem;
}
#profile p{
    font-weight: 500;
    line-height: 1.5rem;
    margin-top: 0.5rem;
}
/*Botão*/
#switch{
    position: relative;
    width: 4rem;
    margin: 0.25rem auto;
}
#switch button{
    width: 2rem;
    height: 2rem;
    background: white var(--switch-bq-url) no-repeat center;
    border: 0;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    transform: translateY(-50%);
    animation: slide-to-back 0.2s;
}
#switch button:hover{
    outline: 0.5rem solid var(--highlight-color);
}
.light #switch button{
    animation: slide-in 0.2s forwards;
}
#switch span{
    display: block;
    width: 4rem;
    height: 1.5rem;
    background: #ffffff31;
    backdrop-filter: blur(0.25rem);
    -webkit-backdrop-filter: blur(0.25rem);
    border: 0.0625rem solid var(--stroke-color);
    border-radius: 62.4375rem;
}
/*Links*/
ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
}
ul li a{
    display: flex;
    justify-content: center; 
    padding: 1rem 1.5rem;
    background: var(--surface-color);
    border: 0.125rem solid var(--stroke-color);
    border-radius: 0.5rem;
    backdrop-filter: blur(0.25rem);
    -webkit-backdrop-filter: blur(0.25rem);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}
ul li a:hover{
    background: var(--surface-color-hover);
    border: 0.1875rem solid var(--stroke-color);
}
/* Social Media Links*/
#social-links{
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    font-size: 1.5rem; ;
}
#social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: background 0.2s;
    border-radius: 50%;
}

#social-links a:hover{
    background: var(--highlight-color);
}
footer{
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 600px){
    #container{
        margin-top: -0.125rem;
        max-width: 25rem;
    }
}
/*Animation*/
@keyframes slide-in{
    from{
        left: 0;
    }
    to{
        left: 50%;
    }
}
@keyframes slide-to-back{
    from{
        left: 50%
    }
    to{
        left: 0;
    }
}
