@import url('https://fonts.googleapis.com/css?family=Ranga|Rubik');

/*-----> Generales HTML <-----*/

  body{
    background-color: #444444;

    font-family: 'Rubik', sans-serif;

    line-height: 1.5em;

    padding: 0;
    margin: 0;
    height: 100vh;

    box-sizing: border-box;
  }

  ul{
    list-style: none;
    padding: 0;
  }

  a{
    text-decoration: none;
    cursor: context-menu;
  }

  

/**/

/*-----> CLASSES <-----*/

  .wrapper{
    display: flex;

    width: 80%;
    max-width: 1280px;
    height: 100%;

    margin: auto;
  }

/**/

/*-----> #IDs <-----*/

  #header{
    width: 100%;

    color: #1B75BB;
    background-color: #f5f5f5;
    border-bottom: #1B75BB 15px solid;
  }

  #navButton{
    width: 50px;
    height: 50px;

    margin: 0;

    display: none;
  }

  #acercaDe, #beneficios, #ofertas, #productos{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-items: center;

    padding-top: 25px;
    padding-bottom: 15px;
  }

  #footer{
    display: flex;

    position: relative;
    bottom: 0;

    color: #f5f5f5;
    background-color: #000000;

    min-height: 175px;
  }

  #contacto{
    display: flex;
  }

/**/

/*-----> HEADER <-----*/

  #header .wrapper{
    align-items: center;
  }

  #header img{
    max-height: 125px;
    margin: 25px 0;
  }

  #header .titleText{
    padding: 15px;
    min-width: 432px;
  }

  #header h1, h5{
    margin: 0;
    padding: 0;
  }

  #header h1{
    letter-spacing: 0.05rem;
  }

  #header h5{
    font-weight: 400;
    letter-spacing: 0.25rem;
  }

  #header .navBar{
    justify-self: flex-end;
    margin-left: auto;
  }

  #header li{
    display: inline;
    margin-left: 35px;
  }

  #header a{
    color: #0073e5;
    font-size: 18px;
    text-transform: uppercase;
  }

  #header a:hover{
    color: #7ddc1f;
    font-weight: bold;
  }

  #header .currentLink{
    color: #ff3030;
  }

  #header .currentLink:hover{
    color: #ff3030;
    font-weight: bold;
  }

  #navButton:hover, #navButton:focus{
    background-color: #0073E5;
    color: #f5f5f5;
  }

/**/

/*-----> CONTENT <-----*/
#content .background{
  background-image: url("../Imagenes/Sala_Operaciones02.jpg");
  background-size: cover;
  background-repeat: no-repeat;

  height: 100vh;
  min-height: 380px;;
}

#content .wrapper{
  color: white;

  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
}

#boxes .wrapper{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;

  background-color: #777777;

  width: 80%;
  max-width: 1280px;
  height: 100%;

  margin: auto;
}

#content h1{
  text-shadow: 5px 5px 3px #222222;
  font-size: 5rem;
}

#content h3{
  text-shadow: 3px 2px 2px #000000;
  font-style: italic;
  font-size: 2rem;
  font-weight: 200;
  word-spacing: 0.05rem;
}

#content .highlight{
  margin-top: 10px;
  color: #1B75BB;
}

#content .box{
  text-align: center;
  margin: 20px;
}

#content .box a{
  color: #f5f5f5;
}

#content .box img{
  border-radius: 15px;
}

#content .box h2, #acercaDe h2, #beneficios h2{
  color: #1B75BB;
  text-shadow: 2px 2px 1px #222222;
}

#content .box h5{
  font-weight: 400;
}

/**/

/*-----> FOOTER <-----*/
#footer .wrapper{
  flex-direction: column;
  align-items: center;
}

#footer li{
  display: inline;
}

#footer a{
  color: #f5f5f5;
  margin: 0 25px;
}

/**/

/*-----> ACERCADE <-----*/

#acercaDe .box1, #beneficios .box1{
  flex-basis: 30%;
  align-self: center;
}

#acercaDe .box2, #beneficios .box2{
  flex-basis: 70%;
  overflow: hidden;
}

#acercaDe h2{
  text-align: center;
}

#acercaDe p{
  text-align: justify;
  padding-right: 25px;
  
  flex-basis: 0;
}

#acercaDe .wrapper, #beneficios .wrapper, #ofertas .wrapper, #productos .wrapper{
  margin: 0 auto 10px auto;
  background-color: #777777;
  border-radius: 15px;

  flex-wrap: wrap;

  color: #f5f5f5;
}

/**/

/*-----> BENEFICIOS <-----*/

#beneficios p, #ofertas p, #productos p{
  padding-left: 25px;
  text-align: justify;
  padding: 0 25px;
  margin: 0;
}

#beneficios .title, #ofertas .title, #productos .title{
  background-color: #444444;
}

