@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Poppins";        
    }

    a{
        text-decoration: none;
    }
    
    body {
    
        font-family: sans-serif;
    }
    
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        height: 70px;
        /* background-color: #0479df; */
        background-color: #fff;
        z-index: 10;
    }

    footer {
        padding: 30px;
        background-color: #FFCD87;
    }
    
    .logo {             
        font-size: 20px;
        color: black;
        text-decoration: none;
        line-height: 70px;
        margin-left: 20px;
    }
    
    nav ul {
        float: right;
        background-color: #fff;
        margin-right: 50px;
    }
    
    nav ul li {
        font-family: sans-serif;
        display: inline-block;
        font-size: 16px;
    
        line-height: 70px;
        padding: 0 15px;
    }
    
    nav ul li a {
        text-decoration: none;
        color: black;
    }
    nav ul li a:hover{
        color: #5490C5;
    }

    .button-menu {
        position: absolute;
        top: 50%;
        right: 20px;
        outline: none;
        border: 1px solid #eae2e2;
        color: black;
        transform: translateY(-50%);
        background-color: transparent;
        width: 80px;
        height: 40px;
        font-size: 20px;
        font-weight: bolder;
        display: none;
    }
    
    .content {
        margin-top: 70px;
    }

    .button-auth {
        margin: 0 10px;
    }

    .text-header-2{
        font-size: 25px;
        font-weight: 600;
    }

    .text-header{
        font-size: 35px;
        font-weight: bold;
    }
    .vertical-center {
        padding: 10%;
    }

    .first-section{
        /* background-image: linear-gradient(to bottom, white, #7BAEDB); */
        background-image: linear-gradient(to bottom, white, #FFCD87);
        padding: 30px;
    }
    .product-section{
        background-image: linear-gradient(to bottom, #FFCD87, white);
        padding: 50px;
        text-align: center;
    }
    .card-image-landing{    
        width: 100%;
        height: 340px;        
        object-fit: cover;        
    }
    .btn-detail{
        background-color: #3675AE;
        color: white;
    }

    .btn-full{
        background-color: #4843BA;
        color: white;
    }

    /* Footer */

    .footer-header{
        font-size: 25px;
    }
    .footer-social{
        font-size: 30px;
        color: black;
    }
    /* Carousel Card */
    
    .carousel-control-prev,
    .carousel-control-next {
        background-color: #e1e1e1;
        width: 5vh;
        height: 5vh;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-inner .carousel-item.active,
    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
        display: flex;
    }
    .carousel-inner .carousel-item-right,
    .carousel-inner .carousel-item-left{ 
        transform: translateX(0);
    }

    /* Course Detail */
    .landing-detail-image{    
        width: 180px;    
        height: 180px;   
        object-fit: cover;
        border-radius: 5px;
    }
    .landing-detail-price{
        font-size: 23px;
        font-weight: bold;
        background-color: yellow;
    }
    .landing-detail-box{
        text-align: center;
        margin-top: 20px;
    }
    .register-title{
        font-size: 20px;
        text-align: center;
    }

    /* Confirmaation */
    .container-order{
        display: flex;
        align-items: center;
        justify-content: center;
        
        margin-top:70px;
    }
    .container-course-detail{
        border-radius: 10px;                
        padding: 40px;
        background-color: #FFFFFF;    
    }
    .course-detail-inv{
        font-size: 30px;
    }
    .course-detail-date{
        font-size: 15px;
    }
    .course-detail-total{
        font-size: 40px;
        float: right;
    }
    
    /* T & C */
    .tnc{
        margin-top: 100px;
        margin-bottom: 100px;
        margin-right: 130px;
        margin-left: 130px;
        padding: 30px;
        background-color: #e1e1e1;
        border-radius: 5px;
    }
    .tnc-text{
        font-size: 14px;
        text-align: justify;
    }
    .table-data{
        font-size: 14px;
    }
    
    /* Payment */
    .img-payment{
        width: 150px;
    }
    .h3-payment{
        font-size: 30px;
        font-weight: bold;
    }
    
    /* WA floating button */
    .float-wa{    
        position:fixed;
        padding: 8px;
        padding-left: 10px;
        padding-right: 10px;
        bottom:20px;
        right:40px;
        font-size: 18px;
        background-color:#25d366;
        border: none;
        color:#FFF;
        border-radius:30px;
        text-align:center;
        box-shadow: 2px 2px 3px #999;    
        z-index: 10; 
    }

    .card-wa {
        display: none;
        position: fixed;
        width: 400px;

        right : 40px;
        bottom: 85px;    
        border-radius: 10px;
        box-sizing: border-box;  
        background-color: #ffffff;  
        box-shadow: 0px 3px 3px 0 rgba(0, 0, 0, 0.4);
        z-index: 10; 
        transition: all .3s linear;
    }
    .card-wa::after{
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        margin-left: 5px;
        bottom: -20px;
        left: 85%;
        box-sizing: border-box;
            
        border : 10px solid black;
        border-color: transparent transparent #ffffff #ffffff;
        
        transform-origin: 0 0;
        transform: rotate(-45deg);
        
        box-shadow: -3px 3px 3px 0 rgba(0, 0, 0, 0.4);
    }
    .wa-header{
        padding: 10px;
        background-color: #075e54;
        color: #FFFFFF;
        border-radius: 10px 10px 0px 0px;
    }
    .wa-content{
        padding: 10px;    
        border-radius: 0px 0px 10px 10px;
    }
    [class*='close-'] {
        color: #FFFFFF;
        font: 14px/100% arial, sans-serif;
        position: absolute;
        right: 8px;
        text-decoration: none;
        text-shadow: 0 1px 0 #fff;
        top: 5px;
    }      
    .close-classic:after {
        content: '✖'; /* ANSI X letter */
    }

    @media (max-width:738px) {
        .card:not(:first-child){
            display: none;
        }

        .logo {                    
            font-size: 16px;            
        }
        .button-menu {
            display: block;
        }
    
        nav ul {
            position: absolute;
            top: 70px;
            width: 100%;
            display: none;
            padding-top: 5px;
            padding-bottom: 5px;
            padding-left: 10px;
            background: #fff;
            border-top: 1px solid #000;
        }

        nav ul li {
            line-height: 40px;
        }
    
        nav ul li {
            display: block;
            text-align: center;
        }

        .button-auth {
            margin: 10px;
        }
    
        .show {
            display: block;
        }
        .product-section{
            padding: 0px;
        }

        .footer-header{
            font-size: 20px;
        }
        .text-header{
            font-size: 28px;
            text-align: center;
        }

        .landing-detail-price{
            font-size: 18px;
            font-weight: bold;
        }

        /*  */
        .container-course-detail{               
            padding: 10px;        
        }
        .course-detail-inv{
            font-size: 17px;
        }
        .course-detail-date{
            font-size: 14px;
        }
        .course-detail-total{
            font-size: 30px;  
            float: none;
        }
        .course-detail-inv-box{
            text-align: center;
        }
        .table-detail{
            font-size: 14px;
        }
        /* t & c */
        .tnc{
            margin-top: 80px;
            margin-bottom: 50px;
            margin-right: 30px;
            margin-left: 30px;
            padding: 30px;
            background-color: #e1e1e1;
            border-radius: 5px;
        }
        .tnc-text{
            font-size: 13px;
            text-align: justify;
        }
        .table-data{
            font-size: 13px;
            text-align: justify;
        }
        
        .about-text{
            font-size: 13px;
            text-align: justify;
        }
        
        /* Order Success */
        .btn-confirm{
            font-size: 13px;
        }
        .img-payment{
            width: 80px;
        }
        .h3-payment{
            font-size: 20px;
        }
        
        /* Floating WA button */
        .float-wa{    
            bottom: 50px;
            right: 10px; 
        }    
        .card-wa {
            width: 95%;
            bottom: 120px;
            right: 10px;
        }
    }