@font-face {
  font-family: "Pangolin";
  src: url("/Pangolin.ttf");
}

@font-face {
  font-family: "Lacquer";
  src: url("/Lacquer.ttf");
}

* {
  box-sizing: border-box;
}
body {
  margin: 10px auto;
  padding: 0;
  background-image: url('/images/back.jpg');
  background-size: cover; 
}

/* заголовки*/
.posttitle {
  color:rgb(254,136,167,255)
}

/* цвет для дат*/
.date {
  color:rgb(165,200,122,255);
  font-weight: bold;
}

/* всё тело сайта целиком*/
.wrapper {
  display: block;
  margin: 0 auto;
  width: 1200px;
  position:relative;
  border: rgb(254,171,193,220) solid;
  border-radius: 18px;
  }

/* верхушка с заголовком*/
header {
  background-color: rgb(254,136,167,255);
  text-align: right;
  padding: 25px 50px 25px 0px;
  border-radius: 15px 15px 0px 0px;
  font-family: "Lacquer";
  font-size: 30px;
  color: rgb(254,239,243,255);
}

/* прыгающий эффект текста*/
.bounce-text {
  display: inline-block;
  animation: bounce-text 0.9s ease-in-out infinite alternate;
}

/* сама анимация прыга текста*/
@keyframes bounce-text {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px); /* Adjust height of the bounce here */
  }
}

/* навигация сбоку*/
.nav {
  display: block;
  clear: both;
  width: 20%;
  height: 250px;
  float: left;
  background-color: rgb(234,199,84,255);
}

/* кнопки навигации сбоку*/
.nav .navlink {
  display: block;
  position: relative;
  margin: 15px 40px;
  padding: 10px 2px;
  width: 199px;
  text-align: center;
  font-family: "Pangolin";
  text-transform: uppercase;
  text-decoration: none;
  background-color: rgb(165,200,122,255);
  color: rgb(254,239,243,255);
  border-radius: 15px 0px 0px 15px;
  border-left: rgb(144,176,104,255) solid;
  border-top: rgb(144,176,104,255) solid;
  border-bottom: rgb(144,176,104,255) solid;
  }
  
  /* иконки для навигации. в итоге не используются, но пусть останется*/
  .navicon {
    width: 30%;
    position: absolute;
    bottom: -5px;
    left: -15px;
  }
  
  /* анимация ховер*/
  .nav .navlink:hover {
  background: rgb(144,176,104,255);
  transition:ease 0.5s;
  }
  
  /* поле с фото и описанием вебмастера ;3*/
  .nav2 {
  display: block;
  clear: both;
  width: 20%;
  float: left;
  height: 550px;
  background-color: rgb(234,199,84,255);
  font-family: "Pangolin";
  border-radius: 0px 0px 0px 15px;
}

.nav2 p {
  margin: 20px;
  text-align: center;
  color: rgb(70,65,52,255);
}
  
 .navimg {
   width: 70%;
   height: auto;
   margin: 40px 40px 0px 40px;
   border-radius: 15px;
 }

/* поле с гифками на главной странице в main*/
.gifspage {
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  width: 70%;
}

.gifspage img {
  width: 200px;
}

/* поле с блинкис*/
.blinkiespage {
  padding: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
}

.blinkiespage img {
  flex-shrink: 0;
}

.blinkiespage a {
  flex-shrink: 0;
  min-width: 20%;
}

/* основной контент сайта*/
main {
  height: 800px;
  margin-left: auto;
  width: 80%;
  padding: 20px;
  background-color: rgb(250,235,188,255);
  border-radius: 0px 0px 15px 0px;
  overflow-y: auto;
}

main p {
  font-family: "Pangolin";
  font-size: 17px;
  color: rgb(106,67,79,255);
  text-align: center;
  margin: 10px;
}

main img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*записи в дневнике*/
.readpost {
  display: block;
  margin: 10px auto;
  width: auto;
  border-radius: 15px;
  border: rgb(240,217,147,255) solid;
}

.readpost p {
  text-align: left;
  margin: 10px;
  padding: 10px 20px;
}

/*настройки ката*/
.readcut {
  cursor: pointer;
  list-style: none;
}

/*список любимых книг сверху*/

.readlist {
  display: block;
  margin: 10px auto;
  width: auto;
  border-radius: 15px;
  border: rgb(240,217,147,255) solid;
  background: rgb(242,226,176,255);
}

.readlist_books {
  column-count: 2;
  padding: 0px 10px 10px 10px;
}

/* парящие картинки*/
.floater1 {
  width: 20%;
  height: auto;
  position: absolute;
  top: 780px;
  left: 1000px;
}

.floater2 {
  width: 13%;
  height: auto;
  position: absolute;
  top: 10px;
  left: 20px;
}

.floater3 {
  width: 350px;
  height: auto;
  position: absolute;
  top: 700px;
  left: -100px;
}

.floater4 {
  width: 300px;
  height: auto;
  position: absolute;
  top: 30%;
  right: -200px;
}

.floater1:hover {
  animation: bounce-floats 0.7s ease-in-out infinite alternate; 
}

.floater3:hover {
  animation: bounce-floats 0.7s ease-in-out infinite alternate; 
}

.floater4:hover {
  animation: bounce-floats 0.7s ease-in-out infinite alternate; 
}

@keyframes bounce-floats {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-7px); /* Adjust height of the bounce here */
  }
}

/* подвал сайта*/
footer {
  display: block;
  text-align: center;
  clear: both;
  font-family: "Pangolin";
  color: rgb(106,67,79,255);
}