@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;900&display=swap');

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* --------------Botonera - Inicio----------- */

.info__botones {
    /* background-color: rgba(0, 0, 0, 0.643); */
    width: 30rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.info__boton {
    display: grid;
    grid-template-columns: 30% 1fr;
    column-gap: 1rem;
    align-items: center;
}

.info__btn {
  /* background-color: tomato; */
  width: 3.4rem;
}

.info__icon {
    width: 5rem;
}

.text {
    display: flex;
    justify-content: start;
}

.info__enla {
    padding: .8rem 2rem;
}

.info__enla {
    text-decoration: none;
    font-size: .9rem;
    font-weight: 900;
    font-family: 'Lato', sans-serif;
    color: #ff7700;
}

/* --------------Botonera Final------------ */


.btn01 {
    /* background-color: rgb(0, 0, 0); */
    border-radius: 50px;
    margin: 2rem;
}
.btn02 {
    background-color: rgb(47, 195, 218);
    border-radius: 50px;
}
.btn03 {
    background-color: rgb(70, 65, 237);
    border-radius: 50px;
}
.btn04 {
    background-color: rgb(16, 91, 142);
    border-radius: 50px;
}


/* body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
} */

/* Sección de noticias */
.noticias {
  /* background-color: #1e3a8a; */
  padding: 2rem;
  max-width: 1200px;
  margin: 7rem 0 5rem ;
}

.noticias h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

.noticia-card {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-top: 10rem;
  margin-bottom: 2rem;
  transition: transform 0.2s;
}

.noticia-card:hover {
  transform: scale(1.02);
}

.noticia-card img {
  width: 40%;
  object-fit: cover;
}

.noticia-content {
  padding: 1.5rem;
  flex: 1;
}

.noticia-content h3 {
    text-align: left;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.noticia-content p {
    text-align: left;
  margin-bottom: 1rem;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #ff6200;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #3b82f6;
}

/* Nota completa */
.nota-completa {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-top: 7rem;
}

.nota-completa h2 {
  margin-bottom: 1rem;
  color: #1e3a8a;
  text-align: left;
}

.nota-completa img {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.nota-completa p, 
.nota-completa ul {
  margin-bottom: 1rem;
  color: #444;
  text-align: left;
}

.nota-completa ul {
  list-style: none;
}

.nota-completa li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.nota-completa li::before {
  content: "✔";
  color: #1e3a8a;
  position: absolute;
  left: 0;
}

/* Cursor */
.cursor{
  /* background-color: rgb(17, 62, 58); */
    /* position: relative; */
    width: 26 rem;
    height: auto;
    margin: 1rem 0 5rem 0;
    border-right: 2px solid rgba(255, 139, 50, 0.75);
    font-size: 1.1rem;
    text-align: left;
    padding: 3rem;
    color: #ff8d1b;
    /* transform: translateY(-50%); */
}
/* Animation */
.typewriter-animation {
  animation: 
    typewriter 6s steps(50) 2s 1 normal both, 
    blinkingCursor 900ms steps(50) infinite normal;
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blinkingCursor{
  from { border-right-color: rgba(255, 111, 0, 0.75); }
  to { border-right-color: transparent; }
}
