@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

body{
    width: 100%;
    height: 100vh;
    
    background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
    /* background: linear-gradient(to right, #eef5db, #c7efcf); */
}

nav{
    width: 100%;
    height: 10vh;
    position: sticky;
}


.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo{
    color: black;
    font-size: 2rem;
    font-weight: bolder;
}

.logo span{
    color: rgb(109,67, 0);
    text-shadow: 0 0 10px rgb(109,67, 0);
}

/* ^intro section */

section{
    width: 100%;
    height: 90vh;
}

.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .image{
    z-index: -1;
    width: 50%;
}

.main-container .image img{
    height: 25rem;
    width: 25rem;
    border: 4px solid rgb(109,67, 0);
    border-radius: 60%;
    margin-left: 40px;
}

.main-container .content{
    color: black;
    width: 40%;
    min-height: 100px;
}

.content h1{
    font-size: clamp(1rem, 2rem + 5vw, 2.75rem);
}

.content h1 span{
    color: rgb(109,67, 0);
    text-shadow: 0 0 10px rgb(109,67, 0);
}

.content .typewriter{
    font-weight: 600;
    font-size: clamp(1rem, 1rem + 4vw, 2rem);
}

.content .typewriter #mail{
    color:#b74b4b;
}

.content .typewriter span{
    color: rgb(109,67, 0);
    font-size: 2.5rem;
    text-shadow: 0 0 5px rgb(109,67, 0);
    position: relative;
    transition: 0.3s linear;
}

.typewriter span::before{
    content: "Web Developer";
    animation: words 15s infinite;
}

.typewriter span::after{
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    animation:  cursor 0.6s linear infinite;
}

@keyframes cursor {
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words {
    0%, 33%{
        content: "Developer";
    }
    34%, 66%{
        content: "Programmer";
    }
    67%, 100%{
        content: "Learner";
    }
}

.content p{
    font-size: clamp(0.4rem, 0.2rem + 9vw, 1rem);
    margin: 10px 0;
}

.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color:transparent;
    border: 0.2rem solid rgb(109,67, 0);
    border-radius: 50%;
    color:rgb(109,67, 0);
    margin: 5px 10px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover{
    scale: 1.3;
    color: white;
    background-color: rgb(109,67, 0);
    filter: drop-shadow(0 0 10px rgb(109,67,0));
}

.content button{
    width: 40%;
    height: 6vh;
    margin: 30px;
    background-color: rgb(109,67, 0);
    color: white;
    border: none;
    outline: none;
    font-size: 100%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover{
 scale: 1.1;
 color: rgb(109,67, 0);
 border: 2px solid rgb(109,67, 0);
 background-color: transparent;
 font-weight: 700;
 box-shadow: 0 0 40px rgb(109,67, 0);
}

@media (max-width:884px) {
    body{
        overflow-y: visible;
    }

    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .main-container{
        display: flex;
        flex-direction: column;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,.cancel{
        display: block;
    }

    .main-container .content{
        width: 80%;
    }

    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .cancel{
        color: white;
    }

    .main-container .image{
        width: 80%;
        margin-bottom: 0px;
    }
}


   /* ^Skills Section */
   .skills-section {
    width: 90%;
    max-width: 900px;
    text-align: center;
}

/* Skill Card */
.skill-card {
    background: hsla(74, 32%, 76%, 1);
    background: linear-gradient(360deg, hsla(74, 32%, 76%, 1) 0%, hsla(34, 77%, 83%, 1) 100%);
    background: -moz-linear-gradient(360deg, hsla(74, 32%, 76%, 1) 0%, hsla(34, 77%, 83%, 1) 100%);
    background: -webkit-linear-gradient(360deg, hsla(74, 32%, 76%, 1) 0%, hsla(34, 77%, 83%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#ccd5ae", endColorstr="#f5d8b2", GradientType=1 );
    margin-left: 10rem;
    margin-top: 8rem;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 15px 15px 15px rgb(64, 56, 56);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
}

.skill-card:hover {
    transform: scale(1.05);
    box-shadow: 15px 15px 15px grey;
    border: none;
}

/* Skill Title */
.skill-title {
    font-size: 36px;
    font-weight: bold;
    color: rgb(30, 25, 25);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.skill-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #8b4513;
    display: block;
    margin: 8px auto 0;
    border-radius: 5px;
}

/* Skill Description */
.skill-para {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: center;
    width: 80%;
}

/* Skill Types */
.main-skills, .additional-skills {
    font-weight: bold;
    color: #5c3d2e;
    display: block;
    text-align: center;
}

.additional-skills {
    font-style: italic;
    color: #7a4c35;
}

/* Skills Icons */
.skills-icon {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.skills-icon i {
    font-size: 50px;
    color: #5c3d2e;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.skills-icon i:hover {
    color: #8b4513;
    transform: scale(1.2);
    box-shadow: 0px 10px 10px #8b4513;
}



/* ^Project Section Styling */
.projects-section {
    text-align: center;
    padding: 40px;
}

.section-title {
    font-size: 40px;
    font-weight: bold;
    color: #324129;
    margin-bottom: 20px;
}


/* Projects Grid */
.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Project Card */
.project_card {
    background: white;
    width: 300px;
    height:400px;
    border: 0.2rem solid rgb(109,67, 0);
    border-radius: 12px;
    box-shadow: 10px 10px 10px rgba(6, 3, 3, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project_card:hover {
    transform: translateY(-5px);
    box-shadow: 15px 15px 15px #6B705C;
}

/* Project Image */
.project_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Project Content */
.project_content {
    padding: 15px;
}

.project_content h2 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.project_content p {
    font-size: 14px;
    color: #666;
}
/* Project card links */
.project_card .social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background-color:transparent;
    border: 0.1rem solid rgb(109,67, 0);
    border-radius: 50%;
    color:rgb(109,67, 0);
    margin: 5px 10px;
    font-size: 1.3rem;
    transition: 0.2s linear;
}

.project_card .social-links i:hover{
    scale: 1.2;
    color: white;
    background-color: rgb(109,67, 0);
    filter: drop-shadow(0 0 6px rgb(77, 73, 68));
}

