:root{
    --background:url('https://images8.alphacoders.com/130/1309053.jpg') ; 
    --text-color:#000000;
    --btn-color:#fff;
    --text-variant:#ffffff;
    --border: rgba(255, 255, 255, .2);
    --shadow: rgba(0, 0, 0, .2);
}

.darkmode{
    --background:url('https://i.pinimg.com/originals/92/5b/7e/925b7e84e9f0c14ef3a37ed5761b83f2.jpg') ; 
    --text-color:#ffffff;
    --btn-color:#333;
    --text-variant:#ffffff;
    --border: rgba(10, 6, 6, 0.2);
    --shadow: rgba(0, 0, 0, .2);
}

nav{
    background-color: var(--btn-color);
}

nav h1{
    color: var(--text-color)
}

#theme-switch{
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    backdrop-filter: blur(10px);
    display:flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    border: 1px solid var(--border);
}

#theme-switch svg{
    fill: var(--text-color)
}

#theme-switch svg:last-child{
    display:none;
}

.darkmode #theme-switch svg:first-child{
    display:none;
}

.darkmode #theme-switch svg:last-child{
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {    
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--background) no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper {
    
    width: 420px;
    background: transparent;
    border: 2px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow:0 0 10px var(--shadow);
    color: var(--text-variant);
    border-radius: 10px;
    padding: 30px 40px;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box {
    position:relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid var(--border);
    border-radius: 40px;
    font-size: 16px;
    color:var(--text-variant);
    padding: 20px 45px 20px 20px
}

.input-box input::placeholder{
    color:var(--text-variant);
}

.input-box i{
    position: absolute;
    right:20px;
    top:50%;
    transform: translateY(-50%);
    font-size:20px;
}

.wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.remember-forgot label input {
    accent-color: var(--text-variant);
    margin-right: 3px;   
}

.remember-forgot a {
    color:var(--text-variant);
    text-decoration: none;
}

.remember-forgot a:hover{
    text-decoration: underline;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background: var(--btn-color);
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px var(--shadow);
    cursor:pointer;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register-link p a {
    color: var(--text-variant);
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover{
    text-decoration: underline;
}