*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input:-webkit-autofill,
input:-webkit-autofull:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 30px #0d0d0d inset !important;
    -webkit-text-fill-color: white !important;
}

body {
    background-color: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    font-family: "CustomFont2";
}

@media (max-width: 600px) {
    .login-card {
        position: relative;
        background: rgba(255, 255, 255, 0.1);
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
        width: 500px;
        text-align: center;
        transform: scale(0.9);
    }
}
@media (min-width: 800px) {
    .login-card {
        position: relative;
        background: rgba(255, 255, 255, 0.1);
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
        width: 500px;
        text-align: center;
        transform: scale(1.3);
    }
}
h2 {
    color: white;
    margin-bottom: 20px;
}

.input-box {
    position: relative;
    margin: 20px 0;
}

.input-box input {
    width: 100%;
    padding: 12px 15px;
    background: none;
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 18px;
    border-bottom: 2px solid white;
    transition: 0.4s;
}

.input-box input:focus {
    border-color: cyan;
}

.input-box span {
    position: absolute;
    top: 50%;
    left: 15px;
    color: white;
    font-size: 16px;
    pointer-events: none;
    transition: 0.4s;
    transform: translateY(-50%);
}

.input-box input:focus + span,
.input-box input:not(:placeholder-shown) + span {
    top: 5px;
    font-size: 12px;
}

.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: 0.3s;
}
.back-button:hover {
    text-shadow: 0 0 10px cyan;
}
.ToS {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ToS a {
    color: lightblue;
}

.ToS input[type="checkbox"] {
    width: auto;
    margin: 0px;
}

.ToS label {
    font-family: "CustomFont2";
    font-size: 12px;
    color: white;
}
.ToS a:hover {
    text-shadow: 0 0 10px lightblue;
}
.login-btn {
    padding: 10px;
    border: 2px solid white;
    border-radius: 20px;
    background: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    width: 30%;
    font-family: "CustomFont2";
    margin-top: 10px;
    margin-bottom: 10px;
}

.google-btn {
    background: none;
    border: none;
    margin-bottom: 0.625rem;
    cursor: pointer;
    margin-top: 1rem;
}
.google-btn img {
    width: 1.5rem; 
    height: 1.5rem;
}
.google-btn:hover {
    filter: drop-shadow(0 0 10px cyan);
}


.login-btn:hover {
    box-shadow: 0 0 15px cyan;
}

p {
    color: white;
}

p a {
    color: lightblue;
}
p a:hover {
    text-shadow: 0 0 10px lightblue;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.8rem;
}
.divider::before,
.divider::after {
    content:'';
    flex: 1;
    border-bottom: 1px solid white;
}

.divider::before {
    margin-right: 5px;
}

.divider::after {
    margin-left: 5px;
}