*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Roboto',sans-serif;
  background:#000000;
  color:#fff;
  overflow-x:hidden;
}

p {
  margin: 2%;
}

/* My name */
.My-name{
 background: #39FFF8;
background: linear-gradient(to right, #39FFF8 0%, #F9FF41 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* ===== VIDEO BACKGROUND ===== */
.video_bg_container{
  position:fixed;
  inset:0;
  z-index:0;
}

.video_bg_container video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 0.8s ease;
}

.video_bg_container video.active{
  opacity:1;
}

/* Overlay */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0, 0, 0, 0.55);
  z-index:1;
  pointer-events:none;
}

/* ===== MAIN CONTAINER ===== */
.container{
  position:relative;
  z-index:2;
  min-height:100vh;
  padding:30px 5%;
  display:flex;
  flex-direction:column;
}

/* HEADER */
.headers{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.headers h1{
  font-size:1.8rem;
}

.headers ul{
  list-style:none;
}

.headers li{
  display:inline-block;
  margin-left:20px;
}

.headers a{
  text-decoration:none;
  color:#fff;
  font-weight:600;
}

/* DESCRIPTION */
.description{
  margin-top:120px;
  max-width:600px;
}

.description span{
  color:#F5FF3B;
  font-weight:700;
  text-transform:uppercase;
}

.description h2{
  font-size:3rem;
  margin:10px 0;
}

/* PROJECT INFO */
/* Contenedor flex para imagen + terminal 
.project_info.about_block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; 
}*/

.project_info {
   flex-wrap: wrap;
   align-items: flex-start;
gap: 40px;


    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(4px) saturate(106%);
    -webkit-backdrop-filter: blur(4px) saturate(106%);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(209, 213, 219, 0.3);
}

.project_info h3{
  color:#F5FF3B;
  margin-bottom:10px;
}

.project_info a{
  display:inline-block;
  margin-top:10px;
  margin-right:10px;
  padding:6px 12px;
  background:#F5FF3B;
  color:#644f23;
  border-radius:6px;
  text-decoration:none;
}

/* SLIDER */
.video_slider{
  position:absolute;
  right:5%;
  top:50%;
  transform:translateY(-50%);
  width:280px;
  display:flex;
  flex-direction:column;
  gap:15px;

  height:80vh;
  overflow-y:auto; 
  
  overflow-x:hidden;
  padding-right:5px;
}

.video_slider video{
  width:100%;
  border-radius:12px;
  border:2px solid #ffffff;
  cursor:pointer;
  transition:0.3s;
}

.video_slider video:hover{
  transform:scale(1.05);
  border-color:#F5FF3B;
  border-radius:32px;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media(max-width:1024px){
  .video_slider{
    position:static;
    transform:none;
    flex-direction:row;
    width:100%;
    margin-top:40px;
    overflow-x:auto;
    overflow-y:hidden;
    height: 100px;
  }

  .video_slider video{
    min-width:160px;
  }

  .description h2{
    font-size:2.5rem;
  }
}

/* Mobile */
@media(max-width:768px){

  .headers{
    flex-direction:column;
    gap:15px;
  }

  .description{
    margin-top:60px;
  }

  .description h2{
    font-size:2rem;
  }

  .video_slider{
    gap:10px;
  }

  .project_info{
    font-size:0.9rem;
  }

  .video_slider video{
    min-width:160px;
    height:10vh;
  }
}

/*video scroll*/

.video_slider::-webkit-scrollbar{
  width:6px;
  height:6px;
}

.video_slider::-webkit-scrollbar-thumb{
  background:#F5FF3B;
  border-radius:10px;
}

/* Responsive tablet / mobile */
@media (max-width: 1024px) {
  .video_slider::-webkit-scrollbar {
    height: 4px; 
    width: 4px;  
  }

  .video_slider::-webkit-scrollbar-thumb {
    background: #F5FF3B;
    border-radius: 6px;  }
}

/* Tech container*/

.tech-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tech-badge {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e1e2f, #2c2c44);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-badge:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #6a5acd, #836fff);
  box-shadow: 0 4px 12px rgba(106, 90, 205, 0.4);
}

/* title of the descriotion */

.project-title {
  position: relative;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* efecto glitch */
.project-title.glitch {
  animation: glitch 0.4s linear;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(1px, 2px); }
  100% { transform: translate(0); }
}

/* línea tipo scan */
.project-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #F5FF3B, #00C2FF);
  transition: width 0.4s ease;
}

.project-title.active::after {
  width: 100%;
}

/* Cookies */
#cookieConsent {
  background: rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3.9px);
  -webkit-backdrop-filter: blur(3.9px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  color: #9f9e9e;
  padding: 15px;
  text-align: center;
  z-index: 2;
  z-index: 99999;
}


