body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    background-color: #2c2c2c;
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2em;
    color: #a0d2db;
    position: relative;
    display: inline-block;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#nav-menu {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

#nav-menu li {
    margin: 10px;
}

#nav-menu li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#nav-menu li a:hover {
    background-color: #a0d2db;
    color: #2c2c2c;
}

#menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #e0e0e0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2c2c2c;
    border: 2px solid #a0d2db;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

#menu-toggle::before {
    content: "\2022 \2022 \2022";
    display: block;
}

#menu-toggle:hover {
    background-color: #a0d2db;
    border-color: #e0e0e0;
}

footer {
    background-color: #2c2c2c;
    color: #e0e0e0;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-section {
    padding: 40px 20px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    text-align: center;
}

.portfolio-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #a0d2db;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    position: relative;
    background-color: #2c2c2c;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #e0e0e0;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

.card-title {
    font-size: 1.5em;
    color: #a0d2db;
}

.card-description {
    font-size: 1em;
}

.card:hover {
    transform: scale(1.05);
}

.card:hover .card-info {
    opacity: 1;
}

@media (max-width: 768px) {
    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 20px;
        background-color: #2c2c2c;
        border-radius: 8px;
        padding: 10px;
        width: 200px;
    }

    #nav-menu.active {
        display: flex;
    }

    #menu-toggle {
        display: block;
    }
}
