#main {
    display: flex;
    height: 100%;

    @media screen and (max-width: 768px) {
        flex-direction: column-reverse;
    }
}

// Content
.section {
    flex: 1;
    height: 100%;

    article {
        width: 100%;

        &.movies:not(:last-child) {
            border-bottom: 2px solid #d2691e;
            margin-bottom: 40px;
            padding-bottom: 20px;
        }
    }
}

.loader-wrapper {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);

    .loader {
        position: relative;
        top: calc(50% - 25px);
        width: 50px;
        height: 50px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 50%;
        animation: roll 1s ease-in-out infinite alternate;

        &::after{
            content: '';
            position: absolute;
            inset: 5px;
            border-radius: 50%;
            border: 5px solid;
            border-color: #ff3d00 transparent;
        }
    }
}

@keyframes roll {
    0% {
        transform: translateX(-150%) rotate(0deg) ;
    }
    100% {
        transform:  translateX(150%) rotate(360deg);
    }
}

.login {
    &-wrapper {
        position: relative;
        text-align: center;
    }

    &-form {
        max-width: 300px;
        margin: 0 auto;

        .input {
            width: 100%;
            margin-top: 5px;
        }
    }

    .row {
        margin-bottom: 20px;
    }

    .button {
        padding: 10px 20px;
        background: #d2691e;

        &:hover {
            background: #d2691e80;
        }
    }
}

.button-logout {
    display: none;
    margin: 0 auto;
}


// Footer
.footer {
    padding: var(--gap) 0;
    margin-top: 30px;
    background: #ffffff;

    &-credits {
        text-align: center;

        p + p {
            margin-top: 5px;
        }
    }
}
