@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Lato:wght@300;400;700&family=Poppins:wght@400;500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    list-style-type: none;
    font-family: "Poppins", sans-serif;
    transition: .2s all linear;
    user-select: none;
    -webkit-user-select: none;
}

:root {
    --navbackground: #f5f5f5;
    --navhover: white;
    --navtext: #0A0838;
    --color1: #AB79F0;
    --color2: #6F58BF;
    --color3: #efb61a;
    --color4: #f4d35d;
    --color5: #ffec99;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

::-webkit-scrollbar {
    display: none;
}

.content {
    padding: 2rem 10%;
}

.backbutton .backarrow {
    position: fixed;
    margin: 2rem;
    padding: .2rem;
    font-size: 2rem;
    border-radius: 50%;
    color: black;
}

.backbutton .backarrow:hover {
    background: var(--navbackground);
    color: var(--color3);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: url("../../img/static/bg3.jpg") no-repeat;
    background-size: cover;
}

.content form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.495);
    padding: 2rem 5rem;
    border-radius: 20px;
    overflow: hidden;
}

.content form ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 30rem;
}

.content form .formstep {
    display: none;
}

.content form .fromstepactive {
    display: flex;
}

.content form ul li {
    display: flex;
    flex-direction: column;
    margin: .5rem 0;
    width: 100%;
}

.content form ul:first-child li:nth-child(2),
.content form ul:last-child li:nth-child(2) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
}

.content form ul:first-child li h1 {
    font-size: 3rem;
    text-align: center;
    font-family: "quicksand";
}

.content form ul:first-child li:nth-child(2) label,
.content form ul:last-child li:nth-child(2) label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    width: 15rem;
    border-radius: 20px;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.689);
    box-shadow: 20px 20px 60px #d9d9d9;
    cursor: pointer;
}

.content form ul:first-child li:nth-child(2) label span,
.content form ul:last-child li:nth-child(2) label span {
    font-size: 17px;
    font-family: "Quicksand";
    font-weight: 600;
    margin-bottom: 1rem;
}

.content form ul:first-child li:nth-child(2) #laki-laki[type="radio"]:checked + label span {
    color: red;
}

.content form ul:first-child li:nth-child(2) #perempuan[type="radio"]:checked + label span {
    color: var(--color3);
}

.content form ul:first-child li:nth-child(2) label img,
.content form ul:last-child li:nth-child(2) label img {
    width: 100%;
    height: 100%;
}

.content form ul:first-child li:nth-child(2) #laki-laki[type="radio"]:checked + label img {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.358));
}

.content form ul:first-child li:nth-child(2) #perempuan[type="radio"]:checked + label img {
    filter: drop-shadow(0 0 10px #efb61abb);
}

.content form ul:last-child li:nth-child(2) #ya[type="radio"]:checked + label img {
    filter: drop-shadow(0 0 40px rgba(0, 255, 132, 0.63));
}

.content form ul:last-child li:nth-child(2) #tidak[type="radio"]:checked + label img {
    filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.358));
}

.content form ul:first-child .fieldtext {
    z-index: 1;
}

.content form ul .fieldtext label {
    font-size: 15px;
    font-family: "Quicksand";
    font-weight: 600;
    z-index: 1;
}

.content form ul .fieldtext input {
    padding: .5rem 1rem;
    margin-top: .5rem;
    font-size: 15px;
    border-radius: 20px;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.689);
    box-shadow: -20px -20px 60px #d9d9d9;
}

.content form ul li a,
.content form ul li button {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding: .5rem 1rem;
    background: var(--color3);
    color: var(--navhover);
    font-size: 15px;
    border-radius: 20px;
    cursor: pointer;

}

.content form ul li a:hover,
.content form ul li button:hover {
    background: var(--color4);
}

/* question 1,2,3 */
.content form ul:not(:nth-child(1)) li h1 {
    font-size: 3rem;
    font-family: "quicksand";
}


.content form ul:not(:first-child) li .pertanyaantitle {
    font-size: 17px;
    margin-bottom: .5rem;
}

.content form ul:not(:nth-child(1)) li input {
    padding: .5rem;
    border-radius: 0;
    backdrop-filter: blur(30px);
    background: none;
    border-bottom: 1px solid black;
    box-shadow: none;
}

.content form ul:not(:nth-child(1)) li .option {
    padding: .1rem;
}

.content form ul:not(:nth-child(1)) li .option label {
    font-size: 14.5px;
}

.content form ul:not(:first-child) li textarea {
    resize: none;
    height: 10rem;
    margin-top: .5rem;
    padding: .5rem 1rem;
    border-radius: 20px;
    font-size: 15px;
}

.content form ul .btngroup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.content form ul:last-child li h1 {
    font-size: 1rem;
    text-align: center;
    font-family: "quicksand";
}


@media (max-width: 850px) {
    .content {
        padding: 2rem 5%;
    }
}

@media (max-width: 740px) {
    .content form {
        padding: 2rem;
    }

    .content form ul:first-child li h1 {
        font-size: 2.5rem;
    }

    .content form ul .fieldtext input {
        font-size: 14px;
    }
}

@media (max-width: 680px) {
    .content form ul {
        width: 25rem;
    }

    .content form ul:first-child li h1 {
        font-size: 2rem;
    }

    .content form ul:first-child li:nth-child(2) label span {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .backbutton .backarrow {
        margin: .5rem;
    }

    .content form {
        padding: 2rem 1rem;
    }
    
    .content form ul {
        width: 20rem;
    }
}

@media (max-width: 390px) {
    .content form {
        padding: 2rem 1rem;
    }

    .content form ul {
        width: 18rem;
    }
}

.notif {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    background: rgba(177, 177, 177, 0.639);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.notif .content {
    display: flex;
    flex-direction: column;
    padding: 2rem 5rem;
    width: fit-content;
    height: fit-content;
    align-items: center;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.904);
    animation: notif .3s linear forwards;
}

@keyframes notif {
    0% {
        opacity: 0;
        transform: scale(.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.notif .content .top,
.notif .content .bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notif .content .top h1 {
    font-family: "quicksand";
    font-size: 3rem;
    color: var(--color3);
}

.notif .content .top span {
    font-family: "quicksand";
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color3);
}

.notif .content .bottom {
    margin-top: 5rem;
}

.notif .content .bottom p {
    font-size: 17px;
}

@media (max-width: 590px) {
    .notif .content {
        width: 100%;
        padding: 2rem 1rem;
    }

    .notif .content .top h1 {
        font-size: 2.5rem;
    }

    .notif .content .top span {
        font-size: 1.2rem;
    }

    .notif .content .bottom p {
        font-size: 15px;
    }
}

@media (max-width: 465px) {
    .notif .content {
        border-radius: 30px;
    }
}

@media (max-width: 430px) {
    .notif .content {
        width: 100%;
        padding: 2rem 1rem;
    }

    .notif .content .top h1 {
        font-size: 2.2rem;
    }

    .notif .content .top span {
        font-size: 1rem;
    }

    .notif .content .bottom p {
        font-size: 13px;
    }
}