@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

.nav-brand, .brand-small{
    position: relative;
    z-index: 2;
    display: flex;
    width: max-content;

}

.brand-small{
    display: none;
}


.nav-brand a, .brand-small a{
    background: url(../assets/pspcl.png);
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    display:block;
    background-size: contain;
    background-repeat:no-repeat;
}

.nav-brand > div, .brand-small > div{
    position: relative;
    width: max-content;
    user-select: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5px;

}

.nav-brand h1, .brand-small h1{
    font-size: 2rem;
    color: #f0631e;
    font-weight: bold;
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;

}

.nav-brand h2, .brand-small h2{
    font-size: 1rem;
    color: #0c455f;
    font-family: 'Rubik';
    margin: 0;
    padding: 0;

}

.container-fluid{
    background: transparent;
    margin: 0;
    padding: 0;
}

.navbar-header{
    margin: 0 !important;
}

.navbar{
    box-shadow: none;
    background: transparent;
}

.navbar-default{
    border:none;
}

#myNavbar{
    margin-right: 10px;
    margin-left: 10px;
}

.navbar-toggle{
    margin-right: 20px;
}

#myNavbar a{
    margin: 15px;
    padding: 0 2px;
    width: max-content;
    font-family: "Barlow Semi Condensed", serif;
}

#myNavbar a:hover{
    color:#0c455f;
}

#myNavbar .active a{
    box-shadow: none;
    background-color: transparent;
    border-bottom: #f0631e 2px solid;
    background-image: none;
}


#myNavbar a img{
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    opacity: 70%;
}

#myNavbar a img:hover{ 
    opacity: 100%;
}


.dropdown-toggle{
    margin: 0px !important;
    padding:0px !important;
}

body{
    background: linear-gradient(90deg, #d7e8e3, #e3e2d4);
    background-repeat: no-repeat;
    overflow: hidden;
    height: 100vh;
}

.bg-svg{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw; 
    pointer-events: none; 
}

.bg-svg use{
    fill:gray;
    opacity: 0.5;
    width: 100%;
    height: 100%;
}

.bg-container{
    display:flex;
    position: relative;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    width: 100%;
    
}


.brand{
    display:flex;
    gap: 20px;
    align-items: center;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 900px) {
    .brand {
      display: none !important;
    }

    .bg-container{
        flex-direction: column;
        justify-content: center;
        gap:20px;
    }

    .brand-small{
        display: flex;
    }
}


.brand img{
    height: 210px;
    width: 210px;
    object-fit: contain;
}   

.brand-text {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    
    font-family: 'Montserrat';
    font-size: 4rem;
    font-weight: 700;
    user-select: none;
}

.brand-text span{
    line-height: 4.5rem;
    background:-webkit-linear-gradient(#148dbd, #00364b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text :nth-child(1), .brand-text span::first-letter{
    font-size: 4.5rem;
    font-weight: 800;
    background: -webkit-linear-gradient(#fc9727, #f46922);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


#consumerlogin{
    scale: 0;
    background: #dfe5da;
    padding: 15px;
    font-family: 'Rubik';
    border-radius: 10px;
    width: 300px;
    box-shadow: 3px 3px 5px 2px #aeaeae, inset 3px 3px 5px 2px #ffffff1f;
    color:#0c455f;
    user-select: none;
    
}

#consumerlogin input{
    border-radius: 5px;
    border: none;
    height: 30px;
    background: rgb(216 216 216);
    width: 100%;
    font-size: 1.3em;
    text-align: center;
    color: currentcolor;
}


#consumerlogin input:focus{
    border: 1px solid grey;
    outline: none;
}

#otp-digits-container{
    display: flex;
    justify-content: center;
    
}

.otp-digit{
    width: 40px;
    margin: 0 5px;
    font-size: 2rem;
    font-weight: bold;
    height: 40px !important;
}

#consumerlogin button{
    text-transform: uppercase;
    position: relative;
    width: 100%;
    color:white;
    background: #0c455f;
    opacity: 0.2;
    font-family: 'Rubik';
    border:none;
    font-weight: 500;
    font-size: 2rem;
    margin-top: 20px;
    pointer-events: none;
}

#consumerlogin button.active{
    
    color:white;
    background: #0c455f;
    opacity: 1;
    pointer-events: auto;
    
}

#consumerlogin button.active:hover{
    
    background:white;
    color: #0c455f;
}


#faq-icon{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    font-weight: 900;
    box-shadow: 2px 2px 5px 0px #878787;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(4 63 82);
    border-radius: 15px;
    
    i{
        color: #e2e2d4;
    }
}

#faq-icon:hover{
    background: #e2e2d4;
    i{
        color:rgb(4 63 82);
    }
}

hr{
    margin-bottom: 25px;
    margin-top:5px;
    border-top:1px solid gray;
}

#consumerlogin h1{
    font-size: 2rem;
    color:#0c455f;
}

#consumerlogin div{
    margin-top: 10px;
}

#otp-container {
    display: none;
}

#login-div{
    position: relative;
}

div#login-btn{
    color: white;
    border: none;
    font-family: 'Rubik';
    font-weight: 500;
    font-size: 3rem;
    text-transform: uppercase;
    width: max-content;
    padding: 10px 50px;
    overflow: hidden;

    animation: gradient 6s ease infinite;
    cursor: pointer;
    position: absolute;
    top:50%;
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%);
    background: linear-gradient(124deg, #043f52 0%, #043f52 42%, #ffffff 50%, #043f52 57%, #043f52 100%);
    /* background: linear-gradient(124deg,rgba(4, 63, 82, 1) 0%, rgba(4, 63, 82, 1) 47%, rgba(255, 255, 255, 1) 47%, rgba(255, 255, 255, 1) 54%, rgba(4, 63, 82, 1) 54%, rgba(4, 63, 82, 1) 57%, rgba(255, 255, 255, 1) 57%, rgba(255, 255, 255, 1) 58%, rgba(4, 63, 82, 1) 58%, rgba(4, 63, 82, 1) 100%); */
    /* background: linear-gradient(124deg,rgba(4, 63, 82, 1) 0%, rgba(4, 63, 82, 1) 49%, rgba(255, 255, 255, 1) 49%, rgba(255, 255, 255, 1) 54%, rgba(4, 63, 82, 1) 54%, rgba(4, 63, 82, 1) 56%, rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 1) 57%, rgba(4, 63, 82, 1) 57%, rgba(4, 63, 82, 1) 100%); */
    background-size: 400% 400%;
}

#login-btn.animate{
    animation: anim-btn .4s ease-in-out forwards, gradient 6s ease infinite;
}


#consumerlogin.animate{
    animation: anim-form .4s ease-in-out forwards;
    animation-delay: .4s;
}

@keyframes gradient {
    0% {
		background-position: 0% 50%;
	}
    25% {
		background-position: 0% 50%;
	}
	75% {
		background-position: 100% 50%;
	}
    100% {
		background-position: 100% 50%;
	}
    
}



@keyframes anim-btn {
    0%{
        transform: translate(-50%, -50%) scale(1);
    }
    100%{
        transform: translate(-50%, -50%) scale(0);
    }
    
}


@keyframes anim-form {
    0%{
        scale: 0;
    }
    100%{
        scale: 1;
    }
    
}

