body{
    margin: 0;
  }
  a {
    display: inline;
    margin: 5px;
    font-family: fantasy;
    text-decoration: none;
    color: black;
}
header{
  display: flex;
  min-height: 10px;
  background-color: burlywood;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  }
  .logo{
    display: flex;
  }
  .logo img{
    height: 100%;
  }
  nav a:hover {
    color:beige;
  }
  @media (max-width:1000px){
    header{
      flex-direction: column;
      width: 100%;
    }
    nav{
      padding: 10px 0px;
    }
    @media (max-width:400px)
    body{
    width: 100%;
      flex-direction::before;
}
    @media (max-width:400px)
    footer{
    width: 100%;
      flex-direction: column;
}
  }
  .contenido {
    float: left;
    width: 150px;
    height: 100px;
    padding: 16px;
   margin: 3px;
   text-align: center;
   font-size: 17px;
  }
  .sub-t {
    float: left;
    padding: 12px;
    align-items: center;
  }
  .foto2{
    height: 200px;
    width: 150px;
    float: left;
    left: 25px;
  }
  h3{
    text-align: center;
  }
  .contenido1{
    align-items: center;
  }
  footer{
    background-color:blanchedalmond;
    width: 100%;
    height: 140px;
    bottom: 0;
    position:fixed;
    text-align: center;
    color: black;
  }