* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth
}

body {
    background-color: #020000;
    font-family: Poppins,sans-serif;
    position: relative
}



.hero {
    background-color: #020000;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    width: 100%
}

@media (max-width: 900px) {
    .hero {
        height:auto;
        padding: 11rem 0
    }
}

.hero-main {
    align-items: center;
    display: flex;
    gap: 10rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .hero-main {
        flex-direction:column-reverse;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

.content {
    align-items: center;
    display: flex;
    gap: 10rem;
    height: 65rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .content {
        flex-direction:column;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

@media (min-width: 1600px) {
    .content {
        margin-top:6rem
    }
}

@media (min-width: 1900px) {
    .content {
        margin-top:10rem
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    max-width: 50rem;
    position: relative
}

.hero-text h1 {
    color: #2d2e32;
    font-size: 5.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-top: 2rem
}

@media (max-width: 500px) {
    .hero-text h1 {
        font-size:4rem
    }
}

.hero-text p {
    color: #555;
    font-family: Mulish,sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6
}

@media (max-width: 900px) {
    .hero-text p {
        margin-bottom:5rem
    }
}

.hero-text span {
    cursor: pointer;
    display: flex;
    gap: 1.3rem;
    margin: 2.5rem 0
}

.hero-text span a {
    color: #2d2e32;
    font-size: 3rem
}

@media (max-width: 900px) {
    .hero-text span {
        gap:1.6rem;
        justify-content: center;
        margin-bottom: 4rem;
        margin-top: -2rem
    }
}

.hero-text span a {
    transition: all .2s
}

.hero-text span a:hover {
    color: #0a8f27
}



.hero-img {
    -webkit-animation: morph 8s ease-in-out infinite;
    animation: morph 8s ease-in-out infinite;
    background-image: url(/images/mypic2.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 2px solid #fff;
    border-radius: 60% 30% 200% 70%/60% 30% 50% 40%;
    height: 40rem;
    position: relative;
    transition: all 1s ease-in-out;
    width: 40rem
}

@media (max-width: 500px) {
    .hero-img {
        height:28rem;
        width: 28rem
    }
}

@-webkit-keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
    }

    to {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
    }

    to {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }
}


.logo-img {
    background-image: url(images/logo.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 4rem;
    position: absolute;
    top: 3%;
    left: 0;
    transform: translateY(-50%);
    transition: all 1s ease-in-out;
    width: 10rem;
    
}

.tech-skills {
    margin: 2rem 0;
    text-align: center;
}

.tech-skills h2 {
    color: #2d2e32;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.skill img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

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

.skill span {
    color: #555;
    font-size: 1.4rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .skills-container {
        gap: 2rem;
    }
    
    .skill img {
        width: 40px;
        height: 40px;
    }
}
