@keyframes rainbowBorderColor {
  0%{
    border-color: #FF0000;
  }
  12.5% {
    border-color: #FF0000;
  }
  25% {
    border-color: #FFA500;
  }
  37.5% {
    border-color: #FFFF00;
  }
  50% {
    border-color: #7FFF00;
  }
  62.5% {
    border-color: #00FFFF;
  }
  75% {
    border-color: #0000FF;
  }
  87.5% {
    border-color: #9932CC;
  }
  100% {
    border-color: #FF1493;
  }
}

@keyframes rainbowColor {
  0%{
    color: #FF0000;
  }
  12.5% {
    color: #FF0000;
  }
  25% {
    color: #FFA500;
  }
  37.5% {
    color: #FFFF00;
  }
  50% {
    color: #7FFF00;
  }
  62.5% {
    color: #00FFFF;
  }
  75% {
    color: #0000FF;
  }
  87.5% {
    color: #9932CC;
  }
  100% {
    color: #FF1493;
  }
}

@keyframes rainbowTextShadow {
  0%{
    text-shadow: 0 .1rem .5rem #ff0000be;
  }
  12.5% {
    text-shadow: 0 .1rem .5rem #FF0000be;
  }
  25% {
    text-shadow: 0 .1rem .5rem #FFA500be;
  }
  37.5% {
    text-shadow: 0 .1rem .5rem #FFFF00be;
  }
  50% {
    text-shadow: 0 .1rem .5rem #7FFF00be;
  }
  62.5% {
    text-shadow: 0 .1rem .5rem #00FFFFbe;
  }
  75% {
    text-shadow: 0 .1rem .5rem #0000FFbe;
  }
  87.5% {
    text-shadow: 0 .1rem .5rem #9932CCbe;
  }
  100% {
    text-shadow: 0 .1rem .5rem #FF1493be;
  }
}

@font-face {
  font-family: "VCR";
  src:
    local("VCR"),
    url("./assets/VCR_OSD_MONO_1.001.ttf");
}

*{
  box-sizing: border-box;
}

body{
    background-image: url(./assets/geocities88.jpg);
    margin: 0;
    display: flex;
    justify-content: center;
    font-family: "VCR";
    cursor: url('./assets/cursor.cur'), auto;
    animation: crt-glow 1ms infinite;
}

a, button{
  text-decoration: none;
  cursor: url('./assets/cursor (2).cur'), pointer;
}

h1{
  margin-top: 0;
}

h1, h2, h3, h4, h5, h6{
  animation: rainbowColor 10s infinite alternate, rainbowTextShadow 10s infinite alternate;
}

p{
  color: #bdbdbd;
  text-shadow: 0 .1rem .5rem #bdbdbd86;
}

iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

.main{
    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    min-height: calc(100vh - 80px);
}

section{
  width: calc(60% - 40px);
  height: fit-content;
  min-height: calc(100vh - 120px);
}

.block{
    background: rgb(8, 8, 8);
    border: 2px solid;
    animation: rainbowBorderColor 10s infinite alternate;
    padding: 20px;
}

section.nav,
section.right-menu{
    width: 100%;
    max-width: 280px;
}

section img {
    width: 100%;
}

.nav img{
  margin-bottom: 10px;
}

.nav ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.nav li{
  margin-bottom: 6px;
  width: 100%;
}

.nav li a.idioma{
  display: flex;
  justify-content: flex-start;
}

.nav li a.idioma img{
  height: 18px;
  width: fit-content;
  margin: 0;
}

.nav a,
.cta{
  padding: 6px 10px;
  display: block;
  border: 2px solid;
  animation: rainbowBorderColor 10s infinite alternate, rainbowColor 10s infinite alternate,  rainbowTextShadow 10s infinite alternate;
}

.cta{
  width: fit-content;
}

.main-content{
  width: 100%;
}

.item{
  border-top: 2px solid;
  animation: rainbowBorderColor 10s infinite alternate;
  padding-bottom: 20px;
}

.slider-block{
  margin-top: 20px;
  padding: 10px 0 7px 0;
}

.swiper-container {
  width: 100%;
  height: auto;
}

.swiper-slide {
  overflow: hidden;

  img {
    width: 88px;
    height: auto;
    object-fit: cover;
  }
}

.swiper-free-mode {
  > .swiper-wrapper {
    transition-timing-function: linear !important;
    margin: 0 auto;
  }
}

.gifs-block{
  margin-top: 20px;
}

.gifs-block p {
  margin: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  animation: rainbowColor 10s infinite alternate, rainbowTextShadow 10s infinite alternate;;

}

.gifs{
  display: flex;
  gap: 10px;
}

.gifs .col1, .gifs .col2{
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 10px;
}

.gifs img{
  height: 100%;
  object-fit: contain;
}

.blog .posts{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post h3{
  margin: 0;
}

.asuka{
  position: absolute;
  height: 100px;
  right: 10px;
  bottom: 10px;
  display: none;
}

.main-content.block:not(.eng){
    display: block;
}

.main-content.block.eng{
  display: none;
}

@media (max-width: 1100px) {
 .main{
  flex-direction: column;
  align-items: center;
  padding: 20px;
 }

 section{
  min-height: auto;
 }

 .nav .images{
  display: flex;
  flex-direction: column;
  align-items: center;
 }

 .nav .images img:last-child{
  width: 120px;

 }

}


@keyframes crt-glow{
  0% {
      filter: brightness(107%);
  }
  100% {
      filter: brightness(100%);
  }
}

@keyframes overlay-anim{
  0%{
    visibility:hidden;
  }
  20%{
    visibility:hidden;
  }
  21%{
    visibility:visible;
  }
  100%{
    visibility:hidden;
  }
}

.overlay{
    position: absolute;
    z-index: 4;
    height: 100%;
    width: 100%;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, .6));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, .6));
    background-size: 100% .2rem;
    pointer-events: none;
}