.carrousel {
  margin-top: -50px;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}



.carrousel .thumbnail .item {
  position: absolute;
  width: 150px;
  height: 250px;
  top: 70%;
  transform: translateY(-70%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  background-position: 50% 50%;
  background-size: cover;
  border-radius: 20px;
  left: 60%;
  z-index: 100;
  transition: 1s;
}

.carrousel .thumbnail .item:nth-child(1) {
  top: 0;
  left: 0;
  transform: translateY(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.carrousel .thumbnail .item:nth-child(2) {
  left: 57%;
}

.carrousel .thumbnail .item:nth-child(3) {
  left: calc(57% + 180px);
}

.carrousel .thumbnail .item:nth-child(4) {
  left: calc(57% + 360px);
}

.carrousel .thumbnail .item:nth-child(5) {
  left: calc(57% + 540px);
}

.carrousel .thumbnail .item:nth-child(n + 6) {
  left: calc(57% + 720px);
  opacity: 0;
}

.item .content {
  position: absolute;
  top: 50%;
  width: 500px;
  transform: translateY(-50%);
  text-align: left;
  left: 100px;
  color: white;
  display: none;
  background-color: rgba(0, 0, 0, 0.575);
  border-radius: 30px;
}

.thumbnail .item:nth-child(1) .content {
  display: block;
}

.content .name {
  margin-left: 10px;
  font-size: 55px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 3px 4px 4px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .describ {
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 5px;
  font-size: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.9s 1 forwards;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }
  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

.carrousel .timeRunning {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 4px;
  background: linear-gradient(135deg, #ffd58d,#ffa200, #ff5900);
  left: 0;
  top: 0;
  animation: runningtime 4s linear 1 backwards;
}

@keyframes runningtime {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@media screen and (max-width: 999px) {
  header {
    padding-left: 50px;
  }
  .item .content {
    left: 30px;
    width: 230px;
    height: auto;
    margin-top: 80px;
  }
  .content .name {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
  }

  .content .describ {
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 5px;
    font-size: 10px;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
  }
}

@media screen and (max-width: 690px) {
  header nav a {
    font-size: 14px;
    margin-right: 0;
  }
  .item .content {
    top: 25%;
  }

}

.carrousel .container {
  position: absolute;
  transform: translateX(7%);
  left: 50%;
  bottom: 7%;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
}

.carrousel .container .next {
  padding: 12px 30px;
  border: 2px solid white;
  border-radius: 25px;
  background-color: transparent;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carrousel .container .next:hover {
  background: linear-gradient(135deg, #ffd58d,#ffa200, #ff5900);
  color: #ffffff;
  border-color: #ffffff;
}

.line {
  flex: 1;
  height: 2px;
  background: linear-gradient(135deg, #ffd58d,#ffa200, #ff5900);
  margin: 0 10px;
}
