*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#9c9cd9;
    color:#333;
    transition:.4s;
}

header{
    background:#1f2937;
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
}

nav h2{
    color:rgb(27, 66, 163);
}

nav ul{
    display:flex;
    list-style:none;
    gap:20px;
    align-items:center;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav ul li a:hover{
    color:#00d9ff;
}

#darkModeBtn{
    padding:8px 15px;
    border:none;
    border-radius:5px;
    background:#00aaff;
    color:white;
    cursor:pointer;
    font-weight:bold;
}

#darkModeBtn:hover{
    background:#007acc;
}

.page{
    min-height:100vh;
    padding:120px 20px 60px;
    text-align:center;
}

img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
}

.card{
    width:350px;
    margin:20px auto;
    padding:20px;
    background:rgb(166, 208, 242);
    border-radius:10px;
    box-shadow:0 5px 10px rgba(0,0,0,.2);
}

#viewProjectsBtn{
    margin-top:20px;
    padding:10px 20px;
    border:none;
    border-radius:5px;
    background:#0077ff;
    color:white;
    cursor:pointer;
}

#viewProjectsBtn:hover{
    background:#0055cc;
}



body.dark-mode{
    background:#121212;
    color:white;
}

body.dark-mode header{
    background:#000;
}

body.dark-mode .card{
    background:#1f1f1f;
    color:white;
}

body.dark-mode nav ul li a{
    color:white;
}

body.dark-mode #darkModeBtn{
    background:#ffc107;
    color:black;
}

body.dark-mode #viewProjectsBtn{
    background:#00bcd4;
}

body.dark-mode img{
    border:3px solid white;
}