/* 1.- Tipografia */
@import url("https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@1..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Roboto+Slab:wght@100..900&display=swap");

h1,
h2,
h3 {
  font-family: "Roboto Slab", serif;
}
p,
span,
a {
  font-family: "Hepta Slab";
}

/* 2.- Estilos básicos */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(to right, rgb(255, 228, 230), rgb(204, 251, 241));
}

/*Estilos para hacer un slpash screen con palabras*/
/* Estilos del splash screen */
#splash {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 1s ease;

  /*Codigo agregado para que se desvanezca*/
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 0s 1s; /* El tiempo de transición puede ajustarse */
}

.splash-content h1 {
  font-size: 3rem;
}

/*Codigo agregado para que se desvanezca*/
#splash.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s 1s;
}
/*00000*/

.splash-content p {
  font-size: 1.2rem;
}

/* Ocultar el contenido principal mientras el splash está activo */
#main-content {
  display: none;
}

/* Mostrar el contenido principal una vez que el splash desaparece */
.show-content #main-content {
  display: block;
}

/* 1.Estilos de Encabezado o NavBar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #154360;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 50px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 3px 8px #000;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo span {
  color: #eceff1;
  font-size: 1.2rem;
  padding-bottom: 5px;
  text-shadow: 2px 2px 3px #0d0d0d;
}

.header .logo img {
  height: 50px;
  width: 50px;
  transition: all 0.3s;
  cursor: pointer;
}

.header .logo img:hover {
  transition: all 1s ease;
  transform: scale(1.3);
}

.header .nav-links {
  list-style: none;
}

.header .nav-links li {
  display: inline-block;
  padding: 0 15px;
}

.header .nav-links li:hover {
  transition: all 1s ease;
  transform: scale(1.1);
}

.header .nav-links a {
  color: #eceff1;
  text-decoration: none;
}

.header .nav-links li a:hover {
  color: #ffbc0e;
}

main {
  margin-top: 70px;
}
/*Estilo de la Primera Sección*/
.first-section {
  background-color: #fff;
  border: 1px solid #a3a2a2;
  border-radius: 10px;
  margin: 15px;
  box-shadow: 0 4px 8px #000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 15px;
}

.left-content {
  width: 50%;
  margin: auto 10px;
}

.description {
  text-align: left;
  margin-bottom: 20px;
}

.title-description {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  padding-left: 5px;
  margin: 0 0px 20px 00px;
  border-bottom: 5px solid #000;
  padding-left: 10px;
  padding-bottom: 5px;
  width: 200px;
  transition: 2s ease;
}

.title-description:hover {
  transition: 1s ease;
  width: 90%;
  font-size: 1.1rem;
}

.description p {
  font-size: 1rem;
  color: #555;
  width: 90%;
  margin-bottom: 50px;
}

.description p:hover {
  transition: 0.7s ease;
  font-size: 1.01rem;
  color: #111;
}

.description a {
  color: #007bff;
  text-decoration: none;
}

.mini-announcements {
  display: flex;

  flex-direction: flex-start;
  width: 100%;
}

.mini-item {
  display: flex;
  align-items: center;
  width: 80%;
  margin-bottom: 10px;
}

.mini-text h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.mini-text p {
  margin-left: 10px;
  font-size: 0.9rem;
  color: #333;
}

.mini-text a {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}

.right-content {
  flex-grow: 5;
  display: flex;
  width: 50%;
  flex-direction: column;
  flex-wrap: nowrap;
}
.images {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-bottom: 2px;
}

.image-item {
  width: 100%;
  height: 400px;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #848484;
}
.image-item {
  width: 0px;
  flex-grow: 1;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.5s ease;
}
.image-item:hover {
  cursor: crosshair;
  width: 200px;
  opacity: 1;
  filter: contrast(120%);
}
.desc {
  font-size: 0.7rem;
  color: #696969;
}

.second-section {
  background-color: #fff;
  border: 1px solid #a3a2a2;
  margin: 15px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px #000;
}
.galeria {
  display: flex;
  width: 60%;
  height: 430px;
  margin: auto;
}
.galeria img {
  width: 0px;
  flex-grow: 1;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.5s ease;
  border-radius: 10px;
  border: 1px solid #a3a2a2;
}

.galeria img:hover {
  cursor: crosshair;
  width: 300px;
  opacity: 1;
  filter: contrast(120%);
  border: 1px solid #000;
}

.news {
  background-color: #fff;
  display: flex;
  margin-right: 10px;
  margin-top: 20px;
}

.news-items {
  display: flex;
  flex-direction: column;
  padding: 10px;
  margin: 10px;
  width: 70%;
  border: 1px solid #a3a2a2;
  border-radius: 15px;
  box-shadow: 0 4px 8px #949494;
  transition: 1s ease;
}
.news-items h3 {
  margin-bottom: 10px;
}
.news-items p {
  text-align: justify;
  margin: 5px;
}

.news-items:hover {
  transition: 1s ease;
  box-shadow: 0 4px 8px #000;
  transform: translateY(-5%);
}

.img-news {
  height: 60px;
  width: 80px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  flex-grow: 2;
  margin-right: 10px;
}

.desc-news {
  flex-grow: 1;
  margin-left: 0px;
}
.desc-news h3 {
  font-size: 1.2rem;
}

.desc-news p {
  font-size: 0.9rem;
}

.desc-news a {
  font-size: 0.8rem;
}

@media (max-width: 585px) {
  .first-section {
    flex-direction: column;
  }
  .news {
    display: flex;
    flex-direction: column;
  }
}

/* -------------------Codigo de Prueba--------------------*/
/*footer*/
/* Estilo para el pie de página */
footer {
  background-color: #f5f5dc;
  padding: 20px;
  border-top: 1px solid #000;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  color: #333;
  max-width: 1200px;
}

.logo-section {
  text-align: center;
  padding-right: 40px;
}
.search-section button {
  padding: 5px 10px;
  border: none;
  background-color: #154360;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
}

.search-section button:hover {
  transform: translateY(-3%);
  transition: all 0.2s ease;
}

.search-section {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding: 0 40px;
  height: 150px;
}

.logo-section h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.logo-section p {
  max-width: 250px;
  font-size: 0.9em;
  line-height: 1.5;
}

.search-section h2 {
  margin-bottom: 10px;
}

.search-section input[type="text"] {
  padding: 5px;
  border: 1px solid #000;
  border-radius: 5px;
  width: 150px;
}

.social-section {
  text-align: center;
  padding-left: 60px;
}

.social-section h3 {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.social-section p {
  margin: 5px 0;
  font-size: 0.9em;
}

.social-section a {
  text-decoration: none;
  color: #333;
}

.social-section a:hover {
  text-decoration: underline;
}

.data-icons {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}
/* Fin de codigo de prueba*/
