@font-face {
  font-family: "Determination Mono(RUS BY LYAJK";
  src: local("Determination Mono(RUS BY LYAJK"),
  url("determinationmonorusbylyajk.otf") format("opentype");
}

/* Вид всего сайта с мобилы */

@media (max-width: 1080px) {
  html {
    background-color: #000000;
    background-image: url(/img/Sprite-0001.png);
    background-repeat: repeat;
    background-size: 80px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-family: "Determination Mono(RUS BY LYAJK", monospace;
    animation: backgroundAnimation 160s linear infinite;
    image-rendering: pixelated;
  }
  body {
    position: absolute;
    background-image: url(../img/Sprite-0001.png);
    background-repeat: repeat;
    background-size: 80px;
    background-color: #0000009a;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: backgroundAnimation 120s linear infinite;
  }
  .body {
    background-color: #000000ca;
    border: 5px solid #ffffff;
    padding: 10px;
  }
  main {
    padding: 0;
  }
  #main{
  margin-top: -21px;
  display: grid;
  grid-template-areas:
  "booru"
  "comingsoos";
  grid-template-rows: 100px 100px;
  grid-template-columns: 1fr;
  gap: 40px;
padding: 25px;
  place-items: center;
  }

  #booru{
  grid-area: booru;
  }
  #comingsoos{
  grid-area: comingsoos;
  }
  #main-header{
  display: flex;
  justify-content:space-between ;
  align-items: center;
  }
  #tuta{
  font-size: 20px;
  height:fit-content ;
  }
}



/* Вид всего сайта с пекарни */

@media (min-width: 1080px) {
  html {
    background-color: #000000;
    background-image: url(/img/Sprite-0001.png);
    background-repeat: repeat;
    background-size: 80px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-family: "Determination Mono(RUS BY LYAJK", monospace;
    animation: backgroundAnimation 160s linear infinite;
    image-rendering: pixelated;
  }

  body {
    position: absolute;
    background-image: url(../img/Sprite-0001.png);
    background-repeat: repeat;
    background-size: 80px;
    background-color: #0000009a;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: backgroundAnimation 120s linear infinite;
  }

  .body {
    background-color: #000000ca;
    border: 5px solid #ffffff;
    margin: 10px;
    padding: 10px;
  }

  main {
    padding: 20px;
  }
  #main{
  margin-top: -15px;
  display: grid;
  grid-template-areas:
  "booru comingsoos";
    grid-template-rows: 100px;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 25px;
    place-items: center;
  }

  #booru{
  grid-area: booru;
  }
  #comingsoos{
  grid-area: comingsoos;
  }
  #main-header{
  display: flex;
  justify-content:space-between ;
  }

  #tuta{
  font-size: 20px;
  }

  #silliradio{
  margin: 0;;
  }

  #volume{
  margin: 0;
  padding: 0;
  margin-bottom: -5px;
  margin-left: 10px ;
  width: 50px;
  }
}

/* Общие приколы для всех страниц */

@keyframes backgroundAnimation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60% 100%;
  }
}

header {
  padding: 10px;
  border-radius: 10px
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #444444;
  border-radius: 10px;
  transition: all 0.3s ease;
}

footer {
  background-color: #00000098;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px;
  text-align: center;
}


input {
  background-color: #444444;
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  margin: 5px 5px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #555555;
  transition: all 0.3s ease;
}

/* Главная страница */

.navigation_div {
  padding: 10px;

  background-color: #00000000;
  border: 5px solid #666666;
  transition: all 0.3s ease-out;

  color: white;
  text-align: center;
  text-decoration: none;
  outline: none;

  z-index: 2 ;

  width: 100%;
  height: 100%;
}

.navigation_hover {
  background-color: #000000aa;
  border: 5px solid #ffff00;
  color: yellow;
}

#playbutton{
  color: white;
  font-size: 18px;
  text-decoration: none;
}
#playbutton:hover{
  color: yellow;
}





/* Сердечко */

.sick-cool-background{
  position: relative ;
}

.heart{
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background: url('/img/heart.png') center no-repeat; /* ваше изображение */
  background-size: 64px;
  transition: all 0.3s ease;   /* анимация перемещения и изменения размера */
  opacity: 0;                   /* по умолчанию скрыт */
  pointer-events: none;         /* не перехватывает события мыши */
  z-index: 1;                   /* ниже текста, но выше фона таблицы */
}

/* Жмяк ральзея */

#Ralsei {
width: 150px;
height: auto;

}

@keyframes squish {
  0%, 100% {
    transform: scale(1, 1) translateY(0);

  }
  50% {
    transform: scale(1.5, 0.4) translateY(100px);
  }

}

#RalseiButton {
position: fixed;
bottom: 70px;
right: 15px;
border: 0;
cursor: pointer;
z-index: 1000;
image-rendering: pixelated;
background-color: transparent;
user-select: none;
}

.squish-animation {
  /* meow */
  animation: squish 0.3s ease-in-out;
}

