

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    display: grid;
    height: 100%;
    width: 100%;
    place-items: center;
    background: #3A3D42;
}

::selection {
    background: #4158d0;
    color: #fff;
}

.logo {
    text-align: center;

}

.logo img {
    width: auto;

}

.wrapper {
    width: 380px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
}

.wrapper .title {
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    line-height: 100px;
    color: #fff;
    user-select: none;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(-135deg, #17A2B8, #72E9FB);
}

.wrapper form {
    padding: 10px 30px 50px 30px;
}

.wrapper form .field {
    height: 50px;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.wrapper form .field input {
    height: 100%;
    width: 100%;
    outline: none;
    font-size: 17px;
    padding-left: 20px;
    border: 1px solid lightgrey;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.wrapper form .field input:focus,
form .field input:valid {
    border-color: #72E9FB;
}

.wrapper form .field label {
    position: absolute;
    top: 50%;
    left: 20px;
    color: #999999;
    font-weight: 400;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

form .field input:focus~label,
form .field input:valid~label {
    top: 0%;
    font-size: 16px;
    color: #4158d0;
    background: #fff;
    transform: translateY(-50%);
}

form .content {
    display: flex;
    width: 100%;
    height: 50px;
    font-size: 16px;
    align-items: center;
    justify-content: space-around;
}

form .content .checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

form .content input {
    width: 15px;
    height: 15px;
    background: red;
}

form .content label {
    color: #262626;
    user-select: none;
    padding-left: 5px;
}

form .field input[type="submit"] {
    color: #fff;
    border: none;
    padding-left: 0;
    margin-top: -10px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(-135deg, #17A2B8, #72E9FB);
    transition: all 0.3s ease;
}

form .field input[type="submit"]:active {
    transform: scale(0.95);
}

form .signup-link {
    color: #262626;
    margin-top: 20px;
    text-align: center;
}

form .pass-link a,
form .signup-link a {
    color: #4158d0;
    text-decoration: none;
}

form .pass-link a:hover,
form .signup-link a:hover {
    text-decoration: underline;
}


@import url('https://fonts.cdnfonts.com/css/montserrat');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}

body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f2f5;
}

.container {
max-width: 350px;
width: 90%;
background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
border-radius: 20px;
padding: 25px 35px;
border: 2px solid rgb(255, 255, 255);
box-shadow: rgba(133, 189, 215, 0.8) 0px 15px 30px -10px;
}

.heading {
text-align: center;
font-weight: 700;
font-size: 24px;
color: rgb(16, 137, 211);
}

.form {
margin-top: 20px;
}

.form .input {
width: 100%;
background: white;
border: none;
padding: 12px 15px;
border-radius: 12px;
margin-top: 12px;
box-shadow: #cff0ff 0px 8px 10px -5px;
border-inline: 2px solid transparent;
font-size: 16px;
transition: 0.3s;
}

.form .input::placeholder {
color: rgb(150, 150, 150);
}

.form .input:focus {
outline: none;
border-inline: 2px solid #12b1d1;
}

.password-container {
position: relative;
width: 100%;
}

#toggle-password {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
font-size: 18px;
color: gray;
transition: color 0.3s ease-in-out;
}

#toggle-password:hover {
color: #12b1d1;
}

.form .login-button {
width: 100%;
font-weight: bold;
background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
color: white;
padding: 12px;
margin-top: 20px;
border-radius: 15px;
box-shadow: rgba(133, 189, 215, 0.8) 0px 10px 10px -5px;
border: none;
transition: all 0.3s ease-in-out;
cursor: pointer;
}

.form .login-button:hover {
transform: scale(1.05);
box-shadow: rgba(133, 189, 215, 0.8) 0px 15px 15px -10px;
}

.form .login-button:active {
transform: scale(0.95);
}

.social-account-container {
margin-top: 20px;
}

.social-account-container .title {
display: block;
text-align: center;
font-size: 12px;
color: rgb(120, 120, 120);
}

.social-account-container .social-accounts {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 8px;
}

.social-account-container .social-accounts .social-button {
background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
border: 3px solid white;
padding: 5px;
border-radius: 50%;
width: 40px;
aspect-ratio: 1;
display: flex;
justify-content: center;
align-items: center;
box-shadow: rgba(133, 189, 215, 0.8) 0px 8px 10px -5px;
transition: all 0.2s ease-in-out;
cursor: pointer;
}

.social-account-container .social-accounts .social-button .svg {
fill: white;
width: 18px;
height: 18px;
}

.social-account-container .social-accounts .social-button:hover {
transform: scale(1.15);
}

.agreement {
text-align: center;
margin-top: 15px;
}

.agreement a {
text-decoration: none;
color: #0099ff;
font-size: 10px;
text-align: center;
}

@media (max-width: 400px) {
.container {
padding: 20px;
border-radius: 15px;
}

.heading {
font-size: 22px;
}

.form .input,
.form .login-button {
padding: 10px;
font-size: 14px;
}

.social-account-container .social-accounts .social-button {
width: 35px;
}
}