@media screen and (min-width: 1280px) {
  body {
    background: url("./Images/wallp1.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 1155px;
    font-size: 15px;
  }
  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 94%;
    margin-left: 37px;
  }

  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 48px 10px 48.9px;
  }

  /*carousel*/
  .carousel {
    width: 1201px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 80%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
    color: bisque;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 70%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 1020px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 70.5px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 80%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -20px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 1200px) {
  body {
    background: url("./Images/wallp1.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 1155px;
    font-size: 15px;
  }
  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 94%;
    margin-left: 37px;
  }

  .navigation ul li {
    font-size: 24px;
    margin: 10px 43.2px 10px 40.1px;
  }

  /*carousel*/
  .carousel {
    width: 1126.2px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38.3px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 78.7%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
    color: bisque;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 68.5%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 700px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 326.3px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 78.7%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -20px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 1152px) {
  body {
    background: url("./Images/wallp1.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 1155px;
    font-size: 15px;
  }
  .container {
    margin-left: 35px;
  }

  .main,
  .navigation {
    width: 94%;
    margin-left: 35px;
  }

  .navigation ul li {
    font-size: 24px;
    margin: 10px 35px 10px 39px;
  }

  /*carousel*/
  .carousel {
    width: 1081px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 35.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    text-shadow: 0px 2px 3px black;
    color: beige;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 77.7%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
    color: bisque;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 67.5%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 700px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 288.5px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 77.7%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -40px;
  }

  .footer {
    margin-left: 10px;
    margin-top: 130px;
    font-size: 30px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    background: url("./Images/wallp1.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 900px;
    font-size: 15px;
  }
  .container {
    margin-left: 39px;
  }

  .main,
  .navigation {
    width: 92.5%;
    margin-left: 39px;
  }

  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 15px 10px 28.5px;
  }

  /*carousel*/
  .carousel {
    width: 945px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 39.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 74.5%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
    color: bisque;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 64%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 553px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 74.5%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -20px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
    margin-left: -5px;
  }
}

@media screen and (max-width: 930px) {
  body {
    background: url("./Images/m930.jpg");
    background-repeat: no-repeat;
  }

  .container {
    margin-left: 35px;
  }

  .main,
  .navigation {
    width: 92.3%;
    margin-left: 35px;
  }

  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 9px 10px 17.6px;
  }

  /*carousel*/
  .carousel {
    width: 856.9px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 35.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 72%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 64%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 700px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 65px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 72%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -40px;
  }

  .footer {
    margin-left: 5px;
    margin-top: 130px;
    font-size: 30px;
  }
}

@media screen and (max-width: 912px) {
  body {
    background: url("./Images/m930.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    margin-left: -10px;
  }

  h5 a {
    margin-left: 787px;
    font-size: 15px;
  }

  .container {
    margin-left: 39px;
  }

  .main,
  .navigation {
    width: 91.6%;
    margin-left: 39px;
  }
  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 9px 10px 14px;
  }

  /*carousel*/
  .carousel {
    width: 832.5px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 39.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 71.1%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 64%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 676px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 65px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 71.1%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -55px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
    margin-left: -0.5px;
  }
}

@media screen and (max-width: 853px) {
  body {
    background: url("./Images/m930.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    margin-left: -10px;
  }

  h5 a {
    margin-left: 730px;
    font-size: 15px;
  }

  .container {
    margin-left: 39px;
  }

  .main,
  .navigation {
    width: 91%;
    margin-left: 39px;
  }

  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 5px 10px 6.7px;
  }

  /*carousel*/
  .carousel {
    width: 774px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 39.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 5em;
    list-style: 1.3em;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 69%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
    color: bisque;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 64%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 625px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 65px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 69%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -55px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 820px) {
  body {
    background: url("./Images/m930.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    margin-left: -10px;
  }

  h5 a {
    margin-left: 699px;
    font-size: 15px;
  }

  .container {
    margin-left: 38px;
  }

  .main,
  .navigation {
    width: 90.7%;
    margin-left: 38px;
  }

  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 0px 10px 4.8px;
  }

  /*carousel*/
  .carousel {
    width: 742.5px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 4.5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 67.7%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 64%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 598px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 65px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 67.7%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -55px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 800px) {
  body {
    background: url("./Images/m930.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    margin-left: -10px;
  }

  h5 a {
    margin-left: 680px;
    font-size: 15px;
  }

  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 90.7%;
    margin-left: 37px;
  }

  .navigation ul li {
    font-size: 24.2px;
    margin: 10px 0px 10px 2px;
  }

  /*carousel*/
  .carousel {
    width: 724.5px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 37.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 4.5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 66.7%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 63%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 568px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 65px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 66.7%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -50px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 768px) {
  body {
    background: url("./Images/m930.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    margin-left: -10px;
  }

  h5 a {
    margin-left: 645px;
    font-size: 15px;
  }

  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 90.4%;
    margin-left: 37px;
  }

  .navigation ul li {
    font-size: 23.5px;
    margin: 10px -3px 10px 0.5px;
  }

  /*carousel*/
  .carousel {
    width: 691.5px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 4.5em;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 65.2%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 63.8%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 550px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: 65px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 65.2%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -50px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 720px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  .container {
    margin-left: 36.9px;
  }

  .main,
  .navigation {
    width: 90%;
    margin-left: 36.9px;
  }

  .navigation ul li {
    font-size: 19px;
    margin: 10px -5px 10px 7.7px;
  }

  /*carousel*/
  .carousel {
    width: 646px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 65px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    margin-top: 10px;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 62.8%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 63%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 670px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -105.5px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 62.8%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -50px;
  }

  .footer {
    margin-left: 10px;
    margin-top: 130px;
    font-size: 30px;
  }
}

@media screen and (max-width: 712px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 590px;
    font-size: 15px;
  }

  h3 {
    margin-left: -10px;
  }
  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 89.5%;
    margin-left: 37px;
  }

  .navigation ul li {
    font-size: 19px;
    margin: 10px -5px 10px 5.8px;
  }

  /*carousel*/
  .carousel {
    width: 634.9px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 37.7px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 60px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    text-shadow: 0px 2px 3px black;
    margin-top: 10px;
    font-size: 13px;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 62.2%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 63%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 660px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -105.5px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 62.2%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -50px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 680px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  .container {
    margin-left: 37.2px;
  }

  .main,
  .navigation {
    width: 89%;
    margin-left: 37.2px;
  }

  .navigation ul li {
    font-size: 22px;
    margin: 10px -35px 10px 11.5px;
  }

  /*carousel*/
  .carousel {
    width: 603px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 37.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 50px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    margin-top: 10px;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 60%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 63%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 685px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -157.3px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 60%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -20px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 640px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 560px;
    font-size: 15px;
  }

  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 88.5%;
    margin-left: 37px;
  }

  .navigation ul li {
    font-size: 22px;
    margin: 10px -35px 10px 5px;
  }

  /*carousel*/
  .carousel {
    width: 564px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 50px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 57.2%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: bisque;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 62.5%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 646px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -157.3px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 57.2%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -50px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 600px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 560px;
    font-size: 15px;
  }

  .container {
    margin-left: 37.2px;
  }

  .main,
  .navigation {
    width: 87.5%;
    margin-left: 37.2px;
  }

  .navigation ul li {
    font-size: 20px;
    margin: 10px -29.5px 10px 0.5px;
  }

  /*carousel*/
  .carousel {
    width: 523px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 38px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 50px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    color: beige;
    margin-top: 10px;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 54%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 62%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 606px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -157.3px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 54%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 70px;
    margin-left: -50px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 541px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  .container {
    margin-left: 35px;
  }

  .main,
  .navigation {
    width: 89%;
    margin-left: 31px;
  }

  .navigation ul li {
    font-size: 15px;
    margin: 10px -30px 10px 8.4px;
  }

  /*carousel*/
  .carousel {
    width: 479px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 32px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

   .carousel .list .item .content .title {
    color: bisque;
   }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 50px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    color: beige;
    text-shadow: 0px 2px 3px black;
    font-size: 12px;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 49.7%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 60%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 688px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -285px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 49.7%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 60px;
    margin-left: -20px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 480px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 439px;
    font-size: 11px;
  }

  h3 {
    margin-left: -20px;
  }

  .container {
    margin-left: 42px;
  }

  .main,
  .navigation {
    width: 87%;
    margin-left: 31px;
  }

  .navigation ul li {
    font-size: 14px;
    margin: 10px -29.5px 10px 0.5px;
  }

  /*carousel*/
  .carousel {
    width: 416px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 31.5px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 40px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    color: beige;
    text-shadow: 0px 2px 3px black;
    font-size: 12px;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 42.2%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 620px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -285px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 42.2%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 60px;
    margin-left: -35px;
  }

  .footer {
    font-size: 30px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 430px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 439px;
    font-size: 11px;
  }

  h3 {
    margin-left: -20px;
  }

  .container {
    margin-left: 49px;
  }

  .main,
  .navigation {
    width: 86%;
    margin-left: 31px;
  }

  .navigation ul li {
    font-size: 10px;
    margin: 10px -30px 10px 4.8px;
  }

  /*carousel*/
  .carousel {
    width: 368px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 32px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 39px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 34.6%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 582px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -285px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 34.6%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 45px;
    margin-left: -30px;
  }

  .footer {
    font-size: 25px;
    margin-top: 130px;
    margin-left: 25px;
  }
}

@media screen and (max-width: 414px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 439px;
    font-size: 11px;
  }

  h3 {
    margin-left: -20px;
  }

  .container {
    margin-left: 35px;
  }

  .main,
  .navigation {
    width: 93%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 12.5px;
    margin: 10px -32px 10px 1.2px;
  }

  /*carousel*/
  .carousel {
    width: 383px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 40.5px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 37%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 594px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -285px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 37%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 45px;
    margin-left: -30px;
  }

  .footer {
    font-size: 25px;
    margin-top: 130px;
    margin-left: 25px;
  }
}

@media screen and (max-width: 412px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  .container {
    margin-left: 35px;
  }

  .main,
  .navigation {
    width: 93%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 12.5px;
    margin: 10px -32px 10px 0.8px;
  }

  /*carousel*/
  .carousel {
    width: 381px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 36.8%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 689px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -381px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 36.8%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -20px;
  }

  .footer {
    font-size: 28px;
    margin-top: 106px;
    margin-left: -1px;
  }
}

@media screen and (max-width: 411px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    font-size: 15px;
  }

  h5 a {
    margin-left: 326px;
    font-size: 11px;
  }
  .container {
    margin-left: 35px;
  }

  .main,
  .navigation {
    width: 92.6%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 12px;
    margin: 10px -30px 10px 0.7px;
  }

  /*carousel*/
  .carousel {
    width: 379px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 36.5%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 687px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -381px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 36.5%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -35px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
    margin-left: 3px;
  }
}

@media screen and (max-width: 393px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    font-size: 15px;
  }

  h5 a {
    margin-left: 326px;
    font-size: 11px;
  }
  .container {
    margin-left: 37px;
  }

  .main,
  .navigation {
    width: 92%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 10px;
    margin: 10px -25.5px 10px 0.5px;
  }

  /*carousel*/
  .carousel {
    width: 360px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 33.1%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 673px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -381px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 33.1%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -35px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
    margin-left: 3px;
  }
}

@media screen and (max-width: 390px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    font-size: 15px;
    margin-left: 1px;
  }

  h5 a {
    margin-left: 326px;
    font-size: 11px;
  }
  .container {
    margin-left: 38px;
  }

  .main,
  .navigation {
    width: 92%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 10px;
    margin: 10px -27px 10px 1px;
  }

  /*carousel*/
  .carousel {
    width: 357px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 32.5%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 58%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 672px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -381px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 32.5%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -35px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
    margin-left: 3px;
  }
}

