body {
    display: grid;
    width: 100%;
    margin: auto;
    grid-template-areas:
        "header"
        "menu"
        "about"
        "projects"
        "updates"
        "portfolios"
        "footer";
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    background-color: #5f2f2f;
    background-image:
        radial-gradient(ellipse at 10% 90%, #5645ad 0%, transparent 55%),
        radial-gradient(ellipse at 90% 90%, #c33c65 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, #4a74dc 0%, transparent 55%),
        radial-gradient(ellipse at 10% 10%, #35244f 0%, transparent 55%);
}

a:link {
    color: white;
}

a:visited {
    color: white;
}

.header {
    grid-area: header;
    padding: 150px 0px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagetitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu {
    grid-area: menu;
    padding: 0px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.glass {
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    position: relative;
}

.dark {
    background-color: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(10px);
}

.glass-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    flex-direction: column;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}


@media only screen and (min-width: 601px) {
    .menu-toggle {
        display: none;
    }

    .topnav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .topnav a {
        display: inline-block;
        padding: 10px 10px;
        border: 0;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        letter-spacing: 2px;
        cursor: pointer;
        text-transform: uppercase;
    }

    .nav-container {
        display: flex;
    }

    .dropdown {
        padding: 0px;
        margin: 0px;
    }

    .dropdown-content a:hover {
        background-color: #ddd;
    }

    .dropdown:hover .dropdown-content {
        display: flex;
        flex-direction: column;
        padding: 0px;
        margin: 0px;
    }

    .dropdown:hover .dropbtn {
        background-color: rgba(255, 255, 255, 0.2);
    }
}


@media only screen and (max-width: 600px) {
    .main {
        padding: 10px;
    }

    .header {
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        color: white;
        width: 200px;
        background-color: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(10px);
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
    }

    .topnav {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .topnav.active {
        display: flex;
        padding-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .topnav div {
        display: block;
        width: 90%;
        padding: 10px;
        color: white;
        background-color: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(10px);
        margin-bottom: 10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .topnav a {
        text-decoration: none;
        color: white;
    }

    .topnav div div {
        display: none;
    }

    .topnav a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .nav-container {
        display: block;
    }

    .dropdown-content.active {
        display: flex;
        flex-direction: column;
        padding: 0px;
        margin: 20px 0px;
    }
}

.about {
    grid-area: about;
    padding: 50px 50px 50px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    border-radius: 10px;
}

.about-me-content {
    max-width: 450px;
    padding-right: 20px;
    text-align: center;
}

.about-me-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.about-me-content p {
    font-size: 16px;
    line-height: 1.6;
}

.about-me-photo {
    width: 200px;
    height: auto;
    margin-top: 20px;
}

.about-me-photo img {
    width: 100%;
    height: auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.projects,
.portfolios,
.updates,
.footer {
    padding: 75px 50px 100px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    position: relative;
}

.portfolios {
    padding: 75px 50px 125px;
}

.footer {
    padding: 50px 50px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer h2,
.footer h3,
.footer p {
    text-align: center;
}

/* Form Styles */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: white;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#contact-form button:hover {
    background-color: #218838;
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
}

.copyright p {
    text-align: center;
}

/* Icons */
.icon {
    position: relative;
    padding: 5px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    margin: 5px;
    transition: flex 0.4s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.portfolios .icon {
    height: 300px;
}

.updates .icon {
    height: 300px;
}

.extras .icon {
    height: 20px;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    color: rgba(255, 255, 255, 0.233);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.extras .icon.active {
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    color: rgba(255, 255, 255, 0.8);
}

.icon.active {
    flex: 5;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
    filter: blur(1px) brightness(0.7);
    transition: filter 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.icon.active img {
    filter: blur(0.5px) brightness(1);
    transform: scale(1.1);
}

.icon .text {
    -webkit-transform: translate(-50%, -50%);
    -webkit-font-smoothing: antialiased;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex: 1;
    z-index: 1;
    pointer-events: none; /* Prevent interaction with the text */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.icon .text2 {
    color: white;
    font-weight: bold;
    z-index: 1;
    pointer-events: none; /* Prevent interaction with the text */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.icon .text2 a h4 p {
    margin: 0;
}

.projects .subContainer,
.portfolios .subContainer,
.updates .subContainer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.subcontainer a {
    display: block;
    width: 100%;
}


/* .projects2{
    padding: 75px 50px 100px;
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.icon2 {
    position: relative;
    padding: 5px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    color: rgba(255, 255, 255, 0.8);
    display: inline;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    margin: 5px;
    padding: 0px;
    transition: flex 0.4s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.icon2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: blur(1px) brightness(0.7);
    transition: filter 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.icon2 .text2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.projects2 .subContainer2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
} */