body {
  background-color: rgb(3, 24, 52);
  margin: 0;
  font-family: Arial, sans-serif;
  animation: fadeIn 0.8s ease-in-out;
}

nav a {
  text-decoration: none;
  color: #81cca6;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #a2efcf;
}

header {
  text-align: center;
  padding: 20px;
  color: #c5ecff;
}

h1 {
  font-size: 40px;
}

.hero {
  background: linear-gradient(rgba(124, 222, 231, 0.393), rgba(66, 156, 143, 0.475)), url('../Katherine\ Johnson.png');
  background-size: cover;
  background-position: center;
  color: rgb(197, 236, 255);
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 50px;
  font-family: 'Courier New', Courier, monospace;
}

.hero p {
  font-size: 20px;
  font-family: 'Courier New', Courier, monospace;
}

.section {
  padding: 40px 20px;
  text-align: center;
}

.section h2 {
  color:#c4fce0
  
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  animation-delay: 0.6s;
  opacity: 0;
  animation: subir 0.8s ease forwards;
}

.card {
  font-size: 16px;
  background: #7cbeaf;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 4px 4px 0px #266664;
  transition: transform 0.3s;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 15px #7cddd0;
}

footer {
  background: #2c4564;
  color: #b0efe5;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer p {
  margin-top: 30px;
  text-align: center;
  font-size: 18px;
}

.link-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sub-header {
  text-align: center;
  padding: 30px 20px;
  color: #8bd8b1;
  position: relative;
  animation-delay: 0.2s;
  opacity: 0;
  animation: subir 0.8s ease forwards;
}

.btn-voltar {
  position: absolute;
  left: 20px;
  top: 30px;
  text-decoration: none;
  color: #75a4cd;
  font-weight: bold;
  transition: 0.3s;
}

.btn-voltar:hover {
  color: #65bedb;
}

.content {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  color: #d9e1f1;
  line-height: 1.6;
  text-align: justify;
  animation-delay: 0.4s;
  opacity: 0;
  animation: subir 0.8s ease forwards;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.content p {
  margin-bottom: 20px;
}

.curiosidades-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
  color: #d9e1f1;
  font-size: 20px;
  max-width: 600px;
}

.curiosidades-list li {
  background: #2c4564;
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 2px 2px 0px #1b2f4a;
  margin-bottom: 15px;
  text-align: left;
}

.container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

h2.titulo {
  text-align: center;
  width: 100%;
}

h3.titulo {
  text-align: center;
  width: 100%;
}

.texto {
  text-align: left;
}

img {
  display: block;
  margin: 20px 0 20px auto;
  border-radius: 5%;
  border-color: #81cca6;
  border-width: 10px;
  border-style: solid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}