.survey-container{
    display: flex;
    flex-wrap: wrap;
	margin-left: -0.5rem;
	margin-right: -0.5rem;

}

.survey-container .survey-item{
    flex: 33% 0 1;
    margin-bottom: 0.5rem;

}

.survey-container .survey-form{
	margin-top: auto;
}

.survey-container .survey-item-inner{
    padding: 0.5rem;
	height: 100%;
	display: flex;
	flex-direction: column;

}

.survey-container .survey-item img{
    width: 100%;
    height: auto;
    object-fit: cover;
margin-bottom: 1rem;
}

.survey-container .survey-item button{
    background-color: red;
    color: white;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    width: 100%;

}

.survey-container .survey-item button:hover{
    background-color: #1c99e4;
}


/* The Modal */
.vote-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    max-width: 100vw!important;
}

/* Modal Content/Box */
.vote-modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Close Button */
.vote-modal-close{
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.vote-modal-close:hover,
.vote-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


@media(max-width: 992px){
.survey-container .survey-item{
    flex: 50% 0 1;
    margin-bottom: 0.5rem;

}
}

@media(max-width: 768px){
.survey-container .survey-item{
    flex: 100% 0 1;
    margin-bottom: 0.5rem;

}
}