.container2 {
  width: 960px;
  margin: 0 auto;
  /* background: lightblue; */
}
.header {
  width: 100%;
  height: 250px;


}
.header-wrap{
  width: 460px;
  height: 100%;
  box-shadow: inset 5em 1em gold;
  line-height: 25px;
  float: left;

}
.header-title {
  text-align: left;
  margin-top: 10px;
  
}
.header-text {
  font-size: 18px;
  color: rgb(0, 0, 0);
  margin-top: 10px;
}
.header-img {
  width: 480px;
  height: 250px;
  float: right;
}
.main {
  width: 100%;




}
.main-title {
  width: 100%;
  height: 50px;
  text-align: center ;

  border-top: 2px solid #800000;
  font-weight: normal; 
  padding-top: 2px; 
}
.wrap1 {
  width: 100%;
  height: 350px;
  margin-bottom: 10px;
}
.main-img1 {
  width: 500px;
  height: 100%;
  float: left;
}
.main-text1 {
  width: 440px;
  height: 100%;
  float: right;
}
.main-text {
  width: 440px;
  height: 100%;
  float: left;
}
.header-img2 {
  width: 500px;
  height: 100%;
  float: right;
  font-size: 12px;
}
.header-botom {
  width: 200px;
  height: 50px;
  text-align: center;
  background: rgb(223, 219, 18);
  
}



*{
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
 

}
.container{
  height: 1000px;
  width: 960px;
  margin:0 auto;
  display: flex;
}
.tolmachov{
float: left;
width:510px;
}  
.dream{
  width:900px
} 
.name{
float:right;
width: 440px;
margin-left: 10px;
}
.h1 {
  font-size: 300%; 
  border-bottom: 4px solid #800000;
  font-weight: normal; 
  padding-bottom: 5px; 
 }
 .btn{
  background: orange ;
  width: 170px;
  height: 30px;
  float: left;
  text-align: center;
}
 .btn:hover{
  height: 30px;
  width: 170px;
  color: rgb(247, 247, 247);
  background: rgb(28, 21, 161);
 }
 input{
     display: none;
 }
 button{
     background: rgb(251, 255, 0) ;
     width: 170px;
     height: 50px;
 }
 button:hover{
     height: 50px;
  width: 170px;
  color: rgb(247, 247, 247);
  background:rgb(214, 165, 5);
 }
 .fakt{
   font-weight: bold;
   text-align: center;
   width: 100%;
   height: 50px;
 }
 .dream{
   width: 960px; 
 }
 table{
   width: 100%;
 }
 .container{
  width: 960px;
  margin: 0 auto;
}
.facts{
  width: 960px;
  height: 350px;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
}
.facts_block1{
  width: 200px;
  height: 400px;

}
.facts_block2{
  width: 200px;
  height: 400px;
}
.container97{
  width: 960px;
}
th{
  font-weight: bold;
  font-size: 20px;
}
table{
  width: 960px;
  height: 400px;
}
.footer1{
  width: 960px;
  background: lightblue;
  text-align: center;
  height: 300px;
}



