* {
    margin: 7px 3px;
    padding: 0;
}

body {
    background-color: rgb(3, 3, 54);
    color: rgb(247, 247, 238);
    font-family: Verdana, Geneva, Tahoma, sans-serif;

}

.left {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #c98bd8, #f0c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    position: relative;
    transition: 0.4s ease;
}

.left::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c98bd8, #f0c4ff);
    transform: translateX(-50%);
    transition: 0.4s ease;
    border-radius: 20px;
}

.left:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(201, 139, 216, 0.8));
}

.left:hover::after {
    width: 80%;
}
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    background-color: rgb(35, 35, 99);
    color: white;
    font-size: medium;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    list-style: none;
    margin: 0 23px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    text-decoration: none;
    color: rgb(164, 89, 164);
    font-size: 1.3rem;
}

nav ul li .active {
     color: rgb(164, 89, 164);
    font-size: 1.3rem;
    border-bottom: 2px  rgb(164, 89, 164);
}

.left {
    font-size: 1.5rem;
}

.firstsection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 60px 0;

}

.firstsection>div {
    width: 30%;
    margin-right: 200px;
}

.leftsection {
    color: white;
    font-size: 2rem;
    margin-bottom: 90px;
    margin-left: 100px;

}

.rightsection img {
    height: 400px;
}

.aru {
    color: rgb(164, 89, 164);
    font-style: italic;
}

#element {
    color: rgb(164, 89, 164);
}

.second {
    max-width: 90vw;
    font-size: 10px;
    margin: auto;
    height: 80vh;
}

main hr {
    border: 0;
    background-color: white;
    height: 1.6px;
    margin: 38spx 34px;
}

.second h1 {
    font-size: 1.9rem;
}


.skills {
    color: rgb(164, 89, 164);
}

.second .box {
    background-color: white;
    width: 180vh;
    height: 1.5px;
    margin: 66px 0;
    display: flex;
}

.second .vertical {
    height: 93px;
    width: 1px;
    background-color: white;
    margin: 0 110px;
}

.vertical {
    margin: 3px 55px;
    position: relative;

}

.img-top {
    width: 70px;
    position: relative;
    top: -40px;
    right: 25px;
}

.vertical>img:hover {
    width: 105px;
    cursor: pointer;
}

.text {
    position: relative;
    top: 20px;
    width: 150px;
    right: 30px;
    font-size: 15px;
}

.desc {
    top: 5px;
    position: relative;
    color: aliceblue;
    width: 150px;
    font-size: 9px;

}

footer {
     background-color: rgb(35, 35, 99);
    color: white;
}

.footer {
    display: flex;
    padding: 23px 222px;
    justify-content: space-evenly;

}

.footer ul {
    list-style: none;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
}

footer ul a:hover {
    text-decoration: none;
    color:white;
    font-size: 1.3rem;
    cursor: context-menu;
}

.footer>div {
    width: 123px;
}

footer .footer-rights {
    text-align: center;
    color: grey;
    padding: 12px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

body {
    background-color: rgb(2, 2, 30);
    color: white;
    line-height: 1.6;
}

#about {
    width: 85%;
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(164, 89, 164, 0.3);
    border-radius: 25px;
    box-shadow: 0 0 30px rgba(164, 89, 164, 0.25);
    backdrop-filter: blur(10px);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 45px;
    color: rgb(164, 89, 164);
    text-shadow: 0 0 15px rgba(164, 89, 164, 0.8);
}

header p {
    color: #ddd;
    font-size: 18px;
    margin-top: 10px;
}

hr {
    border: none;
    height: 1px;
    background: rgba(164, 89, 164, 0.5);
    margin: 35px 0;
}

.profile {
    display: flex;
    align-items: center;
    gap: 50px;
}

figure {
    text-align: center;
}

figure img {
    width: 230px;
    height: 230px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgb(164, 89, 164);
    box-shadow: 0 0 25px rgba(164, 89, 164, 0.8);
}

figcaption {
    margin-top: 15px;
    font-size: 22px;
    color: rgb(164, 89, 164);
    font-weight: bold;
}

article h2,
section h2 {
    color: rgb(164, 89, 164);
    font-size: 28px;
    margin-bottom: 15px;
}