@media screen and (max-width: 384px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    font-size: 15px;
    margin-left: 1px;
  }

  h5 a {
    margin-left: 326px;
    font-size: 11px;
  }
  .container {
    margin-left: 38px;
  }

  .main,
  .navigation {
    width: 92%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 10px;
    margin: 10px -29px 10px 1.4px;
  }

  /*carousel*/
  .carousel {
    width: 351px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 32%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 57%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 660px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -381px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 32%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -35px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
    margin-left: 3px;
  }
}

@media screen and (max-width: 375px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h3 {
    font-size: 15px;
    margin-left: 1px;
  }

  h5 a {
    margin-left: 326px;
    font-size: 11px;
  }
  .container {
    margin-left: 40px;
  }

  .main,
  .navigation {
    width: 92%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 9.5px;
    margin: 10px -30px 10px 2.1px;
  }

  /*carousel*/
  .carousel {
    width: 343px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 29.9%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 57%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 653.5px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -381px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 29.9%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -35px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
    margin-left: 3px;
  }
}

@media screen and (max-width: 360px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  .container {
    margin-left: 41px;
  }

  .main,
  .navigation {
    width: 93%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 9px;
    margin: 10px -30px 10px 2px;
  }

  /*carousel*/
  .carousel {
    width: 333px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 35px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 27%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 57%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 684px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -420px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 27%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -20px;
  }

  .footer {
    font-size: 28px;
    margin-top: 105px;
  }
}

