/*
Theme Name: Voxpop
Author: Karina Zavidova
Description: Online gallery theme
Version: 0.0.1
Tags: culture
*/

@font-face {
font-family: Compagnon;
src: url(/wp-content/themes/fonts/Compagnon-Bold.woff2);
font-weight: normal;
}

/*general styling*/
html, body {
  height: 100%;
  margin: 0;
  background-color: white;

}


/*text styling*/
h1, h2, h3 {
  font-family: "Compagnon", Arial, sans-serif;
}
p, figcaption, .wp-block-verse, .about-post
{
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 200;
  line-height: 1.7;
  padding-bottom: 35px;
}
/*styling for poems*/
.wp-block-verse {
  margin-left: 35%;
}
a {color: black;}
/*header styling goes here*/
h1 a {
  text-decoration: none;
  font-size: 1.5em;
}
h1 {
  width: 100%;
 /* background-color: white;
  border-bottom: 15px solid white;*/
}
.blog-header {
  position: fixed;
  width: 100%;
  top: 15px;
  left: 45px;
  max-height: 200px;
}
.blog-header h2 a{
text-decoration: underline;
}
/*homepage styling goes here*/
.row-frontpage{
position: fixed;
top: 50%;
left: 20%;
/* bring your own prefixes */
transform: translate(-20%, -50%);
width: auto;
/*initially width 10px*/
margin-left: 20px;
margin-right: 20px;
height:80%;
}
.random {
position: absolute;
top: 100px;
left: 100px;
padding: 10px;
}
.random a {
width: 100px;
height: 100px;
}
.thumbnail, .excerpt {
width: 250px;
height: auto;
}
.thumbnail img {
width: 100%;
height: auto;}
.excerpt a {
text-decoration: none;
}
.excerpt {
width:250px;
height:auto;
}

.excerpt p {
    margin:10px;
    line-height:1.5;
    padding-bottom:5px;
}

/*footer style goes here*/
.blog-footer {
height: 70px;
bottom:20px;
margin-left: 20px;
position: fixed;
background-color: transparent;
}
.blog-footer img {
height: 70px;
width: auto;
}

/*"About" page styling*/
.row-about {
  height: 100%;
  position: relative;
  margin-top:100px;
}
.col-about {
  margin: 0;
  height: 700px;
  overflow-y: scroll;
  position: absolute;
}
.about-post {
  margin-left: 45px;
  width: 50%;
}

.about-post p {
 padding-bottom:1px;   
}
/*here's the styling for the links on about page*/
.wp-block-social-links {
  position: fixed;
  bottom: 0;
  right:0;
  margin-right:45px;
  background-color: transparent;
}

/*decorative elements for the "About" page*/
.element {
    position: absolute;
    top: 100px;
    left: 100px;
    width: 30px;
    height: 30px;

}

#c-1 {
background-color:#B0D0EA;
}
#c-2 {
  background-color:#D05C74;
  border-radius:15px;
}
/*t is for triangle*/
#t-2 {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom:30px solid #D05C74;
  width: 0;
  height: 0;
}

#c-3, #circ-3 {
  background-color:#F2937E;
}
#circ-3 {
 border-radius:15px; 
}

#c-4 {
  background-color:#10BF9D;
}

#t-4 {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom:30px solid #10BF9D;
  width: 0;
  height: 0;
}



/*single post styling*/
.row {
  margin-top: 60px;
  /*height: 850px;*/
  height:100%;
  overflow:hidden;
  /*overflow-y: scroll;*/
}
.blog-post-single {
height: 100%;
overflow: scroll;
width: 80%;
margin: 0 auto;
margin-top: 10px;
margin-bottom: 200px;
/*added this aug 19*/
z-index:4;
position:relative;

}


.blog-post-single h2 {
width: 60%;
margin: 0 auto;
padding-bottom: 20px;
text-align: right;
padding-top: 30px;
}
.blog-post-single figcaption {
width: 100%;
font-style: italic;
height: auto;
margin-bottom: -17px;
}
.blog-post-single p {
  margin-top: 20px;
}
.blog-post-single .wp-block-image , .blog-post-single p {
  width: 60%;
  min-width: 600px;
  margin: 0 auto;
}
.wp-block-image img{
width: 100%;
height: auto;
}

/*video styling*/
iframe {
max-width: 60%;
height: auto;
margin: 0 auto;
padding-left: 20%;
margin-top: -10%;
}
/*audio*/
.wp-block-audio {
  width: 60%;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 50px;
}
/*removing blue border from buttons*/

*:focus {outline:none !important}

.scrolltop {
padding-top: 40px;

}
.go-top {
  border:10px solid #E5E1DC;
  background-color:#E5E1DC;
  text-decoration: none;
  border-radius: 5px;
}

