@media screen and (max-width: 900px) {
    body main div.work-wrapper {
        display:grid; 
        grid-template-columns: 1fr;
    }
    img {
        width: 100%;
    }
    main div.intro-wrapper #introtext {
        font-size: 20px;
        text-align: left;
    } 
    body footer div.contact-wrapper {
        grid-template-columns: 1fr;
    }
}

body {
    margin: 0;
}

header {
    display:grid; 
    grid-template-columns: 1fr 1fr; 
    background-color: rgba(147, 199, 228, 0.601);
    color: rgb(117, 147, 157);
}

header div.logo-wrapper {
    padding-left: 15px;
}

h1 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 25px;
    text-align: left;
}

h2 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 30px;
    text-align: center;
    color: white;
}

h3 {
    color: rgb(255, 255, 255);
}

header div.nav-wrapper {
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    width: 100%;
    background-color: rgba(147, 199, 228, 0.601);
}

header div.nav {
    text-align: center;
    padding : 20px 16px;
}

header div.nav a {
    text-decoration: none;
    color: white;
}

header div.nav a:hover {
    color:rgb(102, 130, 145);
}

main {
    background-color: #7592b0d3;
}

main div.intro-wrapper {
    background-image: linear-gradient(to right, #fce1ed , #bad1ed);
    background-image: url("assets/changedpixelart.png");
    background-size: cover;
    padding: 200px;
}

#introtext {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 30px;
    text-align: center;
    text-shadow: black 0px 3px 3px;
}

#portfolio {
    text-align: center;
}

main div.work-wrapper {
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 20px;
}
main div.project-wrapper {
    position: relative;
}

main div.project-wrapper:hover img {
    transition: opacity 0.5s ease;
    opacity: 0.2;
    transform: scale(1.1);
}

main div.project-wrapper:hover .text-wrapper {
    opacity: 1;
}

img {
    max-width: 100%;
    border-radius: 8px;
}

main div.text-wrapper {
    position: absolute;
    top: 30px;
    opacity: 0;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 25px;
    text-align: center;
    text-shadow: black 0px 3px 3px;
    color: white;
}

main div.text-wrapper a {
    text-decoration: none;
    color: white;
}

main div.text-wrapper a:hover {
    text-decoration: none;
    color: rgb(207, 205, 205);
}


h6 {
    padding-right: 20px;
    padding-left: 20px;
}


#about {
    background-image: linear-gradient(to right, #f8c6be , #a6c3e7);
    text-align: center;
    padding: 5px;
}

main div.about-wrapper {
    display:grid; 
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    text-align: center;
    color: rgb(108, 101, 101);
}


footer div.contact-wrapper {
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
}

footer div.details-wrapper {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 20px;
    text-align: center;
    color: white;
}

h5 a {
    padding-left: 8px;
    text-decoration: none;
    color:rgb(195, 190, 190);
}

h5 a:hover {
    color:rgb(255, 255, 255);
}

#mailicon {
    width: 50px;
    padding-top: 20px;
}
#mailicon:hover {
    transform: scale(1.5);
}

#githubicon {
    width: 50px;
    padding-top: 25px;
}

#githubicon:hover {
    transform: scale(1.5);
} 

#linkedinicon {
    width: 40px;
    padding-top: 20px;
}
#linkedinicon:hover {
    transform: scale(1.5);
}

footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 10px;
    bottom: 0;
    font-family: "Source Sans Pro", sans-serif;
}