@media screen and (max-width: 345px) {
    .footer > .footer-links {
        justify-content: space-evenly!important;
    }

    .footer > .footer-links > .footer-links-apps{
        margin: 0!important;
    }
}

body{
    font-family: 'Roboto', sans-serif;
}

strong {
    font-weight: bold;
}

.container{
    position: relative;
    min-height: 100vh;
    background-color: #F7F7F7;
}

/* Content */
.content{
    flex: 1;
    padding: 0 20px;
}

/* Header styles */
header{
    border-bottom: 2px #CECECE solid;
    background-color: white;
}

.header{
    padding: 10px 20px;
}

.header-logo{
    height: 60px;
}

.head{
    height: 78px;
    background: #FCFCFC;
}

.head > div{
    display: flex;
    justify-content: center;
    padding: 10px;
}

.head > div > img {
    height: 58px;
}

/* Footer styles */
footer{
    background-color: #AE66F6;
    height: 160px;
}

.footer{
    height: 160px;
    justify-content: space-evenly;
}

.footer > .footer-links{
    display: flex;
    justify-content: center;
}

.footer > .footer-links > a {
    color: white;
}

.footer > .footer-links > .footer-links-terms {
    margin: 0 0.9rem;
    text-align: center;
    font-size: 13px;
}

.footer > .footer-links > .footer-links-apps {
    margin: 0 1rem;
}

/* Common styles */
.flex{
    display: flex;
}

.flex-column{
    display: flex;
    flex-direction: column;
}

.flex-between{
    display: flex;
    justify-content: space-between;
}

/* Buttons */
.btn {
    background-color: inherit;
    width: 175px;
    height: 51px;
    border: solid #AE66F6 2px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    color: #AE66F6;
    font-weight: bold;
}

.btn:disabled{
    opacity: 0.5;
}

.btn-main {
    background-color: #AE66F6;
    color: white;
    text-shadow: -9px 23px 42px #ae66f6;
    box-shadow: 0 8px 30px -4px rgba(174, 102, 246, 0.51);
}

.btn-main:hover {
    box-shadow: 0 8px 30px -4px rgba(174, 102, 246, 0.8);
}

.btn-bg {
    min-width: 250px;
    max-width: 335px;
    width: 100%;
}

/* Inputs */
input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0;
}

.input {
    border: 2px solid transparent;
    background-color: #ECECEC;
    border-radius: 15px;
    padding: 12px 10px 12px 50px;
    font-size: 16px;
    color: #6B6B6B;
}

.input-error > input {
    border-bottom: 1px solid red !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #F8F1FF inset !important;
    border-color: #ae66f6;
}

.input:focus {
    border: 2px solid #AE66F6;
    outline: none;
}

.input-bg {
    max-width: 375px;
    width: 100%;
}

.input-icon{
    position: absolute;
}

/* H */
h3{
    font-size: 24px;
    font-weight: bold;
}

h4{
    font-weight: bold;
    padding-bottom: 2rem;
}

/* Other */
a {
    color: inherit;
    text-decoration: inherit;
}

.margin-auto{
    margin: auto;
}

.link {
    color: #AE66F6;
    cursor: pointer;
    text-decoration: underline;
}

.error{
    color: red;
    font-size: 16px;
    text-align: left;
    height: 30px;
}

.mb-1{
    margin-bottom: 1rem;
}

.mb-2{
    margin-bottom: 2rem;
}

.mb-3{
    margin-bottom: 2rem;
}

.mt-1{
    margin-top: 1rem;
}

.mt-2{
    margin-top: 2rem;
}

.mt-3{
    margin-top: 2rem;
}

.mt-4{
    margin-top: 4rem;
}

.pr-2{
    padding-right: 2rem;
}

.pb-1{
    padding-bottom: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.grey{
    color: #777777;
    line-height: 24px;
}

.pb-1{
    padding-bottom: 1rem;
}

/* Popup */
.popup{
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
}

.popup-body{
    width: 350px;
    max-width: 100%;
    height: 175px;
    margin: auto;
    border-radius: 15px;
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.popup-close{
    text-align: right;
    height: 0;
}

.popup-close > span {
    cursor: pointer;
}

.popup-info{
    text-align: center;
    margin: auto;
    line-height: 22px;
}

.popup-buttons{
    display: flex;
}

/* Spinner */
.lds-spinner {
    color: #AE66F6;
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}
.lds-spinner div {
    transform-origin: 20px 20px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 26px;
    left: 19px;
    width: 2px;
    height: 8px;
    border-radius: 20%;
    background: #AE66F6;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.success{
    color: #03AD00;
}

.hide{
    display: none;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 109;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}


.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ae66f6;
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}