/*pagination*/
.pagination {
  position: fixed;
  width: 100%;
  height: 200px;
  top: 0;
  top:400px;
  font-family: "Compagnon", Arial, sans-serif;
  font-size: 1.5em;
  z-index:2;
}
.pagination a {
  text-decoration: none;
/*added this aug 19*/
position:relative;
z-index:6;
}
.alignleft .alignright {
position: relative;
width: 100%;

}
.alignleft{
/*display: inline-block;*/
margin-left: 45px;
float: left;
}
.alignright{
/*display: inline-block;*/
margin-right: 45px;
float: right;
}

/*styling for smaller screens*/
@media only screen and (max-width: 960px) {
  .wp-block-verse { margin-left: 25%;}
  .blog-header {top: 5px;left: 25px;max-height: 100px; background-color:transparent}
  /*homepage styling goes here*/
  .row-frontpage{
  position: fixed;
  top: 30%;
  left: 10%;
  /* bring your own prefixes */
  transform: translate(-10%, -30%);
  width: auto;
  /*initially width 10px*/
  margin-left: 20px;
  margin-right: 20px;
  height:70%;
  }
  .thumbnail, .excerpt {
  width: 220px;
  height: auto;
  }
  
  /*added 26-08*/
  
 .blog-header {
     position:relative;
     z-index:90;
 }
 .blog-header a {
      position:relative;
      z-index:90;

      background-color:white;
      min-height:20px;
  }
  
.blog-description a {
      position:relative;
      background-color:white;
      z-index:90;

  }
  
  /*here it ends*/
  
  /*footer style goes here*/
  .blog-footer {
  height: 50px;
  bottom:20px;
  margin-left: 20px;
  position: fixed;
}
.blog-footer img {
  height: 50px;
  width: auto;
  }
  /*"About" page styling*/
  .row-about {  height: 100%; position: relative; margin-top:100px;
  }
  .col-about {margin: 0; height: 700px; overflow-y: scroll; position: absolute;
  }
  .about-post {margin-left: 25px; padding-left:20px;
  width: 80%;  }

  /*single post styling*/
  .row {
    margin-top: 60px;
    height: 850px;
    overflow-y: scroll;
  }
  .blog-post-single {
  height: 80%;
  width: 80%;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 200px;
  position:relative;
  z-index:1;
  }
  .blog-post-single h2 {
  width: 60%;
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: right;
  padding-top: 30px;
  }
  .blog-post-single figcaption {
  width: 100%;
  font-style: italic;
  height: auto;
  margin-bottom: -17px;
  }
  .blog-post-single p {
    margin-top: 20px;
  }
  
  .blog-post-single p a {
   position:relative;
   z-index:8;
  }
  
  .blog-post-single .wp-block-image , .blog-post-single p {
    width: 60%;
    min-width: 600px;
    margin: 0 auto;
  }
  .wp-block-image img{
  width: 100%;
  height: auto;
  }
  /*video styling*/
div iframe {
  margin-left: -10%;
}
  iframe {
  max-width: 80%;
  height: auto;
  margin: 0 auto;}

  /*audio*/
  .wp-block-audio {
    width: 60%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  /*pagination*/
  .pagination {
    width: 100%;
    max-height: 50px;
    position: fixed;
    font-family: "Compagnon", Arial, sans-serif;
    font-size: 1.5em;
    margin-top: 40%;
    z-index:2;
  }
  .pagination a {
    text-decoration: none;
    background-color: white;
    border-radius: 20px;
    border: 1px solid black;
    padding-right:10px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 12px;
    position:relative;
    z-index:6;
  }
  .alignleft .alignright {
  position: relative;
  width: 30%;
  }
  .alignleft{
  /*display: inline-block;*/
  margin-left: 45px;
  float: left;
  }
  .alignright{
  /*display: inline-block;*/
  margin-right: 45px;
  float: right;
  }
}

/*styling for phones*/
@media only screen and (max-width: 767.98px) {
  /*single post styling*/
  .row {
    margin-top: 60px;
    height: 850px;
    overflow-y: scroll;
  }
  .blog-post-single {
  height: 80%;
  width: 80%;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 200px;
  margin-top:33px;
  }
  .blog-post-single h2 {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: right;
  padding-top: 30px;
  }
  .blog-post-single figcaption {
  width: 100%;
  font-style: italic;
  height: auto;
  margin-bottom: -17px;
  }
  .blog-post-single p {
    margin-top: 20px;
    width: 60%;
  }
  .blog-post-single .wp-block-image , .blog-post-single p {
    width: 100%;
    min-width: 300px;
    margin: 0 auto;
  }
  .wp-block-image img{
  width: 100%;
  height: auto;
  }

  .pagination {
    width: 100%;
    max-height: 50px;
    position: fixed;
    font-family: "Compagnon", Arial, sans-serif;
    font-size: 1.5em;
    margin-top: 55%;
  }
    .wp-block-verse { margin-left: 15%;}
    


 }
 

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2) {
 
  

  .thumbnail, .excerpt {
  width: 220px;
  height: auto;
  }
 
   


}
