// FONT
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700&display=swap');


// VARIABEL
$promaryColor:#00A859;
$secondaryColor:#00AFEF;
$textColor:#424b59;

// moxin
@mixin tombol {
    display: inline-block;
    background-color: $promaryColor;
    border-radius: 2em;
    color: white;
    padding: .5em 2em;
    text-decoration: none;
}

// STYLE

body{
    
    .loading {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: rgba($color: $promaryColor, $alpha: .1);
        z-index: 10000;
        color: $promaryColor;
        /* display: none; */
    }

    font-family: 'Montserrat', sans-serif;
    min-height: 650px;
  
     &::before{
         content: '';
         background-image: url('../../HomeAssets/img/bg/bg-login.png');
         background-repeat: no-repeat;
         background-position: top right;
         position: absolute;
         top: 0;
         left: 0;
         right: 0;
         bottom: 0; 
         opacity: 0.2;
         background-size:79vmax;
         @media screen and(max-width:992px) {
            //  background-size: 95vmax;
             opacity: 0.2;

             
         }
     }
}

// navbar
.custum-nav{
    .navbar-brand{
        img{
            width: 210px;
        }
       
    }

    #navbarNav{
        .navbar-nav{
            .nav-item{
                .nav-link{
                    color: $secondaryColor;
                    font-weight: 500;
                    margin-left: 2.4em;
                    transition: .3s color;
                    font-size: 1rem;
                    &:hover{
                        color: darken($secondaryColor,30%);
                    }
                }
                .login-button{
                    background-color: $secondaryColor;
                    color: white;
                    border-radius: 2em;
                    border:1px solid transparent;
                    padding-left: 1.5em;
                    padding-right: 1.5em;
                    &:hover{
                        background-color: transparent;
                        border: 1px solid $promaryColor;
                    }
                }
            }
        }
    }

    // responsif pertama
    @media screen and (max-width:992px){
        margin-top: -2em;
    }
}

// custum-section-head
.custum-section-head{
    margin-top: 6em;

    .logo-sekolah{
        img{
            width: 12em;
        }
    }

    .text-section-head{
        .judul-informasi{
            h2{
                font-size: 1.2em;
            }
        }
       
        h2{
            font-weight: 600;
            font-size: 3.6rem;
            color: $promaryColor;
            white-space: nowrap;
            line-height: 1;
        }
        h3{
            font-weight: 400;
            font-size: 3rem;
            color: $secondaryColor;
            white-space: nowrap;
            text-transform: uppercase;
            line-height: 1;
        }
        p{
            margin-top: 2em;
            font-size: 1.1rem;
            color: $textColor;
        }
        a{
            margin-top: 2.2em;
            @include tombol;
            transition: .8s background-color ease;
            border: 1px solid transparent;
            &:hover{
                background-color: transparent;
                color: $promaryColor;
                border: 1px solid $secondaryColor;
            }
        }

        .tombol-masuk-sekarang{
            margin-top: 2.2em;
            @include tombol;
            transition: .8s background-color ease;
            border: 1px solid $promaryColor;
            background-color: transparent;
            color: $textColor;
            font-weight: 500;
            &:hover{
                background-color: $secondaryColor;
                color:white;
                border: 1px solid $secondaryColor;
            }
        }
    }

    @media screen and (max-width:992px) {
        margin-top: 3em;
        text-align: center;
        .text-section-head{
           
            h2{
                font-size: 2.5rem;
            }
            h3{
                font-size: 1.2rem;
            }
        }

        .logo-sekolah{
            img{
                width: 6em;
            }
        }
    }
}


// main section
.main-section{
    margin-top: 9em;
    min-height: 350px;
    color: $promaryColor;
    font-weight: 600;

    .card-body{
        table{
            thead{
                font-size: .8rem;
                font-weight: 700;
            }
            tbody{
                font-size: .8rem;
                td{
                font-size: .8rem;

                ul{
                    list-style: none;
                    li{
                        h5{

                            font-size: .8rem;
                        }
                    }
                }

                }
            }
        }
    }

    @media screen and (max-width:992px) {
        margin-top: 2em;
    }
    
}

.content-informasi{
    width: 100%;
    padding: 1em 4em;
    margin-top: 10em;
    .judul-informasi{

        h2{
            font-size: 1.5rem;
            color: $secondaryColor;
        }
        h3{
            font-size: .5em;
            color: $textColor;
        }
    }
    .deskripsi{
        background-color: rgba($color: $promaryColor, $alpha: .1);
        padding-top: 1em;
        font-size: .9em;
    }
    .tombol-masuk-sekarang{
        margin-top: 2.2em;
        @include tombol;
        transition: .8s background-color ease;
        border: 1px solid $promaryColor;
        background-color: transparent;
        color: $textColor;
        font-weight: 500;
        &:hover{
            background-color: $secondaryColor;
            color:white;
            border: 1px solid $secondaryColor;
        }
    }
    @media screen and (max-width:992px){
        width: 100%;
        padding: 1em 4em;
        margin-top: 1em;
        .judul-informasi{
    
            h2{
                font-size: 1.2rem;
                color: $secondaryColor;
            }
        }
    }
}
