/*
    BEGIN: Header
*/

body{
    background: url('vidar-nordli-mathisen-t4mhhuec_sE-unsplash.jpg') no-repeat;
    background-size: cover;
}

header{
    position: sticky;
    top: 0;
    height: 80px;
    opacity: .9;
    background: linear-gradient(0deg, #eee, white);
    z-index: 7000;
}
#projectTitle{
    display: inline-block;
    margin-top:15px;
    color:#5a5858;
    margin-left: 20px;
}
#projectTitle a{
    color: #5a5858;
    text-decoration: none;
}
#publicSiteLinks{
    display: inline-block;
    @media (min-width: 270px){
        display: none;
    }
    @media (min-width: 600px){
        display: block;
    }
    @media (min-width: 1247px){
        display: inline-block;
    }
    
    margin-top: 5px;
    width:700px;
    padding: 27px 20px 20px 20px;
    font-style:normal;
}

#publicSiteLinks .publicSiteLinkContainer{
    display: inline-block;
    margin: 0 25px 0 0;
    list-style: none;
    color: #594e4e;
    font-weight: 500;
    font-size: 16px;
}

#publicSiteLinks .publicSiteLinkContainer .publicSiteLink{
    color: #594e4e;
    text-decoration:none;
}


@media (max-width: 1247px) and (min-width: 320px) {
    header{
        height: 145px;
    }

    #projectTitle{
        display: block;
        text-align: center;
        
    }

    #publicSiteLinks{
        display: block;
      
        width: 100%;
        text-align: center;
    }

    /* Share your experience  */
    #poemsContainer h2{
        margin-top: 30px !important;
    }

}

/*
    END: Header
*/




/*
    BEGIN: Featured Poems Section
*/

main{
    margin: 0 auto;
    
    @media (min-width: 270px){
        width: 300px;
    }
    @media (min-width: 600px){
        width: 353px;
    }
    @media (min-width: 1247px){
        width: 1200px;
    }
    padding:0;
    overflow: hidden;
}

#poemsContainer{
    float: left;
    margin-left: 15px;
    @media (max-width: 600px){
        float: none;
        margin-left: 0;
    }
}

#pageContainer{
    margin-left: 20px;
    margin-right: 20px;
}
#pageContent{
    padding:30px;
    margin-top:33px;
    background-color: #f9f9f9;
    box-shadow: 0 0 11px 0px #dcdada; 
    min-height: 300px;
    border-radius: 5px;
    @media (min-width: 0px) and (max-width: 500px) {
        text-align: center;
    }
   
}

h2{
    text-align: center; 
    margin-top: 30px; 
    color:white;
    text-shadow: 0 0 7px #000;
}

#poems{
    position: relative;
    border-radius: 5px;
    width:800px; 
    text-align: center;
    opacity: .95;
    @media (min-width: 270px) and (max-width: 599px) {
        width: 300px;
    }
    @media (min-width: 600px) and (max-width: 1246px) {
        width: 327px;
    }
    

    list-style-type: none; 
    padding: 30px;
    margin: 0 auto; 
    margin-top:33px; 
    background-color: #f9f9f9;
    box-shadow: 0 0 11px 0px #dcdada;
    z-index: 5000;
}

#poems .poem{
    margin-bottom: 20px;
    border-bottom: 1px solid #dedddd;
    padding-bottom: 25px;
}

#poems .poem:last-child{
    border-bottom: none;
}



#book{
    @media (max-width: 1246px){
        display: none;
    }
    position: absolute;
    top: 428px; 
    height: 350px; 
    width: 300px; 
    border: none; 
    opacity: .95;
    font-size: 30px;
    box-shadow: 0 0 11px 0px #dcdada;
    text-shadow: 0 0 5px #676664;
    color: #372001;
    background-color: white;
    text-align: center;
    padding-top: 50px;
}
/*
    END: Shares Section
*/



@media (max-width: 1246px) {
    #projectTitle{
        margin-top: 0;
        padding-top: 20px;
    }  
}

#bookContainer{
    @media (min-width: 600px) {
        float:left; 
    }
}

.linkImage{
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 20px;
 
}

.linkImageBorderRadius{
    border-radius: 50%;
}

.linkImageSize{
    width:150px;
}

.photo{
    cursor: pointer;
}

.photoThumbnail{
    height: 400px;
    @media (min-width: 0px) and (max-width: 1024px) {
        width: 200px;
        height: auto;
    }
}

.photoFull{
    background-color: white;
    height: 80vh;
    z-index: 70000000;
}

.photoFrame{
    border: 1px #eee solid;
    box-shadow: 0 0 9px 0px #dcdada;
    padding: 2px;
}

.photoContainer{
    position: relative;
    display: inline-block;
}

.photoLabel{
    position: absolute;
    bottom: 0;
    padding: 10px;
    background-color: #eee;
    opacity: .7;
    font-weight: 700;
    width: 100%;
    text-align: center;
    z-index: 10000000;
}

.show{
    display: block;
}

.hide{
    display: none;
}

.imageZoomBox{
    background: linear-gradient(rgba(30, 30, 30, .7), #000 1810%);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 700000000000;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (min-width: 0px) and (max-width: 1024px) {
        display: none;
    }
}

footer{
    text-align: center;
    padding: 50px 0 20px 0;
    color: white;
    text-shadow: 0 0 7px #000;
}

footer a{
    color: white;
    text-decoration: none;
}

.fa-youtube-square, .fa-soundcloud {
    float: right;
    margin: 20px 20px 0 0;
    font-size: 40px;
    color: #5a5858; 
    @media (min-width: 0px) and (max-width: 1024px) {
        display: none; 
    }
}

.fa-times{
    text-shadow: 0 0 7px #000; 
    font-size:50px;color: white;
    vertical-align: top;
    margin-left: 10px;
    margin-top: -25px;
    cursor: pointer;
}

.youtube-video{
    width: 560px;
    height: 315px;
    @media (min-width: 0px) and (max-width: 1024px) {
        width:200px;
    }

}

#appLoaderIcon {
    display: block;
    margin-top: 100px;
    text-align: center;
    font-size: 100px;
    color: white;
    animation: rotation 4s linear infinite;
}
  
@keyframes rotation {
    100% {
      transform: rotate(360deg);
    }
}


#poetry-picture{
    float:left;
    @media (min-width: 0px) and (max-width: 1024px) {
        display: block;
        float: none;
        margin: 0 auto;
    }
}
