@media screen and (max-width: 650px){

.header{
    display: flex;
    width: 55%;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
}
/* Resetting default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
}
#WEL{
    display: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form {

    max-width: 400px;
    margin-top: 25px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 1px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.Login{
    display: none;
}
.lognav, .signnav{
    color: blue;
}
}


@media screen and (min-width: 650px){

.header{
    display: flex;
    width: 25%;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
    margin-left: 80px;
}
/* Resetting default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}
.gather{
    display: flex; justify-content: space-around; flex-direction: row;
}
form {
    margin-left: 50px;
    max-width: 550px;
    margin-top: 25px;
    background-color: #fff;
    padding: 20px;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 1px;
    border-radius: 5px;
    border: 1px solid black;
}
.signup{
    width: 400px;
}
#loginform{
    width: 410px;
    margin-left: -17%;
}
input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.Login{
    display: none;
}
.lognav, .signnav{
    color: blue;
}
}