@media (min-width: 500px) and (max-width:771px){
  .container2 {
    width: 771px;
    margin: 0 auto;
  }
  .header {
    width: 100%;
    height: 300px;
  
  
  }
  .header-wrap{
    width: 360px;
    height: 100%;
    box-shadow: inset 5em 1em gold;
    line-height: 25px;
    float: left;
  
  }
  .header-title {
    text-align: left;
    margin-top: 10px;

    
  }
  .header-text {
    font-size: 18px;
    color: rgb(0, 0, 0);
    margin-top: 10px;
  }
  .header-img {
    width: 410px;
    height: 100%;
    float: right;
  }
  .main {
    width: 100%;
  
  
  
  
  }
  .main-title {
    width: 100%;
    height: 50px;
    text-align: center ;
  
    border-top: 2px solid #800000;
    font-weight: normal; 
    padding-top: 2px; 
  }
  .wrap1 {
    width: 100%;
    height: 550px;
    margin-bottom: 10px;
  }
  .main-img1 {
    width: 100%;
    height: 300px;
    
  }
  .main-text1 {
    width: 100%;
    height: 250px;
 
  }
  .main-text {
    width: 100%;
    height: 250px;
  }
  .header-img2 {
    width: 100%;
    height: 300px;
  }
  .header-botom {
    width: 200px;
    height: 50px;
    text-align: center;
    background: rgb(223, 219, 18);
    
  }
  .container{
    width: 771px;
  }
  .main{
    display: grid;    
 }
 .tolmachov{
     margin-bottom: 10px;
     width: 100%;
     margin: 0 auto;
 }
 .name{
     text-align: left;

     float: left;
     font-size: 15px;
 }
 .h1{
     font-size: 36px; 
     border-bottom: 5px solid #800000;
     font-weight: normal; 
     padding-bottom: 6px; 
 }
 .btn{
     text-align: center;
 }
 .btn{
     background: orange ;
     width: 170px;
     height: 30px;
 }
 .btn{
  float: right;           
 }
 .btn:hover{
 height: 30px;
  width: 170px;
  color: rgb(247, 247, 247);
  background: rgb(28, 21, 161);
 }
 .dream{
     margin: 0 auto;
     width: 771px;
 }
 input{
     display: none;
 }
    button{
     float: right;           
    }
    button:hover{
    height: 30px;
     width: 170px;
     color: rgb(247, 247, 247);
     background:rgb(214, 165, 5);
    }
    .dream{
        margin: 0 auto;
        width: 770px;
    }
    video{
      width: 771px;
    }
    .container4{
      width: 771px;
      height: 630px;
  
  }
  .facts{
      width: 771px;
      height: 350px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
     
  
  }
  .facts_block1{
      width: 42%;
      height: 320px;
      text-align: center;
  }
  .facts_block2{
      width: 42%;
      height: 320px;
      flex-direction: row-reverse;
      text-align: center;
  }
  table{
    width: 770px;
    height: 400px;
  }
  .container97{
    width: 770px;
  }
  .footer1{
    width: 770px;
    background: lightblue;
    text-align: center;
  }

}
@media(max-width:499px){
  .container2 {
    width: 499px;
    margin: 0 auto;
    /* background: lightblue; */
  }

  .header {
    width: 100%;
    height: 420px;
  
  
  }
  .header-wrap{
    width: 100%;
    height: 220px;
    box-shadow: inset 5em 1em gold;
    line-height: 25px;
   
  
  }
  .header-title {
    text-align: left;
    margin-top: 10px;

    
  }
  .header-text {
    font-size: 18px;
    color: rgb(0, 0, 0);
    margin-top: 10px;
  }
  .header-img {
    width: 100%;
    height: 200px;
    
  }
  .main {
    width: 100%;
  
  
  
  
  }
  .main-title {
    width: 100%;
    height: 50px;
    text-align: center ;
  
    border-top: 2px solid #800000;
    font-weight: normal; 
    padding-top: 2px; 
  }
  .wrap1 {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
  }
  .main-img1 {
    width: 60%;
    height: 300px;
    float: left;
    
  }
  .main-text1 {
    width: 40%;
    height: 300px;
    overflow: scroll; /* Добавляем полосы прокрутки */
    float: right;
 
  }
  .main-text {
    width: 40%;
    height: 300px;
    overflow: scroll; /* Добавляем полосы прокрутки */
    float: right;
  }
  .header-img2 {
    width: 60%;
    height: 300px;
    float: left;
  }
  .header-botom {
    width: 200px;
    height: 50px;
    text-align: center;
    background: rgb(223, 219, 18);
    
  }
  .container{
    width: 499px;

  }
  .main{
    display: flex;
    flex-direction: column;  

 }
 .tolmachov{
     margin-bottom: 10px;
     width: 100%;
     
 }
 .name{
     text-align: left;
     margin: 0 auto;
     float: left;
     font-size: 15px;
 }
 .h1{
     font-size: 36px; 
     border-bottom: 5px solid #800000;
     font-weight: normal; 
     padding-bottom: 6px; 
 }
 .button_text{
     text-align: right;
     
 }
 .btn{
  float: right;
  background:  rgb(223, 219, 18);
  color: #fff;

 }
 .btn:hover{
 height: 30px;
  width: 170px;
  color: rgb(247, 247, 247);
  background:  orange;
 }
 
 .dream{
     margin: 0 auto;
     width: 499px;
 }
 .btn{
     background: orange ;
     width: 170px;
     height: 30px;
 }
 .text,
input[type="checkbox"] {
display: none;
}

input[type="checkbox"]:checked ~ .text {
display: block;
}

/* Стилизация псевдокнопки */
.btn {
display: inline-block;
margin-bottom: 4px;
padding: 4px 8px;
background-color:  rgb(223, 219, 18);;
border: 1px solid #eeeeee;
cursor: pointer;
}
.facts{
  width: 499px;
  height: 1250px;
  display: flex;
  justify-content: space-between;
  flex-flow: column;
  margin: 0 auto;

}
.facts_block1{
  width: 45%;
  height: 320px;
  text-align: center;
}
.facts_block2{
  width: 45%;
  height: 320px;
  text-align: center;
}
.container97{
  width: 499px;
}
table{
  width: 499px;
}
video{
  width: 499px;
}
}
  

  
  









 
