@import url("https://fonts.googleapis.com/css?family=Pacifico|Roboto");

#form-box {
    background: #fff;
    position: relative;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.1), 0 6px 10px 5px rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease-in-out;
}

#form-box.close {
    width: 0;
    padding: 0;
    overflow: hidden;
    transition: 0.8s ease-in-out;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0);
}

#next-btn {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 40px;
    color: #31bfc4;
    float: right;
    cursor: pointer;
    z-index: 2;
}

#next-btn:hover {
    color: #b9d4ec;
}

#prev-btn {
    position: absolute;
    font-size: 18px;
    left: 30px;
    top: 12px;
    z-index: 2;
    color: #9e9e9e;
    float: right;
    cursor: pointer;
}

#prev-btn:hover {
    color: #b9d4ec;
}

#input-group {
    position: relative;
    padding: 30px 20px 20px 20px;
    margin: 10px 60px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#input-group input {
    position: relative;
    width: 100%;
    border: none;
    font-size: 20px;
    font-weight: bold;
    outline: 0;
    background: transparent;
    box-shadow: none;
}

#input-group #input-label {
    position: absolute;
    pointer-events: none;
    top: 32px;
    left: 20px;
    font-size: 20px;
    font-weight: bold;
    transition: 0.2s ease-in-out;
}

#input-group input:valid+#input-label {
    top: 6px;
    left: 42px;
    margin-left: 0 !important;
    font-size: 11px;
    font-weight: normal;
    color: #9e9e9e;
}

#input-progress {
    border-bottom: 3px solid #31bfc4;
    width: 0;
    transition: width 0.6s ease-in-out;
}

#progress-bar {
    position: absolute;
    background: #b9d4ec;
    height: 10px;
    width: 0;
    transition: width 0.5s ease-in-out;
}

.close #next-btn,
.close #prev-btn {
    color: #fff;
}

.error #input-progress {
    border-color: #ff2d26;
}

.error #next-btn {
    color: #ff2d26;
}

@media (max-width: 600px) {
    #form-box {
        width: 80%;
    }
}

/* PILIH */
.demo {
    background: #F2F2F2;
}

.serviceBox {
    color: var(--main-color);
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    padding: 30px 20px;
    border-radius: 30px 30px;
    /* position: relative; */
    z-index: 1;
}

.serviceBox:before {
    content: "";
    background: var(--white);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 20px 20px;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}

.serviceBox .service-icon {
    font-size: 45px;
    line-height: 45px;
    padding: 0 0 30px;
    margin: 0 0 30px;
    box-shadow: 0px 25px 20px -20px rgba(0, 0, 0, 0.25);
}

.serviceBox .service-icon:before,
.serviceBox .service-icon:after {
    content: "";
    background: var(--main-color);
    width: 40%;
    height: 40%;
    border-radius: 30px 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.serviceBox .service-icon:after {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    border-radius: 0 0 30px 0;
}

.serviceBox .title {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

.serviceBox .description {
    color: #aaa;
    font-size: 13.5px;
    line-height: 24px;
    letter-spacing: 1px;
    margin: 0;
}

.serviceBox.blue {
    --main-color: #6b9fe3;
}

.serviceBox.cyan {
    --main-color: #31bfc4;
}

.serviceBox.purple {
    --main-color: #8746ae;
}

@media only screen and (max-width: 1199px) {
    .serviceBox {
        margin: 0 0 40px;
    }
}