:root {
  --color-fondo: white;
  --color-texto: black;
  --color-navbar: rgba(255, 255, 255, 0.8);
  --color-borde: #ddd;
}

body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.bar-flex{
  width: 100%;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: red;
  border-bottom: 2px solid rgb(255, 5, 5);
  top: 0;
}

.bar-log h1{
  color: white;
  margin: 10px;
}

.bar-log a{
  text-decoration: none;
  color: white;
}

.enlaces{
  height: 50px;
  background-color:firebrick;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}
.enlaces a{
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.enlaces a:hover{
  color: lightgray;
}

.grande{
  margin-top: 20px;
}

.grande a{
  text-decoration: none;
}

.img-grande{
  display: block;
  width: 90%;
  margin: 0% 5% 0% 5%;
  border: 3px solid white;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

@media (min-width: 900px) {

  .img-grande{
  width: 800px;
  margin: 20px auto;
  border: 3px solid white;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  }
}

.tit{
  text-align: center;
}

.bar-new{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}

.bar-new-img{
  border: 3px solid white;
  width: 40%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.bar-new-text h3{
  font-size: 2vmax;
}
.bar-new-text a{
  text-decoration: none;
}
.bar-new-text{
  border: 3px solid white;
  width: 40%;
  flex-shrink: 0;
}
.bar-new-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center 40%; 
}

.rec{
  text-align: center;
}

.linea{
  height: 1px;
  width: 90%;
  margin: 0% 5% 0% 5%;
  background-color: black;
}

@media (max-width: 500px) {
  .img-grande { width: 100%; margin: 0;}

  .bar-new{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  }

  .bar-new-img{
  border: 3px solid white;
  width:85%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  }
  .bar-new-text h3{
  font-size: 2vmax;
  text-align: center;  
  }  
  .bar-new-text a{
  text-decoration: none;
  }
  .bar-new-text{
  border: 3px solid white;
  width: 85%;
  flex-shrink: 0;
  }
  .bar-new-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center 40%; 
  }
}

@media (min-width: 900px) {
  .bar-new-img { width: 385px; }
  .bar-new-text { width: 385px; }
  .bar-new-text h3{ font-size: 23px; }
  .linea{ height: 1px; margin: 1px auto; width: 800px; background-color: black;}
}
