
@media screen and (min-width: 762px){
body {
    margin: 0; 
    padding: 0;
background-color: black;
}

/*@media screen and (min-width: 1025px){*/
.body_slides{
    list-style:none;
    margin:0;
    padding:0;
    z-index:-2; 
    background:#000;}
.body_slides,
.body_slides:after{
    position: fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;}
.body_slides:after { 
    content: '';
/*    background: transparent url(images/pattern.png) repeat top left;*/
}
 
 
.body_slides li{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    background-size:cover;
    background-repeat:none;
    opacity:0;
    -webkit-animation: anim_slides 12s linear infinite 0s;
    -moz-animation: anim_slides 12s linear infinite 0s;
    -o-animation: anim_slides 12s linear infinite 0s;
    -ms-animation: anim_slides 12s linear infinite 0s;
    animation: anim_slides 12s linear infinite 0s;
}
.body_slides li:nth-child(1){
background-image: url(images/bg.jpg);
}
.body_slides li:nth-child(2){
-webkit-animation-delay: 4.0s;
-moz-animation-delay: 4.0s;
background-image: url(images/bg2.jpg); 
}
.body_slides li:nth-child(3){
-webkit-animation-delay: 8.0s;
-moz-animation-delay: 8.0s;
background-image: url(images/bg3.jpg); 
}
@-webkit-keyframes anim_slides {
0% {opacity:0;}
6% {opacity:1;}
24% {opacity:1;}
30% {opacity:0;}
100% {opacity:0;}
}
@-moz-keyframes anim_slides {
0% {opacity:0;}
6% {opacity:1;}
24% {opacity:1;}
30% {opacity:0;}
100% {opacity:0;}
}
}
li {
    list-style: none outside none;
}
a, p {
    font-family: sans-serif;
}
hr {
 width: 300px; size: 3px; height: 3px; background: orangered;
}
.menu {
    margin-top: 1px;
    float: right;
    display: block;
       width: 75px;
    height: 50px;
    position: relative;
    padding-right: 0px;
    margin: 3px;
}
.eng {
    background-image: url(icon/eng.png);
}
.rus {
    background-image: url(icon/rus.png);
}
.by {
    background-image: url(icon/by.png);
}
.ua {
    background-image: url(icon/ua.png);
}
.pol {
    background-image: url(icon/pol.png);
}
.china {
    background-image: url(icon/china.png);
}

a {
    text-decoration: none;
    color: white;
}
a:hover {
    color:orangered;
      transition: 0.5s;
}
.menu > a {
   display: block;
}
.header {
    top: 0px;
    width: 100%;
    height: 100vh;
     background-size: cover;
    display: flex;
    flex-wrap: wrap;
}
.box {
    box-shadow: 10px 10px 10px;
    height: 150px;
    width: 800px;
    margin-top: 15vh;
    background-color: black;
    opacity: 0.85;
    padding: 1vw;
}
h1 {
   
margin-left: auto;
    margin:auto;
    margin-top: 1vh;
    font-size: 50px;
    font-family:sans-serif;
color: white;
    display: flex;
    flex-wrap: wrap;
}
h2 {
    text-align: center;
    margin: auto;
    margin-top:2vh;
    margin-bottom: 70vh;
    font-size: 30px;
    font-family:sans-serif;
color: white;
    display: flex;
    flex-wrap: wrap;
}
.block1 {
    display: flex;
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 200px;
}
.block1 > .logo1 {
    margin: 0 auto;
margin-top: 0px;
    width: 300px;
    height: 250px;
    position: relative;
    justify-content: space-around;
    background-color: black;
    opacity: 0.9;
      box-shadow: 10px 10px 10px;
}
.logo1 > img {
    padding-top: 5px;
    display: block;
    margin: 0 auto;
}
.logo1 > p { 
    color: white;
    text-align: center;
    font-size: 20px;
    font-family: sans-serif;
}

.block2{
background-color: white;
    margin: 0 auto;
    width: 70%;
    float: left;
min-height:75vh;
}
.block2 > p {
    font-size: 20px;
}
.block2 a {
    font-size: 20px;
    color: orangered;
    font-family: sans-serif;
}
.info {
    box-shadow: inset 10px 10px 10px;
    background-color:white;
    height: auto; 
    position: relative;
    margin: auto;
    margin-top:0px;
    margin-bottom: 0px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;   
}
.text {
    font-size: 20px;
    text-align:left;
    margin-top: 10px;
    margin-left: 45px;
    color: white;
}
.text:hover {
    color: orangered;
    transition: 0.5s;
}
.main {
    padding: inherit;
    background-color: black;
    display: inline-block;
    justify-content: space-around;
    position:relative;
    margin: auto;
    margin-top: 0vh;
    display: flex;
    flex-wrap: wrap;
    width: 100%;  
    height: 50px;
    text-align: center;
}
.program,
.date,
.main2,
.go,
.gomel,
.gallery,
.contact,
.belarus{
    margin: 0;
    margin-top: 5px;
    width: 175px ;
    height: 50px;
   position: relative;
    text-align: center;
}
.main2 {   
    background: url(icon/main.png);
    background-repeat: no-repeat;
}
.program {   
    background: url(icon/program.png);
    background-repeat: no-repeat;
}  
.date {
    background: url(icon/date.png);
    background-repeat: no-repeat;
}
.go {
    background: url(icon/go.png);
    background-repeat: no-repeat;
}
.gomel {
    background: url(icon/city.png);
    background-repeat: no-repeat;
}
.gallery {
    background: url(icon/gallery.png);
    background-repeat: no-repeat;
}

.contact {
    background: url(icon/contact.png);
    background-repeat: no-repeat;
}
.belarus {
    background: url(icon/bel.png);
    background-repeat: no-repeat;
}
.footer {
    position: relative;
    margin: 0 auto;
    margin-top: 0px;
    height: 20vh;
    background-color: black;
    margin-bottom: 0px;
}
.buttom {
     margin: 0 auto;
    justify-content: space-around;
    margin-top: 0vh;
    width: 100%;
    height: 10px;
    background-repeat: no-repeat;
    background-size:auto;
}
.menu2 {
    justify-content: space-around;
    padding: 5px;
    margin-left: 10px;
    width: 260px;
    display: inline-block;
}
h3 {
    color: white;
    padding-top: 5px;
    margin-top: 0px;
    margin-left: 5px;
    font-size: 30px;
}
@media only screen and (min-width: 769px) and (max-width: 1400px) { 
    .main { height: 100px;}
    .block2 {
        width: 95%;
        height: auto;}
}
@media only screen and (min-width: 300px) and (max-width: 440px) {
    ul {
        width: 0px;
        height: 0px;
        margin-top: -25px;
    }
    body {
        margin: 0;
        background-image: url(images/bg4.jpg);
        z-index: 4;
        background-attachment: fixed;
    }

    .header {
        height: auto;
    }
    .box{
        margin-bottom: 25px;
    }
    .menu {
        margin-left: 1px;
        margin-right: 2px;
        width: 50px;
        height: 32px;
    margin-top: 12px;
    float: right;
}  
    .eng {
    background-image: url(icon/eng2.png);
}
.rus {
    background-image: url(icon/rus2.png);
}
.by {
    background-image: url(icon/by2.png);
}
.ua {
    background-image: url(icon/ua2.png);
}
.pol {
    background-image: url(icon/pol2.png);
}
.china {
    background-image: url(icon/china2.png);
}
    .main {
        margin: 0;
        width: 100%;
        height: 200px;
        position: relative;
        background-color: black;
        margin-right: -25px;
    }
    .main > a {
        font-size: 20px;
    }
.block1 {
height: auto;
    display: block;
    width: 80%;
}
.block1 > .logo1{
height: auto;

    width: 100%;
}
     .block2 {
    
        width: auto;
        height:auto;
    margin-top: 0px;
         float: right;
    }
    .block2 > p {
        font-size: 17px;
        padding: 5px;
    }
    .info {
        height: auto;
    }
    .footer {
         margin: 0 auto;
        width: 100%;
        height:230px;
         margin-bottom: 0px;
         position: relative;
    }
    .footer > .bottom{
        width: 100%;
        height: auto;
         margin-bottom:0px;
         position: relative;
    }
    .footer > a {
        font-size: 12px;
    }
   h3 {
        font-size: 18px;
    }
    .box {
        height: 75px;
    }
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 15px;
    }
    
.program,
.date,
.main2,
.go,
.gomel,
.gallery,
.contact,
.pripyat{
    margin: 0;
    margin-top:5px;
    width: 150px ;
    height: 40px;
   position: relative;
    text-align: center;
}
}

