*{
    font-family: 'Inter', sans-serif;
    margin: 0;
}

#wrapper{
    display: grid; 
    grid-template-rows: auto;
    grid-template-columns: minmax(0px, 1fr) repeat(4, minmax(0,250px)) minmax(0px,1fr);
    background-color: #c4c4c4;
}

#blackbar{
    grid-column: 1 / -1;
    grid-row: 1 / 2 ;
    background-color: rgba(2, 2, 2, 0.678);
    z-index: 1;
}

nav{
    font-weight: bold;
}

nav ul{
     list-style-type: none;
     display: flex;
     flex-flow: row nowrap;
     float: right;
}

nav a{
    font-size: 1rem;
    padding-right: 4rem;
    text-decoration: none;
    list-style-type: none;
    color: #ffffff;
}

header ul li a:hover{
    color: #1ebfff;
}

header{
    grid-column: 2 / -2 ;
    grid-row: 1 / 2;
    height: 80px;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#logo{
    color: #ffffff;
    text-align: left;
    font-size: 2rem;
    text-decoration: none;
}

#homehero{
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    height: 570px;
    background-image: url("images/smile.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

#contacthero{
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    height: 570px;
    background-image: url("images/look2.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

#abouthero{
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    height: 570px;
    background-image: url("images/pro.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}


#portfoliohero{
    grid-column: 1 / -1;
    grid-row: 1 / 4;
    height: 500px;
    background-image: url("images/school2.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

#container1{
    display: flex;
    grid-column: 2 / -2;
    margin: 6rem 3rem;
    font-size: 1.40rem;
    align-items: center;
    flex-flow: row-reverse;
}

#container2{
    display: flex;
    flex-direction: row-reverse;
    grid-column: 2 / -2;
    margin: 6rem 3rem;
    font-size: 1.40rem;
    align-items: center;
}


#container2 .textcontainer, #container1 .textcontainer{
    max-width: 50%;
}

#portfoliocontainer1{
    grid-column: 2 / -2;
    margin: 6rem 3rem;
    font-size: 1.40rem;
}

#portfoliocontainer2{
    grid-column: 2 / -2;
    margin: 6rem 3rem;
    font-size: 1.40rem;
}

#portfoliocontainer2, #portfoliocontainer1{
    text-align: center;
}

#container1 p, #container2 p, h2{
    margin: 0 2rem;
    text-align: center;

}

#container2 p, h2{
    margin: 0 2rem;
}

main{
    grid-column: 2 / -2;
    background-color: #ffffff;
    grid-row: 4 / 5;
    margin-top: -90px;
    z-index: 1;
}

main img{
    width: 95%;
}

.imgcontainer{
    max-width: 500px;
    margin: auto;
    margin-top: 2rem;
}

footer{
    grid-column: 1 / -1;
    grid-row: 5 / 6;
    background-color: black;
    height: 50px;
    color: #ffffff;
    text-align: center;
    justify-content: center;
    padding: 8rem 0 2rem 0;
    margin-top: -80px;
}

form{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: .75rem;
    width: 95%;
    padding-top: 1rem;
}

#selfimg{
    max-height: 800px;
}

#skillimg{
    max-height: 250px;
    max-width: 200px;
}

#curbimg{
    margin-top: 2rem;
}

@media only screen and (max-width: 920px){

    #wrapper{
       
        grid-template-columns: minmax(0px, 1fr) minmax(0px, 768px) minmax(0px, 1fr);
    }

    header{
        grid-column: 1 / -1;
    }

    header ul{
        margin: 0px;
        padding: 0px;
        display: flex;
        list-style-type: none;
    }

    .textcontainer{
        text-align: center;
    }

    #container1, #container2{
        height: auto;
        flex-flow: column;
        align-items: center;
    }

    #container1 p, #container1 h2{
        text-align: center;
    }

    main{
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
    }

    form{
        margin-bottom: 2rem;
    }

    #selfimg{
        margin-top: 2rem;
        max-height: 800px;
    }

    #casimg{
        margin-top: 2rem;
        max-height: 800px;
    }

    #headshotimg{
        margin-top: 2rem;
        max-height: 800px;
    }

    #skyimg{
        margin-top: 2rem;
        max-height: 800px;
    }

    #famimg{
        margin-top: 2rem;
        max-height: 800px;
    }

    #container2 .textcontainer, #container1 .textcontainer{
        max-width: 95%;
    }
    #container1{
        flex-flow: column-reverse;  
    }

    #selfimg{
        display: none;
    }

}   

@media only screen and (max-width: 768px){

    #wrapper{
        grid-template-columns: 100%;
    }

    header{
        flex-flow: column;
        align-items: center;
        height: 200px;
        background-color: rgb(43, 41, 41);
    }
    
    #logo{
        display: none;
    }

    nav{
        margin: 0;
    }

    nav ul {
        flex-flow: column;
        text-align: center;
        justify-content: space-around;
    }

    nav a{
        padding: 1rem 0;
        width: 100%;
    }

    nav ul li{
        width: 100%;
        margin: 0.75rem;
    }

    #container1, #container2{
        height: auto;
        justify-content: flex-end;
        text-align: center;
    }

    #container1 p, #container2 p{
        margin-bottom: 2rem;
    }

    #homehero{
        grid-column: 1 / -1;
        grid-row: 2 / 4;
        height: 570px;
        background-image: url("images/smile.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 0;
    }

    #selfimg{
        display: none;
    }
}



