.slider{
    width: 100%;
    max-width: 100vw;
    height: 700px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.slider .list{
    position: relative;
    width: max-content;
    height: 100%;
    left: 0; 
    top: 0;
    display: flex;
    transition: 1s;
}



.item {
    width: 100vw;
    height: 700px; /* Matches slider height */
    flex-shrink: 0; /* Prevents shrinking */
    overflow: hidden; /* Hides video overflow */
    position: relative; /* For absolute child (video) */
}
.item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces video to fill container */
    position: absolute;
    top: 0;
    left: 0;
}
.slider .buttons{
    position: absolute;
    top: 40%;
    left: 5%; 
    width: 90%;
    display: flex;
    justify-content: space-between;
    
}
.slider .buttons button{
    width: 54px;
    height: 60px;
    border-radius: 78%;
    background: transparent;
    color: black;
    background-color: yellow;
    border: none;
    font-family: monospace;
    font-size: 30px;
}
.slider .dots{
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.slider .dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}
.slider .dots li.active{
    width: 30px;
}
@media screen and (max-width: 768px){
    .slider{
        height: 400px;
    }
}

/* flash  --------------- */ 
.flash-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .flash-message {
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
  }

  .flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }

  .flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* coment box ------- */

  body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
  }
  
  h2 {
    color: #333;
  }
  
  .comment-container {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: none;
  }
  
  button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .comment-list {
    margin-top: 20px;
  }
  
  .comment {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
  }
