body {
    background-image: url(../img/background/so-white.png);
}
button {
    cursor: pointer;
}

main {
    max-width: 100vw;
    overflow: hidden;
    padding: 120px 60px 30px;
    margin-bottom: 50px;
    color: var(--cb);
}

main h1, main h2, main h3, main h4 {
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

main p {
    margin: 0 30px 30px;
    line-height: 1.4;
    word-spacing: 2px;
    word-wrap: break-word;
}

main ul {
    list-style: circle;
    margin: 0 120px 30px;
}
main ol {
    list-style: decimal;
    margin: 0 120px 30px;
}


main li {
    line-height: 1.4;
    margin-bottom: 15px;
    padding-left: 8px;
}

main img {
    max-width: 90%;
    display: block;
    margin: 0 auto 40px;
}

.gallery {
    display: grid;
    width: 80%;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 0 auto 30px;
}

.gallery img {
    width: 100%;
    margin: unset;
    max-width: 100%;
}





#form-create {
    position: relative;
    width: 100%;
    height: 200px;
    padding: 40px;
    margin-bottom: 40px;
    border: 3px dashed grey;
    background-color: rgba(128, 128, 128, 0.08);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    transition: 1s;
}
#form-create.tinggi {
    height: 500px;
}

#form-create .opsi {
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 1s cubic-bezier(0.23, 1, 0.320, 1);
}
#form-create .opsi.menyusut {
    opacity: 0;
    width: 0%;
}

.opsi button {
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: unset;
    box-shadow: 0 0 5px black;
    cursor: pointer;
    transition: .2s;
}
.opsi button img {
    margin: unset;
    height: 50%;
}

.opsi button:hover {
    background-color: rgb(200, 219, 255);
    box-shadow: 0 0 0 transparent;
}




#form-create .heading-opsi {
    width: 0%;
    opacity: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 1s cubic-bezier(0.23, 1, 0.320, 1);
}
#form-create .heading-opsi.mengembang {
    width: 80%;
    opacity: 1;
}
.heading-opsi button {
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: unset;
    box-shadow: 0 0 5px black;
    cursor: pointer;
    transition: .2s;
}
.heading-opsi button img {
    margin: unset;
    height: 50%;
}
.heading-opsi button:hover {
    background-color: rgb(200, 219, 255);
    box-shadow: 0 0 0 transparent;
}


#form-create #paragraph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    font-size: 18px;
    font-family: 'popins';
    padding: 20px 40px;
    outline: none;
    border: none;
    resize: none;
    display: none;
}
#form-create #paragraph.aktif {
    display: block;
}


#form-create .heading-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    font-family: 'popins';
    font-weight: bold;
    text-align: center;
    outline: none;
    border: none;
    display: none;
}
#form-create .heading-input.aktif {
    display: block;
}
#form-create #heading-1 { font-size: 54px; }
#form-create #heading-2 { font-size: 40px; }
#form-create #heading-3 { font-size: 32px; }
#form-create #heading-4 { font-size: 24px; }


#form-create .unordered-list {
    position: absolute;
    top: 900px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    transition: 1s;
}
#form-create .unordered-list.aktif {
    top: 0;
}
#aksi-ul {
    display: flex;
}
#tambah-ul-li, #hapus-ul-li {
    font-size: 50px;
    font-weight: bold;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: var(--cb);
    color: white;
    margin: 30px 10px 40px;
    border: none;
    border-radius: 10px;
}



#form-create .ordered-list {
    position: absolute;
    top: 900px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    transition: 1s;
}
#form-create .ordered-list.aktif {
    top: 0;
}
#aksi-ol {
    display: flex;
}
#tambah-ol-li, #hapus-ol-li {
    font-size: 50px;
    font-weight: bold;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    display: flex;
    background-color: var(--cb);
    color: white;
    margin: 30px 10px 40px;
    border: none;
    border-radius: 10px;
}


#form-create .li {
    width: 80%;
    margin-bottom: 20px;
    padding: 10px 25px;
    font-size: 18px;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(128, 128, 128, 0.3);
    outline: none;
    border-radius: 10px;
}



#form-create .image-area {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 45px;
    width: 100%;
    height: 0%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    transition: 1s;
}
#form-create .image-area.aktif {
    height: 100%;
}
#form-create #image-box {
    cursor: pointer;
    width: 55%;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(128, 128, 128, 1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#form-create #image-box:hover, #image-box.hover {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px dashed rgba(128, 128, 128, 1);
}

#first-preview-image {
    max-height: 50%;
    opacity: .4;
}
#first-preview-image.hide { display: none; }
#preview-image {
    display: none;
    margin: unset;
    max-height: 80%;
}
#preview-image.show { display: block; }





#form-create .gallery-area {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 45px;
    width: 100%;
    height: 0%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    transition: 1s;
}
#form-create .gallery-area.aktif {
    height: 100%;
}
#form-create #gallery-box {
    cursor: pointer;
    padding: 10px;
    width: 55%;
    max-height: 400px;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(128, 128, 128, 1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#form-create #gallery-box:hover, #gallery-box.hover {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px dashed rgba(128, 128, 128, 1);
}

#first-preview-gallery {
    max-height: 50%;
    opacity: .4;
}
#first-preview-gallery.hide { display: none; }

#collect-gallery {
    width: 100%;
    height: 100%;
    padding: 10px;
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
}
#collect-gallery.show {
    display: grid;
}

#preview-gallery {
    margin: unset;
    max-height: 80%;
}



.elemen {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(135, 207, 235, 0);
    margin: 20px;
    padding-top: 20px;
    border-radius: 10px;
    cursor: default;
    transition: .5s;
}
.delete-elemen {
    position: absolute;
    top: -100px;
    right: 10px;
    border: 2px solid brown;
    background-color: rgb(221, 20, 20);
    color: white;
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: inherit;
}

.elemen:hover {
    border: 2px solid skyblue;
}
.elemen:hover .delete-elemen {
    top:10px
}





#form-create .aksi {
    position: absolute;
    bottom: -200px;
    transition: .8s;
}
#form-create .aksi.aktif {
    bottom: -60px;
}

#form-create .aksi button {
    cursor: pointer;
    padding: 10px 18px;
    margin: 0 10px;
    border: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 8px;
}
#save {
    background-color: rgb(69, 69, 212);
    color: white;
}
#cancel {
    background-color: rgb(221, 20, 20);
    color: white;
}










.row-flex {
    display: flex;
}
.column {
    padding: 20px;
}
.text-center {
    text-align: center;
}
.center {
    margin: auto;
}
.m-1 {
    margin: 10px;
}
.m-2 {
    margin: 20px;
}
.m-3 {
    margin: 30px;
}
.m-4 {
    margin: 40px;
}
.m-5 {
    margin: 50px;
}




@media screen and (max-width: 1279px) {}
@media screen and (max-width: 1023px) {}
@media screen and (max-width: 959px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 639px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    main ul, main ol {
        margin: 0 60px 30px;
    }
}
@media screen and (max-width: 479px) {}
@media screen and (max-width: 350px) {}