/* Reset */

@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Guides:wght@400..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lobster&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    color: white;
    position: absolute;
  }
  body::after{
    content: "";
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
   /* background-image: url('069.jpg');
    background-repeat: repeat;
    background-size: auto;
    opacity: 1;
    filter: contrast(1.5);
    mix-blend-mode: color;
   
    z-index: 100;

  }
  
  canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /* or keep -1 if needed */
  }
  .no-rexture-wrapper{
    position: relative; 
    z-index:999;
    background-color: transparent;
    position: absolute;
    top:80%;
    left:50%;
    width: auto;
height: auto;
padding: 10px;;
  }
  /* Preloader */
  #preloader {
    background: #ff4592 url('images/load.gif') no-repeat center center;
    background-size: 5%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
  }
  
  /* Split layout container */
  .split-container {
    display: flex;
    height: 100vh;
  }
  
  /* Left half: p5.js canvas */
  .left-half {
    width: 50vw; /* Use viewport width for responsiveness */
  height: 100vh;
  position: relative; /* Needed for absolute canvas */
  z-index: 0;
  overflow: hidden;
  background: url('perrito3.gif') no-repeat center center;
 background-size: cover;
 
 height: 100%; /* Make sure it has a height */
 width: 50%; /* Make sure it has a width */
 filter: contrast(180%) brightness(150%)
  }
  
  /* Right half: grainy image background with SVG filter */
  /* Right half container */
.right-half {
 /* This is the key to centering the content */
 display: flex;
 align-items: center;      /* Vertically centers the content */
 justify-content: center;   /* Horizontally centers the content */
 
 position: relative; 
 background: url('Render Result-36.png') no-repeat center center;
 background-size: cover;
 
 height: 100%; /* Make sure it has a height */
 width: 50%; /* Make sure it has a width */
 filter: contrast(200%) brightness(150%)
}

/* Create the grainy overlay layer */
.right-half::before {
  content: ""; /* REQUIRED for pseudo-elements to appear */
  position: absolute; /* Cover the entire parent */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: color-dodge;
  
  /* Apply a semi-transparent layer or a solid color to show the grain */
  background-color: rgba(255, 255, 255, 0.1); /* Very slight white tint */
  
  /* Apply the SVG filter */
  filter: url('#nnnoise-filter'); 
  
  z-index: 1; /* Place it *above* the background image */
}

/* Content box for text and links */
.content-box {
  position: relative;
  z-index: 99; /* NEONBRILLANTE */
  text-align: center;
 
  color: rgb(2, 43, 104);
  padding: 1.5rem 2rem;
 
  
  
}

/* --- Other styles (kept for reference) --- */
.content-box p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.links {
  display: flex;
  flex-wrap: wrap;         /* wrap to next line if too many */
  justify-content: center; /* center horizontally */
  gap: .05rem;                /* space between items */
  padding: .05rem;
}
.links .link-one {
  /* Pushes the link 50px up (negative top margin) */
  margin-top: 0; 
  /* Pushes the link 20px left */
  margin-right: auto;
  margin-left: 45%; 
  width: 50vw;
  max-width: 100%;

}

/* Target the second link */
.links .link-two {
  /* Pushes the link 30px down (positive top margin) */
  margin-top: 0; 
  margin-right: 10%;
  margin-left: 0; 
  /* Pushes the link 40px right (auto margin or margin-left will adjust flow) */
 
 
   width:150px;
  max-width: 100%;
}

.links a {
  display: block;        /* so that width/height apply properly */
  /* you can also set flex properties here if needed */
}
.links img {
  display: block;
  height: auto;
  max-width: 150%;    /* safe responsive max */
 
  
  transition: transform 0.2s ease;  /* for hover effects */
}

/* Optional hover effect to scale the image a little */
.links img:hover {
  transform: scale(1.05);
}
  
  /* Draggable image */
  .draggable {
    position: absolute;
    cursor: grab;
    user-select: none;
    z-index: 10;
    justify-content: center;
  }
  
  .draggable img {
    width: 150px;
    height: auto;
    transition: transform 0.2s;
  }
  
  /* Footer Styling */
  .footer {
    width: 100%;
    background-color: rgb(255, 0, 191);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 20;
  }
  
  .footer p {
    margin: 0;
    font-size: 0.9rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .split-container {
      flex-direction: column;
    }
    .left-half, .right-half {
      width: 100%;
      height: 50vh; /* Each half takes half of the screen on smaller screens */
    }
    .content-box {
      padding: 1rem;
    }
    .draggable img {
      width: 120px; /* Smaller image on smaller screens */
    }
  }
  
  @media (max-width: 600px) {
    .content-box p {
      font-size: 1.2rem;
    }
    .links a {
      font-size: 1rem;
    }
  }
  

 


  .neon{
    position: relative;
    top:40%;
    left:50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding:  0 90px;
    font-size:  5vw;
    line-height: 3.9vw;
    color: #fa85ed;
    text-shadow: 0 0 40px #ddff00;
  
}

.neon:after{
    content: atrr(data-text);
    position: absolute;
    top:0;
    left:0;
    padding:  0 20px;
    z-index: 1;
    color: #ff9aeb;
    filter: blur(5px) 
}
h2{
    position: relative;
    top:auto;
    left: auto;
    transform: none;
    font-size: 2.3vw;
    text-transform: 15px;
    font-family: "Edu AU VIC WA NT Guides", cursive;


    
    font-weight: 180;
    font-style: normal;
    color: #00fe37;
    z-index: 1000;
}