@import url("responsive.css");
*{
  margin: 0;
  box-sizing: border-box;
}

:-webkit-any(article, aside, nav, section) h1 {
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
}
body{
    background-color: #dddddd;
    font-family: Arial, Helvetica, sans-serif; 
  }

  

  /*------------------Header-----------------*/
.social { 
    background-color: black;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-content: flex-start;
}
.social img{ 
  width: 30px;
  height: 30px;
}
.social li { 
    border: 100%;
    margin: 0 30px 0 30px;
}
.social li a {
   display:block; 
   width:32px; 
   height:32px;
   position:relative;
}


.portada{
  background-color: #be0a0af1;
  width: 100%;
  height: 125px;
  display: flex;
  flex-direction: row;
  color: #fffbf7;
}
.portada article{
  margin-left: 2%;
}
.logo img{
  width: 80px;
  height: 80px;
  margin-top: 25%;
}

.FaCENa{
  margin-top: 10%;
  font-size: 2rem ;
}


/* --------------------------- Fin header ------------------------ */

/* ---------------- Inicio Nav ---------------- */
nav{ 
  background-color: #3d3d3d;
  width: 100%;
  padding-top: 1mm;
  padding-bottom: 1mm;

}
nav ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  text-align: center;
  justify-content: space-around;
  width: 100%;
  height: auto;
}
nav ul li{
  width: 30%;
  height: 40px;

}
nav ul li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #ffffff;
}
nav ul li a:hover {
  background-color: rgb(233, 233, 233);
  color: #000000;
  border-radius: 10px;

}
/* -------------- Fin Nav ---------------  */

h1{
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

/* Estilos para el formulario */

form {
  background-color: rgb(197, 192, 192); /* Color de fondo rojo */
  width: 700px;
  border: 2px solid rgb(155, 25, 25);
  border-radius: 32px; /* Contorno redondeado */
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

form label {
  justify-content: left;
  color: rgb(155, 25, 25);
  width: 10%;
  margin-left: 0%;
  margin-right: 10px ;
  font-weight: bold;
  margin-bottom: 5px;
  
}

form input[type="text"] {
  text-align: center;
  width: 70%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid rgb(66, 66, 66);
  border-radius: 5px;
}
form input[type="text"]:hover {
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;

}
form select{
  text-align: center;
  width: 400px;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid rgb(66, 66, 66);
  border-radius: 5px;
  display: -webkit-inline-box;   
}


form input[type="submit"] {
  background-color: #e74c3c; /* Color de fondo rojo oscuro */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: #c0392b; /* Color de fondo rojo más oscuro en el hover */
}
/* ------------------------- Fin estilos formulario --------------------- */

h4 {
  display: inline-block;
  margin: 4px;
  text-align: left;
  color: red;
}

h5{
  text-align: center;
}

.Result-busqueda{
  text-align: center;
  width: 70%;
  height: auto;
  border: solid 1px #d6d3d3 ;
}


/* Section carreras  */
.carreras{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;

}
.carreras article{
  margin: auto;
  margin-bottom: 1%;
  width: 250px;
  height: 200px;
  border-radius: 32px;

}

.carreras article img{
  width: 250px;
  height: 150px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  box-shadow: 0 0 6px rgb(0, 0, 0, 0.5);
  border-radius: 32px;
}
.carrera img:hover{
  transition: all 0.3s ease-in-out;
    transform: scale(1.1);
}
.carreras h4{
  text-align: -webkit-center;
  color: #fff;
  background-color: rgb(155, 25, 25);
  display: flow-root;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* ---------------- footer ------------------ */

footer{
  text-align: left;
  width: 100%;
  background-color: rgb(80, 80, 80);
  color: #ffffff;
}
footer section {
  display: flex;
  flex-direction: row;
  margin: auto;
}
footer section article {
  padding-left: 10%;
  height: 100px;
  width: 50%;
  border: #fffefe solid 0.5px;
  margin: auto;
}

/*Estilo de la tabla */
table{
  border-color: #aeb0b1;
  background-color: rgb(253, 253, 253);
}
th {
  background-color: #000000;
  color: #fff;
}
table tr:nth-child(odd){
  background-color: rgba(190, 199, 247, 0.918);
}
table tr:nth-child(even){
  background-color: #dfddf0;
}
