/* General Reset and Styling */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: FreeMono, monospace;
    text-decoration: none;
}

body {
    overflow-x: hidden;
}

/* Portfolio Header and Wrapper */
.portfolio-header {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #222;
}

.wrapper {
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.logo i {
    height: 45px;
    width: 45px;
    background-color: #007ced;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px;
    margin-right: 5px;
    cursor: pointer;
    text-align: center;
}

.logo .logo-text {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

/* Navigation */
nav .togglebtn {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 45px;
    right: 3%;
    z-index: 5;
    cursor: pointer;
    display: none;
}

nav .togglebtn span {
    display: block;
    background-color: #007ced;
    margin: 5px 0px;
    width: 100%;
    height: 3px;
    transition: 0.3s;
    transition-property: transform, opacity;
}

nav .navlinks {
    list-style-type: none;
}

nav .navlinks li {
    display: inline-block;
}

nav .navlinks li a {
    color: #e5e5e5;
    margin-right: 2.5rem;
}

nav .navlinks li a:hover{
    color:#007ced;
    margin-right: 2.5rem;
}

h2 {
    padding-bottom: 15px;
    padding-top: 15px;
    font-size: 2rem;
    color:#007ced
}

section {
    padding-bottom: 40px;
}

footer {
    background-color: #333;
}

/* Portfolio Container */
.portfolio-container {
    padding-top: 4rem;
    text-align: center;
}

.portfolio-container h1 {
    color: #007ced;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio-container p {
    color: #e5e5e5;
    margin-bottom: 2rem;
}

/* Portfolio Items */
.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.portfolio-item {
    background: #333;
    border-radius: 5px;
    overflow: hidden;
    width: 320px;
    box-shadow: 5px 7px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item h3 {
    color: #007ced;
    padding: 10px;
    font-size: 1.2rem;
}


/* Paragraph Styling */
.portfolio-item p {
    color: #e5e5e5;
    padding: 0 10px 0;
    font-size: 0.8rem;
    text-align: left;
}

/* Bullet List Styling */
.portfolio-item ul {
    padding-left: 20px; /* Indent bullets */
    margin-bottom: 10px; /* Space below lists */
    color: #e5e5e5;
    text-align: left;
}

.portfolio-item ul li {
    margin-bottom: 5px; /* Space between list items */
    font-size: 0.8rem;
    line-height: 1.5; /* Improve readability */
}

/* Button */
.btn {
    display: inline-block;
    padding: 10px 10px;
    margin: 7px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: #007ced;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    transition: background 0.3s ease;
    font-size: 0.8rem;
}

.btn:hover {
    background: #084689;
}

.inline-text {
    color: #007ced;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 930px) {
    nav .togglebtn {
        display: initial;
    }

    .click {
        top: 45px;
    }

    .click span {
        position: absolute;
        margin-top: 12px;
    }

    .click span:first-child {
        transform: rotate(-40deg);
    }

    .click span:nth-child(2) {
        opacity: 0;
        margin: 0;
    }

    .click span:last-child {
        transform: rotate(45deg);
        top: 0;
    }

    nav .navlinks {
        position: absolute;
        top: 110px;
        right: -100%;
        bottom: 0;
        width: 60%;
        height: 100vh;
        background-color: #222;
        z-index: 3;
        box-shadow: 5px 13px 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s;
        padding: 25px 0px;
    }

    nav .navlinks li {
        display: block;
    }

    nav .navlinks li a {
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }

    nav .navlinks.open {
        right: 0;
    }
}

@media (max-width: 768px) {
    .portfolio-items {
        flex-direction: column;
        padding-top: 2rem;
    }

    .portfolio-item {
        width: 90%;
    }
}
