/* Blue colour: #0f5474 && #050A30*/

*{
    box-sizing: border-box;
    font-family: "Roboto";
}

body{
    margin: 0;
}

#loginPage{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(ellipse at bottom, #0d1d31 0%, #0c0d13 100%);
    overflow: hidden;
    margin: 0;
    border: none;
    padding: none;
    
} 
.loginPage-active{
    animation-name: disappear;
    animation-duration: 2000ms;
}
@keyframes disappear{
  0%{right: 0px;}
  100%{right: 100vw;}   
}

.box{
    position: relative;
    width: 380px;
    height: 450px;
    background: #1c1c1c;
    border-radius: 8px;
    overflow: hidden;
    
}
.box-ani{
    animation-name: redw;
    animation-duration: 1s;
}
@keyframes redw{
  0%{background: red;}
  100%{background: #1c1c1c;}   
}

.box::before{
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 450px;
    background: linear-gradient(0deg,transparent,#0f5474,
    #0f5474);
    transform-origin: bottom right;
    animation: animate 14s linear infinite;
}
.box::after{
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 450px;
    background: linear-gradient(0deg,transparent,#0f5474,
    #0f5474);
    transform-origin: bottom right;
    animation: animate 14s linear infinite;
    animation-delay: -7s;
}
@keyframes animate{
    0%
    {
        transform: rotate(0deg);
    }
    100%
    {
        transform: rotate(360deg);
    }
}

.form{
    position: absolute;
    inset: 2px;
    border-radius: 8px;
    background: #0c0d13;
    z-index: 10;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
}
.form h2{
    color: lightgray;
    font-weight: 500;
    font-size: 28px;
    text-align: center;
}

.selectbox button{
    background-color: #0f5474 !important;
    color: lightgray !important;
    outline: none;
    border: none;
    margin-top: 15px;
    max-width: 100%;
}
.selectbox{
    margin-bottom: 0;
}

.chkbox{
    margin-top: 15px;
    margin-bottom: 0;
}
.chkbox span{
    color: darkgray;
    font-size: 12px;
}

.input-box{
    position: relative;
    width: 300px;
    margin-top: 25px;
    align-self: center;
}
.input-box input{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    border: none;
    outline: none;
    color: darkgray;
    font-size: 1em;
    letter-spacing: 0.05em;
    z-index: 10;
}
.input-box span{
    position: absolute;
    left: 0;
    padding: 20px 10px 10px;
    font-size: 1em;
    color: lightgray;
    pointer-events: none;
    letter-spacing: 0.05em;
    transition: 0.5s;
    margin-top: 0px;
}
.input-box input:valid ~ span,
.input-box input:focus ~ span{
    transform: translateX(-10px)translateY(-34px);
    font-size: 0.75em;
}
.input-box i{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #0f5474;
    border-radius: 4px;
    transition: 0.5s;
    pointer-events: none;
    z-index: 9;
}
.input-box input:valid ~ i,
.input-box input:focus ~ i{
    height: 44px;
}
.submit{
    border: none;
    outline: none;
    background: #0f5474;
    width: 100%;
    height: 40px;
    margin-top: 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    align-self: center;
    color: lightgray;
    margin-top: 20px;
    font-size: 1em;
}
.submit:active{
    opacity: 0.8;
}

#wrong {
    width: 200px;
    padding: 20px 0;
    text-align: center;
    background: red;
    opacity: 0.5;
    color: lightgray;
    border-radius: 8px;
}

.select2-container.form-control {
  background: transparent;
  box-shadow: none;
  border: none;
  display: block;
  /* 1 */
  margin: 0;
  padding: 0;
}
.select2-container--default .select2-selection--single{
    color: lightgray !important;
    font-size: 1em; 
    position: relative;
    background-color: #0f5474 !important;
    border: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    color: lightgray !important;
}
.select2-dropdown.select2-dropdown--below{
    background-color: #0f5474 !important;
    color: lightgray !important;
}
.select2.select2-container .select2-selection .select2-selection__rendered {
    color: lightgray;
}
.select2-search input {
  color: lightgray;
  background-color: #0f5474 !important;
}
.select2-container.select2-container-multi.form-control {
  height: auto;
}
::-webkit-scrollbar{
    width: 0px;
}
