﻿:root {
    --primary: #072955 !important;
    --primary-hover: #143d81;
    --text: #383740;
    --text-lighter: #71707d;
    --secondary: #f0f0f0 !important;
    --secondary-hover: #e0e0e0;
    --aura: rgba(98, 91, 254, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Mulish', sans-serif;
}

body {
    background-color: #f3f3f3;
    min-height: 100vh;
    overflow-x: hidden;
}

h1 {
    color: var(--text);
    font-size: clamp(1.5rem, 4vw, 2rem);
}

/*.background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--primary);
    z-index: -1;
}*/

.background {
    position: fixed;
    top: -50vmin;
    left: -50vmin;
    height: 100vmin;
    width: 100vmin;
    border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
    background: var(--primary);
}

    .background::after {
        content: "";
        position: inherit;
        right: -50vmin;
        bottom: -55vmin;
        width: inherit;
        height: inherit;
        border-radius: inherit;
        background: #143d81;
    }

.socials-row {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    margin-bottom: 1px;
    margin-top: 1px;
}

    .socials-row img {
        width: 1.5rem;
        height: 1.5rem;
    }

    .socials-row > a {
        background-color: var(--secondary);
        border-radius: 0.5rem;
        width: 100%;
        min-height: 3rem;
        display: flex;
        gap: 0.75rem;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        font-size: 1rem;
        color: var(--text);
        border: 1px solid var(--text-lighter);
        font-weight: 700;
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 150px;
        text-decoration: none;
    }

        .socials-row > a:hover {
            background-color: #072955;
            border: 1px solid var(--primary);
            color: white;
            text-decoration: none;
        }

.divider {
    display: flex;
    flex-direction: row;
    color: var(--text-lighter);
    gap: 1rem;
    align-items: center;
    margin: 0.5rem 0;
    margin-bottom: 1px;
}

.divider-line {
    width: 100%;
    height: 1px;
    background-color: var(--text-lighter);
    opacity: .2;
}

.centering {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 1rem;
}

.my-form {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 1rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px var(--aura);
    width: 100%;
    max-width: 31.25rem;
    padding: 1.5rem;
    margin: 1rem;
}

.signup-welcome {
    height: 5rem;
    width: 5rem;
    /*object-fit: cover;*/
}

.signup-welcome-row {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}

.my-form__button {
    background-color: var(--primary);
    color: white;
    white-space: nowrap;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    line-height: 3.125rem;
    outline: none;
    font-size: 1.125rem;
    letter-spacing: .025em;
    text-decoration: none;
    cursor: pointer;
    font-weight: 800;
    min-height: 3.125rem;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
    transition: all .3s ease;
}

.text-fieldinput {
    color: var(--text-lighter);
    font-size: 1rem;
    font-weight: 500;
    max-width: 100%;
    width: 100%;
    border: 1px solid var(--text-lighter);
    height: 3.125rem;
    color: var(--text);
    letter-spacing: .03rem;
    background-color: transparent;
    outline: none;
    transition: .25s;
    border-radius: 0.5rem;
    text-indent: 1.25rem;
    margin-top: 0.5rem;
    padding-right: 2.5rem;
}

    .text-fieldinput:focus {
        border: 1px solid var(--primary);
    }

.my-form__button:hover {
    background-color: var(--primary-hover);
}

.text-field {
    position: relative;
}

    .text-field input::placeholder {
        color: var(--text-lighter);
    }

    .text-field svg {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        width: 1.5rem;
        height: 1.5rem;
        transform: translateY(-50%);
        stroke: var(--text);
    }

    .text-field input:focus + svg {
        stroke: var(--primary);
    }

    .text-field label {
        color: var(--text);
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: .03rem;
        z-index: 10;
    }

        .text-field label:has(+ input:focus) {
            color: var(--primary);
        }

.my-form__actions {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    align-items: center;
}

.my-form__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.my-form__actions a {
    color: var(--primary);
    font-weight: 600;
}

    .my-form__actions a:hover {
        text-decoration: underline;
    }

.my-form__signin {
    display: flex;
    justify-content: center;
}

    .my-form__signin a {
        color: var(--primary);
        font-weight: 800;
        text-decoration: none;
        font-size: 1rem;
    }

        .my-form__signin a:hover {
            text-decoration: underline;
        }

.hfour {
    text-align: center;
    color: #072955;
    text-decoration-line: underline;
    margin-bottom: 0px;
}

.ptext {
    font-size: 13px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0px;
}

/* Responsive time */

@media (max-width: 390px) {
    .centering {
        padding: 1.5rem;
        align-items: flex-start;
        margin-top: -20px;
    }

    .my-form {
        margin: 0;
        padding: 1.25rem;
        border-radius: 0.75rem;
        box-shadow: 0 10px 30px var(--aura);
    }

    .signup-welcome {
        height: 4rem;
        width: 4rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .socials-row > a {
        min-width: 100%;
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .text-field input {
        height: 2.75rem;
        font-size: 0.875rem;
    }

    .my-form__button {
        min-height: 2.75rem;
        font-size: 1rem;
    }

    .my-form__actions {
        font-size: 0.8125rem;
    }

    .text-field svg {
        width: 1.25rem;
        height: 1.25rem;
        right: 0.5rem;
    }

    .my-form__actions > div:first-child {
        line-height: 1.4;
    }
}
