* {
  box-sizing: border-box;
}

body {
  /*font-family: "Inconsolata", monospace;*/
}
#app {
  margin-left: auto;
  margin-right: auto;
  background-color: #BCDBEA;
  width:90%;
  border-left:1px dashed white;
  border-right:1px dashed white;
}
.apps {

}
.mejdu {
  height:50px;
}

.post {
  cursor: pointer;
  margin-bottom: 50px;
  text-align: center;
  padding: 0 40px;
}
@media screen and (max-width:499px){
  .post {
    margin-left:5px;
    margin-right:5px;
    padding: 0 1px;
    padding-top:3px;
    border-top:1px dotted #F8BF02;
    border-bottom:1px dotted #F8BF02;
  }
}

.post__date {
  display: block;
  width: 30%;
  /*font-family: "Inconsolata", monospace;*/
  font-size: .5em;
  margin-top: 10px;
  color: #2E4D97;
  font-weight: normal;
  /*border-bottom:1px dashed white;*/
}
.post__title {
  font-family: 'Exo 2', sans-serif;
  color:#2E4D97;
  text-shadow: 1px 1px 1px white;
  /*font-family: "Nunito", sans-serif;*/
  font-size: 2em;
  padding: 12px 30px;
  font-weight: bold;
  position: relative;
}
.post__title:after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  z-index: -1;
  transition: width .4s ease 0s;
  content: "";
  background: rgba(255,255,255,0.6);
  border-top:2px dashed #2E4D97;
  border-bottom:2px dashed #2E4D97;
  transform: skew(-20deg);
}
.post__title:hover:after {
  width: 100%;
}
.post:last-child {
  margin-bottom: 0;
}

.post-list {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 30px 0;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all .3s ease 0s;
  transform: translateY(0px);
  visibility: visible;
}

@media screen and (max-width:499px){
  .post-list {
    display: block;
  }
 
}

.post-list--hide {
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
}

.post-view {
  transition: .3s ease 0s;
  width: 100%;
  /*min-height: 100vh;*/
  height:50%;
  /*position: absolute;*/
  left: 0;
  top: 30px;
  display: flex;
  align-items: flex-end;
  /*align-items: center;*/
  justify-content: center;
}
.post-view__date {
  font-size: 2vw;
  color:#D5D5D5;
  text-shadow: 1px 1px 1px black;
  /*font-family: "Inconsolata", monospace;*/
  margin-bottom: 60px;
  transform: translateY(45px);
  transition: transform .4s ease 0s;
}
.post-view__image {
  position: fixed;
  transition: all .5s ease 0s;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  width: 800px;
  background-size: cover;
  background-position: top;
  overflow: hidden;
  height: 450px;
  top: 45%;
  margin-top: -225px;
}
@media screen and (max-width:820px){
  .post-view__image {
    width:600px;
    height: 350px;
  }
}
@media screen and (max-width:730px){
  .post-view__image {
    width:500px;
    height: 300px;
  }
}
@media screen and (max-width:630px){
  .post-view__image {
    width:400px;
    height: 250px;
  }
}
@media screen and (max-width:499px){
  .post-view__image {
    width:300px;
    height: 250px;
  }
}

.post-view__container {
  position: absolute;
  top: 100px;
  width: 100%;
  max-width: 900px;
  z-index: 99;
  opacity: 0;
  transition: all .3s ease 0s;
}
.title_header_new {
  background-color: rgba(255,255,255,0.35);
  padding-left: 6px;
  border-right:1px dashed #FAC002;
  border-left:1px dashed #FAC002;
  border-top:1px dashed #FAC002;
}
.post-view__content {
  background: #fff;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(85px);
  transition: transform .3s ease 0s;
}
.post-view__content p {
  font-size: 1.125em;
  margin-bottom: 30px;
  line-height: 25px;
}
.post-view__content p:last-child {
  margin-bottom: 0;
}

.post-view__content img{
  max-width:89%;
}


.post-view--active .post-view__image {
  background-position: top;
  transition: all .6s ease 0s;
  width: 100%;
  height: 520px;
  margin-top: 0;
  top: 0;
}

.post-view__title {
  font-size: 2.875em;
  font-weight: bold;
  color:#FAC002;
  text-shadow: 1px 1px 1px black;
  /*font-family: "Nunito", sans-serif;*/
  margin: 30px 0 15px 0;
  transform: translateY(45px) scaleY(0);
  transition: transform .3s ease-out 0s;
}
@media screen and (max-width:499px){
  .post-view__title {
    font-size: 2.2em;
  }
}

.post-view--ready .post-view__container {
  opacity: 1;
}
.post-view--ready .post-view__date, .post-view--ready .post-view__content {
  transform: translateY(0px);
}
.post-view--ready .post-view__title {
  transform: translateY(0px) scaleY(1);
}

.post-controls {
  position: fixed;
  right: 20px;
  flex-direction: column;
  top: 56px;
  display: flex;
}

.post-control {
  cursor: pointer;
  font-size: 1.375em;
  background: #fbf9bd;
  margin-bottom: 15px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 43px;
  transition: all .3s ease 0s;
}
.post-control:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.post-control--close {
  font-size: 2em;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}
.post-control--close:hover {
  background: #000;
}

@media only screen and (max-width: 991px) {
  html {
    font-size: 13px;
  }

  .post-controls {
    /*bottom: 10px;*/
    z-index: 99;
    top: 10px;
    /*top: auto;*/
    background: rgba(0, 0, 0, 0.7);
    padding: 0 5px;
    justify-content: center;
    margin: auto;
    border-radius: 30px;
    height: 55px;
    align-items: center;
    flex-direction: row-reverse;
  }

  .post-control {
    margin: 0 5px;
  }
  .post-control--close {
    background: #000;
  }

  .post-view__container {
    padding: 0 30px;
  }
}


/* header logo */
.headerLogo{
  width:303px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 5px;
}
.headerLogo img{
  width:300px;
}
@media screen and (max-width:414px){
  .headerLogo{
    width:200px;
  }
  .headerLogo img{
    width:200px;
  }
}
/* END header logo*/

/* header logo */
/** title */
.block__title_con {
  color:#2E4D97;
  text-shadow: 1px 1px 1px white;
  position: absolute;
  margin-left:1.2%; 
  width:150px;
  margin-top:-33px;
  background-color: rgba(46,77,151,0.2);
}
.title_con{
  width:150px;
}

.title_con h1 {
   font-size: 5vw;
   /*font-family: 'Comfortaa', cursive;*/
   font-family: 'Exo 2', sans-serif;
  /*text-align: left;*/
  padding: 0 0 6px 10px;
  border-left: 10px solid #2E4D97;
  border-bottom: 2px solid #2E4D97;
}
@media screen and (max-width:414px){
  .title_con h1 {
    font-size: 26px;
  }
}
/* END header logo */