// 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{
    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.5;
         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;
    }
}
.login-user{
    .logo-ppdb-login{
        margin:2em auto;
        img{

            width: 15em;
        }
        // RESPONSIF
        @media screen and(max-width:992px) {
            img{
                width: 9em;
                // margin-top: 3.4em;
            }
        }
    }

    .form-login-user{
        margin-top:10em;
        h2{
            font-weight: 700;
            font-size: 2rem;
            white-space: nowrap;
            color: $promaryColor;
            line-height: 1;
        }
        h3{
            line-height: 1;
            font-size: 1.1rem;
            color: $secondaryColor;
        }
        .custum-input{
            width: 70%;
            height:40px;
            border: 1px solid $promaryColor;
            border-radius: 20px;
            margin-top: 2.5em;
    
            
            background-color: white;
            background-position: 10px 10px;
            background-repeat: no-repeat;
           
    
        }
        
        .tombol-masuk{
            border: none;
            @include tombol();
            transition: .3s background-color ease;
            border: 1px solid transparent;
            &:hover{
                background-color: transparent;
                border: 1px solid $secondaryColor;
                color: $promaryColor;
                font-weight: 400;
            }
        }

         // RESPONSIF formuser
         @media screen and(max-width:992px) {
             margin-top: 3em;
            h2{
                font-size: 1.4rem;
                text-align: center;
            }
            h3{
                text-align: center;
            }

         

            .box-login{
                margin-top: 0;
                margin-bottom: 4em;
                margin-left: auto;
                margin-right: auto;

                form{
                    text-align: center;
                    
                }
                .form-group{
                    .custum-input{
                        margin: 1.2em auto;
                        height: 2em;
                        text-align: center;
                    }
                }
            }

            .tombol-masuk{
                border: none;
                @include tombol();
                transition: .3s background-color ease;
                background-color: $secondaryColor;
                border: 1px solid transparent;
                padding: .2em 2em;
                &:hover{
                    background-color: transparent;
                    border: 1px solid $secondaryColor;
                    color: $promaryColor;
                    font-weight: 400;
                }
            }
        }
    }

}

.login-user{
    .logo-ppdb-login{
        margin:2em auto;
        img{

            width: 15em;
        }
        // RESPONSIF
        @media screen and(max-width:992px) {
            img{
                width: 9em;
                // margin-top: 3.4em;
            }
        }
    }

   
}

.login-admin{
    .form-login-admin{
        margin-top:10em;
        h2{
            font-weight: 700;
            font-size: 2rem;
            white-space: nowrap;
            color: $promaryColor;
            line-height: 1;
        }
        h3{
            line-height: 1;
            font-size: 1.1rem;
            color: $secondaryColor;
        }
        .custum-input{
            width: 70%;
            height:40px;
            border: 1px solid $promaryColor;
            border-radius: 20px;
            margin-top: 2.5em;
    
            
            background-color: white;
            background-position: 10px 10px;
            background-repeat: no-repeat;
           
    
        }
        
        .tombol-masuk{
            border: none;
            @include tombol();
            transition: .3s background-color ease;
            border: 1px solid transparent;
            &:hover{
                background-color: transparent;
                border: 1px solid $secondaryColor;
                color: $promaryColor;
                font-weight: 400;
            }
        }

         // RESPONSIF formuser
         @media screen and(max-width:992px) {
             margin-top: 3em;
            h2{
                font-size: 1.4rem;
                text-align: center;
            }
            h3{
                text-align: center;
            }

         

            .box-login{
                margin-top: 0;
                margin-bottom: 4em;
                margin-left: auto;
                margin-right: auto;

                form{
                    text-align: center;
                    
                }
                .form-group{
                    .custum-input{
                        margin: 1.2em auto;
                        height: 2em;
                        text-align: center;
                    }
                }
            }

            .tombol-masuk{
                border: none;
                @include tombol();
                transition: .3s background-color ease;
                background-color: $secondaryColor;
                border: 1px solid transparent;
                padding: .2em 2em;
                &:hover{
                    background-color: transparent;
                    border: 1px solid $secondaryColor;
                    color: $promaryColor;
                    font-weight: 400;
                }
            }
        }
    }

}


