/* common */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  margin: 0;
  /* font-weight: normal; */
}

img {
  vertical-align: bottom;
}

.container {
  margin: 0 16px;
  outline: 2px solid red;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity .3s;
}

a:hover {
  opacity: .5;
}

/* header */

header {
  background:#eee;
  padding: 8px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

header.scrolled {
  background-color: rgba(238, 238, 238, .93);
  box-shadow: 0 0 4px rgba(0, 0, .9);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  display: flex;
  font-size: 20px;
}

header li a {
  display: flex;
  flex-direction: column;
}

header li + li {
  margin-left: 8px;
}

/* hero */

.hero {
  height: 520px;
  padding-top: 150px ;
}

.hero img {
  width: 100%;
  /* width: auto; */
  height: 750px;
  /* height: auto; */
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opactiy 1s;
  /* left: 0;
  right: 0; */
  /* margin: auto;
  margin-top: 5px;
  object-fit: cover; */
}

.hero img.current {
  opacity: 1;
}

/* .hero li {
  height: 100%;
  min-width: 100%;
} */

/* .hero li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

/* products"*/

.products {
  padding: 30px 0;
  /* margin: 50px 0; */
}

.products .container {
  margin: 10px;
  margin-top: 15%;
}

.products h1 {
  /* padding-top: 20%; */
  /* padding: 10px; */
  font-size: 30px;
  text-align: center;
}

.products h2 {
  margin: 0;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: normal
}

.products ul {
  display: flex;
  /* flex-direction: row; */
  flex-wrap: wrap;
  display: inline-block;
  /* gap: 6px; */
}

.products li {
  width: 100%;
  /* margin: 0; */
  /* padding: 15px 0; */
  /* width: calc((100% - 6px) / 2); */
  /* outline: 2px solid blue; */
}

.products li img {
  /* margin: 0 25px 10px; */
  /* padding: 0 25px 10px; */
  /* width: 100%; */
  /* margin-right: 30px; */
  padding: 0 25px;
  align-items: center;
}

/* .products img:hover {
  background-image: ("img/GamMap_on.png");
} */


.products ul h2 {
  margin-top: 20px;
  margin-bottom: 5px;
  margin-left: 30px;
  font-size: 19px;
  font-weight: 700
}

/* map:hover area  {
  opacity: 1;
} */

/* medium screen */

@media (min-width: 600px) {
  body {
    background: pink;
  }
  .products .container {
    /* width: 99%; */
    text-align: center;
  }

  /* .products li {
    width: calc((100% - 8px) / 2);
  } */
}

/* large screen */

@media (min-width: 800px) {
  body {
    background: skyblue;
  }
  .products .container {
    width: 99%;
    text-align: center;
  }

}