* {
  margin: 0;
  padding: 0;
}
@font-face {
    font-family: title1;
    src: url("../fonts/PORKYS_.TTF");
}
@font-face {
    font-family: title2;
    src: url("../fonts/KISSMKMK.TTF");
}
@font-face {
    font-family: title3;
    src: url("../fonts/mieszkanie9.otf");
}
@font-face {
    font-family: textocomun;
    src: url("../fonts/NiceChalk.ttf");
}
@keyframes scroll {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}
@keyframes scroll2 {
    0% { background-position: 0 0; }
    100% { background-position: -100% 100%; }
}


p {
    font-family: textocomun;
    color: white;
}

h1 {
    font-family: title3;
    font-size: 50px;
}

.bg1 {
    background-image: url("../img/bg1.png");
    background-size:auto;
    background-position: center;
    background-repeat: repeat;
    animation: scroll 90s linear infinite;
}
.centrar {
    display: flex;
    align-items: center; 
    justify-content: center; 
    height: 100vh;
}
.vertical{
    flex-direction: column;
    gap: 20px;
}
.centrarTexto {
    text-align: center;
}

.caja1 {
    border-image-slice:30 30 30 30;
    border-image-width:30px 30px 30px 30px;
    border-image-outset:30px;
    border-image-repeat:repeat repeat;
    border-image-source:url("../img/borders/border1.png");
    border-style:solid;
}

.caja2 h2{
    background-color: black;
    border-radius: 20px 20px 0px 0px;
    padding: 10px 0px 10px 20px;
    font-family: title1;
    color: white;
}
.caja2 p{
    background-color: white;
    color: black;
    border-radius: 0px 0px 20px 20px;
    padding: 20px;
    font-size: 20px;
}

.caja3{
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap:5px;
    padding: 5px;
}
.caja3 a{
    background-color: black;
    border-radius: 15px;
    padding: 10px;
    color: white;
    font-family: title1;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
}

.caja3 a:hover{
    transform: rotate(-2deg);
}

.textoRef {
    font-family: title2;
    font-size: 20px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}
.textoRef:hover {
    color: #ff00ff;
    filter: drop-shadow(0 0 5px white);
}
.maintitle {
    font-family: title3;
    font-size: 130px;
    letter-spacing: 5px;
    color: white;
    text-shadow: 0 0 10px #fdf0fd, 0 0 20px #ff49ff, 0 0 30px #ff00ff, 0 0 40px #ff00ff, 0 0 50px #ff00ff, 0 0 60px #ff00ff, 0 0 70px #ff00ff;
}

.heart {
  aspect-ratio: 1;
  clip-path: 
    shape(
      from 50% 91%,
      line to 90% 50%,
      arc to 50% 9%  of 1%,
      arc to 10% 50% of 1%
    );
}