* {
    box-sizing: border-box;
}
 
body {
    margin: 0;
    padding: 0;
    background-color: #B1B2FF;
    background: radial-gradient(circle, #AAC4FF 0%, #B1B2FF 100%);
}
 
p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #B1B2FF;
    color: white;
}
 
.nav-title {
    font-size: 1.5rem;
    margin: .5rem;
    color: white;
}
 
.nav-links ul {
    margin: 0;
    padding: 0;
    display: flex;
}
 
.nav-links li {
    list-style: none;
}
 
.nav-links li a {
    text-decoration: none;
    color: white;
    padding: .5rem;
    display: block;
}
 
.nav-links li:hover {
    background-color: #D2DAFF;
}

/* Main */

/* About Me */
.about {
    display: block;
    border-radius: 10px;
    background: #F9F9F9;
    margin: 1rem;
    padding: 1rem;
}
 
.about-image {
    float: left;
    width: 15%;
    border-radius: 50%;
    box-shadow: 5px 10px 8px #7F8487;
}
 
.about-container {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    margin: 1rem;
    padding: 1rem;
}
 
.about-container p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1rem;
    padding: 1px;
    width: 100%;
}

/* Portfolio */
.card {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: .5px solid #DDDDDD;
    border-radius: 10px;
    flex-wrap: wrap;
    margin: 1rem;
    width: 300px;
}
.projects {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 1rem;
    border-radius: 10px;
    background: #F9F9F9;
    padding: 1px;
}
 
.main-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: .5px solid #DDDDDD;
    padding: 10px;
    width: 95%;
}
 
.card-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 20px;
    padding: .5rem;
    margin: 1px;
}
 
.card-image {
    display: block;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
 
}
 
.card p {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
 
}
 
.image-links {
    text-decoration: none;
 
}
 
/* Contact Me */
.contact {
    margin: 1rem;
    border-radius: 10px;
    background: #F9F9F9;
    padding: 1rem;
}
 
.contact-list ul {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}
 
.contact-list li {
    list-style: none;
}
 
.contact-list li a {
    text-decoration: none;
    color: black;
    padding: .5rem;
    display: block;
}

/* Footer */
.footer {
    display: flex;
    margin: 1rem;
    padding: 1rem;
}
 
.text-muted {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #7F8487;
}

@media screen and (min-width: 1025px) {
    .card {
 
        width: 500px;
    }
   
    h1, .nav-title {
        font-size: 35px;
    }
 
    h2 {
        font-size: 22px;
    }
   
    p {
        font-size: 17px;
    }
 
    .nav-links ul {
        font-size: 20px;
    }
}
 
@media screen and (max-width: 600px) {
    .nav {
        display: block;
   
    }
   
    .nav-links ul {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
     
    }
 
    .contact-list ul {
       display: block;
    }

    .about-image {
        width: 20%;
    }
}

