body {
    margin: 0;
    padding: 4px;
    background: linear-gradient(135deg, #091630, #062c64);/*linear-gradient(135deg, #1e3c72, #2a5298);*/
    font-family: 'Arial', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.slideshow-container {
    position: relative;
    max-width: 90%; /*800px;*/
    margin: auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.slide-image {
    width: 100%;
    height: 700px; 
    object-fit: cover;
    border-radius: 0; 
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.slide-image.active {
    display: block;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.subtitle {
    text-align: center;
    padding: 5px;
    font-size: 18px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    border-radius: 1px;
    min-height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.countr_controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}
.countr_control-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    color: white;
    padding: 5px 5px;
    font-size: 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.countr_control-btn:hover {
    transform: translateY(-px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.countr_nav-btn {
    background: linear-gradient(45deg, #4834d4, #686de0);
    background: rgba(255, 255, 255, 0.2);
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}
.control-btn:hover {
    transform: translateY(-px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.control-btn:active {
    transform: translateY(0);
}

.nav-btn {
    background: linear-gradient(45deg, #4834d4, #686de0);
    background: rgba(255, 255, 255, 0.1);
}

.control-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    color: white;
    padding: 5px 5px;
    font-size: 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.control-btn:hover {
    transform: translateY(-px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.control-btn:active {
    transform: translateY(0);
}

.nav-btn {
    background: linear-gradient(45deg, #4834d4, #686de0);
    background: rgba(255, 255, 255, 0.1);
}

.play-btn {

    background: rgba(255, 255, 255, 0.1);
   
}

.slide-counter {
    margin: 5px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 5px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4834d4);
    border-radius: 2px;
    transition: width 0.3s ease;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* speed slider 
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
  } */