// FONT
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700&display=swap');


// VARIABEL
$promaryColor:#00A859;
$secondaryColor:#00AFEF;
$textColor:#424b59;
$text-error: #761919;

// 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;
         z-index: -100000;
         @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;
    }
}


// card-custum-registrasi

.card-custum-registrasi{
    border-radius: 2em;
    background-color: rgba($promaryColor,.1);
    box-shadow: 2px 2px 2px rgba($color: #000000, $alpha: .4);
    .card-body{
        color: $promaryColor;
        .container-login-mandiri{
            .form-group{
                input[type=text],
                input[type=email],
                input[type=password]{
                    border: 1px solid $secondaryColor;
                    border-radius: 3em;
                }
            }
            .tombol-registrasi{
                @include tombol();
                padding-left:4em;
                padding-right:4em;
                border: 1px solid transparent;
                transition: .3s background-color ease;
                &:hover{
                    background-color: transparent;
                    color: $promaryColor;
                    border: 1px solid $promaryColor;
                }

            }
        }
    }
}
 
// card-custum-register
.card-custum-register{
    background-color: rgba($promaryColor,.1);
    margin: .3em auto;
    border-radius: 2em;
    .card-title{
        padding: 1em 0;
        h2{
            text-align: center;
            color: $secondaryColor;
            font-size: 1.2rem;
            font-weight: 500;
        }
    }
}

// container success

.container-success{
    .box-success{
        margin: 2em 0;

        h2{
            color:$text-error;
            font-size: 2rem;
            font-weight: 400;
            white-space: nowrap;
        }
        p{
            color: $promaryColor;
            font-weight: 700;
            font-size: 1.2rem;
        }
        .btn-kembali{
            margin: 2em 0;
            @include tombol();
            padding-left: 4em;
            padding-right: 4em;
            font-weight: 600;
            border:1px solid transparent;
            transition: .4s background-color ease-in-out;
            &:hover{
                background-color: transparent;
                border:1px solid $secondaryColor;
                color: $secondaryColor;
                font-weight: 700;
                
            }
        }

        @media screen and(max-width:992px) {
            margin: 1em;
            h2{
                color:$text-error;
                font-size: 1rem;
                font-weight: 400;
                white-space: nowrap;
            }
            p{
                color: $promaryColor;
                font-weight: 700;
                font-size: 1rem;
            }
        }
    }

    .text-sekolah{
        h2{
            font-size: 3rem;
            white-space: nowrap;
            color: $textColor;
        }
        h3{
            font-size: 1.3rem;
            white-space: nowrap;
            color: $secondaryColor;

        }

        @media screen and (max-width:992px) {
            h2{
                font-size: 2rem;
                white-space: nowrap;
                color: $textColor;
            }
            h3{
                font-size: .9rem;
                white-space: nowrap;
                color: $secondaryColor;
    
            }
            
        }
    }
    .box-sekolah{
        margin-top: 5em;
        .logo-sekolah{
            .logo{
                width: 10em;
                height: 10em;
                background-repeat: no-repeat;
                background-size: 10vmax;
                background-position: center;
            }
        }

        @media screen and (max-width:992px) {
            margin-top: 2em;
            .logo-sekolah{
                .logo{
                    width: 5em;
                    height: 5em;
                    background-repeat: no-repeat;
                    background-size: 10vmax;
                    background-position: center;
                }
            }
        }
    }
    
}

// container error


.container-error{
    .box-error{
        margin: 2em 0;

        h2{
            color:$text-error;
            font-weight: 400;
            white-space: nowrap;
        }
        .btn-kembali{
            margin: 2em 0;
            @include tombol();
            padding-left: 4em;
            padding-right: 4em;
            font-weight: 600;
            border:1px solid transparent;
            transition: .4s background-color ease-in-out;
            &:hover{
                background-color: transparent;
                border:1px solid $secondaryColor;
                color: $secondaryColor;
                font-weight: 700;
                
            }
        }
        p{
            color: $text-error;
        }
        ol{
            li{

                color: $text-error;
            }
        }
        h4{
            color: $text-error;
        }

        @media screen and (max-width:992px) {
            .btn-kembali{
                margin: 2em auto; 
            }
        }
    }

    .text-sekolah{
        h2{
            font-size: 3rem;
            white-space: nowrap;
            color:$text-error;
        }
        h3{
            font-size: 1.3rem;
            white-space: nowrap;
            color: $secondaryColor;

        }

        @media screen and (max-width:992px) {
            h2{
                font-size: 2rem;
                white-space: nowrap;
                color: $text-error;
            }
            h3{
                font-size: .9rem;
                white-space: nowrap;
                color: $secondaryColor;
    
            }
            
        }
    }
    .box-sekolah{
        margin-top: 5em;
        .logo-sekolah{
            .logo{
                width: 10em;
                height: 10em;
                background-repeat: no-repeat;
                background-size: 10vmax;
                background-position: center;
            }
        }

        @media screen and (max-width:992px) {
            margin-top: 2em;
            .logo-sekolah{
                .logo{
                    width: 5em;
                    height: 5em;
                    background-repeat: no-repeat;
                    background-size: 10vmax;
                    background-position: center;
                }
            }
        }
    }
    
}




