* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 550;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
    background-color: whitesmoke;
}

header {
    background-color: white;
}

.nav_bar {
    border: 1px solid silver;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_new_bar {
    border-bottom: 1px solid silver;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.show {
    position: absolute;
    top: 60px;
    width: 100%;
    right: 0;
    display: grid;
    background-color: white;
    padding: 10px;
}

.logo {
    height: 60px;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: cursive;
    cursor: pointer;
}

.logo_image {
    background-image: url("portfolio.png");
    background-size: cover;
    height: 50px;
    width: 50px;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
}

.nav_content {
    width: 250px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#about, #projects, #contact {
    text-decoration: none;
    color: black;
    padding: 4px 8px 4px 8px;
}

#about:hover, #projects:hover, #contact:hover {
    background-color: rgba(128, 128, 128, 0.148);
    border-radius: 6px;
}

.introduction {
    width: 100%;
    height: 200px;
    background-color: white;
    display: flex;
    align-items: center;
}

.introduction h1 {
    font-size: 40px;
    padding: 20px;
}

.content p {
    padding: 0px 20px;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.projects {
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.first, .second {
    margin-top: 25px;
    height: 160px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    width: 48.5%;
}

.content2 {
    display: flex;
    justify-content: space-between;
}

#p1 {
    padding: 20px;
}

#p1 h2 {
    font-size: 28px;
    padding-bottom: 45px;
}

#my_project {
    font-size: 35px;
}

#p1 p {
    color: rgba(0, 0, 0, 0.589);
    font-weight: 600;
}

@media (max-width: 800px) {
    .content2 {
        display: grid;
    }

    .first, .second {
        width: 100%;
    }

    .content p {
        font-size: 15px;
    }
}

.contact {
    background-color: white;
}

.contact h2 {
    font-size: 33px;
    padding: 20px;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.form_box {
    width: 60%;
}

.name, .email, .message {
    display: grid;
    padding-bottom: 15px;
}

.name input, .email input, textarea{
    margin-top: 10px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid black;
    border-color: silver;
    padding: 10px;
}

textarea {
    height: 150px;
}

#btn {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: none;
    color: white;
    background-color: black;
    margin-bottom: 30px;
}

#btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

@media (min-width: 768px) {
    .form_box {
        width: 35%;
    }
}

@media (min-width: 400px) {
    .menu_icon {
        display: none;
    }
}

@media (max-width: 400px) {
    .form_box {
        width: 85%;
    }

    footer {
        font-size: 10px;
    }

    footer i {
        font-size: 10px;
    }

    .contact h2 {
        font-size: 23px;
    }

    form {
        font-size: 14px;
    }

    form input, textarea {
        font-size: 12px;
    }

    #btn {
        font-size: 11px;
    }

    .projects {
        height: 550px;
    }

    .first, .second {
        height: 200px;
    }

    #p1 h2 {
        font-size: 23px;
    }

    #p1 p, .content p {
        font-size: 13px;
        font-weight: 500;
    }

    #my_project {
        font-size: 23px;
    }

    .introduction h1 {
        font-size: 28px;
    }

    .logo_image {
        height: 35px;
        width: 35px;
    }

    .nav_content {
        display: none;
    }

    .menuBar {
        padding-right: 20px;
    }
}

footer {
    border-top: 1px solid silver;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social_link {
    display: flex;
    justify-content: space-evenly;
}

.email_footer, .github {
    padding-right: 20px;
}

.email_footer i {
    display: inline;
}

i {
    font-size: 14px;
    cursor: pointer;
}

.email_footer a, .github a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.4);
}

.email_footer a:hover, .github a:hover {
    border-bottom: 1px solid black;
} 