@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
:root {
    --pill-bg: #ffe1b8;
    --pill-color: #955712;
    --thickness: #fcd192;
    --color-gray-200: #f4f3f0;
}

body {
    font-family: "DM Sans", Helvetica, Arial, sans-serif;
    overflow-x: hidden!important;
    color: #111;
}

h1,
.h5,
.h6 {
    font-family: "DM Sans", Helvetica, Arial, sans-serif;
    line-height: 1.2!important;
    font-weight: 500!important;
}

.blur-10 {
    backdrop-filter: blur(10px);
}

.blur-7 {
    backdrop-filter: blur(7px);
}

::selection {
    background: #3e4349;
    color: #fff;
}
img {
    line-height: 0;
    text-indent: -999em;
}

img::after {
    content: "";
    display: block;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='680.764' height='528.354' viewBox='0 0 180.119 139.794'%3E%3Cg transform='translate(-13.59 -66.639)' paint-order='fill markers stroke'%3E%3Cpath fill='%23d0d0d0' d='M13.591 66.639H193.71v139.794H13.591z'/%3E%3Cpath d='m118.507 133.514-34.249 34.249-15.968-15.968-41.938 41.937H178.726z' opacity='.675' fill='%23fff'/%3E%3Ccircle cx='58.217' cy='108.555' r='11.773' opacity='.675' fill='%23fff'/%3E%3Cpath fill='none' d='M26.111 77.634h152.614v116.099H26.111z'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    background-size: cover;
    padding: 30%;
    width: 300px;
    position: relative;

}

a {
    /* color: #333; */
    text-decoration: none!important;
}

p {
    line-height: 1.6;
}

.current-color {
    /* vertical-align: -0.125em; */
    fill: currentColor;
}



.section {
    position: relative;
}

.title-heading {
    line-height: 26px;
}

.title-heading .page-title {
    opacity: 0.15;
    font-weight: 800!important;
}

.section-title {
    position: relative;
}

.modal {
    user-select: none;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1140px!important;
    }
}

a.text-dark:hover,
a.text-dark:focus {
    color: #26292d!important;
}

.text-thickness {
    text-decoration-line: underline!important;
    text-decoration-thickness: 4px!important;
    text-decoration-color: var(--thickness)!important;
}

.text-muted {
    color: #8492a6!important;
}

.fs-7 {
    font-size: .9rem!important;
}

.fs-8 {
    font-size: .8rem!important;
}

.list-inline-item:not(:last-child) {
    margin-right: 0px;
    margin-bottom: 5px;
}

.btn {
    transition: all 0.3s;
}

.c-pointer {
    cursor: pointer;
}
.c-grab {
    cursor: grab;
}

.btn-primary-main {
    font-weight: 500;
    color: #2163e8;
    background-color: rgba(33, 99, 232, 0.15);
}

.btn-primary-main:active,
.btn-primary-main:hover {
    color: #fff;
    background-color: #2163e8;
    border-color: #2163e8;
}

.bg-gray {
    background-color: var(--bs-gray-200);
}


.nav-item sup {
    zoom: .9;
    top: 0.3em;
    right: 0.2em;
}

/* social  */

.bg-facebook {
    background-color: #5d82d1;
    color: #fff;
}

.bg-instagram-gradient {
    background: radial-gradient(circle at 20% 130%, #ffffff 0%, #e80626 5%, #fd5949 45%, #e60023 60%, #ff5247 90%);
    color: #fff;
    background-size: 120% 120%;
    background-position: right bottom;
    transition: all 0.3s ease-in-out;
    border: 0;
}

.bg-youtube {
    background-color: #ff0000;
    color: #fff;
}

.bg-share {
    background-color: #ffc107;
    color: #fff;
}


/* util */

.w-33 {
    max-height: 16vh!important;
}

.shadow-custom {
    box-shadow: 0 2px 4px rgb(56 50 48 / 3%), 1px 1px 0 rgb(56 50 48 / 1%)
}


/* main grid */




nav .dropdown:hover .dropdown-menu {
    display: block;
}

.login span {
    filter: grayscale(100%);
    /* border: 1px solid #333; */
}


/* pills */

#pills-schematic .card {
    cursor: pointer;
}

#schematics-page .nav-pills .nav-link.active {
    color: var(--pill-color);
    background-color: var(--pill-bg);
}

.navbar .nav-pills .nav-link.active {
    color: #555;
    background-color: var(--bs-gray-200);
}

.schem-items img {
    height: 20vh;
}


/* .nav-pills .nav-link.active .pill-icon {
    filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(1deg) brightness(203%) contrast(100%)
} */

@media (max-width: 768px) {
    #pills-tab {
        white-space: nowrap;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

#pills-tab li {
    display: inline-block
}

.nav-pills .nav-link {
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

#schematics-page .nav-pills .nav-link:not(.active) {
    background: #fbfbfb;
}

#schematics-page .nav-pills .nav-link:not(.active):hover,
.nav-pills .nav-link:not(.active):hover {
    background-color: var(--bs-gray-300);
}


/* upload */

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
    padding: 25px;
    border: 2px dashed var(--bs-border-color);
    border-radius: 3px;
    transition: 0.2s;
}

