@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

:root{
    --image:url('img/night.avif');
    --white: #fff;
    --headingSize: 55px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #020410;
}

input:-internal-autofill-selected{
    appearance: none !important;
    background-color: transparent !important;
    color: inherit !important;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

.background{
    width: 100%;
    height: 100vh;
    background: var(--image) no-repeat;
    background-size: cover;
    background-position: center;
    /* filter: blur(10px); */
}

a, a:link, a:visited, a:hover, a:active {
    color: transparent;
}

.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 550px;
    background: var(--image) no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 1px 1px 4px rgba(85, 84, 84, .7),-1px -1px 4px rgba(85, 84, 84, .7) ;
}

.container .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    background:transparent;
    backdrop-filter: brightness(50%);
    padding: 50px;
    color: var(--white);
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    border-radius: 10px 0 10px 0;
}

.text-sci h2{
    font-size: 40px;
    line-height: 1;
}

.text-sci h2 span{
    font-size: 25px;
}

.lms-text:hover{
    color:#000;
    background-color: var(--white);
    cursor: pointer;
}

.text-sci p{
    font-size: 16px;
    margin: 60px 0;
    text-align: justify;
}

.social-icons {
    position: relative;
    text-align: center;
}

.social-icons h5{
    margin-top: 20px;
    margin-bottom: 12px;
}

.social-icons a i{
    font-size: 20px;
    color: var(--white);
    margin-right: 10px;
    transition: .5s ease;
}

.social-icons a:hover i{
    transform: scale(1.5);
}

.social-icons a{
    position: relative;
}

.social-icons a .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 190%;
    left: 50%;
    margin-left: -60px;
}

.social-icons a .tooltiptext:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.social-icons a:hover .tooltiptext{
    visibility: visible;
}

.container .logreg-box{
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 58%);
    height: 100%;
}

.logreg-box .form-box{
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: var(--white);
}

.form-box .imgLogo{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;;
    background: url('img/logo.png') no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.form-box .input-box{
    position: relative;
    width: 340px;
    height: 50px;
    border-bottom: 2px solid var(--white);
    margin: 30px 0;
}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
    padding-right: 28px;
}

.input-box label{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 800;
    pointer-events: none;
    transition: .5s ease;
}

.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
}

.input-box input:-webkit-autofill~label,
.input-box input:-webkit-autofill:valid~label {
    top: -5px;
}

.input-box .icon{
    position: absolute;
    top: 13px;
    right: 0;
    font-size: 19px;
}

