.form {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    /*justify-content: center;*/
    align-items: center;
    background-color: #fff;
    padding: 50px;
    max-width: 30%;
    height: auto;
    box-shadow: 3rem 3rem 4rem 3rem rgba(0,0,.1,.1);
    border: .1rem solid rgba(0,0,0,.1); 
    backdrop-filter: blur(5px);
    border-radius: 2rem;
}

#title {
    font-size: 40px;
    margin-bottom: 70px;
    color: black;

}

#loginContainer {
    margin-top: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 9rem;
}

#username {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;

}

#password {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

#details {
    margin-bottom: 20px;
    text-align: left;
    text-transform: none
    
}

#login, #rg {
    padding: 8px;
    border-radius: 1rem;
    margin: 10px;
    font-size: 15px;
    color: #fff;
    background-color: #414141;
    width: 282px;
}


#login:hover, #rg:hover {
    cursor: pointer;
    background-color: #000000;
}


#register {
    font-size: 15px;
    padding-left: 20px;
    margin: 10px;
}

#ontheside {
    width: 65rem;
    height: 50rem;
    border-radius: 2rem;
}

@media (max-width: 768px) {
    .form {
        max-width: 90%;
        height: auto;
        padding: 30px 20px;
        margin: 0 30px;
    }

    #title {
        font-size: 30px;
        margin-bottom: 30px;
        text-align: center;
    }   

    .usernameLabel {
        margin-right: 5px;
    }

    #loginContainer {
        margin-top: 15rem;
        flex-direction: column;
        padding: 10px;
    }

    .details {
        font-size: 16px;
        text-align: center;
    }

    #username,
    #password {
        width: 163.200px;
        margin-bottom: 15px;
    }

    #login {
        width: 100%;
    }

    #register {
        font-size: 14px;
        padding-left: 0;
        text-align: center;
    }

    
    header .fa-bars{
        display: block;
    }

    header .nav-bar{
        display: flex;
      top: 0;
      margin-top: 10px;
      margin-right: 70px;
      left: 0;
      right: 0;
      background: #ffffff;
      flex-direction: column;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header #toggler:checked ~ .nav-bar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    header .nav-bar a{

        margin: 1.5rem;
        background: #fff;
        display: block;
        left: 100px;
    }

    .username {
        margin-right: 5px;
    }

    .home .content h3{
        font-size: 5rem;
    }

    .home .content span{
        font-size: 2.5rem;
    }
}

p {
    font-size: 13px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 10px;
    color: #777;
    font-size: 14px;
}