@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%;
    min-height: 100vh;
overflow-y: visible;
background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
}

nav{
    position: sticky;
top: 0;
z-index: 1000;
    width: 100%;
    height: 10vh;
    background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


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

.logo{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.logo img{
    width: clamp(2rem, 4vw, 3rem);
    height: auto;
    display: block;
}

.hamburg, .cancel{
    cursor: pointer;
    position: absolute;
    right: clamp(10px, 5vw, 15px);
    top: clamp(8px, 3vw, 10px);
    color: black;
    font-size: clamp(1.3rem, 4vw, 2rem);
    display: none;
}

.nav-container .links {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.nav-container .links a{
    position: relative;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: black;
    text-decoration: none;
    font-weight: 500;
    transform: 0.3s linear;
}

.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: rgb(109,67, 0);
    transition: 0.2s linear;
}

.nav-container .links a:hover::before{
    width: 100%;
}

.nav-container .contact-btn{
    background-color: transparent;
    padding: 5px 20px;
    border-radius: 20px;
    border: 2px solid rgb(109,67, 0);
    transition: 0.2s linear;
}

.nav-container .contact-btn a{
    color: white;
    transition: 0.3s linear;
}

.nav-container .contact-btn:hover, .nav-container .contact-btn:hover a{
    background-color: rgb(109,67, 0);
    color: white;
}

.nav-container .links a:hover{
    color: rgb(109,67, 0);
}

.dropdown{
    z-index: 100;
    position: fixed;
    top: 10vh;
    left: 0;
    right: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    max-height: calc(100vh - 10vh);
    background: rgba(0,0,0,0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    overflow-y: auto;
}

.dropdown .links {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dropdown .links a{
    color: white;
    display: flex;
    text-decoration: none;
    justify-content: center;
    padding: clamp(12px, 3vw, 15px) 0;
    align-items: center;
    transition: 0.2s linear;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown .links a:hover{
    background-color: rgb(109,67, 0);
}

.dropdown .close-btn {
    display: flex;
    justify-content: center;
    padding: 15px 0 !important;
    border: none !important;
}

section{
    width: 100%;
    min-height: auto;
}

#home{
    width: 100%;
    min-height: calc(100vh - 10vh);
    display: flex;
    align-items: center;
    padding: 40px 20px;
}

.main-container{
    width: 100%;
    max-width: 1200px;
    min-height: 90vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    gap: 2rem;
    margin: 0 auto;
}

.main-container .image{
    z-index: -1;
    width: 45%;
    flex-shrink: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container .image img{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: 0 8px 24px rgba(109, 67, 0, 0.2);
}

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

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

.intro-text {
    font-size: clamp(0.8rem, 1rem + 3vw, 1.5rem);
    color: rgb(109,67, 0);
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(109,67,0, 0.3);
}

.typing-text {
    display: inline-block;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: rgb(109,67, 0);
}

.typing-cursor {
    display: inline-block;
    margin-left: 6px;
    color: rgb(109,67, 0);
    animation: blink 0.8s steps(2) infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.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 + 5vw, 2rem);
}

.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: "";
}

.typewriter span::after{
    content: "";
    position: absolute;
    top: 0;
    right: -4px;
    width: 2px;
    height: 100%;
    background-color: rgb(109,67, 0);
    animation: cursor 0.6s linear infinite;
}

@keyframes cursor {
    to{
        background-color: transparent;
    }
}

.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: clamp(2.5rem, 8vw, 3rem);
    height: clamp(2.5rem, 8vw, 3rem);
    background-color:transparent;
    border: 0.2rem solid rgb(109,67, 0);
    border-radius: 50%;
    color:rgb(109,67, 0);
    margin: 5px 8px;
    font-size: clamp(1rem, 3vw, 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: clamp(40%, 200px, 60%);
    height: 5.5vh;
    margin: 30px 0;
    padding: 0 20px;
    background-color: rgb(109,67, 0);
    color: white;
    border: none;
    outline: none;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
    cursor: pointer;
}

.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: 1024px) {
    nav {
        height: 9vh;
    }

    .main-container .image {
        width: 55%;
        aspect-ratio: 1;
    }

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

@media (max-width: 884px) {
    nav {
        height: 8vh;
        background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
    }

    body{
        overflow-y: visible;
    }

    nav .logo{
        position: relative;
        font-size: clamp(1.1rem, 3vw, 1.5rem);
    }

    .main-container{
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 40px 20px;
    }

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

    .hamburg,.cancel{
        display: block;
    }

    .main-container .content{
        width: 90%;
        padding: 20px 0;
    }

    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    .cancel{
        color: white;
    }

    .main-container .image{
        width: 90%;
        max-width: 400px;
        margin: 0 auto 20px;
        aspect-ratio: 1;
    }

    .content h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .content .typewriter {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    .content button {
        width: 60%;
        height: 5vh;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    nav {
        height: 8vh;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 clamp(10px, 3vw, 15px);
    }

    .logo {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .hamburg, .cancel {
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    }

    .dropdown {
        top: 8vh;
    }

    .dropdown .links {
        flex-direction: column;
    }

    .main-container {
        padding: 30px 15px;
    }

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

    .main-container .image {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 1;
        margin: 0 auto 20px;
    }

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

    .content .typewriter {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }

    .content .typewriter span {
        font-size: 1.5rem;
    }

    .content p {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    .content button {
        width: 80%;
        height: 5vh;
        margin: 20px auto;
        font-size: 0.85rem;
    }

    .social-links i {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1rem;
        margin: 5px;
    }

    .about-container h2, .skills-container h2, .contact-container h2 {
        font-size: 1.8rem;
    }

    .about-container p {
        font-size: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .skill i {
        font-size: 2.5rem;
    }

    .skill h3 {
        font-size: 1rem;
    }

    .contact-container form {
        max-width: 100%;
        gap: 12px;
    }

    .contact-container input, .contact-container textarea {
        padding: 8px;
        font-size: 0.95rem;
    }

    .contact-container button {
        padding: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    nav {
        height: 7vh;
    }

    .nav-container {
        padding: 0 clamp(8px, 2vw, 12px);
    }

    .logo {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .hamburg, .cancel {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        right: clamp(8px, 2vw, 10px);
    }

    .dropdown {
        top: 7vh;
        max-height: calc(100vh - 7vh);
    }

    .dropdown .links a {
        padding: 10px 0;
        font-size: 1rem;
    }

    .content h1 {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }

    .content .typewriter {
        font-size: clamp(0.85rem, 5vw, 1rem);
    }

    .content .typewriter span {
        font-size: 1.2rem;
    }

    .content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .content button {
        width: 90%;
        height: 4.5vh;
        margin: 15px auto;
        font-size: 0.8rem;
    }

    .main-container {
        padding: 20px 10px;
    }

    .social-links i {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
        margin: 4px;
    }

    .about-container h2, .skills-container h2, .contact-container h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .about-container p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    #about, #skills, #contact {
        padding: 30px 15px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .skill {
        padding: 15px;
    }

    .skill i {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .skill h3 {
        font-size: 0.9rem;
    }

    .contact-container input, .contact-container textarea {
        padding: 7px;
        font-size: 0.9rem;
    }
}

#about, #skills, #contact {
    width: 100%;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(30px, 8vw, 50px) clamp(15px, 5vw, 20px);
    background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
}

.about-container, .skills-container, .contact-container {
    text-align: center;
    max-width: 90%;
    width: 100%;
    color: black;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
    padding: clamp(30px, 4vw, 40px);
    backdrop-filter: blur(8px);
}

.about-container h2, .skills-container h2, .contact-container h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 20px;
    color: rgb(109,67, 0);
    letter-spacing: 0.03em;
}

.about-container p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(120px, 20vw, 150px), 1fr));
    gap: clamp(15px, 3vw, 20px);
    margin-top: 30px;
}

.skill {
    background: rgba(255, 255, 255, 0.8);
    padding: clamp(15px, 3vw, 20px);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.skill:hover {
    transform: translateY(-10px);
}

.skill i {
    font-size: clamp(2rem, 6vw, 3rem);
    color: rgb(109,67, 0);
    margin-bottom: 10px;
}

.skill h3 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: black;
}

.contact-container form {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vw, 15px);
    max-width: 100%;
    width: clamp(280px, 90vw, 500px);
    margin: 0 auto;
}

.contact-container input, .contact-container textarea {
    padding: clamp(7px, 2vw, 10px);
    border: 2px solid rgb(109,67, 0);
    border-radius: 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    background: transparent;
    color: black;
    width: 100%;
}

.contact-container textarea {
    height: clamp(120px, 30vh, 150px);
    resize: vertical;
}

.contact-container button {
    padding: clamp(8px, 2vw, 10px);
    background: rgb(109,67, 0);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.contact-container button:hover {
    background: transparent;
    color: rgb(109,67, 0);
    border: 2px solid rgb(109,67, 0);
}

