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



* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
}

ul {
  list-style-type: none;
}

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

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

p {
  margin: 10px 0;
  text-align: justify;    
}

img {
  width: 100%;
}


.contenedor {
  max-width: 1100px;
  margin: 0 auto;
  overflow: auto;
  padding: 0 40px;
}

.columnas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.flex {
  display: flex;
  justify-content: center; 
  align-items: center;
  height: 70px;
}



.py-3 {
  padding: 2rem 0;
}

.py-5 {
  padding: 4rem 0;
}


.fondo1 {
  background-color: #047aed;
  color: #fff;
}

.fondo2 {
  background-color: #002240;
  color: #fff;
}

.fondo3 {
  background-color: #f4f4f4;
  color: #333;
}

.nombre {
  font-size: 4rem;
}

.carrera {
  font-size: 20px;
}

.mat {
  font-size: 2rem;
}


/* Navbar */
.navbar {
  background-color: #047aed;
  color: #fff;
  height: 100%;
    
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: #fff;
  padding: 10px;
  margin: 0 5px;
}

.navbar a:hover {
  border-bottom: 2px #fff solid;
}

.navbar .flex {
  justify-content: space-between;
}



.navbar ul li.submenu ul{
    display: none;
    position: absolute;
 }

.navbar ul li.submenu:hover ul{
   display: block;
 }

/* caracteristicas*/

.caract2 img {
  width: 300px;
  justify-self: flex-end;
}



/* Tableta */
@media (max-width: 768px) {
  .columnas{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .caract1,
  .caract2, {
    text-align: center;
  }

  .caract2 img {
    justify-self: center;
  }

}

/* celular */
@media (max-width: 500px) {
  .navbar {
    height: 110px;
  }

  .navbar .flex {
    flex-direction: column;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }
      
}
