* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Anonymous Pro", monospace;
}
html {
  scroll-behavior: smooth;
}
hr {
    margin: 1rem 0;
}
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #270a0a 0%, #3a1a1a 50%, #190f0f 100%);;
  background-attachment: fixed;
}
header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: rgba(1, 3, 10, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
nav{
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.nav a {
    font-family: "Anonymous Pro", monospace;
}
.nav:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: aliceblue;
    text-decoration: none;
    transition: all 0.3s ease;
}
.logo:hover {
    color: rgb(119, 0, 255);
    transform: scale(1.05);
}

.navegador {
  display: flex;
  list-style: none;
}
.navegador a {
    text-decoration: none;
    color: aliceblue;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}
.navegador a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgb(255, 0, 0), #ff0000);
    transition: width 0.3s ease;
}

.navegador a:hover::after {
    width: 100%;
}

.navegador a:hover {
    color: rgb(255, 0, 0);
}

#hero {
  padding-top: 2rem;
  min-height: 100vh;
  background: linear-gradient(rgb(0,0,0,0.5),rgb(0,0,0,0.5)),url(../imagenes/ChatGPT\ Image\ 12\ dic\ 2025\,\ 02_02_39\ p.m..png);
  background-size: cover;
  background-position: flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: aliceblue;
  padding: 0 1rem;
}
#hero p{
    font-size: 2rem;
  }
#hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: rgb(236, 34, 20);
}
/* .saber {
  background-color: rgba(240, 71, 41, 0.993);
  color: rgb(222, 238, 251);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgb(213, 43, 43);
  position: relative;
  overflow: hidden;
}
.saber::before {
  content: "";
  position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.saber:hover::before {
    left: 100%;
}
.saber:hover {
  background-color:  rgb(179, 37, 37);
  transform: translateY(-3px) scale(1.05);
} */

a:hover {
  color: rgb(249, 44, 44);
}

#herramienta {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
#herramienta h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 3rem;
  color: aliceblue;
}
.herramienta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(400px, 1fr));
  gap: 2rem;
}

.herramienta-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidem;
  box-shadow: 0 2px 5px rgb(0, 0, 0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 500px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.herramienta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(255, 0, 0, 0.3);
  border-color: rgba(160, 7, 7, 0.5);
}

.herramienta-card img{
  width: 100%;
  height: 50%;
  object-fit: contain;
  padding:2rem;
  transition: transform 0.4s ease;
  animation: reveal linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.herramienta-card:hover img {
    transform: translateY(-5px) scale(1.05);
}

.herramienta-card h3 {
  padding: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #a90000 0%, #db3f3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: bold;
}

.definicion {
    padding: 1rem;
    text-align: center;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
}

.herramienta-card button {
  margin: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg,#3a1a1a 0%,#a90000 100%);
  cursor: pointer;
  color: aliceblue;
  border-radius: 25px;  
  border: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.tutorial:hover {
    background: linear-gradient(135deg,#ca5757 0%,#fdcece 100%);
    transform: translateY(-2px) scale(1.020);
    box-shadow: 0 0 20px rgba(144, 0, 0, 0.4);
}

footer {
  background-color: #233;
  color: aliceblue;
  padding: 2rem;
  text-align: center;
  border-top: #6e1616 solid 0.5px;
  background: linear-gradient(135deg, #270a0a 0%, rgb(51, 34, 34) 100%);
}
@media screen and (max-width: 1024px) {
  .herramienta-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2rem;
    justify-items: center;
  }
  .herramienta-card {
    min-height: 600px;
  }
}

@media screen and (max-width: 820px){
  nav {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  nav hr{
    margin-bottom: 1rem;
  }
  .navegador {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  #hero{
    background-size: contain;
    background-repeat: no-repeat;
  }
  #hero p{
    font-size: 1.5rem;
  }
  .herramienta-card img{
  width: 100%;
  max-height: 150px; ;
  height: 100%;
  object-fit: contain;
  align-items: center;
  padding: 0 10%;
  }
  header {
    position: relative;
  }
  #herramienta h2 {
    font-size: 2rem;
  }
  .herramienta-card{
    min-height: 500px;
    position: relative;
    font-size: 10px;
    display: grid;
    align-items: center;
  }
  .herramienta-card h3 {
    font-size: 1.5em;
    padding: 0;
  }
  .herramienta-card p {
    font-size: 10px;
    padding: 0.5rem;

  }
  .tutorial {
    height: 2.5rem;
  }
}