@font-face {
    font-family: "Nightcore";
    src: url("assets/fonts/Nightcore-Demo.ttf");
}

@font-face {
    font-family: "Something-Strange";
    src: url("assets/fonts/Something-Strange.ttf");
}

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

html,
body {
    width: 100%;
    min-height: 100vh;
    background: url("assets/images/background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 130px;
    position: relative;
    width: 100%;
}

.nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav ul li {
    font-family: "Nightcore";
    font-weight: 400;
    font-size: 17px;
    margin-left: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s;
}

.nav ul li:hover {
    color: #72ed2f;
}

.logo h5 {
    font-family: "Nightcore";
    font-weight: 400;
    font-size: 23px;
    color: #ffffff;
    transition: 0.5s;
}

.logo h5:hover {
    color: #72ed2f;
}

.contact {
    border: 1px solid #72ed2f;
    padding: 13px 18px;
    margin: 10px;
    transition: .5s;
}

.contact:hover {
    box-shadow: 0px 0px 10px 0px #72ed2f;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 160px;
    min-height: calc(100vh - 80px);
    gap: 40px;
}

.content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
}

.content h1 {
    font-family: "Something-Strange", sans-serif;
    font-size: clamp(40px, 8vw, 100px);
    letter-spacing: clamp(2px, 1vw, 10px);
    color: #5fe117;
    line-height: 1.25;
    word-wrap: break-word;
}

.content p {
    font-family: "Roboto-Regular";
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    color: #ffffff;
    line-height: 1.6;
    padding: 40px 0px;
}

.content button {
    font-family: "Roboto-Regular";
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 18px);
    background: #72ed2f;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
    margin: 25px;
    transition: .5s;
}

.content button:hover {
    box-shadow: 0px 0px 30px 0px #72ed2f;
}

.skill-set {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.skill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid #72ed2f;
    width: 220px;
    height: 60px;
    cursor: pointer;
}

.skill img {
    width: 40px;
    height: auto;
    max-width: 100%;
}

.skill h3 {
    font-family: "Roboto-Regular";
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
}

/* Media queries for responsiveness */
@media (max-width: 1400px) {
    .hero-section {
        padding: 20px 100px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 20px 80px;
    }

    .hero-section {
        padding: 20px 80px;
    }
}

@media (max-width: 992px) {
    header {
        padding: 20px 50px;
    }

    .hero-section {
        padding: 20px 50px;
        flex-direction: column;
    }

    .content,
    .hero-image {
        max-width: 100%;
    }

    .hero-image {
        order: -1; /* Moves image above content on smaller screens */
    }

    .hero-image img {
        max-height: 50vh;
        width: auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 30px;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero-section {
        padding: 20px 30px;
    }

    .hero-image img {
        max-height: 40vh;
    }

    .skill {
        width: calc(50% - 15px);
        min-width: 150px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 20px 15px;
    }

    .hero-section {
        padding: 20px 15px;
    }

    .hero-image img {
        max-height: 30vh;
    }

    .skill {
        width: 100%;
    }
}