@media screen and (max-width: 353px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 275px;
    font-size: 10px;
  }

  h3 {
    margin-left: 1px;
  }

  .container {
    margin-left: 42px;
  }

  .main,
  .navigation {
    width: 91.5%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 8.5px;
    margin: 10px -30.5px 10px 1.7px;
  }

  /*carousel*/
  .carousel {
    width: 321px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 34px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 20px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left:24.5%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 57%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 677px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -420px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 24.5%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -30px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 344px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 275px;
    font-size: 10px;
  }
  .container {
    margin-left: 43px;
  }

  .main,
  .navigation {
    width: 91.5%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 8.5px;
    margin: 10px -31px 10px 0.7px;
  }

  /*carousel*/
  .carousel {
    width: 313px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 33.5px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 22.5%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 57%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 670px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -420px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 22.5%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -30px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 320px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 275px;
    font-size: 10px;
  }

  h3 {
    margin-left: 1px;
  }

  .container {
    margin-left: 46px;
  }

  .main,
  .navigation {
    width: 90.5%;
    margin-left: 15px;
  }

  .navigation ul li {
    font-size: 7px;
    margin: 10px -31px 10px 1.1px;
  }

  /*carousel*/
  .carousel {
    width: 288px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 16px;
  }

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 12px;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 31px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 12px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 16%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    color: bisque;
    text-shadow: 0px 2px 3px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
    color: orange;
    text-shadow: 0px 2px 3px black;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 56%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 646px;
    align-items: center;
    text-shadow: 0px 2px 3px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -420px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 16%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 40px;
    margin-left: -30px;
  }

  .footer {
    font-size: 28px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 240px) {
  body {
    background: url("./Images/media.jpg");
    background-repeat: no-repeat;
  }

  h5 a {
    margin-left: 275px;
    font-size: 10px;
  }
  .container {
    margin-left: 46px;
  }

  .main,
  .navigation {
    width: 96%;
    margin-left: 5px;
  }

  .navigation ul li {
    font-size: 8px;
    margin: 10px -29.5px 10px -13px;
  }

  .navigation ul li:hover {
    background: none;
    color: red;
    border-bottom: none;
  }

  /*carousel*/
  .carousel {
    width: 228px;
    height: 570px;
    overflow: hidden;
    margin-top: -650px;
    position: relative;
    margin-left: 6px;
  }

  /*width: 226px;
  margin-left: 6.5px;*/

  .carousel .list .item {
    position: absolute;
    inset: 0 0 0 0;
  }

  .carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 55%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: white;
    font-family: Font5;
    text-shadow: 0 2px 3px black;
  }

  .carousel .list .item .content .author {
    font-weight: bold;
    letter-spacing: 10px;
    font-size: 8px;
    color: orange;
  }

  .carousel .list .item .content .title {
    color: bisque;
  }

  .carousel .list .item .content .title,
  .carousel .list .item .content .topic {
    font-weight: bold;
    font-size: 24px;
    list-style: 1.3em;
  }

  .carousel .list .item .content .topic {
    color: teal;
  }

  .des {
    margin-top: 10px;
    font-size: 9.5px;
    color: beige;
    text-shadow: 0px 2px 3px black;
  }

  .carousel .list .item .content .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
  }

  .carousel .list .item .content button {
    border: none;
    background: white;
    letter-spacing: 3px;
    font-family: Font5;
    font-weight: 500;
  }

  .carousel .list .item .content button:nth-child(2) {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }

  /*thumbnail*/
  .thumbnail {
    position: absolute;
    bottom: 20px;
    left: 12%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
  }

  .thumbnail .item {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
    position: relative;
  }

  .thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0px 3px 4px black;
  }

  .thumbnail .item .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-family: Font5;
    text-shadow: 0px 5px 10px black;
  }

  .thumbnail .item .content .title {
    font-weight: bold;
  }

  /*arrows*/
  .arrows {
    position: absolute;
    top: 50%;
    right: 52%;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 585px;
    align-items: center;
    text-shadow: 0px 5px 5px black;
  }

  .arrows #Prev {
    margin-left: -35px;
  }

  .arrows #Next {
    margin-left: -420px;
  }

  .arrows .bi {
    font-size: 25px;
  }

  .arrows .bi:hover {
    color: white;
  }

  .carousel .list .item:nth-child(1) {
    z-index: 1;
  }

  .carousel .list .item:nth-child(1) .author,
  .carousel .list .item:nth-child(1) .title,
  .carousel .list .item:nth-child(1) .topic,
  .carousel .list .item:nth-child(1) .des,
  .carousel .list .item:nth-child(1) .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
  }

  @keyframes showContent {
    to {
      opacity: 1;
      filter: blur(0);
      transform: translateY(0);
    }
  }

  .carousel .list .item:nth-child(1) .title {
    animation-delay: 1.2s;
  }

  .carousel .list .item:nth-child(1) .topic {
    animation-delay: 1.4s;
  }

  .carousel .list .item:nth-child(1) .des {
    animation-delay: 1.6s;
  }

  .carousel .list .item:nth-child(1) .buttons {
    animation-delay: 1.8s;
  }

  /*effect next click*/
  .carousel.Next .list .item:nth-child(1) img {
    width: 150px;
    height: 110px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    border-radius: 5px;
    animation: showImage 0.5s linear 1 forwards;
  }

  @keyframes showImage {
    to {
      width: 100%;
      height: 100%;
      left: 0;
      bottom: 0;
      border-radius: 0;
    }
  }

  .carousel.Next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
  }
  @keyframes showThumbnail {
    to {
      width: 150px;
    }
  }
  .carousel.Next .thumbnail {
    transform: translateX(150px);
    animation: transformThumbnail 0.5s linear 1 forwards;
  }
  @keyframes transformThumbnail {
    to {
      transform: translateX(0);
    }
  }
  /*effect prev click*/
  .carousel.Prev .list .item:nth-child(2) {
    z-index: 2;
  }

  .carousel.Prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: outImage 0.5s linear 1 forwards;
  }
  @keyframes outImage {
    to {
      width: 150px;
      height: 110px;
      border-radius: 5px;
      left: 12%;
      bottom: 20px;
    }
  }

  .carousel.Prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
  }

  .carousel.Prev .list .item:nth-child(2) .author,
  .carousel.Prev .list .item:nth-child(2) .title,
  .carousel.Prev .list .item:nth-child(2) .topic,
  .carousel.Prev .list .item:nth-child(2) .des,
  .carousel.Prev .list .item:nth-child(2) .buttons {
    animation: contentOut 1.5s linear 1 forwards;
  }
  @keyframes contentOut {
    to {
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
    }
  }

  .carousel.Next .arrows .bi,
  .carousel.Prev .arrows .bi {
    pointer-events: none;
  }

  /*time*/
  .time {
    width: 100%;
    height: 5px;
    background-color: red;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .carousel.Next .time,
  .carousel.Prev .time {
    width: 100%;
    animation: timeRunning 2s linear 1 forwards;
  }
  @keyframes timeRunning {
    to {
      width: 0;
    }
  }

  .header {
    font-size: 30px;
    margin-left: -30px;
  }

  .footer {
    font-size: 20px;
    margin-top: 130px;
  }
}
