:root {
    --orange: #ff8b3c;
    --blue: #3674b6;
}

.loaded {
    position: relative;
}

@keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loaded::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.loaded::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    width: 40px;
    height: 40px;

    border-radius: 1000px;
    border-left: 3px solid var(--blue);
    border-right: 3px solid var(--orange);
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--blue);
    -webkit-animation: rotate-center 1s linear infinite both;
    animation: rotate-center 1s linear infinite both;
    z-index: 3;
}

[disabled] {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.overflow {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: 0.5s;
    display: none;
    visibility: hidden;
    opacity: 0;
    overflow-y: auto;
    padding-bottom: 20vh;
}

.overflow.fade.in {
    visibility: visible;
    opacity: 1;
}

.overflow.fade {
    display: block;
}

.overflow .modal-container {
    width: min-content;
    background: #fff;
    min-width: 25%;
    margin: auto;
    margin-top: 10vh;
    transform: translateY(100px);
    transition: 0.5s;
    opacity: 0;
    -webkit-box-shadow: 0px 0px 26px 7px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 26px 7px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 26px 7px rgba(34, 60, 80, 0.2);
}

.overflow.fade.in .modal-container {
    transform: translateY(0px);
    opacity: 1;
}

.modal-header .title {
    font-size: 1.2rem;

    padding: 10px 20px;
}

.modal-header .close {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: block;
    line-height: 2rem;
    text-align: center;
}

.overflow.fade.in .modal-container .modal-body {
    padding: 40px;
}

.overflow.fade.in .modal-container .modal-body .desc {
    color: #444;
    text-align: center;
    font-weight: lighter;
}

.input-block+.input-block {
    margin-top: 20px;
}

.input-block.input-file input[type="file"] {
    display: none;
}

.input-block.input-file label {
    display: block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    background: var(--title-color);
    color: #fff;
    transition: 0.3s;
}

.input-block.input-file label:hover {
    background: var(--theme-color);
    color: #fff;
}

.input-block.input-file label::before {
    content: "+";
    margin-right: 10px;
}

.input-block.access-block label {
    font-size: .7rem;
    line-height: 1;
}

@media only screen and (max-width: 600px),
only screen and (max-device-width: 600px) {


    .overflow .modal-container {
        min-width: 90%;
    }

    .bg-image-top {
        margin-top: 12vh;
    }
}