body {
  margin: 0;
  padding: 0;
  background-image: url(photo/fon.webp);
}

.header {
  padding: 70px 0 0 200px;
}

.fio {
  font-family: Apple Chancery, cursive;
}

.prof {
  font-family: Apple Chancery, cursive;
  font-size: 20px;
}

.top-menu {
  width: 900px;
  float: right;
}

.top-menu ul li {
  list-style: none;
  float: left;
  text-align: center;
}

.top-menu ul li a {
  display: block;
  width: 171px;
  text-decoration: none;
  font-family: Apple Chancery, cursive;
  font-size: 22px;
  color: rgb(0, 0, 0);
  height: 55px;
  padding-top: 25px;
  cursor: pointer;
}

.top-menu ul li a:hover {
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  background: #ae8a7a;
}

.Zag {
  font-size: 20px;
  font-family: Apple Chancery, cursive;
  color: dimgray;
}

b {
  font-size: 20px;
  font-family: Apple Chancery, cursive;
}

.text {
  margin: 15px 15px 15px 15px;
  font-size: 18px;
}

.text_nis {
  margin-left: 720px;
}

#img_1 {
  width: 700px;
  animation-duration: 1s;
  animation-name: slidein;
}

#button {
  background: none;
  border: none;
  margin: 15px 15px 15px 15px;
  font-size: 18px;
}

#button:hover {
  background-color: dimgray;
}

@keyframes slidein {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

#img_2 {
  width: 700px;
  animation-duration: 1s;
  animation-name: slidein;
}

#button_2 {
  background: none;
  border: none;
  margin: 15px 15px 15px 15px;
  font-size: 18px;
}

#button_2:hover {
  background-color: dimgray;
}

#img_3 {
  width: 700px;
  animation-duration: 1s;
  animation-name: slidein;
}

#button_3 {
  background: none;
  border: none;
  margin: 15px 15px 15px 15px;
  font-size: 18px;
}

#button_3:hover {
  background-color: dimgray;
}
#img_4 {
  width: 700px;
  animation-duration: 1s;
  animation-name: slidein;
}

#button_4 {
  background: none;
  border: none;
  margin: 15px 15px 15px 15px;
  font-size: 18px;
}

#button_4:hover {
  background-color: dimgray;
}
