@import url('https://fonts.googleapis.com/css?family=Sofia');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Bigelow+Rules&family=Fredericka+the+Great&family=Google+Sans+Code:ital,wght,MONO@0,300..800,1;1,300..800,1&family=Pixelify+Sans:wght@400..700&family=Playwrite+NZ+Basic+Guides&family=Reenie+Beanie&display=swap');

body{
  background-image: url('/deco-imgs/fondo10.jpg');
  background-size: cover;           /* or 'contain', or a specific size */
  background-position: center;      /* controls where it anchors */
  background-attachment: fixed;    /* optional: keeps it fixed while scrolling */
}
h1{
  padding-left:30px;
  color: #21DEC8;
  font-family: "Fredericka the Great", serif;
  font-size: 55px;
  font-weight: bold;
  font-style: normal;
}
p{
  text-align: center;
  color: white;
  padding-left: 50px;
  font-family: "Reenie Beanie", cursive;
  font-weight: bold;
  font-size: 40px;
}
.index-top-bg{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: url('/deco-imgs/tornasol_bg.jpg');
  background-size: cover;
  background-position: center;  /* ← add this */
  background-repeat: no-repeat; /* ← and this */
  width: 100%;
  height: 300px;
  padding: 0 40px;
  box-sizing: border-box;
}
.index-top-bg img {
  z-index: 2;
  position: relative;
}
.three-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px;
  box-sizing: border-box;
}

.column {
  flex: 1;  /* ← each column takes equal space */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;  /* ← prevents columns from overflowing */
}
.typewriter{
  position: relative;
  background-image: url('/deco-imgs/typing_machine.png');
  width: 100%;
  height: 1100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.typewriter-top-text {
  position: absolute;
  color: #463173;
  top: 30%;
  left: 49%;
  transform: translate(-50%, -50%);  /* ← ajuste fino para centrar perfecto */
  font-family: "Reenie Beanie", cursive;
  font-weight: bold;
  font-size: 60px;
  font-style: normal;
  width: 63%;          /* ← no se pasa de este ancho */
  text-align: center;  /* ← opcional, centra el texto */
}
.typewriter-top-text a {
   text-decoration: none;
   line-height: 1;
   position: relative;
   z-index: 0;
   display: inline-block;
   padding: 5px 5px;
   overflow: hidden;
   color: #463173;        /* pastel purple text */
   vertical-align: bottom;
   transition: color .3s ease-out;
}
.typewriter-top-text a::before {
   content: "";
   position: absolute;
   z-index: -1;
   top: 0;
   left: 0;
   transform: translateY(calc(100% - 2px));
   width: 100%;
   height: 100%;
   background-image: linear-gradient(60deg, #D982BF 0%, #A8E6E0 100%);
                                           /* pastel purple ↑    ↑ pastel turquoise */
   transition: transform .25s ease-out;
}
.typewriter-top-text a:hover { 
   color: #4A3566;        /* darker purple when hovering */
}
.typewriter-top-text a:hover::before {
   transform: translateY(0);
   transition: transform .25s ease-out;
}
.img-container{
  display: flex;
}