@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

html {
  box-sizing: border-box;
  height: 100%;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  display: flex;
  margin: 0;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  height: 100%;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 100%;
  padding: 0 15px;
}

.navbar {
  left: 0;
  top: 0;
  width: 100%;
  height: 75px;
  background: #ffffff;
}

.navbar__wrap {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.hamb {
  display: none;
}

.popup {
  display: none;
}

.logo {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.solnco{
    font-weight: 500;
    font-size: 25px;
    justify-content: right;
    color: #c96830;
}

.menu > li > a {
  text-decoration: none;
}

.navbar__wrap .menu {
  display: flex;
}

.navbar__wrap .menu > li {
  display: flex;
  align-items: stretch;
}

.navbar__wrap .menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-weight: 500;
  color: rgb(0, 0, 0);
}

.navbar__wrap .menu > li > a:hover {
  color: rgb(184, 98, 0);
}
/*приветствие*/
.header__privetsvie{
    background-image: url(/img/fon.jpg);
    background-position-y: 60%;
    background-repeat: no-repeat;
    padding-top: 1cm;
    padding-bottom: 1cm;
    margin: 1ch;
}

.header__privetsvie__one{
    background-color: #c96830;
    border-radius: 25px;
    padding: 5%;
    margin-left: 9.7ch;
}

.header__privetsvie__h2 , .header__privetsvie__h1 , .header__privetsvie__p{
    color: #fff;
    margin: 0;
}
/*основная информация*/
.btnn{
  width: 100%;
  margin-right: 20px;
}
.Btn{
  position: fixed; 
  margin-left: 80%;
  margin-top: 13%;
  margin-right: 10px;
  background-color: #22222200;
  z-index: 1;
  border: 0;
}

.modal {
  display: none; 
  position: fixed; 
  margin-top: 20%;
  margin-left: 40%;
  opacity: 0.9;
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  color: #fff;
  background-color: rgba(0,0,0,0); 
}


.modal-content {
  background-color: #c96830;
  margin: 15% auto; 
  padding: 20px;
  width: 15%; 
  border-radius: 25px;
}


.close {
  color: #000000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

main{
  background-image: url(/img/pattern.jpg);
}

.main__text , .main__text__dva , .main__text__tri , .main__text__cetiri , .main__text_foto , .main__text__nass , .main__sami__za__sebe{
    margin-left: 1ch;
    font-size: 20px;
    font-weight: 500;
}

article{ 
    margin-left: 3ch;
    margin-right: 3ch;
    margin-bottom: 8ch;
}

.sadik1 , .sadik2 , .sadik3{
    width: 90%;
    border-radius: 25px;
    margin-bottom: 1ch;
    margin-left: 2.5ch;
}

.main__znachenie{
display: flex;
}

.main__deti , .main__rabota , .main__grupa{
    background-color: #c96830;
    color: #ffffff;
    border-radius: 1ch;
    margin-left: 8%;
    border-radius: 15%;
    width: 10ch;
    height: 10ch;
}

.main__scolco_detei , .main__nadpis , .main__scolco__rabota , .main__nadpis_let , .main__scolco__grup , .main__nadpis__gruppa{
    margin: 0;
    margin-top: 1ch;
    margin-right: auto;
    margin-left: 13%;
}

.main__scolco_detei , .main__scolco__rabota , .main__scolco__grup{
    text-align: center;
    font-size: 25px; 
    font-weight: 500;
}

/*footer(подвал)*/
footer{
    background-color: #222222;
    color: #ffffff;
}
/*Медиа запросы*/
@media (max-width: 1000px) {
    .navbar__wrap .menu {
      display: none;
    }
  
    .hamb {
      display: flex;
      align-items: center;
    }
  
    .hamb__field {
      padding: 10px 20px;
      cursor: pointer;
    }

    .bar {
      display: block;
      width: 30px;
      height: 3px;
      margin: 6px auto;
      background-color: #c96830;
      transition: 0.2s;
    }
  
    .popup {
      position: fixed;
      top: 75px;
      left: -100%;
      width: 100%;
      height: 100%;
      background-color: #fff;
      z-index: 100;
      display: flex;
      transition: 0.3s;
    }
  
    .popup.open {
      left: 0;
    }
  
    .popup .menu {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: start;
      padding: 50px 0;
      overflow: auto;
    }
  
    .popup .menu > li {
      width: 100%;
    }
  
    .popup .menu > li > a {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 20px 0;
      font-size: 20px;
      font-weight: bold;
      color: #3f3f3f;
    }
  
    .popup .menu > li > a:hover {
      background-color: rgba(122, 82, 179, 0.1);
    }
  
    .hamb__field.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    .hamb__field.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
  
    .hamb__field.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }  
    .modal-content{
    background-color: #c96830;
    margin-left: 20%;
    padding: 10px;
    width: 40%;
    border-radius: 25px;
    }
  }

  
    body.noscroll {
      overflow: hidden;

  }

  @media (min-width: 1024px) and (max-width: 1200px){
    
     .sadik1 , .sadik2 , .sadik3{
      width: 90%;
      border-radius: 25px;
      margin-bottom: 1ch;
      margin-left: 5.7ch;
    }
    .header__privetsvie__one{
      background-color: #c96830;
      border-radius: 25px;
      padding: 5%;
      margin-left: 49.7ch;
    }
    .modal-content {
      background-color: #c96830;
      margin: 15% auto; 
      padding: 30px;
      width: 20%; 
      border-radius: 25px;
    }
    .btnn{
      width: 50%; 
    }
    .Btn{
      position: fixed; 
      margin-left: 90%;
      margin-top: 13%;
      margin-right: 0px;
      background-color: #22222200;
      z-index: 1;
      border: 0;
    }
  } 
  @media (min-width: 1201px){
    
    .sadik1 , .sadik2 , .sadik3{
     width: 90%;
     border-radius: 25px;
     margin-bottom: 1ch;
     margin-left: 5.7ch;
   }

   header{
    background-image: url(/img/pattern.jpg);
    background-position-y: 10%;
    
   }

   .header__privetsvie{
    background-image: url(/img/fon.jpg);
    background-position-y: 60%;
    background-repeat: no-repeat;
    padding-top: 1cm;
    padding-bottom: 1cm;
    margin: 1ch;
    margin-bottom: 0;
    width:980px;
    height:auto;
    margin-left:auto;
    margin-right:auto;
    float:center;

    }
    .header__privetsvie__one{
      background-color: #c96830;
      border-radius: 25px;
      padding: 5%;
      margin-left: 67ch;
    }
    .main__conteiner{
      display: flex;
    }
    .main__bloc_div , .main__bloc_div__dva , .main__bloc_div__tri , .main__bloc_div__cetiri{
      background-color: #c96830;
      opacity: 0.8;
      color: #fff;
      border-radius: 25px;
      margin-top: 1ch;
      margin-left:10ch;
      margin-right:10ch;
    }
    .sadik1 , .sadik2 , .sadik3{
      width: 29.7%;
      border-radius: 25px;
      margin-bottom: 1ch;
      margin-left: 5.7ch;
    }
    .main__deti , .main__rabota , .main__grupa{
      background-color: #c96830;
      color: #ffffff;
      border-radius: 1ch;
      margin-left: 1%;
      border-radius: 15%;
      width: 10ch;
      height: 10ch;
    }
    .main__mi{
      background-color: #c96830;
      opacity: 0.8;
      border-radius: 25px;
      color: #fff;
      width: 35%;
      margin-left: 1ch;
    }
    .btnn{
      width: 300%; 
    }
    .Btn{
      position: fixed; 
      margin-left: 95%;
      margin-top: 13%;
      margin-right: 60px;
      background-color: #22222200;
      z-index: 1;
      border: 0;
    }
 } 