html {
    scroll-behavior: smooth;
}

.title_idea_head>h1 {
    font-size: 4em;
}

.title_idea_head>p {
    font-size: 35px;
}

.button_create_idea {
    border: 1px solid rgba(128, 128, 128, 0.603);
    width: 16em;
    padding: 1em;
    border-radius: 8px;
}

/* search */
.form_search {
    position: relative;
    width: 18em;
    border-radius: 10px;
}

.form_search .bi-search {

    position: absolute;
    top: 17px;
    left: 20px;
    color: #9ca3af;

}

.form_search span {

    position: absolute;
    right: 17px;
    top: 13px;
    padding: 2px;
    border-left: 1px solid #909194;

}

.form_search-input {

    height: 55px;
    text-indent: 33px;
    border-radius: 10px;
}

.form_search-input:focus {

    border: none;
}

/* search */

/* form ideabox */
.input_item {
    margin-bottom: 5em;
}

/* form ideabox */

/* chips input */

.container_chips_input {
    max-width: fit-content;
    background: #f0f0f0;
    padding: 10px 15px;
    border-radius: 8px;

    h1 {
        font-size: 18px;
        margin-top: 0px;
    }

    ul {
        list-style: none;
        margin: 0px;
        padding: 0px;
        display: inline-block;

        li {
            display: inline-block;
            background: #0093ad;
            color: white;
            padding: 3px 5px 3px 10px;
            border-radius: 15px;
            margin-right: 5px;
            margin-bottom: 5px;

            a {
                color: white;
                text-decoration: none;
                margin-left: 5px;
                font-size: 10px;
                background: #0093ad;
                width: 15px;
                height: 15px;
                border-radius: 50%;
                display: inline-flex;
                text-align: center;
                align-items: center;
                justify-content: center;

                &:hover {
                    color: red;
                }
            }
        }
    }

    input {
        border: 0px;
        background: none;
        display: inline-block;
    }
}

/* chips input */

/* dropzone */
.uploader {
    display: block;
    clear: both;
    margin: 0 0;
    margin-right: auto;
    width: 100%;
    max-width: 600px;

    label {
        float: left;
        clear: both;
        width: 100%;
        padding: 2rem 1.5rem;
        text-align: center;
        background: #fff;
        border-radius: 7px;
        border: 3px solid #eee;
        transition: all .2s ease;
        user-select: none;

        &:hover {
            border-color: $theme;
        }

        &.hover {
            border: 3px solid $theme;
            box-shadow: inset 0 0 0 6px #eee;

            #start {
                i.fa {
                    transform: scale(0.8);
                    opacity: 0.3;
                }
            }
        }
    }

    #start {
        float: left;
        clear: both;
        width: 100%;

        &.hidden {
            display: none;
        }

        i.fa {
            font-size: 50px;
            margin-bottom: 1rem;
            transition: all .2s ease-in-out;
        }
    }

    #response {
        float: left;
        clear: both;
        width: 100%;

        &.hidden {
            display: none;
        }

        #messages {
            margin-bottom: .5rem;
        }
    }

    #file-image {
        display: inline;
        margin: 0 auto .5rem auto;
        width: auto;
        height: auto;
        max-width: 180px;

        &.hidden {
            display: none;
        }
    }

    #notimage {
        display: block;
        float: left;
        clear: both;
        width: 100%;

        &.hidden {
            display: none;
        }
    }

    progress,
    .progress {
        // appearance: none;
        display: inline;
        clear: both;
        margin: 0 auto;
        width: 100%;
        max-width: 180px;
        height: 8px;
        border: 0;
        border-radius: 4px;
        background-color: #eee;
        overflow: hidden;
    }

    .progress[value]::-webkit-progress-bar {
        border-radius: 4px;
        background-color: #eee;
    }

    .progress[value]::-webkit-progress-value {
        background: linear-gradient(to right, darken($theme, 8%) 0%, $theme 50%);
        border-radius: 4px;
    }

    .progress[value]::-moz-progress-bar {
        background: linear-gradient(to right, darken($theme, 8%) 0%, $theme 50%);
        border-radius: 4px;
    }

    input[type="file"] {
        display: none;
    }


}

