@import url('https://fonts.googleapis.com/css2?family=Kanit: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');

body {
    background-color: #fcf8f8;
    font-family: "Kanit", sans-serif;
    margin: 0;
}

/*register page css*/

.register-header {
    display: flex;
    justify-content: center;
    color: #2C284A;
    font-size: 3rem;
    text-shadow: 2px 2px 4px #000000;

    padding: 30vh 0 30vh 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("../img/doctors-on-a-row-3.png");
}

.register-form {
    margin: 5% 20%;
    padding: 2%;
    border-radius: 2rem;
    background-color: rgba(163, 228, 238, 0.5);
}

.gender-buttons-container {
    padding: 1rem;
}

.gender-buttons {
    border: 1px #7E97DC solid;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.full-width {
    width: 100%;
}

.half-width {
    flex-basis: 45%;
}

.quarter-width {
    flex-basis: 20%;
}

.input {
    padding: 0.6rem;
    border-radius: 1rem;
    border: 1px #7E97DC solid;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.input::placeholder {
    font-size: 16px;
    color: #ccc;
}

.help {
    color: red;
}

.button-container {
    display: flex;
    justify-content: center;
}

.register-button {
    font-family: "Kanit", sans-serif;
    border: none;
    border-radius: 2rem;
    background-color: #a3e4ee;
    padding: 1rem 3rem;
    transition: background-color 0.3s ease-in-out; /* add transition effect */
}

.register-button:hover {
    background-color: lightpink;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    transform: translateY(-2px);
    cursor: pointer;
}

/*login page css*/

.login {
    display: flex;
    height: 100%;
}

.login-logo {
    z-index: 1;
    position: fixed;
    display: flex;
}

.login-logo-image {
    width: 5vw;
}

.login-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;

}

.login-form-container {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    width: 50vw;
    height: 100vh;
}

.login-form {
    width: 20vw;
    padding: 2%;
    border-radius: 2rem;
    background-color: rgba(163, 228, 238, 0.5);
}

.right-side-login {
    width: 50vw;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("../img/doctors-on-a-row-3.png");
}