* {
    border: none;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}


body {
    background-color: #fafafa;
    height: 100vh;
}

main {
    height: 100vh;
    margin: auto;
    max-width: 935px;
}

a {
    text-decoration: none;
}

h1 {
    margin: 20px 0;
}

ul {
    list-style: none;
}

/**
* Flex rules
*/

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.direction-column {
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-direction: normal;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.justify-content-center {
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.align-items-center {
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.flex-wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/**
*
*/

.panel {
    background-color: white;
    border: 1px solid #dbdbdb;
    margin-bottom: 10px;
    padding: 10px;
}

#auth {
    max-width: 350px;
}

#mobile {
    max-width: 454px;
}

#mobile img {
    height: 618px;
}

/**
* Login section
*/
.login-with-fb,
form {
    width: 100%;
}

.register,
form {
    padding: 30px 20px;
}

.login-with-fb {
    padding: 30px 20px 20px 20px;
}

form .sr-only {
    display: none;
}

form input {
    background-color: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    color: #808080;
    margin-bottom: 8px;
    padding: 10px 10px;
    width: 100%;
}

form input::placeholder {
    color: #808080;
}

form input:focus {
    border: 1px solid #808080;
    outline: none;
}

form button {
    background-color: #0095f6;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    height: 35px;
    margin-top: 10px;
    width: 100%;
}

/**
* Separator login form from login with fb
*/
.separator span {
    background-color: #dbdbdb;
    height: 1px;
    width: calc(100% - 10px);
}

.separator .or {
    color: #808080;
    font-weight: bold;
}

.separator {
    padding: 0 20px;
}

.separator span:first-child {
    margin-right: 10px;
}

.separator span:last-child {
    margin-left: 10px;
}

/**
* Login with fb section
*/
.login-with-fb a {
    color: #385185;
}

.login-with-fb>a {
    font-size: 12px;
}

.login-with-fb div a {
    font-weight: bold;
}

.login-with-fb div {
    margin-bottom: 15px;
}

.footer__list {
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/**
* Register section
*/
.register * {
    font-size: 13px;
}

.register a {
    color: #0095f6;
    font-weight: bold;
}

.register p {
    margin-right: 5px;
}

/**
* App download
*/
.app-download {
    padding: 15px;
}

.app-download p {
    padding: 10px 0;
}

.app-download img {
    height: 40px;
    margin: 0 5px;
}

/**
* Footer
*/
footer {
    margin: 0 auto 30px auto;
    max-width: 935px;
    padding-bottom: 30px;
}

footer ul {
    margin-bottom: 20px;
}

footer ul li {
    margin: 0 10px 10px;
}

footer ul li a {
    color: rgb(115, 115, 115);
    font-size: 13px;

}

footer .copyright {
    color: #808080;
    font-weight: 400;
    text-align: center;
    font-size: 14px;
}



.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
}

.wraper {
    text-align: center;
}

.wraper a {
    margin-bottom: 20px;
    display: inline-block;
}

.invalid {
    color: rgb(237, 73, 86);
    font-weight: 400;
    line-height: 18px;
    font-size: 14px;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.invalid-input {
    border: 1px solid rgb(237, 73, 86);
    ;
}

/**
* Media queries
*/

@media screen and (max-width: 767px) {
    main {
        margin: 30px auto 50px auto;
    }

    footer .copyright,
    footer ul li a {
        font-size: 13px;
    }
}

.logo {
    width: 175px;
    margin: 20px auto;
    display: block;
}


.insta-logo {
    gap: 10px;
}

.insta-logo img {
    width: 35px;
    height: 35px;
}

.insta-logo span {
    font-family: 'Billabong', cursive;
    font-size: 38px;
    color: #262626;
}


.insta-logo span {
    font-family: 'Billabong', cursive;
    font-size: 40px;
    letter-spacing: 1px;
}