@font-face {
    font-family: cyrillic-old ;
    src: url('/fonts/Cyrillic-Old.otf') ;
}

body {
	font-family: sans-serif, "cyrillic-old" ;
	background: rgba(70, 80, 0, 0.5);
	background: rgba(171, 177, 156);
	color: #110000 ;

	@media (min-width: 768px) {
		body {
			font-size: 16px;
		}
	}
}

main {
	max-width: 800px ;
	margin: auto ;
}

img {
	max-width: 100% ;
	height: auto ;
}

a {
        color: rgb(173,216,230);
        color: rgb(200,0,0);
}

header h1 {
	text-align: center ;
}

h1 {
	font-family: "cyrillic-old" ;
	font-weight: bold ;
	font-size: 40px;
	text-align: center ;
}

h2 {
	font-family: "cyrillic-old" ;
	font-weight: bold ;
	font-size: 25px;
	text-align: center ;
}

footer {
	text-align: center ;
	clear: both ;
}

/* For TAGLIST.HTML */
.taglist {
	text-align: center ;
	clear: both ;
}

/* For NEXTPREV.HTML */
#nextprev {
	/* The container for both the previous and next articles. */
}
#prevart {
	float: left ;
	text-align: left ;
}
#nextart {
	float: right ;
	text-align: right ;
}
#nextart,#prevart {
	max-width: 33% ;
}


.mobile {
	display: none;
}

@media screen and (max-width: 768px){
	.mobile{
		display: block;
	}
	.desktop{
		display: none;
	}
}


.container-top {
 display: flex;
 align-items: start;
 grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
 column-gap: 5px;
}

.container-top-ru {
 display: grid;
 align-items: start;
 grid-template-columns: 1fr 1fr 1fr;
 column-gap: 5px;
 text-align: center;
}

.text {
  font-size: 17px;
}

.container-two {
 display: grid;
 justify-content: space-between ;
 align-items: center;
 grid-template-columns: 1fr 1fr;
 column-gap: 5px;

	@media (min-width: 768px) {
		.container-two {
			display: grid;
		}
	}
}

.container-three {
 display: grid;
 align-items: center;
 grid-template-columns: 1fr 1fr 1fr;
 column-gap: 5px;
}

.container-four {
 display: grid;
 align-items: center;
 grid-template-columns: 1fr 1fr 1fr 1fr;
 column-gap: 5px;
}

.container-five {
 display: grid;
 align-items: center;
 grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
 column-gap: 5px;
}

.image-text {
	position:absolute;
	z-index:1;
	max-width: 800px ;
}

.image-center {
	position:absolute;
	z-index:0;
	max-width: 800px ;
}

.cyrillic {
	font-family: "cyrillic-old" ;
	font-size: 30px ;
	font-weight: bold ;
}


.button {
  background-color: red;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}
















.text-overlap {
	position: relative;
	text-align: center;
	color: white;
}

.left-head {
	position: absolute;
	top: 8px;
	left: 16px;
}

.left-par {
	position: absolute;
	bottom: 8px;
	left: 16px;
}















/*
RESPONSIVE CSS3 SLIDE CAROUSEL GALLERY
http://stackoverflow.com/a/34696029/383904
*/

.CSSgal{
  position: relative;
  overflow: hidden;
  height:   100%; /* Or set a fixed height */
}

/* SLIDER */
.CSSgal .slider{
  height:      100%;
  white-space: nowrap;
  font-size:   0;
  transition:  0.8s;
}

/* SLIDES */
.CSSgal .slider > *{
  font-size:       1rem;
  display:         inline-block;
  vertical-align:  top;
  height:          100%;
  width:           100%;
  background:      none 50% no-repeat;
  background-size: cover;
}

/* PREV/NEXT, CONTAINERS & ANCHORS */
.CSSgal .prevNext{
  position: absolute;
  z-index:  1;
  top:      50%;
  width:    100%;
  height:   0;
}
.CSSgal .prevNext > div+div{
  visibility: hidden; /* Hide all but first P/N container */
}
.CSSgal .prevNext a{
  background:  #fff;
  position:    absolute;
  width:       40px;
  height:      40px;
  line-height: 40px;
  text-align:  center;
  opacity:     0.7;
  text-decoration:   none;
  -webkit-transform: translateY( -50% );
          transform: translateY( -50% );
}
.CSSgal .prevNext a:hover{
  opacity: 1;
}
.CSSgal .prevNext a+a{
  right: 0px;
}

/* NAVIGATION */
.CSSgal .bullets{
  position:   absolute;
  z-index:    2;
  bottom:     0;
  padding:    10px 0;
  width:      100%;
  text-align: center;
}
.CSSgal .bullets > a{
  display:         inline-block;
  width:           20px;
  height:          20px;
  line-height:     20px;
  text-decoration: none;
  text-align:      center;
  border-radius:   50%;
  background:      rgba(255,255,255,1);
}
.CSSgal .bullets > a+a{
  background: rgba(255,255,255,0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover{
  background: rgba(0,255,255,0.9);
}

/* ACTIVE NAVIGATION ANCHOR */
.CSSgal >s:target ~ .bullets >* { background: rgba(255,255,255,0.5); }
#s1:target ~ .bullets >*:nth-child(1){ background: rgba(255,255,255,  1); }
#s2:target ~ .bullets >*:nth-child(2){ background: rgba(255,255,255,  1); }
#s3:target ~ .bullets >*:nth-child(3){ background: rgba(255,255,255,  1); }
#s4:target ~ .bullets >*:nth-child(4){ background: rgba(255,255,255,  1); }

/* PREV/NEXT CONTAINERS VISIBILITY */
.CSSgal >s:target ~ .prevNext >* { visibility:  hidden; }
#s1:target ~ .prevNext >*:nth-child(1){ visibility: visible; }
#s2:target ~ .prevNext >*:nth-child(2){ visibility: visible; }
#s3:target ~ .prevNext >*:nth-child(3){ visibility: visible; }
#s4:target ~ .prevNext >*:nth-child(4){ visibility: visible; }

/* SLIDER ANIMATION POSITIONS */
#s1:target ~ .slider{ transform: translateX(   0%); -webkit-transform: translateX(   0%); }
#s2:target ~ .slider{ transform: translateX(-100%); -webkit-transform: translateX(-100%); }
#s3:target ~ .slider{ transform: translateX(-200%); -webkit-transform: translateX(-200%); }
#s4:target ~ .slider{ transform: translateX(-300%); -webkit-transform: translateX(-300%); }
