@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    padding: 100px 40px;
}

nav.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    /* background-color: red; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 99;
    background-image: linear-gradient(180deg, rgb(147, 76, 240), transparent);
}

.top_nav a.link {
    position: relative;
    font-size: 1.1em;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
}

.top_nav .popup{
    width: 130px;
    height: 50px;
    background: transparent;
    border: 2px solid #FFFFFF;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #FFFFFF;
    font-weight: 500;
    margin-left: 40px;
    transition: 0.5s;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
}

.top_nav .popup:hover{
    background-color: #FFFFFF;
    color: #47abf8;
}

.top_nav a.link::after{
content: '';
position: absolute;
width: 100%;
height: 3px;
background: #FFFFFF;
border-radius: 5px;
left: 0;
bottom: -6px;
transform: scaleX(0);
transition: transform 0.5s;
transform-origin: right;
}

.top_nav a.link:hover::after{
    transform-origin: left;
    transform: scaleX(1);
}
/* .top_nav a:hover {
    text-decoration: underline;
    background-color: blueviolet;
} */

.top_nav a.current_page.link {
    /* background-color: rgb(89, 166, 255); */
    font-weight: 900;
    /* color: darkblue; */
    text-shadow: 0 0 5px #03e9f4,
    0 0 25px #03e9f4,
    0 0 50px #03e9f4,
    0 0 100px #03e9f4;;
}

fieldset.loginForm {
    width: 600px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;

}
fieldset.userForm{
    background-color: antiquewhite;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    width: 100%;
    max-width: 700px;

}

table{
    background-color: antiquewhite;
}

fieldset.userForm1{
    background-color: #aae4e7;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;

}
.userForm1 legend {
    position:fixed;
    font-size: medium;
}

.userForm legend {
    position:fixed;
    font-size: medium;
}

.userButton{
    background-color: #2e3235;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
.userButton:hover {
    background-color: #2980b9;
}

.loginForm input, .loginForm button {
    padding: 5px;
    margin: 10px;
}

.wrapper {
    /* position: relative; */
    position: absolute;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* transform: scale(0); */
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -220px;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.form-box h2 {
    font-size: 2em;
    color: #162938;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 57px;
}

.input-box input:focus~label, .input-box input:valid~label {
    top: -5px;
}

.remember-forgot {
    font-size: 0.9em;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
}

.remember-forgot a {
    color: #162938;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background-color: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #FFFFFF;
    font-weight: 500;
}

.wrapper .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background-color: #162938;
    font-size: 2em;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
}



.msg {
    top: 50%;
    position: absolute;
    left: 50%;
    border: 1px solid gray;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    width: 500px;
    margin-left: -250px;
    text-align: center;
    color: rgb(202, 8, 8)
}

.success {
    background-color: rgb(177, 229, 241);
}
.error{
    background-color: aquamarine;
    border: red;
    
}

#editForm button{
    padding: 10px;
    background-color: rgb(187, 178, 244);
    color: #162938;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 15px;

}

#editForm button:hover{
    background-color: aqua;
    cursor:pointer

}

#editForm div{
    display: block;
    margin-top: 15px;
}



#editForm label{
    display:inline;
    margin-right: 35px;

}
#editForm input, #editForm textarea{
    display: block;
    width: 50%;
    padding: 5px;
    border-radius: 3px;
}

#editForm textarea{
    min-height: 300px;
    resize: vertical;
}


.profilePic{
    display: inline-block;
    position: relative;
    width: 125px;
    height: 125px;
    border-radius: 30%;
    overflow: hidden;

}
.table{
    border-collapse: collapse;
    width:90%;
    margin:50px auto;
}
.table td {
    border: 1px solid #999;
    padding:5px 5px 5px 10px;
}
#editUserForm{
    padding:20px;
    line-height:200%;
    border-radius: 15%;


}

.links{
    display:flex;
}
#editUserForm label{
    display:inline-block;
    width:150px;
}

#editForm{
    padding-left:50px;
    padding-bottom:50px;
}

