*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body.dark {
    background: #121212;
    color: white;
}

body.dark .card {
    background: #333;
    color: white;
}

body.dark header {
    background: #111;
}

body.dark input,
body.dark textarea {
    background: #444;
    color: white;
    border: 1px solid #666;
}

body{
    background:#f4f4f4;
    color:#333;
    transition:.3s;
}

header{
    background:#222;
    color:white;
    position:fixed;
    width:100%;
    top:0;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 10%;
}

.logo{
    color: pink;
}

.nav-links{
    display:flex;
    list-style:none;
    gap: 20px;
}

.nav-links li{
    margin-left:20px;
}

.nav-links a{
    color:white;
    text-decoration:none;
}

.nav-links a:hover{
    color:lightpink;
}

#themeBtn{
    border:none;
    background:pink;
    color:white;
    padding:8px 12px;
    cursor:pointer;
    border-radius:5px;
}

.profile-img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid pink;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    margin-bottom:20px;
}
.hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero span{
    color:pink;
}

.btn{
    margin-top:20px;
    padding:12px 25px;
    background:pink;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

section{
    padding:100px 10%;
}

h2{
    text-align:center;
    margin-bottom:30px;
}
p{
    text-align:center;
    font-size: 18px;
    
}
.text{
    text-align:center;
    margin-bottom:30px;
    color: darkviolet;
}

.hobbies{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
     

    
}

.card{
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
    transition:.3s;
     background-color: pink;
     text-align: center;
   
}

.card:hover{
    transform:translateY(-5px);
}

form{
    max-width:500px;
    margin:auto;
    display:flex;
    flex-direction:column;
}

input,
textarea{
    margin:10px 0;
    padding:12px;
}
#contact{
    padding: 80px 10%;
    background: linear-gradient(135deg, lightpink,pink,darkviolet);
    display: flex;
    justify-content: center;
    align-items: center;
}

form{
    width: 100%;
    max-width: 500px;
    background: rgba(255,255,255,0.95);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

#contact h2{
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 35px;
}

input,
textarea{
    width: 100%;
    padding: 15px;
    margin: 12px 0;
    border: none;
    border-bottom: 2px solid #00bcd4;
    background: transparent;
    font-size: 16px;
    outline: none;
}

textarea{
    resize: none;
    height: 120px;
}

form button{
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 30px;
    background: #00bcd4;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: .3s;
}

form button:hover{
    background: #0097a7;
    transform: scale(1.03);
}

button{
    padding:12px;
    background:#00bcd4;
    color:white;
    border:none;
    cursor:pointer;
}

