body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #89cff0, #d8b4f8);
    margin: 0;
    padding: 30px;
}

.container {
    max-width: 950px;
    margin: auto;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

h1 {
    text-align: center;
    font-size: 42px;
    color: #6a0dad;
    margin-bottom: 5px;
}

h2 {
    text-align: center;
    color: #444;
    margin-bottom: 30px;
}

.intro-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f8f8ff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.avatar {
    width: 160px;
    height: 190px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid #d8b4f8;
    transition: 0.3s;
}

.avatar:hover {
    transform: scale(1.05);
}

.intro-content h3 {
    color: #6a0dad;
    margin-top: 0;
}

.intro-content p {
    line-height: 1.7;
    color: #333;
}

.section-title {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 30px;
    color: #6a0dad;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #d8b4f8;
    display: block;
    margin: 10px auto;
    border-radius: 10px;
}


table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

th {
    background: #c084fc;
    color: white;
}

th,
td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}


ul,
ol {
    text-align: center;
    list-style-position: inside;
    padding: 0;
    line-height: 2;
}


a {
    color: #6a0dad;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

a:hover {
    color: red;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .intro-box {
        flex-direction: column;
        text-align: center;
    }

    .avatar {
        width: 130px;
        height: 160px;
    }

    h1 {
        font-size: 32px;
    }
}


/* Greeting */
#greeting {
    text-align: center;
    font-size: 20px;
    color: #6a0dad;
    margin-bottom: 20px;
}

/* Button */
.dark-btn {
    display: block;
    margin: 0 auto 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: #c084fc;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.dark-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Dark mode */
.dark-mode {
    background: #1e1e1e;
    color: white;
}

.dark-mode .container {
    background: #2b2b2b;
}

.dark-mode table {
    background: #333;
    color: white;
}

.dark-mode td,
.dark-mode th {
    border-color: #666;
}




.contact-box{
    text-align:center;
    margin-top:20px;
}

.contact-btn{
    padding:12px 25px;
    border:none;
    border-radius:12px;
    background:#c084fc;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

.contact-btn:hover{
    transform:scale(1.05);
    background:#a855f7;
}




.rainbow-text {

    animation: colorChange 4s linear infinite;

    font-weight: bold;

    text-shadow:
        0 0 5px currentColor,
        0 0 10px currentColor;
}

@keyframes colorChange {

    0% {
        color: red;
    }

    20% {
        color: orange;
    }

    40% {
        color: yellow;
    }

    60% {
        color: green;
    }

    80% {
        color: blue;
    }

    100% {
        color: purple;
    }
}