* {
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #333;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 20 0;
    border: 0;
    color: whitesmoke;
    position: fixed;
    width: 100%;
    opacity: .8;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 50%;
    list-style: none;
}

.nav-links :hover {
    color: whitesmoke;
    transition: .5 ease;
}

style {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: .1%;
    border: 0;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
}

.img-about {
    background: linear-gradient( rgba(44, 62, 80, 0.7), rgba(149, 165, 166, 0.7));
    color: whitesmoke;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    float: left;
    margin: 35px 25px;
    padding: 10px;
    border-radius: 50px;
    z-index: 7777;
}

.me-img {
    float: left;
    margin: 35px 25px;
    padding: 10px;
    z-index: -2;
    border-block-color: black;
    border: solid 3px;
    border-radius: 50px;
}

.grid-item-2 img,
.grid-item-3 img,
.grid-item-4 img {
    margin: 35px 25px;
    padding: 20px;
    z-index: -2;
    border: solid 3px;
    border-radius: 50px;
    color: #333;
}

.grid-item-2 img :hover,
.grid-item-3 img :hover,
.grid-item-4 img :hover {
    border: solid whitesmoke 3px;
    transition: .5s ease;
}

.about-p {
    padding: 50px 15px;
}

.about-me {
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    padding: 0 10px;
    color: white;
    font-weight: bolder;
}

.p {
    color: #D8D8D8;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    filter: drop-shadow(2px 4px 6px white);
    font-weight: bolder;
}

body {
    overflow: auto;
    margin: 0 0;
    background-color: whitesmoke;
    background-image: url(./images/adrien-olichon-9zhsq3o1k60-unsplash.jpg);
    background-position: relative;
    /* Center the image*/
    background-size: cover;
    /* Resize the background image to cover the entire container */
    background-repeat: no-repeat;
    position: relative;
    padding: 0%;
    border: 0;
    justify-content: center;
}

section {
    padding: 0px;
    margin: auto;
}

.hero {
    background-image: url("./images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15%;
    z-index: 9999;
}

h2 {
    padding: 0 10px;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    padding: 2px 20px;
    color: white;
}

.work-h2 {
    padding: 0 10px;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    padding: 2px 20px;
    color: white;
    text-align: center;
    padding-top: 100px;
    font-size: 50px;
}

.nav-links a {
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
    color: grey;
    justify-content: space-around;
}

.grid-item-1 {
    background-color: whitesmoke;
    grid-column-start: 2;
    grid-column-end: span col4-start;
    grid-row-start: 2;
    grid-row-end: span 4;
    background-image: url("./images/cypress.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 25px;
    text-align: center;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    border-radius: 50px;
    padding-top: 50px;
    font: bold;
    color: grey;
    box-sizing: border-box;
}

.grid-item-1 a:hover {
    color: white;
}

.grid-item-1 a {
    /* text-decoration: none; */
    list-style: none;
    color: grey;
}

.grid-item-2 {
    /* background-color: grey; */
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    border-radius: 50px;
    padding-top: 20px;
    font: bold;
    text-decoration: none;
    padding-bottom: 10px;
}

.grid-item-2 a:hover {
    color: white;
}

.grid-item-2 a {
    text-decoration: none;
    list-style: none;
    color: white;
}

.grid-item-3 {
    /* background-color: grey; */
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    border-radius: 50px;
    padding-top: 20px;
    font: bold;
    text-decoration: none;
    padding-bottom: 10px;
}

.grid-item-3:hover {
    color: white;
}

.grid-item-3 a {
    text-decoration: none;
    list-style: none;
    color: white;
}

.grid-item-4 {
    /* background-color: grey; */
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    border-radius: 50px;
    padding-top: 20px;
    font: bold;
    text-decoration: none;
    padding-bottom: 10px;
}

.grid-item-4:hover {
    color: white;
}

.grid-item-4 a {
    text-decoration: none;
    list-style: none;
    color: white;
}

.work img {
    margin: 35px 25px;
    padding: 10px;
    z-index: -2;
    border: solid 3px;
    border-radius: 50px;
    align-content: center;
}

.contact {
    align-items: center;
    font-family: "Montserrat", Georgia, 'Times New Roman', Times, serif;
    padding: 20 100%;
    border: 0;
    width: 100%;
}

.contact {
    padding-bottom: 200px;
    font-weight: 900;
    align-items: center;
}

.contact h2 {
    font-size: 50px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: space-around;
    width: 50%;
    list-style: none;
    width: 100%;
    padding-top: 25px;
}

.contact-links a {
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
    color: whitesmoke;
    justify-content: space-around;
    font-size: 2em;
}

.contact-links a:hover {
    color: grey;
    transition: .5s ease;
}

.contact-me-links {
    display: flex;
    justify-content: space-around;
    width: 50%;
    list-style: none;
}

@media only screen and (max-width:980px) {
    .container {
        grid-template-columns: 1fr 2fr;
    }
    .grid-item-1 {
        grid-column-start: 2;
        grid-column-end: span col4-start;
        grid-row-start: 1;
        grid-row-end: span 3;
    }
    .grid-item-2 {
        grid-column-start: 2;
        grid-column-end: span col4-start;
        grid-row-start: 4;
        grid-row-end: span 4;
        image-rendering: none;
    }
    .grid-item-3 {
        grid-column-start: 2;
        grid-column-end: span col4-start;
        grid-row-start: 8;
        grid-row-end: span 4;
        background-image: none;
    }
    .about-p {
        display: flex;
    }
    .me-img {
        margin: none;
    }
    .nav-links {
        display: flex;
        text-align: center;
        font-size: 3px;
    }
}

@media only screen and (max-width:580px) {
    .about-p {
        display: inline;
    }
    .nav-links {
        display: flex;
        text-align: center;
        font-size: .5rem;
    }
}