#beneficios img{
  max-width: 250px;
  display: block;
  margin: 25px auto;
}

#beneficios h2{
  padding: 0 25px;
}

#beneficios .texto{
  padding-left: 75px;
}

/**/

/*-----> CONTACTO <-----*/

#contacto .wrapper{
  margin: 25px auto;
  justify-content: space-between;
  background-color: #777777;
  padding: 25px;
  border-radius: 15px;
}

#contacto h3{
  color: #f5f5f5;
}

/**/

/*-----> OFERTAS <-----*/

#ofertas img{
  width: 75%;
  margin: 25px auto;
}

#ofertas .wrapper{
  justify-content: center;
}

#ofertas a{
  text-align: center;
}

/**/

/*-----> PRODUCTOS <-----*/

#productos .colapsableBtn{
  width: 45%;
  height: 35px;
  margin: 0 auto;
  font-size: 18px;
  text-align: left;
  padding-left: 15px;
  border: none;
  outline: none;
  transition: 0.4s;
}

#productos .colapsableCtn{
  margin: 0;
  height: fit-content;
  display: none;
}

#productos .wrapper{
  flex-direction: column;
}

#productos table{
  width: 45%;
  margin: 0 auto;
}

#productos table, td{
  border: 1px solid #f5f5f5;
  border-collapse: collapse;
}

#productos td{
  padding: 5px 25px;
}

#productos .producto{
  width: 60%;
}

#productos .medida{
  width: 40%;
}

#productos .lista{
  padding: 25px 0;
}

#productos .active, #productos .colapsableBtn:hover{
  background-color: #444444;
  color: #f5f5f5;

  border: none;
}

#productos a:hover{
  cursor: pointer;
  font-weight: bold;
}

#productos a:visited{
  color: #777777;
}

/**/

/*-----> ACCIONES MENU <-----*/

.showMenu{
  display: block;
  position: relative;
}

/**/














/*-----> Media Queries <-----*/
  
  /* #### CELLPHONES #### */
  @media screen and (max-width: 768px){
    #header .wrapper{
      flex-direction: column;
      justify-content: center;
    }

    #header img{
      margin-bottom: 0;
      align-self: center;
    }

    #header h1, #header h5{
      text-align: center;
    }

    #header .navBar, #navButton, #navItems{
      width: 100%;
    }

    #header ul{
      position: relative;
      padding: 0;
      margin: 0;
    }

    #content img{
      width: 250px;
    }

    #content h1, #content h3, .highlight{
      text-align: center;
    }

    #content h1, #content h3, #content .highlight{
      align-self: center;
    }

    #content h1{
      font-size: 3rem;
      line-height: 3rem;
    }

    #content h3{
      font-size: 1.5rem;
    }

    #content .highlight{
      font-size: 3rem;
    }

    #acercaDe .wrapper{
      flex-direction: column;
    }

    #acercaDe p{
      padding: 25px;
    }

    #contacto iframe{
      width: 100%;
    }

    #contacto h1, #contacto h3{
      line-height: 2rem;
    }

    #navButton{
      display: block;
    }

    .startMenu{
      display: none;
    }

    #header li{
      display: block;
      text-align: center;
      margin: 10px 0;
    }
  }

  /* #### TRANSICION #### */
  @media screen and (min-width: 769px) and (max-width: 1368px){
    #content h1{
      font-size: 4rem;
    }

    #content h3{
      font-size: 2rem;
    }
  }

  @media screen and (max-width: 896px){
    #footer li{
      display: block;
      color: #000000;
      text-align: center;
    }

    #footer h5{
      text-align: center;
      font-size: 11px;
    }
  }

  @media screen and (max-width: 1064px){
    #beneficios .wrapper{
      flex-direction: column;
    }

    #beneficios .texto{
      padding-right: 75px;
      padding-bottom: 25px;
    }

    #beneficios h2{
      text-align: center;
    }
  }

  @media screen and (max-width: 1280px){
    #boxes .wrapper{
      flex-wrap: wrap;
    }

    #productos table{
      width: 80%;
    }

    #productos .colapsableBtn{
      width: 80%;
    }
  }

  @media screen and (max-width: 1425px){
    #contacto .wrapper{
      flex-direction: column;
      align-items: center;
    }

    #contacto h1, #contacto h3{
      text-align: center;
    }
  }
  
  /* #### TABLETS #### */
  @media screen and (min-width: 769px) and (max-width: 1536px){

    #navButton{
      display: block;
    }

    .startMenu{
      display: none;
    }

    #header li{
      display: block;
      text-align: right;
      margin: 10px 0;
    }

    #header ul{
      position: absolute;
      right: 0;
      background-color: #f5f5f5;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
      padding: 0 40px;
      margin: 0;
    }
  }