.file-drop-area.is-active {
    background-color: var(--bs-gray-500);
    /* opacity: .7; */
}

.btn-select {
    flex-shrink: 0;
    background-color: #fff;
    border: 1px solid rgb(122 120 120 / 16%);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 1em;
    text-transform: uppercase;
}

.emoji-icon {
    color: var(--bs-btn-color);
    filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(1deg) brightness(203%) contrast(100%)
}

.file-msg {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.file-input:focus {
    outline: none;
}

.schematic-info {
  
    color: var(--bs-gray-500)
}

#Modal .modal-body {
    margin-top: -16px;
}

#Modal #carouselImage {
    margin-left: -28px;
    margin-right: -28px;
}

#modal-choose,
#modal-spinner {
    display: none;
}

#Modal .btn[aria-expanded="true"]:after {
    content: "-";
    float: right;
    font-weight: 500;
}

#Modal .btn[aria-expanded="false"]:after {
    content: "+";
    float: right;
    font-weight: 500;
}



.modal.show .modal-dialog {
    box-shadow: 0rem 1rem 20px 8px rgba(0, 0, 0, 0.3);
}
.lightbox.show .modal-dialog {
    box-shadow: none
}

#flatModal {
    z-index: 2000;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgb(110 110 110 / 79%);
    position: fixed;
    display:none;
}
#flatModal .close {
    margin: 10px;
    position: absolute;
    right: 10px;
    font-size: 2em;
    filter: brightness(10%) invert(1) drop-shadow(1px 2px 2px gray);
    cursor: pointer;
    user-select: none;
}


/* #Modal .btn-close {
    border: 2px solid var(--bs-gray);
    border-radius: 17px;
} */

@media (min-width: 768px) {
    .collapse.dont-collapse-sm {
        display: block;
        height: auto !important;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .file-drop-area .file-msg {
        display: none;
    }
}

.logo {
    font-weight: 700;
    font-size: 24px;
    padding: 3px 0;
    letter-spacing: 1px;
    line-height: 68px;
}

.logo img {
    width: 48px;
}



.btn-like {}

.bg-half-100 {
    padding: 40px 0;
    background-size: cover;
    align-self: center;
    position: relative;
    background-position: center center;
}

.card-info {
    left: 10px;
    bottom: 10px;
    font-size: 12px;
}

.card-like {
    filter: brightness(0) saturate(100%) invert(63%) sepia(77%) saturate(1577%) hue-rotate(288deg) brightness(102%) contrast(98%);
}

.card-downloads {
    filter: invert(46%) sepia(96%) saturate(498%) hue-rotate(149deg) brightness(91%) contrast(107%);
}



.card-item {
    cursor: pointer;
    transition: all 0.5s ease;
}

.card-item .overlay {
    transition: all 0.5s ease;
}

.card-item .overlay {
    position: absolute;
}

.card-item .overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.card.card-overlay-bottom:before {
    content: "";
    position: absolute;
    height: 50%;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(180deg, transparent, #0000005c);
    border-radius: var(--bs-card-inner-border-radius);
}

.card-item:hover .overlay {
    opacity: .2;
}

.card-item:hover {
    /* transform: translate3d(-4px, -4px, 0) rotateZ(-1.5deg); */
}


/* comment */


.bg-new-comment {

    animation: blink 3s 2;
  }
  
  @keyframes blink {
      0% { background-color: #ffebcf;  }

      100% { background-color: #fff ;  }
  }

/* items */

.item-card-image {
    height: 21vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.images-overflow,
.overflow-x {
    white-space: nowrap;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    cursor: grab;

    transition: all .2s ease-in-out;
}

.images-overflow::-webkit-scrollbar-thumb {
    border: 5px solid transparent;
    border-radius: 100px;
    background-color: var(--thickness);
    background-clip: content-box;
}

.images-overflow.active {
    cursor: grabbing;
    transform: scale(1.02);
  }

.icon-gray {
    filter: invert(32%) sepia(6%) saturate(28%) hue-rotate(317deg) brightness(94%) contrast(85%);
    width: 1.1rem;
    height: 1.5rem;
}


#item-like:hover {
    /* transform: scale(1.3); */
    animation: pulse 2s infinite;
}

#item-like:active {
    transform: scale(1.3);
    box-shadow: 2px 2px 5px #fc894d;
    background-color: #fcd192;
    /* animation: pulse 2s infinite; */
}


/* width */

.images-overflow::-webkit-scrollbar {
    width: 10px;
}


/* posts */

.post-text h4 {}

@media (max-width: 768px) {
    .post-text img {
        width: 100%;
    }
    .item-card-image {
        height: 23vh;
    }
    .schem-items img {
        height: 16vh;
    }

    /* #navbarMenu {
        display: block;
    } */
}


/* other */


.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}


/* footer */

footer {
    position: relative;
    padding: 60px 0;
    color: #6c6c6c;
}


/* animation  */


.pulse {
    transform: scale(1);
    animation: pulse 2s infinite;
}

.zoomer {
    transform: scale(1);
    animation: zoom 1s infinite;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}