@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Raleway', sans-serif;
    background-image: url('KikayImages/loginbackground.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.Navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 65px;
    background: white;
    width: 100%;
    margin: 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}


.navBar a {
    margin-left: 20px;
    text-decoration: none;
    color: black;
    margin: 10px;
}


.logo {
    background: white;
    border-radius: 50%;
}

.OrderBtn{
  background: #FFB22C;
  border-radius: 5rem;
  padding: 1rem;
}

.form {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 50px;
    max-width: 30%;
    height: 500px;
    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: 50px;
    color: #FFB22C;

}

#loginContainer {
    margin-top: 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 9rem;
}

#username {
    padding: 5px;
    border-radius: 1rem;
    border-style: solid;
    border-width: 2px;
    border-color: #e9d36c;
    background: white;

}

#password {
    padding: 5px;
    border-radius: 1rem;
    border-style: solid;
    border-width: 2px;
    border-color: #e9d36c;
    background: white;
}

#details {
    font-size: 20px;
    
}

#login, #rg {
    padding: 8px;
    border-radius: 1rem;
    margin: 10px;
    font-size: 15px;
    color: #fff;
    background-color: #4F959D;
    width: 92%;
}

#login:hover, #rg:hover {
    cursor: pointer;
    background-color: #417379;
}


#register {
    font-size: 15px;
    padding-left: 20px;
    margin: 10px;
}

#ontheside {
    width: 60rem;
    height: 31rem;
    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;
}