* {
    box-sizing: border-box;
}

#wrapper {
    display:grid;
    grid-template-rows: auto;
    grid-template-columns: minmax(0, 1fr) repeat(6,minmax(0,1fr)) minmax(0,1fr); 
    padding: 4em 8em;
    background-color:blanchedalmond;

}

#pool {
    background-image: url("pool.jpeg");
    width: 795px;
    height: 800px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    grid-column: 5/9;
    grid-row:5/9;
    clear: right;
    border: solid 5px black;
    padding: 20px;
}

#price {
    background-image: url("price.jpeg");
    grid-column: 1/9;
    height: 300px;
     background-size: cover;
     background-repeat:no-repeat;
     background-position: center;

}

#lift {
    background-image: url("lift.jpeg");
    width: 800px;
    height: 450px;
    float: left;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    clear: left;
    grid-column: 1/5;
    grid-row:7/9;
    border: solid 5px black;


}

#about {
    background-image: url("about.jpg");
    width: 795px;
    height: 450px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    grid-column: 5/9;
    grid-row:5/7;
    clear: right;
}

#cityhall {
    background-image:url("cchall.jpg");
    width: 795px;
    height: 450px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    grid-column: 5/9;
    grid-row:5/7;
    clear: right;

}

#table {
    grid-column: 1/9;
    grid-row: 5/7;

}
#offer {
    grid-column: 1/5;
    grid-row: 5/7;
    background-color: #dcc9ad;
    color: black;
}
#offer ul {
    text-align: center;
    list-style-type: none;
}

#court {
    background-image: url("court.jpg");
    width: 800px;
    height: 450px;
    float: left;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    clear: left;
    grid-column: 1/5;
    grid-row:7/9;
}

#cityhall, #court, #about, #pool, #lift, #price  {
    width: 100%;
    
}

#contact {
    grid-column: 2/8;
    grid-row: 4/7;
}

#blue {
    background-color: #a6c8f6;
    grid-column: 1/9;
    grid-row:8 / 9;;
}
header {
    grid-column: 1/9;
    grid-row: 1/-2 ;
    background-color: #a6c8f6;
    color: black;
    text-align: center;
}

h1 {
    font-family: fantasy;
    
}

nav {
    grid-column: 1/9;
    grid-row: 3/4;
    text-align: center;
    background-color:#a6c8f6;
    text-decoration: none;
    
}

nav a { 
    width: 100%;
    text-decoration: none;
    color: black;
    font-size: 20px;
    padding: 3rem;
    font-family:monospace;

}

#ul  {
    grid-column: 6/8;
    grid-row: 7/9;
    text-align: left;
    padding-top: 100px;
    
    background-color: #dcc9ad;
}
h2 {
    grid-row: 6/7;
    grid-column: 6/9;
    text-align: center;
    font-family: fantasy;

}

table {
    width: 100%;
    border: solid 2px #a6c8f6;
    border-collapse: collapse;
}
th {
    text-align: center;
    background-color: #dcc9ad;
}
td {
    text-align: left;
}
th,td {
    border: solid 2px #a6c8f6;
    font-weight: bold;
}

h3 {
    text-align: center;
}

h4 {

    text-decoration: none;
    font-size: 25px;
    grid-column: 4/6;
    grid-row: 3/4;
}

a {
    text-decoration: none;
    color: black;
}

@media only screen and (max-width:992px) {
#wrapper {
    column-width: 768px;
}

#ul {
    grid-row: 5/7;
    grid-column: 5 / 9;
}

#cityhall {

    grid-column: 5/9;
    grid-row: 7/9;

}





}

@media only screen and (max-width:768px) {
    
    #wrapper { 
        column-width: 750px;
        padding: 0 0 0 0;
    }
    
    #court,#cityhall, #about, #price {
        display: none;
    }

    #about {
        clear: left;
    }

    h1 {
        font-size: 15px;
    }

    h2 {
        font-size: 10px;
    }
    
 
    nav a {
       
        flex-flow: column nowrap;
        font-size: 1em;
        text-align: left;
    }

    #offer {
        grid-column: 2 / 8;
        
        
    }
    nav {
        grid-row: 3 / 4;
        grid-column: 2 / 8;
        text-align: center;
        flex-flow:column nowrap;
    }

    #ul {
        grid-column: 2 / 8;
        grid-row:5/7 ;
        display: none;
        
    }
}
    
    


