
@font-face {
    font-family: 'anton';
    src: url('/fonts/Anton.ttf');
}
@font-face {
    font-family: 'bahnschrift';
    src: url('/fonts/bahnschrift.ttf');
}

.accordion {
    width: 100%;
    margin: 20px auto;
    background: #fff;
    overflow: hidden;
    background: #0246F3;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    color: #F3C219;
    font-weight: bold;
    transition: background 0.3s ease;
    font-family: 'anton';
    font-weight: normal;
    font-size: 3rem;
}
.accordion-header span{
    margin: 0px 5rem;
}

.accordion-header:hover {
    background: #F3C219;
    color: #0246F3;
}

.accordion-header:hover .icon.plus::after, .accordion-header:hover .icon.plus::before, .accordion-header:hover .icon.minus::before{
    background-color: #0246F3;
}

.accordion-header .icon {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.icon.plus {
    width: 30px; /* Lebar ikon */
    height: 30px; /* Tinggi ikon */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon.plus::before, .icon.plus::after {
    content: '';
    position: absolute;
    background-color: #F3C219; /* Warna biru, bisa diubah sesuai kebutuhan */
    width: 2px; /* Lebar garis plus */
    height: 100%; /* Panjang garis vertikal */
}

.icon.plus::before {
    transform: rotate(90deg); /* Rotasi garis pertama untuk membuat tanda plus */
}

.icon.minus {
    width: 30px; /* Lebar ikon */
    height: 30px; /* Tinggi ikon */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon.minus::before {
    content: '';
    position: absolute;
    background-color: #F3C219; /* Warna biru, bisa diubah sesuai kebutuhan */
    width: 100%; /* Panjang garis horizontal */
    height: 2px; /* Tebal garis minus */
}

.accordion-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
    justify-content: space-evenly;
    padding: 0 100px;
    max-height: 0;
    border-top: 3px solid #F3C219;
    overflow: hidden;
    background: #0246F3;
    transition: max-height 1s ease, padding 1s ease;
}

.accordion-content p{
    text-align: justify;
    margin: 0px;
    width: 80%;
}

.accordion-content img{
    max-height: 250px;
    max-width: 80%;
}

.accordion-content.open {
    max-height: max-content;
    padding: 15px 20px;
}

@media only screen and (max-width: 700px){
    .accordion-header{
        font-size: 2rem;
    }

    .accordion-header span{
        margin: 0px;
    }
}