@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url('https://fonts.googleapis.com/css?family=Bubblegum Sans');

html {
    scroll-behavior: smooth;
}

body {
    color: #e5e5e5;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-family: 'Bubblegum Sans';
    font-size: 16px;

    width: 100%;
    height: 100vh;
   
    background: #333;
    background: rgb(56, 0, 98);
    background-image: linear-gradient(rgba(255, 255, 255, 0.071) .1em, transparent .1em), linear-gradient(90deg, rgba(255, 255, 255, 0.071) .1em, transparent .1em);
    background-size: 4em 4em;
}

.titlediv {
    text-align: center;
    font-size: 20px;
    margin-top: -30px;
    margin-bottom: -20px;
}

.divcontcenter {
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
}
.containercontent {
    border: 2px solid white;
    position: fixed;
    width: 50%;
    height: auto;
    height: 60%;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.301);
    background-color: rgba(37, 0, 66, 0.707);
    opacity: 1;
    transition: opacity 1s;
    pointer-events: auto;
}
.containercontent.hidden {
    opacity: 0;
    pointer-events: none;
}
.h3incc {
    font-size: 25px;
}
#inputkerangajaib {
    padding: 12px;
    color: #e5e5e5;
    border: none;
    text-align: center;
    inline-size: none;
    margin: 10px;
    margin-bottom: 25px;
    outline: none;
    border-radius: 4px;
    background-color: #0000004a;
    font-family: 'Bubblegum Sans';
    font-size: 20px;
    width: 50%;
    text-decoration: none;
}

#buttonkerangajaib {
    color: #e5e5e5;
    background-color: #6815bc;
    border: none;
    border-radius: 20px;
    margin-bottom: 40px;
    padding: 9px;
    padding-left: 25px;
    padding-right: 25px;
    font-family: 'Bubblegum Sans';
    font-size: 16px;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

#buttonkerangajaib:hover {
    background-color: #5e13a8;
    color: #d3d3d3;
}

::placeholder {
    color: rgba(255, 255, 255, 0.219);
}

.containeranswer {
    z-index: 1;
    border: 2px solid white;
    position: fixed;
    width: 50%;
    height: auto;
    height: 60%;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.301);
    background-color: rgba(37, 0, 66, 0.707);
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none;
}
.containeranswer.display {
    opacity: 1;
    pointer-events: auto;
}
.h3inca {
    font-size: 25px;
}
.pjawaban {
    padding: 12px;
    color: #00d9ff;
    text-align: center;
    margin: 10px;
    margin-bottom: 5px;
    outline: none;
    border-radius: 4px;
    font-family: 'Bubblegum Sans';
    font-size: 30px;
    text-decoration: none;
}

#buttonkerangajaib2 {
    color: #e5e5e5;
    background-color: #6815bc;
    border: none;
    border-radius: 20px;
    margin-bottom: 40px;
    padding: 9px;
    padding-left: 25px;
    padding-right: 25px;
    font-family: 'Bubblegum Sans';
    font-size: 16px;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

#buttonkerangajaib2:hover {
    background-color: #5e13a8;
    color: #d3d3d3;
}

.imagekerang {
    width: 150px;
    margin: 10px;
    margin-bottom: -7px;
}
.contauthor {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-bottom: 20px;
}
.authorbawah {
    bottom: 1px;
    position: absolute;
    text-align: center;
}
#errordiv {
    height: 50%;
    width: 30%;
    background-color: white;
    margin-left: 10%;
    transform: skew(4deg);
    display: none;
}

/* === Untuk Hp === */
@media only screen and (max-width: 767px) {

    .titlediv {
        text-align: center;
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: -15px;
    }
    
    .containercontent {
        width: 75%;
        height: auto;
        height: 50%;
        padding: 15px;
        margin-top: 20px;
        border-radius: 4px;
    }
    .h3incc {
        font-size: 17px;
    }
    #inputkerangajaib {
        padding: 7px;
        margin: 7px;
        margin-bottom: 20px;
        font-size: 17px;
        width: 75%;
    }
    
    #buttonkerangajaib {
        border-radius: 20px;
        margin-bottom: 40px;
        padding: 7px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
    }
    .containeranswer {
        width: 75%;
        height: auto;
        height: 50%;
        padding: 15px;
        margin-top: 20px;
    }
    .h3inca {
        font-size: 17px;
    }
    .pjawaban {
        padding: 12px;
        margin: 5px;
        margin-top: -5px;
        margin-bottom: -7px;
        border-radius: 4px;
        font-size: 25px;
    }
    #buttonkerangajaib2 {
        border-radius: 20px;
        margin-bottom: 40px;
        padding: 7px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
    }
    .imagekerang {
        width: 100px;
        margin: 10px;
        margin-bottom: -7px;
    }
    
}