p {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 15px;
}

th,
td {
    padding: 15px;
    border: 1px solid rgba(164, 89, 164, 0.3);
}

th {
    background-color: rgba(164, 89, 164, 0.25);
    color: white;
    text-align: left;
}

td {
    color: #ddd;
}

ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
}

li {
    background: rgba(164, 89, 164, 0.12);
    padding: 12px 18px;
    border-radius: 10px;
    border-left: 4px solid rgb(164, 89, 164);
    color: white;
    transition: 0.3s;
}

li:hover {
    transform: translateY(-5px);
    background: rgba(164, 89, 164, 0.3);
    box-shadow: 0 0 15px rgba(164, 89, 164, 0.5);
}

h3 {
    color: white;
    font-size: 22px;
}

section {
    margin-bottom: 25px;
}

@media(max-width:768px) {

    #about {
        width: 95%;
        padding: 25px;
    }

    .profile {
        flex-direction: column;
        text-align: center;
    }

    header h1 {
        font-size: 35px;
    }

    ul {
        grid-template-columns: 1fr;
    }

    figure img {
        width: 180px;
        height: 180px;
    }
}

.contact {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-text {
    text-align: center;
    animation: slideDown 1s ease;
}

.contact-text h1 {
    color: rgb(164, 89, 164);
    font-size: 45px;
    margin-bottom: 10px;
}

.contact-text p {
    color: white;
    max-width: 550px;
    font-size: 18px;
}


.contact-card {
    width: 380px;
    padding: 35px;
    text-align: center;

    background: rgba(255,255,255,0.08);
    border-radius: 20px;

    border: 1px solid rgba(164,89,164,0.5);

    box-shadow: 
    0 0 20px rgba(164,89,164,0.5);

    animation: zoomIn 1s ease;
    transition: 0.4s;
}


.contact-card:hover {
    transform: translateY(-10px);
    box-shadow:
    0 0 35px rgb(164,89,164);
}


.profile h2 {
    color: white;
    font-size: 28px;
}


.profile p {
    color: rgb(164,89,164);
}

.details {
    margin: 25px 0;
    color: white;
}


.details span {
    color: rgb(164,89,164);
    font-weight: bold;
}


.details a {
    color: white;
    text-decoration: none;
}


.details a:hover {
    color: rgb(164,89,164);
}

button {
    padding: 12px 35px;
    border-radius: 30px;
    border: none;

    background-color: rgb(164,89,164);

    transition: 0.3s;
}


button a {
    color:white;
    text-decoration:none;
    font-size:16px;
}


button:hover {
    transform: scale(1.1);
    background-color:white;
}


button:hover a {
    color:rgb(3,3,54);
}

@keyframes slideDown {

    from {
        opacity:0;
        transform:translateY(-50px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }

}


@keyframes zoomIn {

    from {
        opacity:0;
        transform:scale(0.7);
    }

    to {
        opacity:1;
        transform:scale(1);
    }

}

.contact-form {
    width: 420px;
    padding: 35px;

    margin: 50px auto;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 20px;

    border: 1px solid rgb(164, 89, 164);

    box-shadow: 0 0 25px rgba(164, 89, 164, 0.5);

    animation: slideUp 1s ease;

    text-align: center;
}


.contact-form h2 {
    color: rgb(164, 89, 164);
    font-size: 30px;
    margin-bottom: 25px;
}


.contact-form input,
.contact-form textarea {

    width: 100%;

    padding: 12px;

    margin: 12px 0;

    border: none;

    outline: none;

    border-radius: 10px;

    background: rgba(255,255,255,0.15);

    color: white;

    font-size: 16px;

    box-sizing: border-box;
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ddd;
}


.contact-form textarea {
    resize: none;
}


.contact-form button {

    width: 100%;

    padding: 13px;

    margin-top: 15px;

    border: none;

    border-radius: 30px;

    background-color: rgb(164, 89, 164);

    color: white;

    font-size: 17px;

    cursor: pointer;

    transition: 0.3s;
}


.contact-form button:hover {

    background-color: white;

    color: rgb(3, 3, 54);

    transform: scale(1.05);

}


@keyframes slideUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}
