* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

:root {
    font-size: 62.5%;
}

*::after, *::before {
    display: block;
    box-sizing: border-box;
}
  
img {
    max-width: 100%;
}

html{
    height: 100%;
}

body { 
    min-height: 100%;
}


#container {
    border: 1px solid #000;
    max-width:1280px;
    margin: auto;
    
    
}


/*header*/
header {
    height: 230px;
    background-image: url(/images/froyo.jpg);
    background-position: top -150px left 0px; 
    background-size: cover;
     
}

h1 {  
    font-size: 10em;
    font-weight: bold;
    font-family:sans-serif;
    color:#fdfdfd;
    transform: rotate(-15deg);
    width: 500px;
    position: relative;left: 20px; bottom: -50px;
    text-shadow:1px 1px 1px #222;



}

#headerNav{
    height: 70px;
    min-width: 320px;
    float: right;
    position: relative; bottom: -45px;
}

#headerNav > ul{
    height: 70px;
    list-style-type: none;
    display:flex;   
    
}

#headerNav > ul > li{
    text-align: center;
    border: 2px solid #1c60cd;
    margin: 5px;
    height: 60px;
    flex: 1 25%;
    border-radius: 15px;
    background-color: #d3cbcb;
    text-align: center;
    font-weight: bold; 
    
    
}

#headerNav a{
    color: #903beb;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    
    font-size: 14px;
    display: block; 
    width: 100%; height: 100%;
    line-height: 30px;
    text-shadow: 1px 1px  black;
  
}

#headerNav li:hover {
    background-color:#146CF6;
    border: 2px solid #a647da;
    
      

}

#headerNav a:hover {
    color:#f7f8fa;  
}
/*end-header*/

/*div1*/
#div1 {
    display:flex;
    flex-wrap: wrap;
    
    justify-content: center;
}

.div1p {
    margin: 8px;
    font-size: 1.4em;
    

}

#about{
    margin: 10px;
    width: 320px;
    max-height: 200px;
    

}

.map {
    margin: 10px;
    
    width: 260px;
    height: 200px;

}

.mapImg {
    background-image: url(/images/map.gif);
    height: 130px;
    margin: 10px;
    background-size: cover;
    background-position: top -20px left 0px;   
}

/*end-div1*/
 h3{
    font-size: 2.5em;
    text-align: center;
    color: #f2a231;
    text-shadow: 1px 1px 1px #222;
    margin: 5px;
 }

 /*div2*/
 #div2{
    height: 360px;
    width: 100%;
 }
 #div2ul{
    

    width: 880px; 
    position:relative; 
    float:right;
 }

 #div2ul > ul > li{
    
    margin-left: 12px;
    font-size: 1.4em;

 }

 #div2ul > ul > p{
    font-size: 1.4em;
    

 }
 /*end-div2*/

/*footer1*/
#foot1{
    height:80px;
    background-color: #146CF6;
}
#footerNav{
    height: 80px;
    width: 280px;
    float: right;
    position: relative; 
    line-height: -20px;
}
#foot1 > p{
    color: #f7f8fa;
    display: block;
    padding: 8px;
    width: 320px;
    font-size: 2.0em;
    text-shadow: 1px 1px 1px #222;
}
#footerNav > ul{
    width: 220px;
    height: 80px;
    list-style-type: none;
    display:flex;
    content: center; 
    position:  relative; bottom: 38px; 
    float: right;

    
}

#footerNav > ul > li{
    text-align: center;
    border: 2px solid #f7f8fa;
    margin: 10px;
    height: 60px;
    width: 100px;
    padding: 8px;
    border-radius: 15px;
    background-color: #f2b355;
    text-align: center;
    font-weight: bold;
    line-height: 150%;
    
    
    
}

#footerNav a{
    color: #903beb;
    text-align: center;
    text-decoration: none;
    font-size: 1.4em ;
    display: block; 
    width: 100%; height: 100%;
    text-shadow: 1px 1px  black;
  
}

#footerNav li:hover {
    background-color:#df1212;
    border: 2px solid #a647da;
}

#footerNav a:hover {
    color:#f7f8fa;  
}
/*end-footer1*/

/*footer2*/
#foot2{
    height:200px;
}

#foot2 > p, #foot2 > a  {
    width: 100%;
    font-size: 1.4em;
    min-width: 320px;

}

#socMedLinks{
    
    width:180px;
    margin-top: 5px;
    margin-right: 0; margin-left:auto;
    position: relative; bottom: 40px;
    display: flex;
}

#instagram{
    height: 50px; width: 50px;
    margin: 5px;
    
}
#instagram a{
    background-image: url("/images/icons/instagram1.svg");
    background-position: center;
    background-size:cover;
    display: block;
    height: 100%; 
}
#facebook{
    height: 50px; width: 50px;
    margin: 5px;
    
}
#facebook a{
    background-image: url("/images/icons/facebook1.svg");
    background-position: center;
    background-size:cover;
    display: block;
    height: 100%; 
}
#twitter{
    height: 50px; width: 50px;
    margin: 5px;
    
}
#twitter a{
    background-image: url("/images/icons/twitter1.svg");
    background-position: center;
    background-size:cover;
    display: block;
    height: 100%; 
}


/*end-footer2*/

@media screen and (max-width: 850px) {
    header {

        background-image: none;
        background-color:#f2a231;   
    }

    h1{
        transform: none;
        color:#000;
        text-align: center;
        width:100%;
        font-size: 4em;
        position: relative; left: 0px; bottom: 0px;
        padding: 10px;
    }
    #headerNav{
        width: 100%;
    }
    
    #headerNav > ul{
        height: 100px;
        list-style-type: none;
        display:flex;   
        
    }
    
    #headerNav > ul > li{
        height: 100px;
        flex: 1 20%;
        background-color: #f2a231;
        overflow: none;
    }
    
    #headerNav a{
        transform: rotate(-40deg);
        overflow: none;
        border: 1px solid #000;
    }

    /*div1*/
    #div1 {
        display:flex;
        flex-wrap: wrap;
        
        
    }
    .div1p  {
        text-align: center;
        font-size: 2em;
    }

    #about{
        margin: 10px;
        width: 90%;
    }

    .map {
        border-top: 3px solid #146CF6;
        width: 90%;
        height: 400px;
    }

    .mapImg {
        background-image: url(map.gif);
        height:300px;
        margin: 10px;
        background-size: cover;
         
    }

    /*end-div1*/

    #div2 {
        display:none;
    }

    #foot1 {
        height: 100px;
    }

    #footerNav {
        height: 60px;
        width: 100%;
        
    }

    #footerNav > ul {
        position:  relative; bottom: 0px; 
        float: right;
        height: 60px;
        width: 100%;
        
    }

    #footerNav > ul > li{
        height: 40px;
        width: 50%;
        
        
        
        
        
        
    }
}