@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgb(20, 20, 20) inset !important;
    box-shadow: 0 0 0 1000px rgb(20, 20, 20) inset !important;
    -webkit-text-fill-color: rgb(255, 255, 255) !important;
    caret-color: rgb(255, 255, 255);
    transition: background-color 9999s ease-in-out 0s;
}
body {
    background-color: rgb(0, 0, 0);
}
.start-page {
    width: 100%;
    background-image: 
        linear-gradient(to top, rgb(0,0,0,1) 0%, rgb(0,0,0,0) 50%),
        url('/assets/images/backgrounds/sign.webp');
    background-repeat: no-repeat;
    background-size: 159%;
    background-position: top center;
    position: relative;
    text-align: center;
    padding-bottom: 50px;
}
.start-page .start-page-logo {
    width: 50%;
    max-width: 435px;
    height: auto;
    margin: 0 auto;
    display: block;
    margin-bottom: 200px;
}
.start-page .sign-up {
    display: inline-block;
    position: relative;
    width: 250px;
    height: 90px;
    background-image: url('/assets/images/buttons/start.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0 auto;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.start-page .sign-up:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgb(255, 215, 0));
}
.start-page .sign-up .button-text {
    position: absolute;
    width: 100%;
    top: calc(50% + 5px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    background: linear-gradient(90deg, rgb(255, 215, 0), rgb(255, 165, 0), rgb(255, 215, 0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    z-index: 2;
    text-align: center;
}
.start-page .sign-up .star {
    position: absolute;
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
    animation: starMove 2s infinite ease-in-out;
}
.start-page .sign-up .star1 { top: 10px; left: 10px; animation-delay: 0s; }
.start-page .sign-up .star2 { top: 5px; right: 10px; animation-delay: 0.3s; }
.start-page .sign-up .star3 { bottom: 10px; left: 30px; animation-delay: 0.6s; }
.start-page .sign-up .star4 { bottom: 5px; right: 20px; animation-delay: 0.9s; }
@keyframes starMove {
    0% { transform: translate(0,0) scale(1); opacity: 0.8; }
    50% { transform: translate(0,-5px) scale(1.3); opacity: 1; }
    100% { transform: translate(0,0) scale(1); opacity: 0.8; }
}
.start-page .sign-in {
    border-bottom: 1px solid;
}
.sign-up-page {
    position: relative;
}
.sign-up-page .selection-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    top: 10px;
    z-index: 2;
    text-align: center;
}
.sign-up-page .sex-selection {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    height: 300px;
}
.sign-up-page .sex-selection a {
    flex: auto;
    text-align: center;
    height: 100%;
    position: relative;
}
.sign-up-page .sex-selection a span {
    bottom: 20px;
    position: absolute;
    transform: translateX(-50%);
}
.sign-up-page .sex-selection a:nth-child(1) {
    background-image: linear-gradient(to top, rgb(0,0,0,1) 0%, rgb(0,0,0,0) 50%),
                      url('/assets/images/sex/male.webp');
    background-position: center;
    background-size: cover;
}
.sign-up-page .sex-selection a:nth-child(2) {
    background-image: linear-gradient(to top, rgb(0,0,0,1) 0%, rgb(0,0,0,0) 50%),
                      url('/assets/images/sex/female.webp');
    background-position: center;
    background-size: cover;
}
.sign-up-page .separator {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to top, rgb(0, 0, 0) 20%, rgb(255, 255, 255), rgb(0, 0, 0) 80%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.sign-up-page .sign-up-form {
    padding-top: 40px;
    width: 220px;
    margin: 0 auto;
}
.sign-up-page .sign-up-form .form-group label {
    display: block;
    font-size: 13px;
    padding-left: 5px;
    margin-bottom: 5px;
}
.sign-up-page .sign-up-form .form-group input {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid rgb(40, 40, 40);
    border-radius: 8px;
    padding: 10px;
    background-color: rgb(20, 20, 20);
    color: rgb(255, 255, 255);
}
.sign-up-page .sign-up-form .submit-button {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid rgb(65, 105, 225);
    border-radius: 8px;
    padding: 9px;
    color: rgb(255, 255, 255);
    font-size: 16px;
    background-color: rgb(20, 60, 180);
}
.sign-up-page .errors {
    display: block;
    border: 1px solid rgb(128, 8, 8);
    top: 50px;
    position: relative;
    margin-bottom: 30px;
    max-width: 80%;
    background-color: rgb(122, 32, 33);
    color: rgb(255, 200, 200);
    border-radius: 8px;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .start-page {
        background-image: 
            linear-gradient(to top, rgb(0,0,0,1) 0%, rgb(0,0,0,0) 50%),
            url('/assets/images/backgrounds/sign@2.webp');
    }
    .sign-up-page .sex-selection a:nth-child(1) {
        background-image: linear-gradient(to top, rgb(0,0,0,1) 0%, rgb(0,0,0,0) 50%),
                          url('/assets/images/sex/male@2.webp');
    }
    .sign-up-page .sex-selection a:nth-child(2) {
        background-image: linear-gradient(to top, rgb(0,0,0,1) 0%, rgb(0,0,0,0) 50%),
                          url('/assets/images/sex/female@2.webp');
    }
}