* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*::before,
*::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Rubik';
    font-size: 12px;
    color: #616161;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400;
}


/* ------------------------- */
body {
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 1.25rem;
}
/* ------------------------- */
.wrapper {
    min-height: 100%;
    overflow: clip;
}
/* ------------------------- */

.account {
    min-height: 100vh;
    position: relative;
    display: flex;
}
.account__left-side {
    font-family: "Manrope";
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    flex: 0 0 49.444444%;/*712/1440*/
    gap: 1.3125rem;
}
.account__left-side::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("../img/image.jpg") center / cover no-repeat;
}
.account__left-side,
.account__content {
    padding: 4.75rem 4.166667%;/*60/1440*/
}
.account__title,
.account__text {
    position: relative;
}
.account__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;/*46/40*/
    max-width: 19.3125rem;
}
.account__text {
    line-height: 1.35;
}
.account__content {
    flex: 1 1 auto;
}
.account__inset {
    max-width: 59.065934%;/*430/728*/
    margin: 0 auto;
    min-height: 100%;
    display: flex;
    gap: 3.125rem;
    flex-direction: column;
    justify-content: space-between;
    min-width: 26.875rem;
}
.account__logo {
    font-family: 'Manrope';
    font-weight: 600;
    line-height: 1.35;
    color: #1D1D1B;
    padding-left: 2rem;
    background: url("../img/logo.svg") left / 1.5rem no-repeat;
}
.account__login {
    text-align: center;
    font-size: 1rem;
    line-height: 1.25;
}
.account__link-login {
    text-decoration: underline;
    font-weight: 500;
    color: #000;    
}
.account__link-login:hover {
    text-decoration: none;
}
.form__title {
    font-family: 'Manrope';
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.36;
    color: #000000;
}
.form__title:not(:last-child) {
    margin-bottom: 0.3125rem;
}
.form__text {
    line-height: 1.3;
}
.form__items {
    display: grid;
    gap: 0.9375rem;
    padding: 1.875rem 0;
}
.form__input {
    height: 3rem;
    border-bottom: 1px solid #e0e0e0;
    transition: border-bottom 0.8s ease 0s, padding-left 0.3s ease 0s;
}
.form__input:hover {
    border-bottom: 1px solid #000000;
}
.form__input:focus {
    padding-left: 0.9375rem;
}
.form__input::placeholder {
    color: #000000;
    transition: opacity 0.3s ease 0s;
}
.form__input:focus::placeholder {
    opacity: 0;
}
.form__actions {
    display: grid;
    gap: 1.625rem;
}
.form__button {
    background-color: #060606;
    border-radius: 0.375rem;
    padding: 1.25rem 0.9375rem;
    font-size: 1rem;
    color: #fff;
    transition: background-color 0.3s ease 0s;
}
.form__button:hover {
    background-color: #333;
}
.form__or {
    color: #7a7a7a;
    line-height: 1.3;
    position: relative;
    text-align: center;
}
.form__or::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.0625rem;
    top: 50%;
    left: 0;
    background-color: #e0e0e0;
}
.form__or span {
    background-color: #fff;
    position: relative;
    padding: 0 0.5rem;
}
.form__google {
    border: 0.0625rem solid #d9d9d9;
    border-radius: 0.375rem;
    padding: 1.25rem 0.9375rem;
    text-align: center;
    transition: border 0.3s ease 0s;
}
.form__google:hover {
    border: 0.0625rem solid #000;
}
.form__google span {
    text-align: left;
    background: url("../img/google.svg") left / 1.5rem no-repeat;
    padding-left: 2.5rem;
    line-height: 1.3;
    color: #000;
}

/* Animation elements */

.account__left-side::before {
    transform: translate(-100%, 0px);
}

.loaded .account__left-side::before {
    transform: translate(0px, 0px);
    transition: all 2s ease 1.5s;
}

.form > *,
.account__logo,
.account__login {
    transform: translate(0px, 1.875rem);
    opacity: 0;
} 

.loaded .form > *,
.loaded .account__logo,
.loaded .account__login {
    transform: translate(0px, 0px);
    opacity: 1;
    transition: transform 1s ease, opacity 1s ease;
}

.loaded .account__logo {
    transition-delay: 0.5s;
}
.loaded .form__title {
    transition-delay: 0.7s;
}
.loaded .form__text {
    transition-delay: 0.9s;
}
.loaded .form__items {
    transition-delay: 1.1s;
}
.loaded .form__actions {
    transition-delay: 1.3s;
}
.loaded .account__login {
    transition-delay: 1.5s;
}

/*Responsive*/

@media (max-width: 64.375rem) {
    .account {
        display: block;
    }
    .account__left-side::before {
        transform: translate(0px, 0px);
    }
    .account__left-side,
    .account__content {
        padding: 2.75rem 5.166667%;
    }
    .account__inset {
        gap: 2.125rem;
        min-width: 0;
        max-width: none;
    }
}


