@import url(fonts.css);

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
    font-family: mixUIRegular;
}

body {
    background-color: #121212;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
}

#main-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    width: 324px;
    margin-top: 104px;
    min-height: 700px;
}

h1 {
    margin-top: 12px;
    font-family: mixUITiltle;
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 32px;
}

#top-logo {
    width: 32px;
    height: 32px;
    fill: white;
}


footer {
    margin-top: auto;
    padding: 32px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-div {
    justify-content: center;
    text-align: center;
    width: 400px;
}

.footer-links {
    font-family: mixUIRegular;
    font-size: 12px;
    color: #b3b3b3;
    text-align: center;
    max-width: 330px;
    width: 100%;
    margin: 0 auto;
}

.footer-links a:hover {
    color: #1ED760;
}

.form-div {
    width: 324px;
    padding: 0px 0px 16px;
}

.label-div {
    display: block;
    padding: 0px 0px 8px;
    font-size: 14px;
    font-weight: bold;
}

.input-div {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 12px;
    border: 1px solid #d5c7c7a8;
    border-radius: 5px;
    background-color: #121212;
    color: white;
    font-size: 16px;
}

.input-div:hover {
    box-sizing: border-box;
    border: none;
    border: 1px solid white;
}

.input-div:focus {
    box-sizing: border-box;
    outline: none;
    border: 2px solid white;
    padding: 11px;
}

/* Targets the element that has both .input-div and .touched to give it a red border.
Currently no element has the .touched class because a JavaScript script adds it
when an input field is clicked and then clicked out of. */

.input-div.touched:invalid {
    border-color: rgb(216, 54, 54);
}

.continue-button {
    display: block;
    width: 100%;
    border: 1px solid #1ED760;
    border-radius: 25px;
    background-color: #1ED760;
    padding: 8px 32px;
    font-weight: 800;
    height: 48px;
    box-sizing: border-box;
    font-size: 16px;
    transition: transform 0.05s ease;
    cursor: pointer;
}

.scale.continue-button:hover {
    transform: scale(1.05);
    background-color: #2de36d;
}

.continue-button:active {
    background-color: #20b659;
    border-color: #108c3f;
    transform: scale(0.97);
}

.or-div {
    width: 100%;
    text-align: center;
    padding: 16px 0px 16px;
    font-size: 16px;
}

.dif-logins {
    width: 100%;
}

.dif-logins a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(245, 245, 245, 0.435);
    border-radius: 30px;
    margin-bottom: 8px;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    transition: transform 0.09s ease, border-color 0.3s ease;
}

.scale.dif-logins a:hover {
    transform: scale(1.05);
    border-color: white;
}

.dif-logins a svg {
    position: absolute;
    left: 20px;
}

#sign-up-div {
    text-align: center;
    margin-top: 56px;
    width: 100%;

}

#no-acc {
    font-size: 16px;
    color: #b3b3b3;
    text-align: center;
    font-weight: 100;
}

.spacer-div {
    margin-top: 16px;
}

.sign-up {
    display: inline-block;
    text-decoration: none;
    color: white;
    text-align: center;
    font-weight: bold;
    transition: all 0.05s ease;
}

.scale.sign-up:hover {
    transform: scale(1.02);
}