@import url('https://fonts.googleapis.com/css?family=Work+Sans');
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

body {
  font-family: 'Work Sans', sans-serif;
  width: 100%;
  background-color: #ccc;
}

::-webkit-scrollbar {
  width: 7px;
}


/*la barra entera, el fondo */

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}


/*lo que sube y baja */

::-webkit-scrollbar-thumb {
  border-radius: 2px;
  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

.nav {
  padding-left: 40px;
  padding: 10px;
  position: fixed;
  width: 100%;
  background-color: #19202e;
  z-index: 1;
  height: 60px;
  border-bottom: 3px solid #57DBE6;
}

.nav a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding-left: 30px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 3px;
  text-decoration: none;
}

.nav button {
  padding-top: 8px;
}

.logo {
  float: left;
  margin-top: 0px;
  margin-left: 10px;
  margin-right: 20px;
}

.logo img {
  width: 87px;
  height: 38px;
}

.navbar {
  overflow: hidden;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-family: 'Work Sans', sans-serif;
  background-color: #19202e;
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding-left: 30px;
  padding-right: 16px;
  margin: 0;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  text-decoration: underline;
}

.dropdown-content {
  background-color: #19202e;
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}

section {
  width: 100%;
  height: calc(100vh - 58px);
  background-image: url(Imagenes/Importantes/photo-1515205396030-348ce8a426cd.jpg);
  background-size: 100%;
  margin: auto;
  margin-top: 58px;
  display: flex;
  min-height: 609px;
  justify-content: center;
  align-items: center;
}

section article {
  width: 80%;
  height: 545px;
  background-color: white;
  padding: 2.3em;
  padding-top: 16px;
}


/*contenedor de productos*/ 
section article .grid-container {
  height: 90%;
  overflow-y: scroll;
  font-size: 16px;
  display: grid;
  grid-template-columns: auto auto auto;
}


/*cada uno de los productos */
.grid-item {
  margin: auto;
  width: 238px;
  height: 147px;
  padding-top: 10px;
  font-size: 30px;
  text-align: center;
  border: 2px solid white;
  cursor: pointer;
}

.grid-item:hover {
  border: 2px solid #c1c1c1;
}

.titulo {
  color: #19202E;
  font-size: 38px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}


.nombreProducto {
  margin-top: 10px;
  font-size: 21px;
  cursor: pointer;
}

.nombreProducto a {
  color: black;
  text-decoration: none;
}

.nombreProducto:hover,
.nombreProducto a:hover {
  color: #510825;
}

.precioProducto {
  font-size: 17px;
}

.item-imagen {
  margin: auto;
  height: 70px;
  width: 170px;
  background-size: 100% 100%;
  cursor: pointer;
  transition: background-image 0.5s ease-in-out;
}


/*fotos de los articulos y fotos que cambia cuando haces hover */
.i1 {
  background-image: url(Imagenes/Productos/hombre/Gafa_front_01.jpg);
}

.i1:hover {
  background-image: url(Imagenes/Productos/hombre/Gafa_tres_cuartos_01_copia.jpg)
}

.i2 {
  background-image: url(Imagenes/Productos/hombre/ALEXL_OQ825_C308_1_grande.jpg);
}

.i2:hover {
  background-image: url(Imagenes/Productos/hombre/ALEXL_OQ825_C308-3_grande.jpg);
}

.i3 {
  background-image: url(Imagenes/Productos/mujer/URF-17S-863_83_02.jpg);
}

.i3:hover {
  background-image: url(Imagenes/Productos/mujer/URF-17S-863_83_01.jpg)
}

.i4 {
  background-image: url(Imagenes/Productos/mujer/BLAKE_OQ520_C641_1_grande.jpg);
}

.i4:hover {
  background-image: url(Imagenes/Productos/mujer/BLAKE_OQ520_C641_2_grande.jpg)
}

.i5 {
  background-image: url(Imagenes/Productos/hombre/MMF-15S-U1121_85_02.jpg);
}

.i5:hover {
  background-image: url(Imagenes/Productos/hombre/MMF-15S-U1121_85_01.jpg)
}

.i6 {
  background-image: url(Imagenes/Productos/hombre/MMF-17S-832_94_02.jpg);
}

.i6:hover {
  background-image: url(Imagenes/Productos/hombre/MMF-17S-832_94_01.jpg)
}

.i8 {
  background-image: url(Imagenes/Productos/hombre/ALEXL_OQ825_C308_1_grande.jpg);
}

.i8:hover {
  background-image: url(Imagenes/Productos/hombre/ALEXL_OQ825_C308-3_grande.jpg)
}

.i7 {
  background-image: url(Imagenes/Productos/hombre/MRF-17S-845_86_02.jpg);
}

.i7:hover {
  background-image: url(Imagenes/Productos/hombre/MRF-17S-845_86_01.jpg)
}

.i9 {
  background-image: url(Imagenes/Productos/hombre/MMN-15S-1001_96_02.jpg);
}

.i9:hover {
  background-image: url(Imagenes/Productos/hombre/MMN-15S-1001_96_03.jpg)
}


footer {
  color: white;
  width: 100%;
  height: 150px;
  background-color: #19202e;
  border-top: 6px solid #86194A;
  display: flex;
  align-content: center;
  justify-content: center;
}

.columna {
  text-align: center;
  padding: 20px;
  width: 300px;
}

.columna .tituloColumna {
  font-size: 18px;
  font-weight: bold;
}

.columna .telefono {
  width: 50px;
  height: 50px;
  margin-top: 15px;
  margin-left: 40px;
}

.columna .logofooter {
  width: 110px;
  height: 47px;
  display: block;
  margin: auto;
  margin-bottom: 10px;
}

.columna .numero {
  margin-top: -44px;
  display: block;
  margin-left: 102px;
}

.columna p {
  text-align: left;
}

ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

.footer-social-icons {
  width: 350px;
  display: block;
  margin: 0 auto;
}

.social-icon {
  color: #fff;
}

ul.social-icons {
  margin-top: 10px;
}

.social-icons li {
  vertical-align: top;
  display: inline;
  height: 100px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
}

.fa-facebook {
  padding: 10px 14px;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
  background-color: #86194A;
}

.fa-facebook:hover {
  background-color: #3d5b99;
}

.fa-twitter {
  padding: 10px 12px;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
  background-color: #86194A;
}

.fa-twitter:hover {
  background-color: #00aced;
}

.fa-instagram {
  padding: 10px 14px;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
  background-color: #86194A;
}

.fa-instagram:hover {
  background-color: #eb8231;
}

.fa-youtube {
  padding: 10px 14px;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
  background-color: #86194A;
}

.fa-youtube:hover {
  background-color: #e64a41;
}