// @import '~bootstrap';
@import "../../node_modules/@fortawesome/fontawesome-free/css/all.min.css";

@import 'global';
@import 'camera';
@import 'cover';
@import 'counter';

.gradient {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(254, 255, 0, 1) 0%, rgba(29, 232, 64, 1) 10%, rgba(29, 221, 232, 1) 50%, rgba(108, 131, 237, 1) 85%, rgba(221, 0, 243, 1) 105%);
    background-size: 100000px 100000px;
    animation: rainbow 12s ease infinite;
    z-index: 0;

    &.gradient-absolute {
        position: absolute;
    }

    &.gradient-fixed {
        position: fixed;
    }
}

@keyframes rainbow {
    0% {
        background-position: 0 62%
    }

    50% {
        background-position: 100% 49%
    }

    to {
        background-position: 0 62%
    }
}

html {
    position: relative;
    min-height: 100%;

    body {
        header {
            //overflow: hidden;
        }

        main {
            .container,
            .container-fluid {
                & > .block {
                    &:last-child {
                        margin-bottom: 0 !important;
                    }
                }

                position: relative;

                .card {
                    background-color: transparent;

                    .card-header {
                        background-color: rgba(255, 255, 255, 0.6);
                    }

                    .card-body {
                        background-color: rgba(200, 200, 200, 0.6);
                    }

                    .card-footer {
                        background-color: rgba(200, 200, 200, 0.6);
                    }
                }
            }
        }

        footer {
        }
    }
}

body.error {
    .wrap {
        width: 100%;
        height: 100%;
        background-image: url("../../public/images/error/bg.png");
        background-position: center;
        background-size: cover;
        position: relative;

        .inner {
            max-width: 1000px;
            width: 100%;
            height: auto;
            position: relative;
            margin-left: auto;
            margin-right: auto;

            .logo,
            .error,
            .meme,
            .orange {
                width: 100%;
                height: auto;
                position: absolute;
            }

            .logo {
                text-align: center;
                padding-left: 60px;
                padding-right: 60px;

                img {
                    max-width: 100%;
                    width: 350px;
                    height: auto;
                }
            }

            .error,
            .meme,
            .orange {
                img {
                    width: 100%;
                    height: auto;
                }
            }
        }
    }
}

label,
legend {
    &.required {
        &:before {
            content: " * ";
            color: #ff0000;
            font-weight: bold;
            font-size: 125%;
        }
    }
}
