// 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;
            }
        }
    }
}

// status card
.status-card-container{
    width: 100%;
    
    h2{
        color: #00A859;
        font-size:larger;
    }

    .status-card{
        min-height: 9em;
        border:1px solid #8e9996;
        box-shadow: 1px 2px 4px #424b59;
        border-radius: 1em;
        padding: 1em 2em;
        margin-top: 2em;
        .status-card-title{
            h4{
                font-weight: 800;
                font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
                font-size: .9em;
                i{
                    color: #00A859;
                }
            }
          
        }
        .status-card-body{
            margin-top: 1em;
            .status-card-statistik{
                h4{
                    font-size: .9em;
                    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
                }
                h6{
                    align-items: center;
                    color: #00A859;
                    font-size: .8em;

                }
            }
        }
    }
}

// main section
.main-section{
    a{
        text-decoration: none;
        color: #000000;
    }
    min-height: 350px;
   
    font-weight: 600;

    h2{
        font-size: larger;
    }

    .title-section{
       color: #00A859;
    }

    .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;
                        }
                    }
                }

                }
            }
        }
    }

    .informasi-admin{
        border: 1px solid #424b59;
        padding: 1em 2em;
        border-radius: 1em;
        box-shadow: 1px 2px 4px #424b59;
        min-height: 9em;
        .title-informasi{
            font-size: .9em;
            text-indent: 0em;
        }
        .create-informasi{
            
            h4{
                font-size: .7em;
                color: #8e9996;
            }
            h6{
                font-size:.7em;
                color: #8e9996;

            }
        }
    }

    @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;
            }
        }
    }
}
