* {
    margin: 0;
    padding: 0;
}

html {
    scrollbar-width: none;

}

body {
    width: 100%;
    height: 100vh;
    background-color: #fdfdfd;
}

header {
    width: 100%;
    padding: 10px;
    background-color: #6741db;
}

.logo {
    display: flex;
    width: 100%;
    align-items: center;
}

.logo img {
    width: 20%;
    height: 20%;
    animation: alternate slide 1s ease-in-out;
}

/* Animetions */
@keyframes slide {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 50%;
    }

    100% {
        transform: translateX(0);
    }
}


main {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;

}

#text {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
     /* border: solid black; */

}

.text {
    height: 80%;
    width: 100%;
    background-color: #40229c;
    color: #fdfdfc;
    padding: 10px;
   

}

.text h2,
p {
    animation: alternate slide 1.5s ease-in-out;
}


#log {
    width: 100%;
    height: 100%;
    display: grid;
    justify-items: center;

}

.log-child {
    /* height: 100%; */
    width: 80%;
    margin-top: 0px;
    border-radius: 10px;
    padding: 20px;
    border: solid 1px #C0B9DE;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fdfdfc;
    box-shadow: 0px 0px 10px #C0B9DE;
}

.t {
    width: 100%;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1px;
    grid-row-gap: 30px;
    margin-bottom: 50px;
}

.fom {
    height: 100%;
    width: 100%;
}

.fom form {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;

}

#logfom input {
    border: #C0B9DE solid 1px;
    padding: 5px;
    outline: none;
}

#login-bt {
    background-color: #6741db;
    width: fit-content;
    align-self: center;
    padding: 6px;
    color: #fdfdfd;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#login-bt:hover {
    opacity: 80%;
    transform: scale(1.1);
}

#logfom label {
    font-size: smaller;
    margin-bottom: -5px;
}

.pas {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1px;
}

.pas button {
    background-color: transparent;
    border: none;
    text-align: right;
    margin-top: -2px;
    color: #6741db;

}

/* pop */

#forgetpop {
    position: absolute;
    top: 0px;
    bottom: 0px;
    height: 100vh;
    width: 100%;
    background-color: rgba(169, 169, 169, 0.425);
    display: flex;
    align-items: center;
    justify-content: center;

}

.forget-child {
    width: 50%;
    background-color: #fdfdfc;
    padding: 10PX;
    border-radius: 10px;

}

.forget-child form {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#logfom1 input {
    border: #C0B9DE solid 1px;
    padding: 5px;
    outline: none;
}



.x {
    display: flex;
    justify-content: flex-end;
    font-size: large;
}




.otp-confrim {
    width: 50%;
    background-color: #fdfdfc;
    /* display: flex; */
    flex-direction: column;
    padding: 15PX;
    border-radius: 10px;

}

.otp-confrim form {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.otp-confrim input {
    border: #C0B9DE solid 1px;
    padding: 5px;
    outline: none;
}

#Forget-bt, #otp-bt {
    background-color: #6741db;
    width: fit-content;
    align-self: center;
    padding: 6px;
    color: #fdfdfd;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#Forget-bt:hover, #otp-bt:hover {
    opacity: 80%;
    transform: scale(1.1);
}

#ouut{
    font-weight: lighter;
    font-size: smaller;
    color: rgb(0, 139, 53);
    
}


/* media */

@media (min-width: 700px) {
    
    
.logo img {
    width: 10%;
    height: 10%
}

main {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    animation: alternate slide 1.5s ease-in-out;

}

    

#text {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
     /* border: solid black; */

}
.text {
    height: 80%;
     height: 80%;
     align-content: center;
     justify-items: center;
     padding: 10px;
    }

#log {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content:baseline;
    align-items: center;
    padding: 0px;
    
    /* border: solid; */
}

.log-child {
    width: 80%;
    height: 80%;
    margin: 0px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#logfom label {
    font-size: medium;
    margin-bottom: -5px;
}
#logfom input {
    border: #C0B9DE solid 1px;
    padding: 10px;
    outline: none;
}

#login-bt {
   
    padding: 10px;
    font-size: large;
    
}






}




/* loadeer */
#loader{
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner{
    width: 45px;
    height: 45px;
    border: 5px solid #ddd;
    border-top: 5px solid #6c63ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin{
    to{
        transform: rotate(360deg);
    }
}