
body {
  font-family: 'Arial', sans-serif;
  background-color: #0d4152;
  color: #40fbfb;
}

.search {
  background-image: url(../_img/search-icon.png);
  background-repeat: no-repeat;
  height: 41px;
  width: 40px;
}

header {
  background-image: linear-gradient( #40fbfb 5%, transparent);
  background-color: rgba(14, 65, 81, 0.5);
  width: 1200px;
  max-width: 95%;
  border-radius: 5px;
  margin: auto;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  grid-template-rows: 70px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}


header .logo {
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px;
}
header .menu {
  padding: 0;
  margin: 0;
 list-style: none;
 display: flex;
 justify-content: center;
 gap: 40px;
 font-weight: bold;
}

/* css slider */
.slider {
  height: 105vh;
  margin-top: -50px;
  position: relative;
}

.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
}

.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .list .item::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to top, #0d4152 2%, transparent);
}

.slider .list .item .content {
  position: absolute;
  left: 10%;
  top: 20%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1) {
 text-transform: uppercase;
 letter-spacing: 10px;
}

.slider .list .item .content h2 {
  font-size: 100px;
  margin: 0;
}

.slider .list .item.active {
  opacity: 1;
  z-index: 10;
}

@keyframes showContent {
  to {
      transform: translateY(0);
      filter: blur(0);
      opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
  transform: translateY(29px);
  filter: blur(11px);
  opacity: 0;
  animation: showContent .5s .7s ease-in-out 1 forwards;
}

.slider .list .item.active h2 {
  animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
  animation-duration: 1.4s;
}

.arrows {
  position: absolute;
  top: 29%;
  right: 50px;
  z-index: 100;
}

.arrows button {
  background: rgba(64, 251, 251, 0.6);
  border: 1px solid #40fbfb;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: x-large;
  color: #40fbfb;
  font-weight: bold;
  transition: .5s;
}

.arrows button:hover {
  background: rgba(64, 251, 251, 0.9);
  color: #0d4152;
}

.thumbnail {
  position: absolute;
  bottom: 40px;
  z-index: 11;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: center;
}

.thumbnail::-webkit-scrollbar {
  width: 0;
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  filter: brightness(.5);
  transition: .5s;
  flex-shrink: 0;
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail .item.active {
  filter: brightness(1.1);
}

.thumbnail .item .content {
 position: absolute;
 inset: auto 10px 10px 10px;
 color: #40fbfb;
 background: rgba(14, 65, 81, 0.6);
 border-radius: 3px;
 margin: 2px;
 padding: 5px;
 font-weight: bold;
}

.footer {
  font-size: 14px;
  text-align: center;
}

.footer a {
  color: rgba(64, 251, 251, 0.5);
  font-weight: bold;
}


@media screen and (max-width: 678px) {
  .thumbnail {
    justify-content: start;
    bottom: 17px;
  }
  .slider .list .item .content h2 {
  font-size: 35px;
  }
  .arrows {
    top: 10%;
  }
  .arrows button {
    background: rgba(14, 65, 81, 0.4);
    border: 1px solid #40fbfb;
    color: #40fbfb;
  }
  .arrows button:hover {
    background: rgba(64, 251, 251, 0.8);
    color: #0d4152;
  }
  header .menu {
   gap: 14px;
   margin-left: 9px;
  }
  .search {
    background-image: url(../_img/search-icon_.png);
    background-repeat: no-repeat;
    height: 33px;
    width: 32px;
    margin-left: 9px;
  }
  .footer {
    font-size: 12px;
  }
  .footer a {
    color: rgba(64, 251, 251, 0.5);
  }
}
