body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #6f6e6e;
}

header {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: #d0d0d0;
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-radius: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-size: 40px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.4s ease, letter-spacing 0.5s ease;
}

nav ul li a:hover {
    transform: scale(3);
    letter-spacing: 1.5px;
}

main {
    padding: 20px;
    padding-top: 100px;
    border-radius: 10px;
}

#intro {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #dadada;
    padding: 100px;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.8) 0 0 90px 33px;
    flex-wrap: wrap;
}

.intro-text {
    max-width: 500px;
    font-size: 30px;
    text-align: justify;
}

.intro-image img {
    max-width: 400px;
    border-radius: 10px;
}

#projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 50px;
    background-color: #e7e7e7;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.8) 0 0 90px 33px;
}

.project {
    text-align: center;
    max-width: 50%;
    margin-bottom: 50px;
    font-size: 50px;
}

.project img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: rgb(0, 0, 0) 0 0 90px 33px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(2);
}

#about, #contact {
    text-align: center;
    padding: 40px;
    font-size: 20px;
    max-width: 400px;
    background-color: #e7e7e7;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: rgb(73, 73, 73) 0 0 90px 33px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Tablets and small laptops */
@media (max-width: 1024px) {
    nav ul {
        font-size: 30px;
    }

    .intro-text {
        font-size: 24px;
    }

    .project {
        font-size: 36px;
        max-width: 80%;
    }
}

/* Tablets and larger phones */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        font-size: 24px;
    }

    #intro {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

    .intro-text {
        font-size: 20px;
        max-width: 90%;
        text-align: center;
    }

    .intro-image img {
        max-width: 80%;
    }

    .project {
        font-size: 28px;
        max-width: 90%;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }

    #about, #contact {
        font-size: 18px;
        padding: 20px;
        max-width: 90%;
    }
}

/* Phones */
@media (max-width: 480px) {
    nav ul {
        font-size: 20px;
    }

    .intro-text {
        font-size: 18px;
    }

    .project {
        font-size: 24px;
    }

    button {
        font-size: 12px;
        padding: 6px 12px;
    }

    footer {
        font-size: 14px;
    }
}
