/* Reset some default browser styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
}

.indexBody {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: url('Janichari_GrneSvetlina_bg.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}


.detalplusBody {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: url('mainbgdetails.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.0); /* Optional: Add a slight overlay for better text readability */
}

.right-align {
    text-align: right;
}

.text-container {
    margin: auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.6); /* 60% transparent background */
    border-radius: 5px;
    border: 1px solid #f2f2f2; /* Outline border */
    color: white;
    max-width: 800px;
    line-height: 1.8;
    text-align: left; /* Align text to the left */
    font-family: 'Arial', sans-serif; /* Use sans-serif font */
    font-size: 0.9em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow to the container */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Add shadow to the text for depth */
    overflow-y: auto; /* Enable vertical scrollbar when content overflows */
    max-height: 400px; /* Set maximum height to trigger scrollbar */
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.text-container-index {
    margin: auto;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.1);; /* 60% transparent background */
    border-radius: 0px;
    border: 1px solid #f2f2f2; /* Outline border */
    color: white;
    max-width: 800px;
    line-height: 1;
    text-align: left; /* Align text to the left */
    font-family: 'Arial', sans-serif; /* Use sans-serif font */
    font-size: 0.9em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow to the container */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Add shadow to the text for depth */
    overflow-y: auto; /* Enable vertical scrollbar when content overflows */
    max-height: 400px; /* Set maximum height to trigger scrollbar */
    overflow-x: hidden; /* Hide horizontal scrollbar */
	
	 position: relative;
    top: -20%;
	right: -5%;
	
	 padding-left: 20px;
    padding-right: 20px;
}

.text-container p {
    margin: 20px 0;
}

.text-container hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, white, transparent);
    margin: 30px 0;
}

.audio-player {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audio-player audio {
    width: 100%;
    max-width: 500px; /* Adjust max-width as needed */
}

.text-container::-webkit-scrollbar {
    width: 5px; /* Width of the scrollbar */
}

.text-container::-webkit-scrollbar-track {
    background: transparent; /* Background color of the track */
}

.text-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5); /* Color of the scrollbar */
    border-radius: 10px; /* Radius of the scrollbar */
}

.text-container::-webkit-scrollbar-button:start:decrement,
.text-container::-webkit-scrollbar-button:end:increment {
    display: block;
    width: 100%;
    height: 20px; /* Height of the buttons */
    background: transparent; /* Background color of the buttons */
}

.text-container::-webkit-scrollbar-button:start:decrement:before {
    content: "▲"; /* Unicode for up arrow */
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.5); /* Color of the arrows */
    font-size: 14px; /* Size of the arrows */
}

.text-container::-webkit-scrollbar-button:end:increment:before {
    content: "▼"; /* Unicode for down arrow */
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.5); /* Color of the arrows */
    font-size: 14px; /* Size of the arrows */
}

.text-container h3 {
    cursor: pointer;
}

.burger-menu {
    cursor: pointer;
	font-size: 2.5em;
	color:#fff;
}
