*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}
: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);
    --switch-bg-url: url(./assets/moon-stars.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.1);
    --switch-bg-url: url(./assets/sun.svg);
}
body *{
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}
body{
    background: var(--bg-url) no-repeat top center/cover;
    height: 100%;
}

#container{
    width: 100%;
    max-width: 510px;
    margin: 56px auto 0px;
    padding: 0 24px;
}

#profile{
    text-align: center;
    padding: 24px;
}

#profile img{
    width: 112px;
    border-radius: 50%;
}

#peofile p{
    font-weight: 500;
    line-height: 24px;
    margin-top: 8px;
}

ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
}

ul li a{
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: var(--surface-color);
    border: 1px solid var(--stroke-color);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-weight: 500;
    transition: background .5s;
}

ul li a:hover{
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--stroke-color);
}
ul li a ion-icon{
    margin: 0px 5px;
}
#socials{
    display: flex;
    justify-content: center;
    padding: 24px 0;
    font-size: 24px;
}

#socials a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 50%;
    transition: background .2s;
}
#socials a:hover{
    background: var(--surface-color);
}

footer{
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}

footer img{
    margin: 12px 0;
    width: 120px;
    transition: 750ms;
}

footer img:hover{
    transform: scale(1.05);
}
@media(max-width: 1024px){
    body{
        height: 100vh;
    }
}
@media (min-width:650px) {
    :root{
        --bg-url: url(./assets/bg-desktop.jpg);
    }

    .light{
        --bg-url: url(./assets/bg-desktop-light.jpg)
    }
    #switch button:hover{
        outline: 8px solid var(--surface-color);
    }
    body{
        height: 100vh;
    }
}

@keyframes slide-in{
    from{
        left: 0;
    }
    to{
        left: 50%;
    }
}

@keyframes slide-out {
   from{
    left: 50%;
   } 
   to{
    left: 0;
   }
}