/********************************
GENERAL
********************************/

*, *:before, *:after {
  box-sizing: border-box;
}

a {
    text-decoration: none;
    color: cornflowerblue;
    background-repeat: 
}

a:hover,
a:focus {
    color: darkgreen;
}

.selected {
    color: darkgreen;
}

body {
  font-family: 'Roboto', sans-serif;
}


/***** STICKY HEADER */

#content1{            
    display: block;
    padding-top: 106px;  
}
#content2{            
    display: block;
    padding-top: 134px;  
}
#content3{            
    display: block;
    padding-top: 134px;  
}


/********************************
NAVIGATION
********************************/
.header-container {
    width: 100%;
    background-image: linear-gradient(lightblue, white 60%);
    opacity: .93;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.header-container a {
    margin:0 0 .3% 0;
    
}

.title {
    display: block;
    text-align: center;
    font-family: 'Gloria Hallelujah', sans-serif;
    font-size: 2.5em; 
    
}

#navigation {  
    text-align: center;
    font-family: 'Gloria Hallelujah', sans-serif;
    font-size: 2.5em; 
    
}

nav ul {
    list-style: none;
    margin: 0 auto;
    margin-top: -25px;
}


nav li {
    display: inline-block;
    margin-right: 22px;
}

nav a {
    font-family: 'Gloria Hallelujah', sans-serif;
    display: block;
    font-size: 20px;
    font-weight: 400;
    padding-right: 10px;
}


/*************************
HOUSE PHOTO - HOME
*************************/

#housephoto {
    background: url("../img/FIHouseNight.JPG") no-repeat;
    background-position: center bottom;
    background-size:  cover;
    height: 450px;
    max-width: 100%;
}

#house {
    display: block;
    padding-top: 305px;
    color: white;
    opacity: .8;
    text-align: center;
    font-family: 'Gloria Hallelujah', sans-serif;
    font-size: 1.8em;
}



/*************************
BEACH PHOTO - ACTIVITIES
*************************/

#phototwo {
    background: url("../img/sidebeach.JPG") no-repeat;
    background-position: center bottom;
    background-size:  cover;
    height: 400px;
    max-width: 100%;
}

#welcome2 {
    display: block;
    font-size: 1.8em;
    color: white;
    opacity: .8;
    padding-top: 180px;
    text-align: center;
    text-shadow: 0px 2px 1px rgba(0,0,0,.8);
    font-family: 'Gloria Hallelujah', sans-serif;
    margin: 0;
}


/*************************
SUNSET PHOTO - PHOTOS
*************************/

#sunsetphoto {
    background: url("../img/SunsetMain.jpg") no-repeat;
    background-position: center bottom;
    
    height:380px;
    max-width: 100%;
}

#youshould {
    display: block;
    font-size: 1.8em;
    color: white;
    opacity: .8;
    padding-top: 180px;
    text-align: center;
    text-shadow: 0px 2px 1px rgba(0,0,0,.8);
    font-family: 'Gloria Hallelujah', sans-serif;
    margin: 0;
}


/*************************
MAIN CONTENT
*************************/

#main {
    width: 80%;
    margin: 0 auto;
    max-width: 940px;
    padding-top: 10px;
}

#lower-main{
    margin-top: -29px;
    background-image:radial-gradient(white,lightblue 250%);
}

#pay {
    text-align: center;
    font-size: 1.8em;
    font-weight: 500;
}

#payment li {
    list-style-position:inside;
    padding-left: 0;
    margin-left: 0;
}

#payment li:not(#week){
    list-style: none;
}

span {
    margin-left: 5px;
    color:dimgray;
}

ul:not(#navi) {
    margin-bottom: 45px;
}


/*************************
FOOTER
*************************/

footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: lightgrey;
    line-height: 25px;
}

footer span {
    color: #333;
}


/*************************
PHOTO GALLERY
*************************/

#gallery {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

#gallery li:nth-child(6){
    margin-bottom: 55px;
}

#gallery li {
  float: left;
  width: 45%;
  margin: 2.5%;
  
}

#gallery li:nth-child(5) {
    clear:left;
}

#gallery li a p {
  margin: 0;
  padding: 5%;
  font-size: 0.75em;
  color: #9da3a7;

}


/*************************
LIGHTBOX
*************************/

#overlay {
    height: 150%;
    width:100%;
    background: rgba(0,0,0,.9);
    position: absolute;
    top:0;
    left:0;
    display: none;
    text-align: center;
}

#overlay p {
    color: white;
}

#overlay img {
    margin-top: 100%;
}

#facebook {
    height:20px;
    margin-left: 13px;
    background: white;
    position: fixed;
    bottom: 2.5px;
    border-radius: 30%;
    border: 1px solid darkgray;
    
}

.paypal {
    display: inline-block;
}

ul li span {
    color: darkslategray;
}

#payment {
    padding-bottom: 25px;
}

#availability {
    margin-left: 16px;
}

/********************************************************************
RESPONSIVE
*********************************************************************/

@media (min-width: 769px) {
    
    #content1 {            /* fixed header */
    padding-top: 40.3px;
    }

    #content2 {            
    display: block;
    padding-top: 81.3px;  
    }
    #content3 {            
    display: block;
    padding-top: 81.3px;  
    }
    
    #availability {
    margin-left: 76px;
    }
    
    #phototwo,
    #housephoto,
    #sunsetphoto    {
        height: 700px;
    }
    
    #welcome2 {
        padding-top: 270px;
        font-size: 2.2em;
    }
    
     #house {
        padding-top: 350px;
         font-size: 2.2em;
    }
    
    #youshould   {
        padding-top: 330px;
        font-size: 2.0em;
    }
    
    .title {
        display: inline-block;
        float: left;
        padding-left: 6%;
    }
    
    nav {
        float: right;
        text-align: center;
        margin-right: 3%;
    }
    
    nav ul {
        margin-top: 0;
    }
    
    #gallery li {
          float: left;       
    }

    #gallery li a p {
          padding: 4%;
          font-size: 0.75em;     
    }
    
    #overlay {
        height: 190%;
        width: 100%;
        background: rgba(0,0,0,.9);
        position: absolute;
        top: 0;
        left: 0;  
        display: none;
        text-align: center;
    }

    #overlay  {
        height: 250%;
    }

    #overlay img {
        margin-top: 100%;
    }
    
}

    
@media (min-width: 1024px) {
    #phototwo,
    #housephoto,
    #sunsetphoto    {
        height: 800px;
    }
    
    #availability {
    margin-left: 136px;
    }
    
    #welcome2 {
        padding-top: 350px;
        font-size: 2.7em;
    }
    
    #house {
        padding-top: 420px;
        font-size: 2.7em;
    }
    
    #youshould   {
        padding-top: 480px;
        font-size: 2.2em;
    }
    
    nav ul {
        margin-right: 45px;
    }
    
    #overlay img {
    margin-top: 100%;
    }

/*************************
Clearfix
*************************/

.clearfix:after {
  content: " ";
  display: table;
  clear: both;
}

