body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: linear-gradient(to bottom, #F5F5DC 50%, #FFF);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

.title {
    font-size: 30px;
    font-weight: 600;
    color: #8B7355;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2%;
    margin-bottom: 2%;
}

.logregflex {
    display: flex;
    justify-content: center;
}

.login {
    background-color: white;
    width: 448px;
    height: 570px;
    border-radius: 14px;
    border: 1px solid #D4C5B9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logregtitle {
    color: #8B7355;
    font-size: 16px;
    text-align: center;
}

.logregtitle :nth-child(1) {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0px;
}

.logregtitle :nth-child(2) {
    margin-top: 0px;
}

.logreg {
    width: 90%;
    padding: 3.5px;
    box-sizing: border-box;
    background-color: #F5F5DC;
    border-radius: 14px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

.login input {
    background-color: #F3F3F5;
    border: 1px solid #D4C5B9;
    border-radius: 8px;
    width: 100%;
    height: 36px;
    font-size: 14x;
    margin-top: 8px;
}

.login input::placeholder {
    font-size: 14px;
    color: #717182;
}

.login label {
    font-size: 14px;
    color: #8B7355;
    font-weight: 600;
    text-align: left;
    width: 100%;
    margin-top: 16px;
}

.input-icon1 {
    background-image: url("../IMG/mail-icon.svg");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 16px;
    padding-left: 32px;
    box-sizing: border-box;
}

.input-icon2 {
    background-image: url("../IMG/lock-icon.svg");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 16px;
    padding-left: 32px;
    box-sizing: border-box;
}

.loginsubmitbtn {
    background-color: #8B7355;
    font-size: 14px;
    border-radius: 8px;
    color: white;
    width: 90%;
    height: 36px;
    border: none;
    margin-top: 16px;
}

.loginsubmitbtn:hover {
    cursor: pointer;
    background-color: #7b674c;
}

.backbtn {
    margin-top: 25px;
    font-size: 14px;
    color: #8B7355;
}

.backbtn:hover {
    text-decoration: underline;
}

.register {
    background-color: white;
    width: 448px;
    height: 570px;
    border-radius: 14px;
    border: 1px solid #D4C5B9;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
}

.loginbtn1 {
    border: none;
    background-color: #8B7355;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 29px;
    width: 50%;
    padding: 0;
}

.loginbtn1 img {
    margin-right: 15px;
}

.regbtn1 {
    border: none;
    background-color: #F5F5DC;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    height: 29px;
    width: 50%;
    padding: 0;
    border-radius: 14px;
}

.regbtn1 img {
    margin-right: 15px;
}

.register input {
    background-color: #F3F3F5;
    border: 1px solid #D4C5B9;
    border-radius: 8px;
    width: 100%;
    height: 36px;
    font-size: 14x;
    margin-top: 8px;
}

.register input::placeholder {
    font-size: 14px;
    color: #717182;
}

.input-personicon {
    background-image: url("../IMG/person-icon.svg");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 16px;
    padding-left: 32px;
    box-sizing: border-box;
}

.register label {
    font-size: 14px;
    color: #8B7355;
    font-weight: 600;
    text-align: left;
    width: 100%;
    margin-top: 16px;
}

.regsubmitbtn {
    background-color: #8B7355;
    font-size: 14px;
    border-radius: 8px;
    color: white;
    width: 90%;
    height: 36px;
    border: none;
    margin-top: 16px;
}

.regsubmitbtn:hover {
    cursor: pointer;
    background-color: #7b674c;
}

form {
    display: flex;
    flex-direction: column; 
    align-items: center;
    width: 80%;
}
