*{           margin: 0;
    text-align: center;    
    box-sizing: border-box;
}



nav{
    background-color: #093051;        
}

ul{padding-left: 0;}

li{
    list-style-type: none;
    border-bottom: solid white 1px;
    line-height:2.5em;
    text-align: center;
    margin-left: 0;
}

a{text-decoration: none;
    font-family: sans-serif;
    color: #ffffff;
}

a:hover{color:  cadetblue;}

main{
    color: #ffffff;
    background-color: cadetblue;
    background-image:url(background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    padding: 2em 5% 150% 5%;
    width: 100%;
}

#images{
    padding-top: 2em;
    display:grid;
   grid-template-columns: 25% 25%;
    justify-content: center;
    grid-row-gap: 2em;
    grid-column-gap: 2em;
}

#images img{border:solid .5px white;}

#images img:hover{
    background-color: rgba(255, 255, 255, .5);
    transition-property: background-color;
    transition-duration: 2s;
}

footer{
    background-color: #000000;
    color: #ffffff;
    position: fixed;
    bottom: 0;
    width: 100%}

#text{background-color:#093051;
    padding: .5em 1em;
    line-height: 1.5em;
}

footer p{ 
    padding: 8px 0%;
    font-size: .7em;
    font-family: sans-serif;
}

@media(min-width:600px){

    ul{
        padding: .5% 0;
        display:flex;
        justify-content: center;
        column-gap: 5%;}

    li{ border-bottom: none;}    

    main{    
        padding-bottom: 20%;
        height: 90vh;
            width: 100%;
        background-size:cover;
    }
    
    #text{padding: 1em 18%;}
    
    #images{
        padding-top: 1em;
        display:flex;
        flex-flow: wrap;
        justify-content: center;
        column-gap: 3%;
    }
    
@media(min-width:1040px){
     
    #text{padding: 1em 25%;}
    
}



