*{
    font-family: 'helvetica';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background: url('BULSU_thumbnail.png') no-repeat center center fixed;
    background-size: cover;
}
.darkfilter{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
}
.whitefilter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}
.loginpanel {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65em;
    max-width: 90%;
    height: 40em;
    background-color: white;
    color: black;
    padding: min(0.5em, 8%);
    box-sizing: border-box;
    border-radius: 0.5rem;
    display: flex;
    margin-bottom: 2em;
}

.loginpanel1{
    position: relative;
    background-color: rgb(166, 2, 18);
    width: 25em;
    height: 100%;
    border-radius: 0.3em;
    overflow: hidden;
}
.loginpanel1-1 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    
}
.loginpanel1-2{
    position: absolute;
    left: -7em;
    top: 6em;
    width: 28em;
    height: 28em;
}
.loginpanel1-2 img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}
.loginpanel1-1-1 {
    position: absolute;
    top:2.5em;
    width: 100%;
    height: 200px;
    background-color: rgb(245, 171, 41);
    
    transform: skewY(-10deg);
    z-index: 2;
}
.loginpanel1-1-2 {
    position: absolute;
    top:4.5em;
    width: 100%;
    height: 200px;
    background-color: rgb(224, 142, 0);
    
    transform: skewY(20deg);
}



.loginpanel2{
    position: relative;
    height: 100%;
    border-radius: 0.3em;
    margin-left: 1em;
}
.loginpanel2title{
    position: relative;
    margin-top: 4em;
    margin-left: 2em;
}
.loginpanel2title1{
    position: relative;
    font-family: 'Industry Test', sans-serif;
    font-weight: 900;
    font-size: clamp(1em, 5vw, 2.5em);
    color: rgb(245, 171, 41);
}
.loginpanel2title2{
    position: relative;
    font-family: 'Industry Test', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    /* background-color: blue; */
    color: rgb(204, 204, 204);
}

.textfieldholder {
    position: relative;
    width: 100%;
    height: 4em;
    background-color: rgb(240, 240, 240);
    border-left: 5px solid #00000000;
    transition: 0.2s;
    border-radius: 0.5em;
    margin-bottom: 1em;
}
.textfieldholder:focus-within {
    border-left: 5px solid rgb(166, 2, 18);
    border-radius: 0em;
    transition: 0.2s;
}
.logintxtfield {
    position: absolute;
    width: 100%;
    padding: 0.8em 1em;
    font-size: 1.1em;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
    background: none;
    bottom: 0;
    border: none;
    font-weight: 600;
}

.logintxtlabel {
    position: absolute;
    top: 1.3em;
    left: 1em;
    /* color: #999; */
    padding: 0 0.4em;
    transition: 0.3s;
    pointer-events: none;
    font-weight: 700;
    letter-spacing: 0.09em;
    font-size: 1.1em;
}

.logintxtfield:focus + .logintxtlabel,
.logintxtfield:not(:placeholder-shown) + .logintxtlabel {
    top: 0.4em;
    left: 1em;
    font-size: 0.8em;
    color: rgb(121, 121, 121);
}

.loginformholder{
    position: relative;
    
    padding: 6em 2em 0em 2em;
    width: 100%;

}

.logincontrolholder{
    position: relative;
    width: 100%;
    height: 4em;
    border-radius: 0.5em;
    margin-bottom: 1em;
    font-weight: normal;
}

.loginbutton{
    position: absolute;
    width: 45%;
    height: 2.5em;
    background-color: rgb(166, 2, 18);
    color: white;
    font-size: 1.3em;
    border-radius: 0.3em;
    border: none;
    left: 0;
    
}
.forgotpassword{
    position: absolute;
    min-width: 45%;
    height: 2.5em;
    background-color: inherit;
    color:  rgb(166, 2, 18);
    font-size: 1.3em;
    transition: 0.2s;
    border-radius: 0.3em;
    border: none;
    right: 0;
}



        










@media screen and (max-height: 780px) {
    .loginpanel {
        top: 0%;
        transform: translate(-50%, 0%);
        margin-top: 2em;
    }
}

