*{
    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/portrait.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}


#container1{
    display: flex;
    grid-column: 2 / -2;
    height: 300px;
    margin: 6rem 3rem;
    font-size: 1.20rem;
}

#container2{
    display: flex;
    grid-column: 2 / -2;
    height: 300px;
    margin: 6rem 3rem;
    font-size: 1.20rem;
}


#container1 p, #container1 h2{
    margin: 0 2rem;
    text-align: right;
}

#container2 p, h2{
    margin: 0 2rem;
}
#container1 img, #container2 img{
    margin-top: 2rem;
}
main{
    grid-column: 2 / -2;
    background-color: #ffffff;
    grid-row: 4 / 5;
    margin-top: -90px;
    z-index: 1;
}

main img{
    width: 95%;
}
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;
}


@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{
        flex-flow: column-reverse;
    }

    #container1 p, #container1 h2{
        text-align: center;
    }

    main{
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
    }

}   

@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;
    }

    #homehero{
        grid-column: 1 / -1;
        grid-row: 2 / 4;
        height: 570px;
        background-image: url("images/portrait.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 0;
    }
}



