/* Font-face: Steph (improved) */
/* Place optimized font files in a /fonts folder at the same level as this CSS file,
   or adjust the paths below to match your project structure. */
@font-face {
    font-family: "Steph";
    src: local("Steph"), local("Steph Regular"),
        url("fonts/steph-font.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Steph";
    src: local("Steph Bold"), local("Steph-Bold"),
        url("fonts/steph-font-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Example usage */
body {
    font-family: 'Steph', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
}



.navbar {
    width: 100vw;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 34px;
    font-weight: bold;
    padding: 15px 10px;
    background-color: rgba(191, 214, 196, 0.9);
    margin: 0;
    /* position: fixed; */
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.navbar ul li {
    display: flex;
    gap: 20px;
    list-style-type: none;
    font-size: 22px;
    font-weight: normal;
}

.main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width:100%;
}

.intro span {
    font-weight: bold;
    font-size: 48px;
}

.intro {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f8f8f8;
    width: 100%;
    margin: 0;
    padding: 130px 10px;
}

.profile-photo {
    display: flex;
    justify-content: center;
    width: 300px;
    /* your size */
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    /* if circular */
    margin: 30px 10px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.profile-photo img:hover {
    transform: scale(1.20)
}

.introduction {
    font-size: 22px;
    font-weight: 500px;
    margin: 40px 40px;
    width: auto;
    /* line-height: 30px;
    letter-spacing: 1.5px; */
}

.social-media {
    width: 500px;
    display: flex;
    justify-content: center;
}

.social-media a {
    color: rgba(84, 134, 95, 0.9);
    font-size: 24px;
    font-weight: bold;
    margin: 10px 22px;
}

.projects {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    width: 100%;
    margin: 0;
    padding: 70px 10px;

}

.soft-projects {}

.soft-projects h2 {
    padding: 70px 0;
    font-weight: normal;
    text-decoration: underline;
    /* margin: auto; */
    text-align: center;
}


.card-1 {
    background-color: #f9f9f9;
    padding: 28px 15px;
    ;
    align-items: center;
    font-weight: normal;
    width: 250px;
    height: auto;
    /* border: 1px solid black; */
    border-radius: 9px;

}

.projects-container {
    display: flex;
    /* border:1px solid red; */
    gap: 30px;
    padding: 40px 0;
}

.cover {
    text-align: center;
}

.cover img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center;
    /* margin:20px 0; */
    border-radius: 5px;
}

.card-1 {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Style the navbar links */
.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: inherit;
    /* Uses the same color as your li */
    cursor: pointer;
    font-weight: bold;
}

.navbar nav ul li a:hover {
    opacity: 0.7;
}

/* If your navbar is fixed/sticky */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* margin:0 19px; */

}

.navbar span {
    cursor: pointer;

}

nav {
    padding: 0 30px;
}

/* Add padding to sections so content isn't hidden behind fixed navbar */
section {
    scroll-margin-top: 80px;
    /* Adjust based on your navbar height */
    padding-top: 100px;
    /* Adjust as needed */
}

.skills {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f8f8f8;
    width: 100%;
    margin: 0;
    padding: 130px 10px;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
}

.skills-container i {
    font-size: 60px;
    color: rgba(84, 134, 95, 0.9);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.skills-container i:hover {
    color: rgba(158, 207, 168, 0.9);
    transform: scale(1.2);
}

.leave-message {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: #f8f8f8; */
    width: 100%;
    margin: 0;
    padding: 120px 10px;
    height: 400px;
}

.leave-message-cont {
    font-size: 24px;
    font-weight: 500;
    color: rgba(100, 100, 100, 0.8);
    margin-top: 20px;

}

footer {
    background-color: gray;
    padding: 26px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}


/* Making website responsive */

@media (max-width: 700px) {
    .navbar {
        background-color: rgba(191, 214, 196, 0.9);
        position: fixed;
        padding: 15px 20px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
    }

    .navbar span {
        /* color: red; */
    }

    .main {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        justify-content: center;
        align-items: center;
        /* width: 100%; */
    }

    .introduction {
        width: auto;
        padding: 0 20px;
    }

    .intro span {
        /* width:auto; */
        font-size: 35px;
        font-weight: bold;
    }

    .projects-container {
        width: auto;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card-1 {
        width: auto;

    }

    .navbar ul li {
        font-size: 20px;
        font-weight: normal;
    }

    footer {
        width: 100%;
    }

}

@media (max-width: 400px) {

    .intro span {
        /* width:auto; */
        font-size: 25px;
        font-weight: bold;
    }

    .introduction {
        font-size: 18px;
        font-weight: normal;
    /* color: pink; */
    }

}