
body {
    margin: 0; 
    padding: 0;
background-color: black;
}

a {
    text-decoration: none;
    color: white;
    font-family: sans-serif;
}
a:hover {
    color:orangered;
      transition: 0.5s;
}
.header {
    top: 0px;
    width: 100%;
    height: auto;
     background-size: cover;
    display: block;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
    background-color: black;
}

h1 {
    margin:auto;
    padding-top: 10px;
    font-size: 20px;
    font-family:sans-serif;
color: white;
    display: flex;
    flex-wrap: wrap;
}
h2 {
    text-align: center;
    margin: auto;
    margin-top:2vh;
    font-size: 30px;
    font-family:sans-serif;
color: white;
    display: flex;
    flex-wrap: wrap;
}
.block2{
   min-height: 70vh;
    margin: 0 auto;
    width: 70%;
    float: left;
}
.block2 > p {
    font-size: 20px;
    color: white;
    font-family: sans-serif;
}
.info {
    box-shadow: inset 10px 10px 10px;
    background-size: cover;
    background-position: center; 
    background-attachment: fixed;
    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,
.pripyat{
    margin: 0;
    margin-top: 5px;
    width: 145px ;
    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;
}
.pripyat {
    background: url(icon/pripyat.png);
    background-repeat: no-repeat;
}
  .footer {
         margin: 0 auto;
        width: 100%;
        height:10px;
         margin-bottom: 0px;
         position: relative;

    }
.menu2 {
    justify-content: space-around;
    margin: 0;
    width: 200px;
    display: inline-block;
    margin-bottom: 10px;
}
h3 {
    color: white;
    padding-top: 5px;
    margin-top: 0px;
    margin-left: 5px;
    font-size: 30px;
    font-family: sans-serif;
}
@media only screen and (min-width: 769px) and (max-width: 1178px) { 
    .main { height: 100px;}
    .block2 {
        width: 95%;
        height: auto;}
}
@media only screen and (min-width: 300px) and (max-width: 440px) {
    
    .header {
        height: 70px;
        position: relative;
    }
   
    .main {
        margin: 0;
        width: 100%;
        height: 200px;
        position: relative;
        background-color: black;
        margin-right: -25px;
    }
    .main > a {
        font-size: 20px;
    }
     .block2 {
    
        width: auto;
        height:auto;
    margin-top: 0px;
         float: right;
    }
    .block2 > p {
        font-size: 17px;
        padding: 5px;
    }
    .info {
        margin-top: 180px;
        height: auto;
    }
     .footer {
         margin: 0 auto;
        width: 100%;
        height:10px;
         margin-bottom: 0px;
         position: relative;
    }
    .footer > .bottom{
        width: 100%;
        height: auto;
         margin-bottom:0;
         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) {
    body {height: auto;}
    .header {
        height: auto;
    }
     .menu {
    margin-top: 12px;
   display: inline-block;
    justify-content: space-around;
       width: 150px;
    text-decoration: none;
    text-align: right;
    color: black;
    position: relative;
        margin-right: 0px;
}
    .box {
        margin-bottom: 30px;
    }
    .main {
        width: 100%;
        height: 200px;
    }
 .text {
font-size: 20px;
}
     .block2 {
        width: 90%;
        height:auto;
    margin-top: 0px;
    }
.block2 > p { font-size: 20px;}
    .info {
        height: auto;
    }
     .footer {
         margin: 0 auto;
        width: 100%;
        height:10px;
         margin-bottom: 0px;
         position: relative;
    }
    a {
        font-size: 20px;
    }
   h3 {
        font-size: 30px;
       margin-bottom: 10px;
    }
    h1 {
        font-size: 20px;
    }
    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;
}
}

