*{
  margin: 0;
  padding: 0;
}

body{
  margin: 0px;
  padding: 0px;
  background: #1e1e1e;
  box-sizing: border-box;
}

nav{
  background: black;
  height: 80px;
  width: 100%;
}

label img{
  width: 14%;
  margin-left: 1%;
  height: 70px;
  margin-top: 5px;
}

label.logo{
  height: 70px;
  width: 100px;
  line-height: 80px;
  padding: 0 100px;
  font-weight: bold;
}

nav ul{
  float: right;
  margin-right: 20px;
}

nav ul li{
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a:hover{
  border-bottom: 3px solid blue;
  color: white;
  background: blue;
  box-shadow: 0 0 20px blue;
}

nav ul li a{
  color: white;
  text-decoration: none;
  font-size: 17px;
  padding: 7px 13px;
  text-transform: uppercase;
  border: 2px solid blue;
  background: linear-gradient(darkblue 20%, blue 80%);
  border-radius: 5px;
  transition: .5s;
}

a.active,a.hover{
  background: blue;
  transition: .5s;
}


.checkbtn{
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check{
  display: none
}

@media (max-width:952px) {
  label.logo{
    font-size: 30px;
    padding-left: 50px;
  }

  nav ul li a{
    font-size: 16px;
  }

  .contanier{
    display: flex;
    flex-direction: column;
  }

  .box,
  .inbox{
    width: 100%;

  }

  .net{
    width: 20%;
    margin-left: 41%;
    margin-top: 50px;
    margin-bottom: 50px;
    border-top: 2px solid blue;
    border-bottom: 2px solid blue;
    text-align: center;
  }

  .net h2{
    font-size: 14px;
  }

  .net li{
    color: white;
    font-size: 12px;
  }


}

@media (max-width:858px) {
  .checkbtn{
    display: block;
  }

  ul{
    position: fixed;
    background: black;
    width: 100%;
    height: 100vh;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }

  nav ul li{
      display: block;
      margin: 50px 0;
      line-height: 30px;
  }

  nav ul li a{
    font-size: 20px;
  }

  a:hover,a.active{
    background: blue;
    color: white;
  }

  #check:checked ~ ul{
    left: 0;
  }

  footer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .rit,
  .to,
  .ru{
    text-align: center;
    width: 100%;
  }

}

section{
  background: url(/img/cover.jpg);
  background-size: cover;
}

.contanier{
  width: 100%;
  margin-top: 50px;
  background-size: cover;
}

.contanier::after{
  clear: both;
  display: table;
  content: '';
}

.box{
  width: 35%;
  float: left;
}

.box img{
  width: 300px;
  margin-left: 30%;
  height: 150px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.inbox{
  width: 65%;
  float: right;
}

.inbox h2{
  text-align: center;
  color: white;
  font-size: 25px;
  border-bottom: 2px solid blue;
  width: 90%;
  margin-left: 5%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.inbox p{
  color: lightgrey;
  font-size: 18px;
  width: 94%;
  margin-left: 3%;
  margin-bottom: 10px;
  margin-top: 10px;
}

.rick{
  width: 100%;
  margin-bottom: 20px;
}

.rick img{
  width: 100%;
  height: 230px;
}

.rick h2{
  width: 90%;
  margin-left: 5%;
  font-size: 20px;
  color: lightgrey;
  text-align: center;
  border-bottom: 3px solid lightblue;
}

.rick p{
  text-align: center;
  width: 96%;
  margin-left: 2%;
  color: white;
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.net{
  width: 16%;
  float: left;
}

.net h2{
  color: white;
  text-align: center;
}

.net li{
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  list-style: none;
  color: darkgrey;
  display: block;
}




footer{
  width: 100%;
  background: black;
}

footer::after{
  clear: both;
  display: table;
  content: '';
}


.rit{
  width: 35%;
  float: left;
}

.rit li{
  visibility: visible;
  display: inline-block;
  width: 20%;
  margin-top: 70px;
  margin-bottom: 70px;
  margin-left: 3%;
  text-align: center;
}

.rit li a{
  font-size: 40px;
}

.rit li a i{
  color:blue;
  border: 2px solid black;
  border-radius: 8px;
}

.rit li a i:hover{
  box-shadow: 0 0 20px blue;
  color:blue;
}


.kick{
  width: 65%;
  float: right;
}

.to{
  width: 50%;
  float: left;
}

.to p{
  color: white;
  text-align: left;
}

.to li{
  visibility: visible;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  text-align: left;
}

.to li a{
  text-decoration: none;
  font-size: 20px;
  color: grey;
}

.to li a:hover{
  text-decoration: underline;
  color: darkgrey;
}

.ru{
  width: 50%;
  float: right;
}

.ru li{
  visibility: visible;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  text-align: left;
}

.ru li a{
  text-decoration: none;
  font-size: 20px;
  color: grey;
}

.ru li a:hover{
  text-decoration: underline;
  color: darkgrey;
}

.ru p{
  color: white;
  text-align: left;
}
