@media screen and (max-width: 480px){
    h1{
        font-size: 2.2rem;
        line-height: 2.3rem;
        margin-bottom: 1rem;
    }
    h2{
        font-size: 1.2rem;
        margin-bottom: 1rem;
        margin-inline: 8%;
        box-shadow: none;
    }
    h3{
        margin: 1rem 0 .5rem 0;
        text-align:center;
    }
    h4{
        text-align: center;
    }
    p{
        font-size: var(--font-size-p);
    }
    article{
        padding: 2rem 0 0;
    }
    section{
        padding: 1rem 6%;
        width: 100%;
    }
    article h3:not(h3:first-of-type){
        margin: 4rem 0 .5rem 0;
    }
    .article-body{
        hyphens: none;
        text-align: center;
        text-align-last: center;
    }
    nav .navigasi{
        padding: 1rem;
    }
    nav .navigasi .logo{
        height: 60%;
    }
    nav .upper{
        display: none;
    }
    nav .bottom{
        display: block;
    }
    .menu-btn {
        display: block;
    }
    #error.show{
        width: 80%;
    }
    .logos{
        width: 95%;
        gap: .5rem;
    } 
    .logos img{
        height: 50px;
    }
    .logos#one-logo img{
        height: 80px;
    }
    .ribbon{
        width: 96%;
    }
    .ribbon p{
        font-size: 1.1rem;
    }
    .ribbon p.engage{
        font-size: 1rem;
    }
    .carousel-container {
        width: 90%;
        height: 200px;
    }
    .slide {
        height: 100%;
    }
    .carousel h3{
        font-size: 1rem;
    }
    .carousel p{
        bottom: 4%;
        font-size: 1.5rem;
    }
    .side{
        width: 100%;
        grid-template-columns: 100%;
        grid-template-rows: min-content 1fr;
        grid-auto-flow: row;
    }
    .side .materi p{
        text-align: center;
    }
    .side.bottom .placeholder{
        grid-row: 1;
        height: 200px;
    }
    .side .target-block{
        width: 100%;
    }
    .side .placeholder{
        width: 100%;
        height: 100%;
    }
    .profit-content p{
        font-size: 1.4rem;
    }
    .percentage{
        width: 100%;
    }
    .pendaftaran{
        padding: 0;
    }
    .card .card-content h4{
        font-size: 1.5rem;
    }
    .card-event{
        width: calc(90% - 8px);
    }
    .card-event .profil{
        height: 56%;
    }
    .slogan p{
        display: block;
    }
    .card-daftar{
        margin: auto;
        width: 100%;
    }
    .card-daftar .promo{
        line-height: 1.5rem;
    }
    .card-daftar .price *{
        display: block;
    }
    .card-daftar .sm-promo{
        line-height: 1rem;
    }
    .card-daftar .jadwal{
        line-height: 2rem;
    }
    .card-daftar #quota{
        font-size: 1rem;
    }
    section.testimoni{
        margin-top: 0;
    }
    .order-detail{
        width: 100%;
        padding: 3rem 0 0;
        grid-column: 1;
        grid-row: 1;
    }
    .order-detail div{
        padding: 1rem;
    }
    .target-audience{
        padding-top: 5rem;
    }
    .tes-content{
        width: 100%;
        min-height: 230px;
    }
    .testimoni h3{
        margin: 2rem 0 .5rem 0;
        font-size: var(--font-size-h3);
    }
    .video-content{
        width: 100%;
        min-height: 230px;
    }
    .copyright{
        border-top: 1px solid var(--gray);
    }
    form .nama{
        grid-template-columns: 1fr;
    }
    form .nama .error-message{
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 1rem;
    }
    form input{
        height: 3rem;
    }
}
@media screen and (min-width: 480px){
    h1{
        font-size: 2.6rem;
        line-height: 2.8rem;
    }
    h2{
        font-size: 1.6rem;
        margin-bottom: 1rem;
        margin-inline: 10%;
    }
    h3{
        margin: 3rem 0 .5rem 0;
    }
    nav .navigasi{
        padding: 1rem;
    }
    nav .navigasi .logo{
        height: 100%;
    }
    nav .upper{
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .logos{
        gap: 2rem;
    } 
    .carousel-container {
        width: 90%;
        height: 420px;
    }
    section{
        width: 100%;
    }
    .target-audience h3{
        margin: 3.5rem 0 0.8rem 0;
    }
    .testimoni h3{
        margin: 3.5rem 0 1.5rem 0;
        font-size: var(--font-size-h3);
    }
    .tes-content{
        width: calc(100%/3.2);
        min-height: 350px;
    }
    .video-content{
        grid-column: 3 span;
    }
    .side{
        width: 100%;
        grid-template-columns: 100%;
        grid-template-rows: min-content 1fr;
        grid-auto-flow: row;
    }
    .side.bottom .placeholder{
        grid-row: 1;
        min-height: 300px;
    }
    .side .placeholder{
        width: 100%;
        height: 100%;
    }
    .card{
        width: calc(80% - 8px);
    }
    .card-event {
        width: calc(48% - 8px);
        min-height: 400px;
    }
    .card-event .profil {
        height: 40%;
    }
    .card-daftar{
        width: 70%;
    }
    .card .card-content{
        padding: 1rem;
        height: max-content;
    }
    .card .card-content h4{
        font-size: 1.4rem;
    }
    .card .card-content p{
        font-size: 1.2rem;
    }
    .target-audience{
        padding-top: 2rem;
    }
    .video-content{
        width: 100%;
        aspect-ratio: 4/3;
    }
    .order-detail{
        padding: 3rem 0 0;
        grid-column: 1;
        grid-row: 1;
    }
    .order-detail div{
        padding: 3rem;
    }
    form .nama{
        grid-template-columns: repeat(2, 1fr);
    }
    form .nama .error-message{
        grid-column     : span 2;
    }
    form .nama label:nth-of-type(2){
        grid-column: 2;
        grid-row: 1;
    }
}
@media screen and (min-width: 800px){
    h1{
        font-size: 3.5rem;
        line-height: 4.5rem;
    }
    h2{
        margin-bottom: 3rem;
        margin-inline: 15%;
    }
    h3{
        margin: 3rem 0 .8rem 0;
    }
    nav .navigasi{
        padding: 1rem 3rem;
    }
    nav .upper{
        display: inline-block;
    }
    nav .bottom{
        display: none;
    }
    .carousel-container {
        width: 70%;
        height: 600px;
    }
    #error.show{
        width: 50%;
    }
    .ribbon{
        width: 75%;
    }
    .side{
        grid-template-columns: 60% 1fr;
    }
    .side .placeholder{
        width: 100%;
        height: 100%;
    }
    .side.dual{
        grid-template-columns: 1fr 1fr;
    }
    .side.bottom{
        grid-template-columns: 1fr 60%;
    }
    .side.bottom .placeholder{
        height: 100%;
        grid-column: 2;
    }
    .profit-content p{
        font-size: 1.6rem;
    }
    .slogan p{
        display: inline;
    }
    .tes-content{
        min-height: 500px;
    }
    .video-content{
        width:70%;
        grid-column: span 3;
    }
    .card .card-content h4{
        font-size: 1.5rem;
    }
    .card .card-content p{
        font-size: 1.2rem;
    }
    .card-event{
        height: 400px;
    }
    .card-event .profil{
        height: 56%;
    }
    .card{
        width: calc(45% - 8px);
    }
    .card-daftar{
        width: 45%;
    }
    .card-daftar .jadwal{
        line-height: 1rem;
    }
    .copyright{
        box-shadow: 0 -1px rgba(255, 255, 255, .6);
    }
    .order-detail{
        grid-column: 2;
        grid-row: 1;
    }    
}
@media screen and (min-width: 1200px){
    .card-event{
        width: calc(32% - 8px);
    }
}