@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&family=Honk&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=League+Spartan:wght@100..900&family=Lilita+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playwrite+DK+Loopet:wght@100..400&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Share+Tech&family=Sigmar&display=swap');

:root {
    --primary-color: #22003c;
    --text-color: rgb(232, 139, 244);
}

* {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
}

.home {
    height: 100vh;
    width: 100%;
    background-color: #22003c;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

.home>.content {
    background-color: var(--primary-color);
    height: 65%;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.home>.content>img {
    height: 85%;
    width: 50%;
    border-radius: 20px;
    background-color: var(--primary-color);
    box-shadow: 15px 15px 0px 0px #22003c inset;
}

.home>.content>.text {
    color: var(--text-color);
    animation: content 1.5s ease-in;
}

@keyframes content {
    0% {
        transform: translate(-800px);
    }

    100% {
        transform: translate(0px);
    }
}

.primary-heading {
    font-size: 5rem;
    font-weight: 400;
    font-style: normal;
}

.secondary-para {
    font-size: 2rem;
}

.home>.explore-btn {
    height: 10%;
    width: 24%;
    background-color: rgb(232, 139, 244);
    border-radius: 30px;
    box-shadow: 5px 5px 0px 0px black;
}

.explore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /* animation: button 1.2s reverse;    */
}

/* @keyframes button {
    100%{
        transform: translateX(800px);
    }
    0%{
        transform: translateX(0px);
    }
} */

.explore-btn>a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #08000e;
}

.explore-btn>a:hover {
    text-decoration: none;
    font-size: 2rem;
    color: #050008;
}

.explore-btn:hover {
    background-color: rgb(252, 155, 252);
    /* border: 2px purple solid; */
    transition: all .2s ease-in;
}

.wrapper {
    height: 120vh;
    width: 100%;
    background-color: var(--primary-color);
}

header {
    height: 40px;
    width: 650px;
    /* background-color: rgb(251, 238, 246); */
    /* background-color: rgb(253, 252, 252); */
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin-left: 550px;
    position: sticky;
    top: 0;
    padding-bottom: 10px;
    border-radius: 10px;
    background-color: white;
    opacity: .8;
    backdrop-filter: blur(2px);
    z-index: 1;
}

header>a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #08000e;
}

header>a:hover {
    color: rgb(202, 151, 250);
    font-size: 1.7rem;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* gap: 60px; */
    border: 2px solid black;
    padding: 20px;
    margin: 40px;
    background-color: white;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    width: 80%;
    padding: 30px;
    gap: 50px;
}

.aboutme {
    font-weight: 200;
    font-size: 2rem;
    color: var(--primary-color);
}

.description {
    text-align: justify;

}


.box>.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    height: 50px;
    width: 200px;
    border-radius: 20px;
    /* background-color: var(--primary-color); */
    background-color: #cadadd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
}

.btn>a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.btn:hover {
    height: 50px;
    width: 200px;
    background-color: #bedee4;
    /* border: 2px purple solid; */
    transition: all .2s ease-in;

    a {
        font-size: 1.7rem;
    }
}

.skills-section {
    margin-left: 40px;
    padding: 60px 20px;
    background-color: white;
    color: #22003c;
    height: 90vh;
    width: 90%;

}

.skills-heading {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-category {
    flex: 0 0 13%;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media (max-width: 1024px) {
    .skill-category {
        flex: 0 0 45%;
        /* 2 per row on tablets */
    }
}

@media (max-width: 600px) {
    .skill-category {
        flex: 0 0 100%;
        /* 1 per row on phones */
    }
}

.skill-category h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #550096;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 1rem;
}

.skill-category img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.projects-section .box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 120vh;
    width: 90%;
    padding: 30px;
    margin-left: 20px;
    gap: 50px;
    background-color: white;
}

.projects-section {
    padding: 60px 20px;
    background-color: white;
    color: #22003c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
}

.projects-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    /* text-align: center; */
    font-size: 2.8rem;
    /* margin-bottom: 40px; */
}