@media only screen  and (min-width: 441px) and (max-width: 768px) {
     ul {
        width: 0px;
        height: 0px;
        margin-top: -25px;
    }
    body {
        background-image: url(images/bg4.jpg);
        z-index: 5;
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .header {
        height: auto;
    }
     .menu {
         margin-top: 15px;
        width: 50px;
        height: 34px;
}
    .eng {
    background-image: url(icon/eng2.png);
}
.rus {
    background-image: url(icon/rus2.png);
}
.by {
    background-image: url(icon/by2.png);
}
.ua {
    background-image: url(icon/ua2.png);
}
.pol {
    background-image: url(icon/pol2.png);
}
.china {
    background-image: url(icon/china2.png);
}
    .box {
        margin-bottom: 30px;
    }
    .main {
        width: 100%;
        height: 200px;
    }
 .text {
font-size: 20px;
}
.block1 {
height: auto;
    display: block;
    width: 80%;
}
.block1 > .logo1{
height: auto;
    width: 100%;
  
}
.block1 > .logo1 > p { font-size: 20px;}

     .block2 {
        width: 100%;
        height:auto;
    margin-top: 0px;
    }
.block2 > p { 
    margin: 20px;
    font-size: 20px;}
    .info {
        height: auto;
    }
     .footer {
         margin: 0 auto;
        width: 100%;
        height:300px;
         
         position: relative;
    }
    .footer > .bottom{
        width: 100%;
        height: auto;
         margin-bottom:0;
         position: relative;
    }
    a {
        font-size: 20px;
    }
    .footer > .buttom > a {
        font-size: 25px !inportant;
    }
   h3 {
        font-size: 30px;
    }
    .box {
        height: 130px;
    }
    h1 {
        font-size: 35px;
    }
    h2 {
        font-size: 25px;
    }
     p {
        font-size: 17px;
    }
.program,
.date,
.main2,
.go,
.gomel,
.gallery,
.contact,
.pripyat{
    margin: 0;
    margin-top:5px;
    width: 200px ;
    height: 40px;
   position: relative;
    text-align: center;
}
}

