@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

*,
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, #070000, #3d1221, #c20000);
}

.container {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 0 17px 10px rgb(0 0 0 / 30%);
}

.design {
    display: none;
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    width: 50%;
    max-width: 150px;
}

.title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.text-input {
    background: #e6e6e6;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0 15px;
    margin-bottom: 15px;
}

.text-input input {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    margin-left: 10px;
    font-size: 16px;
}

.text-input i {
    color: #686868;
}

::placeholder {
    color: #9a9a9a;
}

.login-btn {
    width: 100%;
    padding: 10px;
    color: white;
    background: linear-gradient(to right, #ff4040, #ff0000, #c20000);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
}

@media (min-width: 768px) {
    .container {
        width: 70%;
        max-width: 800px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .design {
        display: block;
        position: relative;
        overflow: hidden;
    }

    .pill-1,
    .pill-2,
    .pill-3,
    .pill-4 {
        position: absolute;
        background: linear-gradient(#ff4040, #ff0000, #c20000);
        border-radius: 50%;
    }

    .pill-1 {
        width: 80px;
        height: 200px;
        top: -50px;
        left: -40px;
    }

    .pill-2 {
        width: 220px;
        height: 450px;
        top: -100px;
        left: -80px;
        border: 30px solid #e2c5e2;
    }

    .pill-3 {
        width: 100px;
        height: 200px;
        top: -50px;
        right: -40px;
    }

    .pill-4 {
        width: 120px;
        height: 300px;
        bottom: -150px;
        right: -50px;
    }

    .login {
        padding: 20px;
    }
}

.rotate-45 {
    transform: rotate(-45deg);
}