@media screen and (max-width: 710px) {
    .loginpanel {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70em;         
        max-width: 90%;      
        height: 45em;
        background-color: white;
        color: black;
        padding: min(0.5em, 8%);
        box-sizing: border-box;
        border-radius: 0.5rem;
        display: flex;
        margin-bottom: 2em;
    }

    @media screen and (max-height: 780px) {
        .loginpanel {
            top: 0%;
            transform: translate(-50%, 0%);
            margin-top: 2em;
        }
    }

    .loginpanel1{
        position: relative;
        background-color: rgb(166, 2, 18);
        width: 100%;
        height: 100%;
        border-radius: 0.3em;
        overflow: hidden;
    }
    .darkfilter1{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: 0.397;
    }
    .loginpanel2{
        position: absolute;
        top: 0em;
        left: -1em;
        width: 100%;
        height: 100%;
        border-radius: 0.3em;
    }
    .loginpanel2title{
        position: relative;
        left: 0;
        margin-left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 4em;
        flex-direction: column;
    }
    .loginpanel2title1{
        position: relative;
        font-family: 'Industry Test', sans-serif;
        font-weight: 900;
        font-size: clamp(1em, 5vw, 2.5em);
        color: rgb(245, 171, 41);
        text-align: center;
    }
    .loginpanel2title2{
        position: relative;
        font-family: 'Industry Test', sans-serif;
        font-weight: 700;
        font-size: clamp(0.3em, 4vw, 1.8em);
        color: rgb(204, 204, 204);
        /* background-color: blue; */
    }


    .logincontrolholder{
        position: relative;
        width: 100%;
        height: 4em;
        /* background-color: rgb(223, 223, 223); */
        transition: 0.2s;
        border-radius: 0.5em;
        margin-bottom: 1em;
        font-weight: normal;
        flex-direction: column;
    }

    .loginbutton{
        position: relative;
        width: 100%;
        height: 2.5em;
        background-color: rgb(166, 2, 18);
        color: white;
        font-size: 1.3em;
        transition: 0.2s;
        border-radius: 0.3em;
        border: none;
        
    }
    .forgotpassword{
        position: relative;
        width: 100%;
        height: 2.5em;
        background-color: inherit;
        color:  rgb(201, 201, 201);
        font-size: 1.3em;
        transition: 0.2s;
        border-radius: 0.3em;
        border: none;
        margin-top: 0.4em;
    }
}




.loginincorrectpopup {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
    padding: 2em;
    display: flex;
    justify-content: center;
}

.loginincorrectpopuppanel {
    position: relative;
    width: 20em;
    max-width: 100%;
    margin: auto;                   /* Keeps it centered when short */
    background-color: white;
    border-radius: 0.5em;
    max-height: none;               /* Can go above screen height */
    overflow: auto;
    padding: 1em;
    box-sizing: border-box;
    font-size: 1.3em;
    text-align: center;
}
    .loginincorrectpopuppanelt{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: gray;
        padding: 0.5em;
    }
    .loginincorrectpopuppanelb{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgb(166, 2, 18);
        border-radius: 0.5em;
        padding: 0.3em;
        margin-top: 0.5em;
        transition: 0.2s;
        cursor: pointer;
        text-transform: uppercase;
    }
    .loginincorrectpopuppanelb:hover{
        background-color: rgb(166, 2, 18, 0.5);
    }















    

.blockedpopup {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
    padding: 2em;
    display: flex;
    justify-content: center;
}

.blockedpopuppanel {
    position: relative;
    width: 20em;
    max-width: 100%;
    margin: auto;                   /* Keeps it centered when short */
    background-color: white;
    border-radius: 0.5em;
    max-height: none;               /* Can go above screen height */
    overflow: auto;
    padding: 1em;
    box-sizing: border-box;
    font-size: 1.3em;
    text-align: center;
}
    .blockedpopuppanelt{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: gray;
        padding: 0.5em;
    }
    .blockedpopuppanelb{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgb(166, 2, 18);
        border-radius: 0.5em;
        padding: 0.3em;
        margin-top: 0.5em;
        transition: 0.2s;
        cursor: pointer;
        text-transform: uppercase;
    }
    .blockedpopuppanelb:hover{
        background-color: rgb(166, 2, 18, 0.5);
    }