.main-button-container {
    position: absolute;   
    top: 60%;             
    left: 70%;           
    transform: translate(-50%, -50%); 
    display: flex;        
    flex-direction: column;
    gap: 25px;           
}


.main-btn {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}


.main-btn:hover {
    background-color: #000000;
}

.button-container {
    position: absolute;
    top: 10%;
    left: 72%;
    z-index: 999; 
    transform: translate(-50%, -50%); 
    display: flex;
    gap: 10px;  
    
}

.button-cerrar-container {
	position: absolute;
    top: 28%;
    left: 91%;
    z-index: 999; 
    transform: translate(-50%, -50%); 
    display: flex;
    gap: 30px; 
}

.button-cerrar-quiz-container {
	position: absolute;
    top: 29%;
    left: 45%;
    z-index: 999; 
    transform: translate(-50%, -50%); 
    display: flex;
    gap: 30px; 
}


.btn {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    
}

.btn:hover {
    background-color: #000000;
}


.include-container {
    position: absolute;
    top: 50px;
    right: 0;
    left: 0;
    width: 90%;
    margin: auto;
    border: 2px solid red;
    aspect-ratio: 16 / 8;
}

.img-producto {
	position: absolute;
	height: auto;
	width: 8%;
	z-index: 999;
	top: 24%;
	left: 42%;
	border: 2px solid red;
	radius: 5px;
}

.img-formulario {
	position: absolute;
	height: auto;
	width: 15%;
	z-index: 999;
	top: 24%;
	left: 80%;
	border: 2px solid red;
	radius: 5px;
}


.btn_restart {
    position: relative;
    z-index: 20;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
	margin: auto
}

.texto-boton00 {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
	margin: auto;
	font-size: 12px;
	width: 60px;
}


.expandable-box {
    position: absolute;
    top: 25%;  
    left: 48%; 
    width: auto;
    max-width: 400px; 
    height: auto;  
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6); 
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: height 0.3s ease, width 0.3s ease;
}


.hidden-text {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hidden-button {
	display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.expandable-box:hover {
    height: 200px;  
    width: 90%;     
}


.expandable-box:hover .hidden-text {
    display: block;
    opacity: 1;
}

.expandable-box:hover .hidden-button {
    display: block;
    opacity: 1;
}

.poll-container {
    text-align: center;
    position: absolute;
    top: 55%;
    left: 28%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
}

.button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4caf50;
    border: none;
    color: white;
    border-radius: 5px;
}

.button:hover {
    background-color: #45a049;
}
		
		
.results-container {
	text-align: center;
    position: absolute;
    top: 49%; 
    left: 28%;
    transform: translateY(-50%);
	z-index: 999;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.progress-bar-container {
    margin-top: 20px;
    width: 100%;
    height: 30px;
    background-color: #f3f3f3;
    border-radius: 5px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    border-radius: 5px;
    text-align: center;
    line-height: 30px;
    color: white;
}
		
.iframe-container {
    position: absolute;
    top: 24%;
    left: 46%;
    width: 51%;
    height: 49%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
	opacity: 0.6;
}

.poll-container {
    z-index: 1;
}

.results-container {
    transform: translate(-50%, -50%);
    z-index: 2;
    display: none; /* Initially hide the results container */
}

.progress-bar-container {
    margin-top: 20px;
    width: 100%;
    height: 30px;
    background-color: #f3f3f3;
    border-radius: 5px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: #4caf50;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px; /* Padding to prevent the label from sticking to the left */
}

.progress-label {
    font-weight: bold;
    color: white;
    z-index: 2; /* Make sure the label is above the progress bar */
}

.button {
    margin-top: 30px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #4caf50;
    border: none;
    color: white;
    border-radius: 5px;
}

.regreso-votacion {
	margin-top: 30px;
	padding: 10px 20px;
	cursor: pointer;
	background-color: #4caf50;
	border: none;
	color: white;
	border-radius: 5px;
}

.button:hover, .regreso-votacion {
    background-color: #45a049;
}
		
		
.quiz-container {
    position: absolute;
    top: 60%;
    left: 27%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 10;
}

.question {
    margin-bottom: 20px;
}

ul {
    display: flex; /* Use Flexbox to align items horizontally */
    justify-content: center; /* Center the buttons horizontally */
    padding: 0;
    list-style: none; /* Remove list bullets */
}

li {
    margin: 0 10px; /* Add horizontal spacing between buttons */
}

#button-quiz {
    padding: 10px 20px;
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition for background-color */
    font-size: 16px; /* Font size */
}

#button-quiz:hover {
    background-color: #45a049; /* Darker green on hover */
}

#result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}






@media screen and (max-width: 600px) {
	.main-button-container {
        gap: 5px;  
    }
	.main-btn {
	   padding:1px 2px;
	   font-size: 5px;	
	}

    .button-container {
        gap: 5px;
    }
	.btn {
	   padding:2px 2px;
	   font-size: 4px;	
	}
	
	.texto-boton00 {
		font-size: 5px;
		width: 25px;
	}
	
	.expandable-box {
        width: 14%;  
        max-width: 280px;  
        height: 20px; 
        top: 23%; 
        left: 48%; 
		font-size: 8px;
		padding: 5px;
		padding-top: 1px;
    }

    .expandable-box:hover {
        width: 44%;  
        height: 100px; 
    }
	
	.poll-container {
        width: 45%;   
        height: 75px; 
        top: 65%; 
        left: 4%; 
		font-size: 5px;
		transform: translateY(-80%);
		padding: 7px;
    }
	.button {
		
        padding: 3px 8px;
        font-size: 4px;
        
	}
	
	
	.results-container {
		width: 44%; 
		max-width: 200px;		
        top: 38%; 
        left: 4%; 
		font-size: 3px;
		transform: translateY(-80%);
		padding: 7px;
		margin-top: 15%;
	}
	
	.progress-bar-container {
		width: 100%;
		margin-top: 15px;
		height: 10px;
		transform: translateY(-80%);
	}
	.progress-bar {
		background-color: #4caf50;
		border-radius: 5px;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		padding-left: 3px; /* Padding to prevent the label from sticking to the left */
	}
	.regreso-votacion {
	    margin-top: 3px;
		padding: 1px 5px;
        font-size: 4px;
	}
	
	.quiz-container {
		top: 70%;
		left: 47%;
		transform: translate(-90%, -90%);
		padding: 4px;
        font-size: 5px;		
    }
	#button-quiz {
		padding: 2px 4px;
		font-size: 6px;
	}
	
}