body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #2c2a2a;
}

.container {
    text-align: center;
    margin: 50px auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    box-shadow: 0 0 10px rgba(31, 30, 30, 0.1);
    border-radius: 5px;
}

h1, h2{
    color: #fcce00;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 25px;
    padding-left: 8%;
    text-align: center;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.project {
    width: 10%;
    margin: 10px;
    overflow: hidden;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
    border-radius: 20px;
}

.project img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 5%;
}

.project h3 {
    margin-top: 10px;
    color: #333;
}

.project p {
    color: #555;
}

.project:hover {
    transform: translateY(-5px);
    background-color: #83df1a;
    border-radius: 20px;
}

.project:hover img {
    transform: scale(1.1);
}

.back-button, .back-to-top {
    display: block;
    margin-top: 20px;
    text-decoration: none;
    color: #007bff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding-left: 90%;
}

.back-button i, .back-to-top i {
    margin-right: 5px;
}

.back-button {
    display: block;
    margin-top: 20px;
    text-decoration: none;
    color: #dbdcdd;
    margin-right: 5px;
    color: #fcce00;
}


nav a {
    color: #fcce00;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin: 10px 0;
    }

    header {
        padding: 50px 0;
    }

    h1 {
        font-size: 6em;
    }
}

a {
    text-decoration: none;
    color: #333; 
    position: relative;
    overflow: hidden;
    padding: 20px;
}

a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #fcce00; 
    bottom: 0;
    left: 0;
    transition: width 0.3s ease; 
}

a:hover::before {
    width: 100%;
}


.back-button {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #fcce00;
}


.project img {
    width: 80%; 
    height: auto; 
}

header{
    padding: 2%;
    height: 1px;
}
