@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;
}

/******************** 
*    TOP NAV BAR    * 
********************/
nav.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 99;
    background-image: linear-gradient(180deg, #21313d, 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: #162938;
}

.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.current_page.link {
    font-weight: 900;
    text-shadow: 0 0 5px #2b7a7e,
        0 0 25px #28888d,
        0 0 50px #20888d,
        0 0 100px #2d9096;
    ;
}


/**************************
*   Login Form Wrapper    *
**************************/
.wrapper {
    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;                                                                                                                                      
    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;
}

/********************
*   Error messages  *
********************/

.msg {
    top: 80%;
    position: absolute;
    left: 50%;
    padding: 20px;
    border-radius: 10px;
    font-size: 30px;
    width: 700px;
    margin-left: -250px;
    text-align: center;

}

.success {
    color: white;
    background-color: green;
    border: rgb(0, 255, 34) thin solid;
}

.error {
    color: black;
    background-color: rgb(255, 213, 122);
    border: red thin solid;

}

.caution {
    color: black;
    background-color: rgb(255, 253, 160);
    border: rgb(255, 217, 0) thin solid;

}

/********************
*   page edit form  *
********************/
#editForm fieldset{
    width: 800px;
}
#editForm button {
    padding: 10px;
    background-color: #506af8;
    color: white;
    font-size: 15px;
    border-radius: 8px;
    margin-top: 25px;
}

#editForm button:hover {
    background-color: hsl(231, 94%, 51%);
    cursor: pointer;
}

#editForm div {
    display: block;
    margin-top: 15px;
}

#editFrom label {
    display: inline;
}

#editForm input, #editForm textarea {
    display: inline;
    width: 50%;
    padding: 5px;
    border-radius: 3px;
}

#editForm textarea {
    min-height: 300px;
    resize: vertical;
}

/********************
*  test form        *
********************/
#testForm fieldset {
    width:  250px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.profilePic {
    display: inline-block;
    position: relative;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    overflow: hidden;

}