@import url("reset.css");

@import url('https://fonts.googleapis.com/css2?family-Poppins:wght@400;600&display-swap');

body {
    font-family: 'Poppinq', sans-serif;
    min-height: 100vh;
    background: linear-gradient(to right, #ffffff,#38B6FF);
    display: flex;
    align-items: center;
    justify-content: center;
}

.model {
    width: 450px;
    background: rgba(255,255,255, .5);
    padding: 4rem;
    border-radius: 10px;
    border-radius: relative;
}

.model::before {
    content: '';
    position: absolute;
    background: rgba(255,255,255, .15);
    inset: 0;
    transform: rotate(-5deg);
    z-index: -1;
}

.main-logo {
    margin-bottom: 2rem;
}

.main-logo img {
    width: 200px;
}

.main-logo, .login-card-header,.login-card-footer {
    text-align: center;
}

.model a{
    text-decoration: none;
    color: #35339a;
}

.model a:hover {
    text-decoration: underline;
}

.login-card-header {
    margin-bottom: 2rem;
}

.login-card-header h1 {
    font-size: 2rm;
    font-weight: 600;
    margin-bottom: .5rem;
}

.login-card-header h1 + div {
    font-size: calc(1rem * .8);
    opacity: .8;
}

.login-card-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-card-form .form-item {
    position: relative;
}

.login-card-form .form-item .form-item-icon {
    position: absolute;
    top:.82rem;
    left: 1.4rem;
    font-size: 1.3rem;
    opacity: .4;
}

.login-card-form .checkbox{
    display: flex;
    align-items: center;
    gap: 7px;
}

.login-card-form .form-item-other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: calc(1rem*.8);
    margin-bottom: .5rem;
}

.login-card-footer {
    margin-top: 1.5rem;
    font-size: calc(1rem*.8);
}

.model input[type="text"],
.model input[type="password"],
.model input[type="email"] {
    border: none;
    outline: none;
    background: rgba(255,255,255,.3);
    padding: 1rem 1.5rem;
    padding-left: calc(1rem * 3.5);
    border-radius: 100px;
    width: 100%;
    transition: background .5s;
}

.model input:focus {
    background: white;
}

.model input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: black;
}

.model button {
    background: #38b6ff;
    color: white;
    padding: 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background .5s;
}

.login-card-form button:hover {
    background-color: rgba(84,192,255,.85);
    cursor: pointer;
}

.social {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.social > div {
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: calc(1rem * .8);
}

.lesLogo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.lesLogo a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .6);
    border-radius: 100px;
    transition:  all .5s;
}

.lesLogo a:hover {
    background: white;
    transform: scale(1.1);
}

/* Responsive */

@media (max-width: 768px) {
    body {
        padding: 2rem 0;
    }

    .login-card {
        width: 300px;
        padding: 2rem;
    }
}