/* Style the buttons that are used to open and close the accordion panel */
.accordioncontainer {
margin-bottom:20px;
}
.accordion {
background-color: #432e24;
font-size: 14px;
color: #fff;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
margin:0px;
}
/* Add a background color to the button if it is clicked on (add the .active2 class with JS), and when you move the mouse over it (hover) */
.active2, .accordion:hover {
background-color: #653C29;
}
/* Style the accordion panel. Note: hidden by default */
.panel {
padding: 27px 27px 33px 27px;
background-color:RGBA(201,237,255,.0);
color: #653C29;
display: none;
overflow: hidden;
}
.accordion:after {
content: '\002B'; /* Unicode character for "plus" sign (+) */
font-size: 23px;
font-weight: 900;
color: #fff;
float: right;
margin-left: 5px;
}
.active2:after {
content: "\2212"; /* Unicode character for "minus" sign (-) */
}
<style>
.panel {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
/* •••••••••••••••••••••••••• Size Change •••••••••••••••••••••••••• */
@media (max-width: 767px) { 
/* •••••••••••••••••••••••••• Size Change •••••••••••••••••••••••••• */
.accordion {
font-size: 12px;
}
}
</style>
<script>
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active2");
var panel = this.nextElementSibling;
if (panel.style.maxHeight){
panel.style.maxHeight = null;
} else {
panel.style.maxHeight = panel.scrollHeight + "px";
} 
});
}
</script>