body {
    margin: 0;
    background-color: rgb(1, 29, 54);
}

body,
h1,
h2,
p,
nav,
footer,
input {
    font-family: 'Forum', sans-serif;
}


.intro img {

    height: 300px;
    width: 250px;
    border-radius: 20px;
	
}

.intro {
    /* color: aliceblue; */
    /* background-color: black; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    border-radius: 30px;

}

.intro h1 {
    margin-left: 10%;
    font-size: 7vh;
    margin-bottom: 0;
}

.intro h2 {
    width: 100%;
    margin-top: 0;
    margin-left: 120px;
}

header {
    background-color: rgb(222, 222, 222);
    padding-left: 30px;
    padding-right: 100px;
    padding-bottom: 20px;
    padding-top: 50px;
    margin-top: 50px;
    margin-right: 20%;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;

}

@media(max-width:580px) {
    header {
        margin-top: 20px;
    }
}

.contact {
    display: flex;
    justify-content: right;
    flex-wrap: wrap;


}

.contact img {

    border-color: rgb(1, 29, 54);
    border-width: 3px;
}

.contact a {
    display: inline-block;
    margin: 30px;
}

@media (max-width: 480px) {
    .intro img {

        height: 250px;
        width: 200px;
        border-radius: 20px;
    }


    .contact {
        flex-direction: row;
        justify-content: center;
    }

    .contact a {
        margin: 5px;
    }

    header {
        padding-right: 20px;
    }
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    color: azure;
}

@media (max-width: 480px) {
    .intro h2 {
        margin-left: 0px;
    }

    .intro h1 {
        margin-left: -10px;

    }

}

.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    background-color: rgb(222, 222, 222);
    padding-left: 70px;
    padding-right: 100px;
    padding-bottom: 50px;
    margin-top: 100px;
    margin-left: 20%;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.about h1 {
    margin-top: 30px;
    margin-left: 30px;
    font-size: 7vh;
    text-decoration: underline;
}

.about h2 {
    width: 100%;
    font-size: 5vh;
    text-decoration: underline;
    margin-bottom: 0;
}

.about p {
    font-size: 5vh;
}

.edu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    background-color: rgb(222, 222, 222);
    padding-left: 70px;
    padding-right: 100px;
    padding-bottom: 50px;
    margin-top: 100px;
    margin-left: 20%;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.edu h1 {
    margin-top: 30px;
    margin-left: 30px;
    font-size: 7vh;
    text-decoration: underline;
}

.edu h2 {
    width: 100%;
    font-size: 5vh;
    text-decoration: underline;
    margin-bottom: 0;
}

.edu p {
    font-size: 5vh;
}

@media(max-width: 480px) {
    .edu h2 {

        font-size: 5vh;
        margin-left: 20px;

    }

    .edu p {
        font-size: 5vh;
    }

    .edu h1 {
        margin-left: 10px;
        font-size: 6vh;

    }
}

.skills {
    padding-top: 10px;
    flex-wrap: wrap;
    align-items: center;

    background-color: rgb(222, 222, 222);
    padding-left: 20px;
    padding-right: 100px;
    padding-bottom: 50px;
    margin-top: 100px;
    margin-right: 20%;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.skills h1 {
    margin-top: 30px;
    margin-left: 30px;
    font-size: 7vh;
    text-decoration: underline;
}

.skills h2 {
    margin-top: 30px;
    font-size: 6vh;
    text-decoration: underline;
}

.skills h3 {
    margin-top: 30px;
    margin-left: 50px;
    font-size: 5vh;
    width: 100%;
}

.box {
    text-align: center;
    background-color: rgb(1, 29, 54);
    border-radius: 50px;
    width: 300px;
    height: 400px;
    color: aliceblue;
}

.box img {
    margin-top: 30px;
    width: 250px;
    height: 250px;
    border-radius: 30px;

}

.box h1 {
    margin-top: 10px;
}


@media (max-width: 480px) {
    .box {
        width: 250px;
        height: 350px;

    }

    .box img {
        width: 200px;
        height: 200px;
    }

    .skills h2 {

        font-size: 5vh;

    }

}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;


}

.container a {
    margin-right: 50px;
    margin-bottom: 50px;
}

nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    height: 50px;

}

li {
    display: inline-block;
    font-size: 3.5vh;
    list-style-type: none;
    transition: transform 0.5s ease;
    margin-bottom: 30px;
}

li:hover {
    transform: scale(1.3);
    text-decoration: underline;
    color: aliceblue;
}


nav a {
    margin-left: 30px;
    margin-right: 30px;
    text-decoration: none;
    color: aliceblue;
}

/* Existing styles... */

/* Adjust nav styles */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* Adjust padding as needed */
    background-color: rgb(1, 29, 54);
    /* Ensure the background color matches */
}

/* Ensure the toggle button is styled correctly */
.nav-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: aliceblue;
    cursor: pointer;
    z-index: 1000;
}

/* Adjust nav-menu to align properly with the toggle button */
.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    /* Take full width of the nav */
    justify-content: center;
    /* Center the items */
}


/* Mobile menu styles */
.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    margin-left: 30px;
    margin-right: 30px;
    text-decoration: none;
    color: aliceblue;
    font-size: 3.5vh;
}

.nav-menu li:hover {
    transform: scale(1.3);
    text-decoration: underline;
    color: aliceblue;
}

.nav-toggle {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(1, 29, 54, 0.533);
        border-radius: 0 0 10px 10px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
    }

    .nav-menu li {
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    .nav-toggle {
        display: block;
    }
}