block_card
html, body {
width: 100%;
}

@font-face{

  font-family: Heinrich;
  src: url(../font-awesome-4.7.0/fonts/HeinrichScript.ttf) format("truetype") ;
 
}
@font-face{

  font-family: Magnolia;
  src: url(../font-awesome-4.7.0/fonts/Magnolia.ttf) format("truetype") ;
 
}
@font-face{

  font-family: Lucida Bright;
  src: url(../font-awesome-4.7.0/fonts/Lucida Bright.ttf) format("truetype") ;
 
}

@font-face{

  font-family: lato black;
  src: url(../font-awesome-4.7.0/fonts/latoblack.ttf) format("truetype") ;
 
}

@font-face{

  font-family: lato light;
  src: url(../font-awesome-4.7.0/fonts/latolight.ttf) format("truetype") ;
 
}
body{
	z-index: 1;
  background-image: url(../img/fon.jpg); 
  height: 560px; 
  background-color: transparent;
  
   background-repeat: no-repeat;
   background-position: center top;
   background-attachment: fixed;
   background-position: 50% 0;
   background-size: cover;
   margin: 0;
   margin-top: -25px;
   position: relative;
}


#meny{
	padding: 0;
	margin:0 auto;
}

#fixed-top{
  padding:0px;
	background-color:rgb(255, 233, 176);
}

#navbarDropdown{
  background-color:rgb(255, 233, 176);
	font-size: 20px;
  padding-right:35px;
  margin-top: 10px;
}

#navbarDropdown2{
  background-color:rgb(255, 233, 176);
  font-size: 14px;
  padding-right:35px;

  }

#TX_meny2:hover{
  width:100%;
  background-color: rgb(250, 226, 130);
}


#TX_meny{
	font-size: 20px;
	margin-top: 10px;

}


#navbarSupportedContent{
  padding:0px;
	margin-left:270px;
}

#li_meny{ 
	padding-right:35px;
 	
}

#shap1{

   background-color: transparent;
   background-repeat: no-repeat;
   background-position: center top;
   background-attachment: fixed;
   background-position: 50% 0;
   background-size: cover;
	 background-image: url(../img/black.jpg);
	 height: 600px;
	 margin-top:-33px;
}





#button_avt{
	margin-top: 20px;
}

#A_But{
  color:white;
  text-decoration: none;
}

#A_but:hover{
  color: white;
}






#li_meny{ 
	padding-right:35px;
 	
}

#shap1{
	background-image: url(../img/black.jpg);
	height: 600px;
	margin-top:-33px;
}
#shap2{
  margin-top: 150px;
  background-color: rgba(0, 0, 0, 0.5);
  width:720px;
  text-align: center;

}
#Tx_shap2{
	font-family: Heinrich;
  font-size: 40px;
  color:white;
  padding-left: 10px;
}

#block_avtor{
	padding-top: 100px;
	padding-left: 70px;
	text-align: center;
}

#Nam_avtora{

}
#Op_avtor{

}


#img_avtor{
  width: 350px; height: 250px;
  border: 2px groove black;
  border-radius: 25% 0 / 25%;

}
#block_card{
 
	text-align: center; 
	margin-left: 80px;
	margin-bottom: 20px;
}


#block_card2{

  border:1px solid black;
  width: 100%;
  height: 400px;
}


#block_card2{
   margin:0 auto;
   background-color: transparent;
   background-repeat: no-repeat;
   background-position: center top;
   background-position: 50% 0;
   background-size: cover;
	 width: 220px;
	 height: 340px;
}



#block_card2:hover{

	box-shadow: 5px 10px rgba(0, 0, 0, 0.3);
  -ms-transform: rotate(10deg);
  -webkit-transform: rotate(10deg);
  -o-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  transform: rotate(10deg);
}

#button{
	margin-top: 35px;
	margin-bottom: 60px;
}


#block_jour{
  
}

#block_card_jour{
  text-align: center; 
}

#button_jour{
  margin-right: -40px;
  margin-top: 35px;
  margin-bottom: 120px;
}

.flipcard {
  width: 300px; 
  height: 340px;
  position: relative;
  perspective: 500px;
  float:center;
  

}

.flipcard:hover .front, .flipcard.front{
  transform: rotateY(180deg);
}
.flipcard:hover .back, .flipcard.back{
  transform: rotateY(0deg);
}
.flipcard .back{
  transform: rotateY(-180deg);
}
.flipcard .front, .flipcard .back
{
  border-radius: 10%;
  position:absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.5s ease-in;
  color: white;
  background-image: url(../img/chaldini.png);
  background-repeat: no-repeat;
   background-position: center top;
   background-position: 50% 0;
   background-size: cover;
  padding: 10px;
  backface-visibility: hidden;
}




#avtor_front{
  width:280px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 0% 0% 25% 25%; 
  color: white;
  text-align: center;
  margin-top: 280px;
}

#avtor_back{
  background-color: rgba(0, 0, 0, 0.5);
  margin-top: 100px;
  text-align: center;

}

#back{
  position:absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.5s ease-in;
  color: white;
  background-image: url(../img/knig.png);
  background-repeat: no-repeat;
   background-position: center top;
   background-position: 50% 0;
   background-size: cover;
  padding: 10px;
  backface-visibility: hidden;
}



#footer{

	background-color:black;
	padding-bottom: 0px;
  margin-bottom: 0px;

}

#Tx_foot{
  color:white;
  font-size:15px;
  margin-top: -40px;
  margin-bottom: 0px;

}


#Journ_img{
  width: 600px;
  border:3px solid black;

}


#Tx_naz_jou{
  font-size: 30px;
  font-family: Lucida Bright;
  padding-bottom: 30px;
}


#A_{

  text-decoration: none;
  color: black;
}


#A_:hover{
  
  color: black;
  
}