/* dropzone */

/* attachmen */
#files-area {
    width: 30%;
    margin: 0 6px;
    margin-right: auto;
}

.file-block {
    border-radius: 10px;
    background-color: rgba(144, 163, 203, 0.2);
    margin: 5px;
    color: initial;
    display: inline-flex;
    margin-right: auto;

    &>span.name {
        padding-right: 10px;
        width: max-content;
        display: inline-flex;
    }
}

.file-delete {
    display: flex;
    width: 24px;
    color: initial;
    background-color: #6eb4ff00;
    font-size: large;
    justify-content: center;
    margin-right: 3px;
    cursor: pointer;

    &:hover {
        background-color: rgba(144, 163, 203, 0.2);
        border-radius: 10px;
    }

    &>span {
        transform: rotate(45deg);
    }
}

/* attachmen */

/* animation bounce in */
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    70% {
        transform: scale(.9);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounce-in 0.5s ease-in-out forwards;
    transition: all 2s ease-out;
}

/* button animation */
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.center a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 30px;
}

.center a span {
    padding: 15px;
    transition: .5s;
    position: relative;
}

.center a span:nth-child(1) {
    color: #fff;
    background: #0093ad;
}

.center a span:nth-child(2) {
    color: #fff;
    background: #182958;
}

.center a span:nth-child(1):before {
    content: attr(data-attr);
    position: absolute;
    top: 0;
    left: 0;
    background: #0093ad;
    padding: 15px;
    transition: 0.5S;
    transform-origin: top;
    transform: rotateX(90deg) translateY(-50%);
}

.center a:hover span:nth-child(1):before {
    transform: rotateX(0deg) translateY(0%);
}

.center a span:nth-child(2):before {
    content: attr(data-attr);
    position: absolute;
    top: 0;
    left: 0;
    background: #182958;
    padding: 15px;
    transition: 0.5S;
    transform-origin: bottom;
    transform: rotateX(90deg) translateY(50%);
}

.center a:hover span:nth-child(2):before {
    transform: rotateX(0deg) translateY(0%);
}

.center a span:nth-child(1):after {
    content: attr(data-attr);
    padding: 15px;
    position: absolute;
    top: 0;
    left: 0;
    background: #182958;
    transform-origin: bottom;
    transform: rotateX(0deg) translateY(0%);
    transition: 0.5s;
}

.center a:hover span:nth-child(1):after {
    transform: rotateX(90deg) translateY(50%);
}

.center a span:nth-child(2):after {
    content: attr(data-attr);
    position: absolute;
    top: 0;
    left: 0;
    background: #0093ad;
    padding: 15px;
    transition: 0.5S;
    transform-origin: top;
    transform: rotateX(0deg) translateY(0%);
}

.center a:hover span:nth-child(2):after {
    transform: rotateX(90deg) translateY(-50%);
}

@media (max-width: 768px) {
    .center a {
        font-size: 20px;
    }
}

/* custom aos animate */
[data-aos="bounce-in"] {
    opacity: 0;

    &.aos-animate {
        opacity: 1;
        animation: bounce-in 0.5s ease-in-out forwards;
        transition: all 2s ease-out;
    }
}

/* card style */
.animation-hover-card:hover {
    transform: translateY(-1.5em) !important;
}

/* pagination button */
.pagination-previous, .pagination-next {
    background-color: white;
    border-color: #0377A3 !important;
}

/* quilljs custom style */
.ql-toolbar {
    border-radius: 10px 10px 0 0 !important;
    border-radius: 10px;
}

.quillCustom {
    border-radius: 0 0 10px 10px;
}