@media(max-width:600px){
.sidebar{display:none;}

.mediabr{
display: block;
}

/*header*/
.mainHeader{
vertical-align: center;
margin: 0px;
background-image: url('../files/fasad.png');
width: 100%;
height: 60vh;
background-size: cover;
background-attachment: fixed;
}

.headerText{
display: block;
margin:0px;
}
.textBlock{
height: 100%;
margin: 0px;
padding:0px;
border: 0px solid;
background-color: #737373a4;
text-shadow: 1px 1px 2px black;
color:#0d0d0dfd;
text-align: center;
}
/*end header*/



/*fonts*/
.h1{
margin: 0px;
font-size:60px;
display: inline;
}

.h2{
margin: 0px;
font-size:40px;
display: inline;
}

.sideText{
margin: 15px;
font-size:20px;
}

.h2.sideText{
font-size:30px;
}
/*end fonts*/


.mainMain{
margin:0px 0px 0px 0px;
background: linear-gradient(180deg, rgba(255, 255, 255,255), rgb(255, 146, 0));;
color:#4f4f4f;
text-shadow: 1px 1px 1px #ffddc4;
font-size:default;
width:100%;
display:flex;
flex-direction: column;
align-items:center;
}



/*about*/
.aboutArt{
font-size:13px;
height:60vh;
width: 100%;
margin: 0px;
padding: 0px;
background-color:#ffffffc0;
transition: 0.5s;
display:flex;
align-items:center;
justify-content: center;
flex-direction:column;
text-shadow: 0px 0px 0px #ffddc4;

}

.aboutArt:hover{
width: 100%;
background-color:#3030309d;
color: #ebebeb;
font-size:10px;
.list{
font-size: 10px;
}
}

.about{
height:90%;
width: 90%;
margin: 0px 5px 0px 5px;
background-size:cover;

background-position: center;
transition: 0.5s;
}

.aboutArt.one{
left:0%;
}
.aboutArt.two{
left:0%;
}

.about:hover{
height:90%;
width: 90%;
margin: 0px;
background-size:cover;
font-size:15px;
.list{
font-size: 15px;
}
}

.list{
transition: 0.5s;
font-size: 13px;
}
.aboutArt.stat{
font-size: 12px;
height:55%;
}
.aboutArt.stat:hover{

background-color:#3030309d;
color: #ebebeb;
font-size:12px;
}
.about.stat:hover{
font-size: 12px;
height:55%;
width:95%;
margin: 10px;
background-size:cover;
transition: 0.5s,easy-out,0.5s;
}




/*end about*/


/*prises*/
.aboutArt.img{
height:50vh;
width: 100%;
margin: 10px 0px 10px 0px;
padding: 10px 0px 10px 0px;
background-color:#ffffffc0;
transition: 0.5s,easy-out,0.5s;
display:flex;
align-items:center;
}

.about.img:hover{
height:95%;
width: 50%;
margin: 10px;
background-size:cover;
}
/*end prises*/



/*director*/
.director{
margin-top:50px;
display: inline-block;
border-radius: 50%;
overflow: hidden;
width: 300px;
height: 300px;
transition:0.2s;
}

.director:hover{
margin-top:50px;
display: inline-block;
border-radius: 50%;
overflow: hidden;
width: 320px;
height: 320px;
}
/*end director*/



/*ped*/
.aboutPed{
height:100vh;
width: 100%;
margin: 10px 0px 10px 0px;
padding: 10px 0px 10px 0px;
background-color:#ffffffc0;
display:flex;
align-items:center;
flex-direction:column;
justify-content: center;
}

.pedkvrow{
width:100%;
height:70%;
display:flex;
flex-direction:column;
align-items: center;
justify-content:center;
}

/*pedimgs*/
.pedwidimg{
background-position:center;
transition: 0.5s,easy-out,0.5s;
width:90%;
height:30%;
margin:0px;
}

.pedkvimg{
background-size:cover;
background-position:center;
transition: 0.5s,easy-out,0.5s;
width:90%;
height:33%;
margin:10px;
}
/*end pedimgs*/

.about.text.ped{
margin:10px;
background-image: none;
height: 5%;
text-align:center;
}

.pedwidimg:hover{
width:95%;
height:100%;
margin:10px;
}

.pedkvimg:hover{
width:100%;
height:100%;
margin:10px;
}
/*end ped*/



/*gallery*/
.gallaryCollage{
width:100%;
height:100hv;
}
.galleryIMG{
display:block;
width:300px;
height:300px;
background-image: url('../files/MyCollages.png');
background-size:cover;
transition: 0.5s;
}

.galleryIMG:hover{
    width:310px;
    height:310px;
}

.galleryIMG.h:hover{
font-size:50px;
}

/* Закрываем lightbox */
.gallery {
  display: none;
}

/* Открываем lightbox */
.gallery:target {
  position: relative;
  left: 0;
  top: 0;
  width: 90%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Содержимое lightbox  */
.gallery figcaption {
  width: auto;
  position: relative;
  padding: 1.5em;
  background-color:#ff6a00a1;
}

/* Кнопка закрытия */
.gallery .close {
  position: relative;
  display: block;
}

.gallery .close::after {
  right: -1rem;
  top: -1rem;
  width: 2rem;
  height: 2rem;
  position: absolute;
  display: flex;
  z-index: 1;
  align-items: center;
  justify-content: center;
  background-color: black;
  border-radius: 50%;
  color: white;
  content: "×";
  cursor: pointer;
}

/* Обёртка lightbox  */
.gallery .close::before {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  content: "";
  cursor: default;
}
/*end gallery*/



/*tg*/
.tgbutton{
display:block;
font-size:16px;
font-weight:500;
text-align:center;
border-radius:8px;
padding:5px;
background:#389ce9;
text-decoration:none;
color:#fff;
}

.tgframe{
border:0px;
height:500px;
width:100%;
margin:30px 0px 10px 0px;
box-shadow: 0 0 16px 3px rgba(0,0,0,.2);
}
/*end tg*/



/*footer*/
.numbers{
display:flex;  align-items:center;text-shadow: 1px 1px 2px black;color: #fff;
flex-direction:column;
}
.contacts{
text-align: center;
margin-top:20px;
display:flex;
flex-direction: column;
align-items:center;
width: 100%;
background: linear-gradient(180deg, rgb(255, 146, 0),rgb(255, 89, 0));
}
/*footer*/
}


/*===========================================================================================================*/
@media(max-width: 1000px) and (min-width: 601px){
.sidebar{display:none;}

.mediabr{
display: block;
}

/*header*/
.mainHeader{
vertical-align: center;
margin: 0px;
background-image: url('../files/fasad.png');
width: 100%;
height: 60vh;
background-size: cover;
background-attachment: fixed;
}

.headerText{
display: block;
margin:0px;
}
.textBlock{
height: 100%;
margin: 0px;
padding:0px;
border: 0px solid;
background-color: #737373a4;
text-shadow: 1px 1px 2px black;
color:#0d0d0dfd;
text-align: center;
}
/*end header*/



/*fonts*/
.h1{
margin: 0px;
font-size:60px;
display: inline;
}

.h2{
margin: 0px;
font-size:40px;
display: inline;
}

.sideText{
margin: 15px;
font-size:20px;
}

.h2.sideText{
font-size:30px;
}
/*end fonts*/


.mainMain{
margin:0px 0px 0px 0px;
background: linear-gradient(180deg, rgba(255, 255, 255,255), rgb(255, 146, 0));;
color:#4f4f4f;
text-shadow: 1px 1px 1px #ffddc4;
font-size: 10px;
width:100%;
display:flex;
flex-direction: column;
align-items:center;
}



/*about*/
.aboutArt{
font-size:10px;
height:50vh;
width: 100%;
margin: 0px;
padding: 0px;
background-color:#ffffffc0;
transition: 0.5s;
display:flex;
align-items:center;
justify-content: center;
text-shadow: 0px 0px 0px #ffddc4;
}

.aboutArt:hover{
width: 100%;
background-color:#3030309d;
color: #ebebeb;
font-size:10px;
}

.about{
height:90%;
width: 90%;
margin: 0px 5px 0px 5px;
background-size:cover;
transition: 0.3s,easy-out,0.3s;
}

.aboutArt.one{
left:0%;
}
.aboutArt.two{
left:0%;
}

.about:hover{
height:90%;
width: 95%;
margin: 0px;
background-size:cover;
transition: 0.5s,easy-out,0.5s;
}

.list{
font-size: 10px;
}

/*end about*/


/*prises*/
.aboutArt.img{
height:50vh;
width: 100%;
margin: 10px 0px 10px 0px;
padding: 10px 0px 10px 0px;
background-color:#ffffffc0;
transition: 0.5s,easy-out,0.5s;
display:flex;
align-items:center;
}

.about.img:hover{
height:95%;
width: 50%;
margin: 10px;
background-size:cover;
}
/*end prises*/



/*director*/
.director{
margin-top:50px;
display: inline-block;
border-radius: 50%;
overflow: hidden;
width: 300px;
height: 300px;
transition:0.2s;
}

.director:hover{
margin-top:50px;
display: inline-block;
border-radius: 50%;
overflow: hidden;
width: 320px;
height: 320px;
}
/*end director*/



/*ped*/
.aboutPed{
height:110vh;
width: 99%;
margin: 10px;
padding: 0px;
background-color:#ffffffc0;
display:flex;
align-items:center;
flex-direction:column;
justify-content: center;
}

.pedkvrow{
width:90%;
height:45%;
display:flex;
flex-direction:row;
align-items: center;
justify-content:center;
}

/*pedimgs*/
.pedwidimg{
background-position:center;
transition: 0.5s,easy-out,0.5s;
width:95%;
height:50%;
margin:10px;
}

.pedkvimg{
background-size:cover;background-position:center;
transition: 0.5s,easy-out,0.5s;
width:33%;
height:100%;
margin:10px 5px 0px 5px;
}
/*end pedimgs*/

.about.text.ped{
margin:0px;
background-image: none;
height:10%;
text-align:center;
}

.pedwidimg:hover{
width:95%;
height:80%;
margin:10px;
}

.pedkvimg:hover{
width:40%;
height:100%;
margin:10px;
}
/*end ped*/




/*gallery*/
.galleryIMG{
display:block;
width:300px;
height:300px;
background-image: url('../files/MyCollages.png');
background-size:cover;
transition: 0.5s;
}

.galleryIMG:hover{
    width:310px;
    height:310px;
}

.galleryIMG.h:hover{
font-size:50px;
}

/* Закрываем lightbox */
.gallery {
  display: none;
}

/* Открываем lightbox */
.gallery:target {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Содержимое lightbox  */
.gallery figcaption {
  width: auto;
  position: relative;
  padding: 1.5em;
  background-color:#ff6a00a1;
}

/* Кнопка закрытия */
.gallery .close {
  position: relative;
  display: block;
}

.gallery .close::after {
  right: -1rem;
  top: -1rem;
  width: 2rem;
  height: 2rem;
  position: absolute;
  display: flex;
  z-index: 1;
  align-items: center;
  justify-content: center;
  background-color: black;
  border-radius: 50%;
  color: white;
  content: "×";
  cursor: pointer;
}

/* Обёртка lightbox  */
.gallery .close::before {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  content: "";
  cursor: default;
}
/*end gallery*/



/*tg*/
.tgbutton{
display:block;
font-size:16px;
font-weight:500;
text-align:center;
border-radius:8px;
padding:5px;
background:#389ce9;
text-decoration:none;
color:#fff;
}

.tgframe{
border:0px;
height:500px;
width:100%;
margin:30px 0px 10px 0px;
box-shadow: 0 0 16px 3px rgba(0,0,0,.2);
}
/*end tg*/



/*footer*/
.numbers{
display:flex;  align-items:center;text-shadow: 1px 1px 2px black;color: #fff;
flex-direction:column;
}
.contacts{
text-align: center;
margin-top:20px;
display:flex;
flex-direction: column;
align-items:center;
width: 100%;
background: linear-gradient(180deg, rgb(255, 146, 0),rgb(255, 89, 0));
}
/*footer*/
}

