@import url('https://fonts.googleapis.com/css2?family=Updock&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=PT+Serif:wght@700&family=Roboto:ital,wght@0,400;1,300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster+Two&family=Redressed&display=swap");
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

header {
  background-color: wheat;
  width: 98%;
  margin: auto;
  margin-top: 5px;
  padding: 5px;
  box-shadow: 2px 2px 2px black;


  display: flex;
  justify-content: space-around;

  position: relative;
}
.header-header{
  width: 80%;

}

h1{
  font-family: 'Updock', cursive;
  text-align: center;
  font-size: 35px;
  margin-bottom: 8px;
}
header .subtitulo{
  text-align: center;
}
/*---------------nav---------------------*/
nav{
  background-color: rgba(244, 244, 185, 0.8);
  border-radius: 4px;
  width: 70%;
  padding: 0px 8px 8px 8px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;

  z-index: 1000;

  position: absolute;
  top: 105%;
  left: -100%;
  transform: scale(0.2);
  transition: 800ms;
  box-shadow: 3px 3px 3px black;
  }
  .nav_visible{		
      left: 1%;
      transform: scale(1);
  }
  .header-nav-boton a{
      background-color: white;
      border-radius: 3px;
      color: black;
      text-decoration: none;
      display: inline-block;
       width: 100%;
       height: 30px;
       margin-top: 5px;
       text-align: center;
       line-height: 30px;
       box-shadow: 2px 2px 2px black;
       transition: 500ms;
  
  }
  .header-nav-boton a:hover{
      background-color:beige;
      transform: scale(1.1);
  }
  
  
 
  /*----------log-------*/
  .header-nav-logo-hamb{

    width: 15%;
    margin: auto;
    margin-right: 2%;
    text-align: end;
}
.header-nav-logo-hamb-imagen{

    width: 50px;
    cursor: pointer;
    transition: 500ms;
}
.header-nav-logo-hamb-imagen img{
    background-color: white;
    width: 100%;
    padding: 6px;
    box-shadow: 2px 2px 2px black;

}
.header-nav-logo-hamb-imagen:hover{
    transform: scale(1.1);

}









  
 
 
 /*--------------------------- 430 ------------------------------------*/
 @media all and (max-width: 430px){
  header .subtitulo2 {
    font-family: "Abril Fatface", cursive;
    font-size: 60px;
    letter-spacing: 10px;
    word-spacing: 25px;
  }
 }

   
    /*-----------------600----------------------------------*/
@media (min-width: 600px) {
 

  nav{
      width: 100%;
      margin: auto;
      margin-left: 100%;
      display: flex;
      flex-direction: row;

     
      transform: scale(0.9);
      transition: 1s;
      box-shadow: 3px 3px 3px black;
  }

      .header-nav-boton a{
        /*---  display: inline-block;
          width: 170px;  --*/
         padding: 2px 10px;
      }
      .header-nav-logo-hamb{
          display: none;
      }
  }

 