body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to bottom, #fcfcfc, #4c91ca, #3686c7);
}

.main {
    width: 450px; /* ปรับความกว้างของกรอบหลัก */
    height: 600px; /* ปรับความสูงของกรอบหลัก */
    background: red;
    overflow: hidden;
    background: url(/img/1.jpg) no-repeat center / cover;
    border-radius: 10px;
    box-shadow: 5px 20px 50px #000;
}

#chk {
    display: none;
}

.signup {
    position: relative;
    width: 100%;
    height: 100%;
}

label {
    color: #fff;
    font-size: 2.3em;
    justify-content: center;
    display: flex;
    margin: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 5s ease-in-out;
}

input {
    width: 80%; /* เพิ่มความกว้าง */
    height: 50px;
    background: #fff;
    justify-content: center;
    display: flex;
    margin: 20px auto;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 10px;
}

button {
    width: 80%; /* เพิ่มความกว้าง */
    height: 40px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: #fff;
    background: #575757;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    transition: .2s ease-in;
    cursor: pointer;
}

button:hover {
    background: #302b63;
}

.login {
    height: 560px;
    background: #eee;
    border-radius: 60% / 10%;
    transform: translateY(-180px);
    transition: .8s ease-in-out;
}

.login label {
    color: #24243e;
    transform: scale(.6);
}

#chk:checked ~ .login {
    transform: translateY(-600px);
}

#chk:checked ~ .login label {
    transform: scale(1);
}

#chk:checked ~ .signup label {
    transform: scale(.6);
}

.social-login {
    margin-top: 20px;
}

.social-login button {
    display: block;
    width: 80%; /* เพิ่มความกว้าง */
    margin: 10px auto;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.google-login {
    background-color: #db4437;
    color: white;
}

.facebook-login {
    background-color: #3b5998;
    color: white;
}

.google-login i,
.facebook-login i {
    margin-right: 10px;
}

.drop{
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
    position: absolute;
}

.drop-1{
    height: 120px;
    width: 120px;
    top: 450px;
    left: 620px;
    
}

.drop-2{
    height: 120px;
    width: 120px;
    bottom: 100px;
    right: 640px;
    z-index: -1;
}
.drop-3{
    height: 150px;
    width: 150px;
    bottom: 470px;
    right: 340px;
    z-index: -1;
}
.drop-4{
    height: 150px;
    width: 150px;
    bottom: 700px;
    right: 600px;
}
.drop-5
{
    height: 80px;
    width: 80px;
    bottom: 730px;
    left: 650px;
    z-index: -1;
}

.drop-6
{
    height: 220px;
    width: 220px;
    bottom: 60px;
    left: 250px;
}
.drop-7
{
    height: 200px;
    width: 200px;
    bottom: 100px;
    left: 1540px;
}
.drop-8
{
    height: 100px;
    width: 100px;
    bottom: 600px;
    left: 270px;
    z-index: -2;
}

/*-------------- forgot-password --------------*/
.forgot-password {
    margin-top: 10px;
    text-align: center;
}

.forgot-password a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}