.form-box .tombol{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.capcap{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 5px;
}

.btn{
    width: 100%;
    height: 45px;
    background: #2140f3;
    border: none;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

.form-box .btn ~ .focus-border:before,
.form-box .btn ~ .focus-border:after{content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background-color: #fff; transition: 0.3s;border-radius: 4px;}
.form-box .btn ~ .focus-border:after{top: auto; bottom: 0; left: auto; right: 0;}
.form-box .btn ~ .focus-border i:before,
.form-box .btn ~ .focus-border i:after{content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 0; background-color: #fff; transition: 0.4s;border-radius: 4px;}
.form-box .btn ~ .focus-border i:after{left: auto; right: 0; top: auto; bottom: 0;}
.form-box .btn:hover ~ .focus-border:before,
.form-box .btn:hover ~ .focus-border:after{width: 100%; transition: 0.3s;}
.form-box .btn:hover ~ .focus-border i:before,
.form-box .btn:hover ~ .focus-border i:after{height: 100%; transition: 0.4s;}
.form-box .btn:hover{
    font-weight: 900;
    background: rgba(33, 64, 243, .7);
}

.btn:active {
    background-color: #3e8e41;
    box-shadow: 0 1px #fff;
    transform: translateY(1px);
}
.form-box .btn:active ~ .focus-border:before,
.form-box .btn:active ~ .focus-border:after{width: 100%; transition: 0.3s;}
.form-box .btn:active ~ .focus-border i:before,
.form-box .btn:active ~ .focus-border i:after{height: 100%; transition: 0.4s;}

.swift-up-text{
    text-align: justify;
}

.sutpan{
    display: inline-block;
    overflow: hidden;
    animation: .3s swift-up ease-in-out forwards; 
}
  
.ipan{
    font-style: normal;
    position: relative;
    top: var(--headingSize);
    animation: .5s swift-up ease-in-out forwards;
}

@keyframes swift-up {
    to {
      top: 0;
    }
}

.copy{
    text-align: center;
    margin-bottom: 30px;
}

.text-sci2{
    text-align: center;
    display: none;
}

.text-sci2 h2{
    font-size: 14px;
    line-height: 1;
}

.text-sci2 h2 span{
    font-size: 14px;
}

@media only screen 
  and (min-device-width: 240px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
    .container{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        height: 550px;
        background: var(--image) no-repeat;
        background-size: cover;
        background-position: center;
        border-radius: 10px;
        box-shadow: 1px 1px 4px rgba(85, 84, 84, .7),-1px -1px 4px rgba(85, 84, 84, .7) ;
    }

    .container .content{
        display: none;
    }

    .container .logreg-box{
        position: absolute;
        top: 0;
        right: 0;
        width: calc(100%);
        height: 100%;
    }
    
    .logreg-box .form-box{
        position: absolute;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        background: transparent;
        backdrop-filter: blur(20px);
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        color: var(--white);
        padding: 0 10px;
    }

    .form-box .imgLogo{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        background: url('img/logo.png') no-repeat;
        background-size: contain;
        background-position: center;
        width: 40%;
        height: 60px;
        margin-top: 20px;
        margin-bottom: calc(2%);
        margin-left: auto;
        margin-right: auto;
    }

    .logreg-box .form-box form{
        position: relative;
        width: calc(100%);
    }

    .form-box .input-box{
        position: relative;
        width: calc(100%);
        height: 50px;
        border-bottom: 2px solid var(--white);
        margin: 30px 0;
        padding: 10px 0;
    }

    .input-box input{
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        outline: none;
        font-size: 14px;
        color: var(--white);
        font-weight: 500;
        padding-right: 28px;
    }
    
    .input-box label{
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        font-size: 14px;
        font-weight: 800;
        pointer-events: none;
        transition: .5s ease;
    }

    .input-box .icon{
        position: absolute;
        top: 13px;
        right: 0;
        font-size: 19px;
    }

    .tombol{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn{
        width: 50%;
        height: 30px;
        background: #2140f3;
        border: none;
        outline: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
        color: var(--white);
        font-weight: 500;
        box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    }

    .form-box .btn ~ .focus-border:before,
    .form-box .btn ~ .focus-border:after{background-color: transparent;}
    .form-box .btn ~ .focus-border:after{top: auto; bottom: 0; left: 15%; right: 15%;}
    .form-box .btn ~ .focus-border i:before,
    .form-box .btn ~ .focus-border i:after{background-color: transparent;}
    .form-box .btn ~ .focus-border i:after{left: auto; right: 15%; top: auto; bottom: 0;}

    .form-box .btn:active ~ .focus-border:before,
    .form-box .btn:active ~ .focus-border:after{width: 70% !important; transition: 0.3s;}
    .form-box .btn:active ~ .focus-border i:before,
    .form-box .btn:active ~ .focus-border i:after{height: 100%; transition: 0.4s;}

    .form-box .btn:active{
        font-weight: 900;
        background: rgba(33, 64, 243, .7);
    }

    .btn:active {
        background-color: #3e8e41;
        box-shadow: 0 1px #fff;
        transform: translateY(1px);
    }
    
    .form-box .btn:active ~ .focus-border:before,
    .form-box .btn:active ~ .focus-border:after{width: 70%; transition: 0.3s;}
    .form-box .btn:active ~ .focus-border i:before,
    .form-box .btn:active ~ .focus-border i:after{height: 100%; transition: 0.4s;}

    .copy{
        font-size: 14px;
        text-align: center;
        margin-bottom: 30px;
    }

    .text-sci2{
        text-align: center;
        display: block;
        margin-bottom: 80px;
    }
    
    .text-sci2 h2{
        font-size: 14px;
        line-height: 1;
    }
    
    .text-sci2 h2 span{
        font-size: 14px;
    }
}