* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background: linear-gradient(to right, #1a1a1a, #333333);
}

.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: -1;
}

.container {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 7rem;
    padding: 0 2rem;
	background: linear-gradient(to right,white, #2980b9);



}

.img {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right,white 30%, transparent 70% );
}


.img img {
    width: 400px;
    height: auto; 
}

.login-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    background: linear-gradient(to left, white 30, transparent 70%); /* Yeni arka plan rengi ekledim, istediğiniz renkleri burada ayarlayabilirsiniz */
    border-radius: 10px;
    padding: 20px;
    width: 100%;
}
::placeholder {
    color: white; 
}



form {
    width: 360px;
}

/* Metin Rengi */
.login-content h2,
.login-content a {
    color: #fff;
}




.btn {
    background: linear-gradient(to right, #3498db, #2980b9);
}

.login-content,
.btn {
    border-radius: 10px;
}




.login-content img {
    height: 100px;
}

.login-content h2 {
    margin: 15px 0;
    color: #fff; /* Metin rengi beyaz */
    text-transform: uppercase;
    font-size: 1.4rem;
}

.login-content .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #fff; 
}

.login-content .input-div.one {
    margin-top: 0;
}

.i {
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    transition: .3s;
}

.input-div > div {
    position: relative;
    height: 45px;
}

.input-div > div > h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; 
    font-size: 18px;
    transition: .3s;
}

.input-div:before,
.input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #38d39f;
    transition: .4s;
}

.input-div:before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
    width: 50%;
}

.input-div.focus > div > h5 {
    top: -5px;
    font-size: 15px;
}

.input-div.focus > .i > i {
    color: #38d39f; 
}

.input-div > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #fff; 
    font-family: 'poppins', sans-serif;
}

.input-div.pass {
    margin-bottom: 4px;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    transition: .3s;
}

a:hover {
    color: #38d39f;
}

.btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #32be8f, #38d39f, #32be8f); 
    background-size: 200%;
    font-size: 1.2rem;
    color: #fff; 
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
}

.btn:hover {
    background-position: right;
}

.error-message {
    background-color: #fff; 
    color: #FF0000; 
    padding: 5px; 
    border-radius: 5px; 
    display: inline-block; 
}

.error-message::before {
    content: "!";
    color: #FF0000; 
    font-weight: bold; 
    margin-right: 5px; 
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}









@media (max-width: 600px) {
    body {
        overflow: auto;
        
    }

    .container {
        grid-template-columns: 1fr; 
        padding: 20px;
        grid-gap: 1rem; 
        background-color: #2980b9;
    }

    .img {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to right, #2980b9 30%, transparent 70%);
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 1rem; 
    }

    .img img {
        max-width: 100%; 
        height: auto; 
    }

    .login-content {
        background: linear-gradient(to left, #2980b9 30%, transparent 70%);
        border-radius: 10px;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .login-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem; 
    }

    form {
        width: 100%;
    }

    .input-div {
        margin-bottom: 15px;
    }
}