@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: #ffffff;
  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 20px;
  color: rgba(0, 0, 0, 0.7);
}

.navbar__wrap .menu > li > a:hover {
  color: rgb(184, 98, 0);
}

main{
  background-image: url(/img/pattern.jpg);
}

.main__contener__black_box__img , .main__contener__red__box__img{
    width: 90%;
    margin-left: 5%;
}

.main__contener__txt{
    font-size: 25px;
    font-weight: 500;
}

.main__contener__black__box__txt , .main__contener__red__box__txt{
    font-size: 20px;
    font-weight: 450;
    margin-left: 1ch;
}

.cnopka{
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 450;
}
.box__knopka{
    width: 67%;
    padding: 8px;
    border-radius: 25px;
    margin-top: 0;
    margin-left: 5%;
    margin-bottom: 5%;
    background-color: #c96830;
}
.box__knopka:hover{
    width: 16%;
    padding: 8px;
    border-radius: 25px;
    margin-top: 0;
    margin-left: 5%;
    margin-bottom: 5%;
    background-color: #000000;
}
/*подвал*/
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: #ffffff;
      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);
    }
  
    body.noscroll {
      overflow: hidden;
    }
  }

  @media (min-width: 1201px){
    .main__contener__black__box , .main__contener__red__box{
        display: flex;
        background-color: #c96830;
        border-radius: 25px;
        margin: 3%;
        color: #ffffff;
    }
    .box__knopka{
        width: 16%;
        padding: 8px;
        border-radius: 25px;
        margin-top: 0;
        margin-left: 5%;
        margin-bottom: 5%;
        background-color: #c96830;
    }
    .box__knopka:hover{
        width: 16%;
        padding: 8px;
        border-radius: 25px;
        margin-top: 0;
        margin-left: 5%;
        margin-bottom: 5%;
        background-color: #000000;
    }
    .cnopka{
        color: #ffffff;
    }
  }