/*

PALETTE: https://colorhunt.co/palette/6c00ff3c79f52dcddff2deba
PURPLE: 6C00FF
BLUE: 3C79F5

*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');

:root {
    --first-bg-color: #3C79F5;
    --second-bg-color: #171923;
    --third-bg-color: #2D3748;

    --main-border-color: #718096;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Raleway', sans-serif;
    background-color: #171923;
    color: #fff;
}

.wrapper {
    max-width: 760px;
    margin: 50px auto;
    padding: 40px 20px;
}

.wrapper-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* adjust the height as needed */
}

.absolute-footer {
    position: absolute;
    bottom: 0;
}

/* Footer Start */

footer {
    margin-top: auto;
}

/* Footer End */

/* Border Radius Start */


.btn-primary,
.form-select,
.alert,
.card,
.list-group,
.badge,
.form-control,
.accordion-button {
    border-radius: 1rem !important;
    border: none;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* Border Radius End */

.btn-primary {
    background-color: #3C79F5 !important;
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-primary:hover {
    background-color: #3365cc !important;
    box-shadow: 0px 0px 30px rgba(51, 101, 204, 0.5);
    transform: scale(1.03);
}

.btn-link, .btn-link:hover {
    color: white;
    text-decoration-color: var(--first-bg-color);
}



.alert-primary {
    background: linear-gradient(90deg, rgba(60, 121, 245, 0.2) 49%, rgba(108, 0, 255, 0.2) 100%) !important;
    border-color: #3C79F5;
    color: #FFF;
}

.alert-link {
    color: #FFF;
}

.alert-danger {
    background-color: rgba(255, 0, 50, 0.2) !important;
}

.bg-success {
    background-color: #48BB78 !important;
}

.bg-warning {
    background-color: #ECC94B !important;
}

.bg-danger {
    background-color: #F56565 !important;
}

.accordion-item {
    background: transparent !important;
}

.list-group-item {
    background-color: var(--third-bg-color);
    border: none;
}

.card {
    transition: all 0.3s ease-in-out;
    background-color: #2D3748;
    border-color: #718096;
}

.card:hover {
    transform: scale(1.03);
}

.form-select {
    background-color: #2D3748;
    color: #fff;
}

.form-control,
.form-control:hover,
.form-control:active,
.form-control:focus {
    background-color: #2D3748;
    color: #fff;
}

.table {
    color: #fff !important;
}

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #2D3748;
    color: #fff;
}

.text-muted {
    color: #A0AEC0 !important;
}

.list-group-item, .list-group-item:hover {
    color: #fff;
}

.accordion-button {
    background-color: var(--third-bg-color);;
    color: #fff;
    margin-bottom: 1rem;
}

.accordion-body {
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--third-bg-color);
    color: #3C79F5;
    margin-bottom: 0rem;
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* CodeMirror */

.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber,
.CodeMirror-scroll,
.CodeMirror-sizer {
    background: transparent !important;
    border: none !important;
}

.CodeMirror {
    color: #FFF;
    background-color: #2D3748 !important;
    height: auto;
    border-radius: 1rem;
    border: 1px solid;
    border-color: #718096;
}

.ad {
    box-shadow: 0px 0px 30px rgba(51, 101, 204, 0.5);
    transition: all 0.2s ease-in-out;
}

.ad:hover {
    transform: scale(1.03);
}

.special-text {
    /* background: url("https://i.imgur.com/YtRPuwr.gif"); */
    background: url("/img/specialtext.gif");
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.special-button {
    background: url("https://magicgen.xyz/img/specialtext.gif");
    background-size: cover;
    color: white;
    transition: background-color 0.3s ease;
    background-clip: padding-box;
}

tbody, td, tfoot, th, thead, tr {
    border-style: none;
    
}

/*
a {
    text-decoration-color: var(--first-bg-color);
}

a:hover {
    background: transparent;
}
*/
hr.solid {
    border-top: 2px solid #3C79F5;
    border-radius: 100px;
}

a {
    color: white;
    text-decoration-color: #3C79F5;
}

.form-check-input[type=checkbox] {
    background-color: var(--third-bg-color);
    border: none;
}