html {
  scroll-behavior: smooth;
}
body{
  background-image: url("ararat.png"),linear-gradient(to bottom right,#fff, #aaa,#0071a8);
  background-repeat: no-repeat, no-repeat;
  background-position: top center;
  background-attachment: fixed;
  background-size: 100% 400px, 100% 100%;
}
a{
  text-decoration: none;
}
ul,li{
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  vertical-align:middle;
  text-align: center;
  align-items: center;
  list-style-type: none;
}
nav {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 0px;
  left: 0px;
  background: url("logo.png") 0 0 no-repeat #0071a8;
  -moz-background-size: 80px;
  -o-background-size: 80px;
  -webkit-background-size: 80px;
  background-size: 80px;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  overflow: hidden;
  z-index: 100;
}
nav ul {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  text-align: center;
  width: 100%; 
}
nav li {
  width: 250px;
  height: 80px;
  padding-top: 20px;
  float: left;
  text-align: center;
  opacity: 0;
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -webkit-transform: translateY(80px);
  transform: translateY(80px);
}
.title{
  font-size: 50px;
  background: -webkit-linear-gradient(#0071a8, #009933);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hga{
  width: 500px;
}
nav .item {
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 400;
  font-size: 30px;
}
nav:hover {
  text-align: center;
  width: 100%;
  height: 80px;
  background-position: 0 -80px;
}
nav:hover li {
  text-align: center;
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
nav:hover li:hover { background: rgba(0,0,0,0.1); }
nav { transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
nav li { transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1); }

.top{
  transition-duration: 1s;
  position: fixed;
  width: 80px;
  height: 80px;
  background: url("top.png") 0 0 no-repeat #fff;
  background-size: 80px;
  bottom: 0px;
  right: 0px;
}
.top:hover{
  background: url("top.png") 0 0 no-repeat #bbb;
  background-size: 80px;
}
.all{
  width: 1fr;
  margin-left: 80px;
  margin-right: 80px;
  margin-top: 10px;
}
.slide{
  margin-top: 15px;
  width: 100%;
  height: 600px;
  background: #fff;
}
.info{
  width: 100%;
  height: 700px;
  background: rgba(255,255,255,0.5);
  margin-top: 10px;
}
.slides {
  display: none;
  margin-left: 10px;
  margin-right: 10px;
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}
.img {
  margin-top: 10px;
  width: 100%;
  height: 550px;
  vertical-align: middle;
}
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  margin-top: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active {
  background-color: #0071a8;
}
.armgeek{
  position: relative;
  text-align: right;
  width: 100%;
  right: 80px;
  font-size: 20px;
}
.library{
  margin-top: 15px;
  display: grid;
  grid-gap: 10px;
  grid-row-gap: 50px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 270px;
  width: 100%;
  height: 1fr;
}
.library>div{
  height: 300px;
  text-align: center;
  background: rgba(255,255,255,0.5);
  padding: 3px;
}
.library>div:hover{
  background: #fff;
}
.library>div>img{
  height: 150px;
  width: 150px;
}
.library>div>a{
  font-size: 25px;
}
.from{
  margin-top: 15px;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px;
  width: 100%;
  height: 1fr;
}
.from>div{
  vertical-align:middle;
  height: 240px;
  color: #0071a8;
  font-size: 20px;
  padding-left: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
}
.fromimg{
  vertical-align:middle;
  margin: 10px;
  background: #fff;
  border-radius: 50%;
  height: 120px;
  width: 120px;
}
.sfrom{
  margin-top: 15px;
  width: 100%;
  height: 1fr;
  color: #0071a8;
  font-size: 20px;
  display: grid;
  padding: 10px;
  grid-template-columns: 230px 1fr;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
}
.sfrom>img{
  vertical-align:middle;
  margin: 10px;
  background: #fff;
  border-radius: 30px;
  height: 200px;
  width: 200px;
}
.middle{
  width: 100%;
  text-align: center;
}
.btn{
  display: inline-block;
  text-align: center;
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.5);
  margin: 10px;
  border-radius: 30%;
  box-shadow: 0 5px 15px -5px #00000070;
  color: #3498db;
  overflow: hidden;
  position: relative;
}
.btn i{
  line-height: 90px;
  font-size: 26px;
  transition: 0.2s linear;
}
.btn:hover i{
  transform: scale(1.3);
  color: #f1f1f1;
}
.btn::before{
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: #3498db;
  transform: rotate(45deg);
  left: -110%;
  top: 90%;
}
.btn:hover::before{
  animation: aaa 0.7s 1;
  top: -10%;
  left: -10%;
}
@keyframes aaa {
  0%{
    left: -110%;
    top: 90%;
  }50%{
    left: 10%;
    top: -30%;
  }100%{
    top: -10%;
    left: -10%;
  }
}