.projects-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.project-card {
    background-color: #f9f9f9;
    border-radius: 20px;
    width: 300px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.project-card:hover img {
    opacity: 0.2;
}

.project-details {
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover .project-details {
    opacity: 1;
    pointer-events: auto;
}

.project-details {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-details h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 10px;
    position: relative;
    right: 20px;
}

.project-details p {

    text-align: center;
    font-size: 0.85rem;
    /* margin-bottom: 15px; */
    position: relative;
    right: 20px;
    text-align: center;
}

.project-details .icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.project-details .icons img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .projects-heading {
        font-size: 2rem;
    }

    .project-card img {
        height: 160px;
    }

    .project-details h2 {
        font-size: 1.1rem;
    }

    .project-details p {
        font-size: 0.8rem;
    }

    .project-details .icons img {
        width: 20px;
        height: 20px;
    }
}

.contact-section .box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 80vh;
    width: 90%;
    padding: 30px;
    gap: 50px;
    background-color: white;
    margin-left: 20px;
}

.contact-section {
    padding: 60px 20px;
    background-color: #fff;
    color: var(--primary-color);
    background-color: var(--primary-color);
}

.contact-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    margin: 0 60px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: -20px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 400px;
}

.contact-right input,
.contact-right textarea {
    padding: 10px;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background-color: transparent;
    font-size: 1rem;
}

.contact-right button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-right button:hover {
    background-color: #39005e;
}

footer {
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 10px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .home>.content>.text {
    color: var(--text-color);
    animation: none;
}
    .explore-btn>a {
        text-decoration: none;
        font-size: 1rem;
        color: #08000e;
    }

    .explore-btn>a:hover {
        text-decoration: none;
        font-size: 1.1rem;
        color: #050008;
    }

    .explore-btn:hover {
        background-color: rgb(252, 155, 252);
        /* border: 2px purple solid; */
        transition: all .2s ease-in;
    }

    header {
        display: none;
    }

    .about {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        /* border: 2px solid black; */
        padding: 20px;
        height: 120vh;
        margin: 40px;
        background-color: white;
    }

    .wrapper .box {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 80%;
        /* padding: 30px; */
        gap: 50px;
    }

    .box .animation{
        position: relative;
        top: 60px;
    }

    .aboutme {
        font-weight: 200;
        font-size: 1.2rem;
        color: var(--primary-color);
    }

    .description {
        text-align: justify;
        font-size: small;

    }


    .home>.content {
        flex-direction: column;
        gap: 20px;
    }

    .home>.content>img {
        width: 80%;
        height: auto;
    }

    .home>.content>.text {
        text-align: center;
    }

    .explore-btn {
        width: 60%;
        text-wrap: wrap;
    }

    .wrapper {
    height: 130vh;
    width: 100%;
    background-color: var(--primary-color);
}
    .box,
    .contact-section .box {
        flex-direction: column;
        height: auto;
    }

.box2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 120vh;
    padding: 30px;
    margin: 40px;
    background-color: white;
}

    .skills-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
        top: -150px;
        right: 20px;

     } 
     .skills-heading{
        position: relative;
        top: -130px;
        right: 20px;
     }
    .skill-category {
        width: 60%; 
        

    }

    .projects-section .box{
        width: 75%;
    }
    .projects-container {
        flex-direction: column;
        align-items: center;
    height: 120vh;
    width: 75%;
    padding: 30px;
    }

    .project-card {
        width: 90%;

    }

    .contact-wrapper {
        flex-direction: column;
        margin: 0;
    }

    .contact-right form {
        width: 100%;
        padding: 0 10px;
    }

    .contact-section .box {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height:120vh;
    width: 75%;
    background-color: white;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
}



@media (max-width: 480px) {
    .primary-heading {
        font-size: 2.5rem;
    }

    .secondary-para {
        font-size: 1.2rem;
    }

    .skills-heading,
    .projects-heading,
    .contact-heading {
        font-size: 1.4rem;
    }

    .project-details h2 {
        font-size: 1.2rem;
    }

    .project-details p {
        font-size: 0.9rem;
    }
}