
body, html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

.content-card {
    margin-top: 200px;
}

/* Maintenance */

.maintenance-container {
    height: 100%;
    background-color: rgb(195,15,35);
    color: white;
}

.maintenance-title {
    font-size: 3rem;
    font-weight: bold;
}

.maintenance-text {
    font-size: 1.3rem;
}

.maintenance-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    animation: pulseAndRotate 5s infinite ease-in-out;
    transition: all 0.3s ease;
}

/* Maintenance */

/* Chat Bot */

#chat_toggle {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1200;
}

.chat-control {
    height: 50px;
    width: 100%;
    margin-top: auto;
    gap: 5px;
    padding: 0 10px 10px 10px;
}

.chat-conversation {
    height: 100%;
    width: 100%;
    padding: 10px 10px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.chat-message {
    height: fit-content;
    min-height: 40px;
    width: fit-content;
    max-width: 85%;
    min-width: 50px;
    white-space: normal;
    border-radius: 10px;
    overflow: hidden;
}

.chat-message.bot {
    color: black;
    border: 1px solid black;
    margin-right: auto;
    text-align: left;
}

.chat-message.user {
    background-color: rgb(195,15,35);
    color: white;
    margin-left: auto;
    text-align: right;
}

.chat-view {
    width: 35%;
    height: 100%;
    z-index: 1400;
    position: fixed;
    top: 0%;
    right: 0;
    overflow-y: scroll;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scaleX(0);
    transition-duration: 500ms;
    transform-origin: right;
    opacity: 0;
}

.chat-view.show {
    transform: scaleX(1);
    opacity: 1;
}

.chat-header {
    width: 100%;
    height: 60px;
    background-color: rgb(195,15,35);
}

.typing-indicator {
  width: 8px;
  height: 8px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
  animation: writing-indicate 1.4s infinite ease-in-out both;
}

.typing-indicator:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-indicator:nth-child(2) {
  animation-delay: -0.16s;
}
.typing-indicator:nth-child(3) {
  animation-delay: 0;
}

@keyframes writing-indicate {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@media only screen and (max-width: 768px) {
    .chat-view {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1180px) {
    .chat-view {
        width: 50%;
    }
}

/* Chat Bot */

/* Navigation */

#desktop-nav {
    display: flex;
}

.nav-ul-container {
    overflow-x: scroll;
    overflow-y: hidden;
  white-space: nowrap;
  width: 100%;
}

.nav_social_container {
    gap: 10px;
}

#mobile-nav {
    display: none;
}

.navbar {
    background-image: url('../img/navbar_backgrounds/nav_backg_desktop.png') !important;
    background-position: bottom;
    background-size: cover;
    height: 150px;
}

.navbar.hide {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 1s ease, transform 1s ease;
}

.navbar.show {
    opacity: 1;
    transform: scaleY(1);
}

.nav-logo {
    position: absolute;
    padding: 0;
    top: 65px;
    left: 50%;
    right: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%,0)
}

.logo-img {
    margin: 0;
}

.nav-link {
    color: black !important;
    transition-duration: 300ms;
    font-weight: bold;
    white-space: normal;
}

.nav-link.white {
    color: white !important;
}

.nav-link:hover {
    color: orange !important;
}

/* Specified for mobile */

.menu-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
}

#menu-open, #menu-close {
    transform: translateY(-200px);
    transition-duration: 300ms;
}

#menu-open.show, #menu-close.show {
    transform: translateY(0);
}

.social-img {
    width: 50px;
    height: 45űpx;
    transition-duration: 300ms;
    filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 1));
}

.social-img:hover {
    transform: scale(1.2);
}

#navitems {
    display: none;
}

.submenu {
    display: none;
}

@media only screen and (max-width: 768px) {
    #desktop-nav {
        display: none !important;
    }

    .navbar {
        height: 120px !important;
    }

    #mobile-nav {
        display: flex;
    }

    #navitems, .submenu {
        position: fixed;
        top: 90px;
        background: white !important;
        width: 100%;
        z-index: 1000;
        height: 100%;
        transform: scaleY(0);
        transition-duration: 500ms;
    }

    #navitems {
        transform-origin: top;
    }
    
    .submenu {
        transform-origin: bottom;
        overflow: hidden;
        padding-bottom: 100px !important;
    }

    .nav-logo {
        width: 90px;
        height: 90px;
    }
    
    #navitems.show {
        transform: scaleY(1);
    }
    
    .submenu.show {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    .navbar-nav:nth-child(1) {
        position: static;
    }

    .nav-item:nth-child(1) {
        margin-top: 90px;
    }

    .nav-logo {
        top: 60px;
    }
    
    .nav-link {
        font-size: 23px !important;
    }

    .nav-link:not(:hover) {
        font-weight: normal;
    }

    .social-img {
        width: 50px;
        height: 50px;
    }

    #navitems {
        display: block;
    }
    
    .submenu {
        display: block;
    }
    
}

@media only screen and (min-width: 768px) and (max-width: 1180px) {
    
    #mobile-nav {
        display: flex;
    }

    #navitems, .submenu {
        padding-top: 60px;
        position: fixed;
        top: 90px;
        right: 0;
        background: white !important;
        width: 50%;
        z-index: 1000;
        height: 100%;
        transform: scaleX(0);
        transition-duration: 500ms;
    }

    #langs-close {
        position: absolute;
        right: 25px;
    }

    #navitems {
        transform-origin: right;
        display: block;
    }
    
    .submenu {
        transform-origin: right;
        overflow: hidden;
        padding-bottom: 100px !important;
        display: block;
    }
    
    #navitems.show {
        transform: scaleX(1);
    }
    
    .submenu.show {
        transform: scaleX(1);
        transform-origin: bottom;
    }
}


/* Navigation */

/* Notification */

.notification {
    position: fixed;
    top: 50%;
    right: 10px;
    min-width: 200px;
    width: fit-content;
    padding: 0 5px 0 5px;
    height: 50px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    background-color: rgb(195,15,35);
    opacity: 0;
    transform: scaleX(0);
    transition-duration: 700ms;
    transform-origin: right;
}

.notification.show {
    opacity: 1;
    transform: scaleX(1);
}

.notification_text {
    color: white;
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.notif-icon {
    color: white;  
    font-size: 25px; 
}

@media only screen and (max-width: 768px) {

    .notification {
        height: 55px;
    }

    .notif-icon {
        font-size: 40px !important; 
    }
    
    .notification_text {
        font-size: 20px;
    }
    
}

/* Notification */

/* Buttons */

.btn.btn-orange {
    background-color: rgb(195,15,35);
    color: white;
}

.btn.btn-custom {
    background-color: rgb(195,15,35);
    color: white;
    border: 1px solid white;
    min-width: 200px;
    width: fit-content;
    padding: 10px 10px;
    height: 40px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 0px !important;

    display: flex; 
    align-items: center;
    justify-content: center;

    line-height: normal;

    transition-duration: 300ms;
}


.btn.btn-custom:hover {
    background-color: rgb(212, 142, 12);
}

/* Buttons */

/* Info Cards */

.info_card {
    background-color: rgb(191,66,38);
    width: 600px;
    height: 300px;
    flex-shrink: 0;
    transition-duration: 300ms;
}

.info_card:hover {
    transform: scale(1.02);
}

.info_card_container {
    gap: 40px;
    flex-wrap: wrap;
}

.info_card_img_holder {
    width: 40%;
    height: 100%;
    overflow: hidden;
}

.info_card_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info_card_img.edit {
    opacity: 0.3;
}

.info_card_text_holder {
    width: 60%;
    height: 100%;
    overflow: hidden;
    font-weight: bold;
}

.info_card_icon {
    position: absolute !important;
    bottom: -10% !important;
    right: 23% !important;

    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

@media only screen and (max-width: 768px) {

    .info_card {
        width: 100%;
        height: 200px;
    }

    .info_card_img_holder {
        width: 50%;
        height: 100%;
        overflow: hidden;
    }

    .info_card_img {
        height: 100%;
        width: auto;
    }

    .info_card_text_holder {
        width: 100%;
        height: 50%;
        overflow: hidden;
    }

}

/* Info Crads */

/* Franchise form (global) */

.prod-form-label {
    color: rgb(191,66,38);
    font-weight: bold;
}

.franchise_field::placeholder {
    color: rgb(191,66,38);
    font-style: italic;              
    font-family: 'Poppins', sans-serif; 
    font-size: 15px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: rgb(191, 66, 38) !important; /* Your custom hover color */
  color: white; /* Optional: text color */
}

.select2-container--default .select2-selection--single {
    background-color: black;
    display: flex;
    align-items: center;
    color: white;
    border: 1px solid white;
    border-radius: 0px !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: rgb(191,66,38) !important;
  font-style: italic;              
  font-family: 'Poppins', sans-serif; 
  font-size: 15px;
}


/* Franchise form (global) */

/* Contact */

.contact_data_field {
    background-color: rgb(195,15,35);
    color: white;
    border: 1px solid white;
    border-radius: 0px !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.contact_data_field::placeholder {
    color: rgb(209, 197, 197);
}

.contact_data_field:focus {
    background-color: rgb(195,15,35);
    color: white;
}

.contact_textarea {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px !important;
}

.contact_form_group {
    width: 30%;
}

.contact_form {
    width: 75% !important;
}

@media only screen and (max-width: 768px) {
    .contact_form_group {
        width: 100%;
    }

    .contact_form {
        width: 100% !important;
    }
}

@media only screen and (max-width: 1180px) {
    .contact_form_group {
        width: 100%;
    }
}

/* Contact */

/* Lists */

.bg-orange {
    background-color: rgb(240,107,34) !important;
    color: white;
}

.list_categories_container.sticky_pos {
    position: sticky;
    top: 190px;
}

.list_category_title {
    margin-top: 40px;
    margin-bottom: 30px;
    font-size: 28px;
}

.list_categories_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 0;

    z-index: 100 !important;

    background-color: rgb(245, 238, 238);
    padding: 15px;
    border-radius: 15px;
}

.list_categories_container > a {
    flex-shrink: 0;
    color: black;
    transition-duration: 300ms;
    text-decoration: none;
    font-weight: bold;
    margin-top: 0;
}

.list_categories_container > a:hover {
    color: orange;
}

.list_item_container {
    width: 80%;
}

.list_item_card {
    width: 100%;
}

.list_link {
    flex-shrink: 0;
    color: black;
    transition-duration: 300ms;
    text-decoration: none;
    margin-top: 0;
    font-family: 'League Spartan', sans-serif;
    font-weight: normal;
    color: black; 
}

.list_link.bold {
    flex-shrink: 0;
    font-weight: bolder;
}

.list_link:hover {
    color: orange;
    text-decoration: none;
}

.list_link_container {
    flex-wrap: wrap;
}

.list_link_container.sticky {
    width: 100%;
    height: 50px;
    z-index: 800;
    text-align: center;
}

.list_link_container.sub {
    top: 250px;
}

.list_card_divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.4);
    margin-left: auto;
    margin-right: 200px;
}

.list_item_title {
    font-weight: bold;
    margin: 0 !important;
}

.list_item_text {
    width: 600px;
    margin: 0;
}

.list_card_image_container {
    height: 200px;
    width: 200px;
    background-color: white;
    outline: 8px solid white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.list_card_image_container.empty {
    box-shadow: none;
    height: auto;
}

.tag_title {
    font-weight: bold;
    text-align: left;
    margin: 0 !important;
}

.tag_text {
    margin: 0 !important;
    text-align: left;
}

.tag_text_holder {
    gap: 10px;
}

.list-item-holder {
    width: 100%;
}

.tag_container {
    gap: 10px;
    justify-content: right;
    flex-shrink: 0;
}

.tag_divider {
    background-color: black;
    height: 40px;
    width: 1px;
}

.list_item_image {
    max-height: 270px;
    max-width: 270px;
    object-fit: cover;
}

.list_item_image.edit {
    opacity: 0.3;
}

@media only screen and (max-width: 1180px) {
    .list_link_container.sticky {
        top: 160px;
    }

    .list_link_container.sub {
        top: 210px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1180px) {
    .list_link_container.sticky {
        top: 190px;
    }

    .list_link_container.sub {
        top: 240px;
    }
}

@media only screen and (max-width: 1180px) {

    .list_item_container {
        width: 100%;
    }

    .list_item_title {
        width: 100%;
    }

    .list_item_text {
        width: 100%;
    }

    .list-item-holder {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        width: 100%;
    }

    .tag_text_container {
        margin: 0;
    }

    .list_item_text_holder {
        gap: 30px;
        width: 100%;
    }

    .list_card_divider {
        width: 100%;
    }

    .tag_container {
        justify-content: start;
        overflow-x: scroll;
    }

    .tag_text_container {
        justify-content: center;
        align-items: start;
        flex-shrink: 0;
    }


}

/* Lists */

/* Card lists */

@media only screen and (max-width: 768px) {
    .list_card_container {
        width: 99% !important;
        height: 350px !important;
    }
}

.list_card_container {
    width: 450px;
    height: 450px;
    background-color: grey;
    overflow: hidden;
    position: relative;
    align-items: end;
    flex-shrink: 0;
}

.card_visible_title {
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    color: white;
    opacity: 0.8;
    z-index: 500;
}

.list_card_img {
    width: 550px;
    height: 650px;
    position: absolute;
    opacity: 1;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.list_card_img.fade {
    opacity: 0.7;
    transform: scale(1.1);
}

.list_card_img.edit {
    opacity: 0.3;
}

.card_content_container {
    position: absolute;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column;
    z-index: 500;

    width: 100%;
    height: 100%;

    background-color: rgb(240,107,34, 0.5);

    border-top-right-radius: 15px;
    border-top-left-radius: 15px;

    transform: translate(0,100%);
    transition-duration: 300ms;
    opacity: 0;
}

.card_content_container.show {
    opacity: 1;
    transform: translate(0);
}

.card_content_container.edit {
    transform: translate(0);
    opacity: 1;
}

.list_card_title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.list_card_text {
    color: white;
    font-size: 18px;
    margin-top: 0;
}

/* Card Lists */
 
/* Modal */

.logo-modal {
    position: absolute;
    left: 50%;
    right: 50%;
    transform: translate(-50%,0);
    z-index: 999;
    top: -50px;
    height: 100px;
    width: 100px;
}

/* Modal */

/* Headers */

.header-edit-control {
    margin-top: 150px;
}

.header {
    position: relative;
    top: 0;
    left: 0;
    padding: 0 !important;
    width: 100%;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 0;
}

.header.large {
    height: 100vh;
}

.header.medium {
    height: 75vh;
}

.header.small {
    height: 50vh;
}

.header_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
}

.header_img.edit {
    opacity: 0.3;
}

.login_btn {
    width: 500px;
    height: 50px;
    background-color: rgba(255, 165, 0, 0.9);
    border: 2px solid white;
    border-radius: 5px;
    top: 250px;
    transition-duration: 300ms;
    color: white;
    z-index: 2;
}

.login_btn:hover {
    background-color: rgb(189, 127, 12);
}

.header-article-container {
    position: absolute;
    top: 40px;
    height: 100%;
    width: 70%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-article-container.centered {
    justify-content: center;
}

.header-article-container.between {
    justify-content: space-between;
}

.header-article {
    width: 500px;
    height: fit-content;
    background-color: rgba(255, 165, 0, 0.9);
    border: 2px solid white;
    border-radius: 10px;
}

.header-article-title {
    margin-top: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.title-divider {
    background-color: white;
    width: 30%;
    height: 1px;
    transform: rotate(-3deg);
}

.title-divider.black {
    background-color: black;
    width: 10%;
}

.article-text {
    color: white;
    text-align: justify;
    font-size: 20px;
}

.header-article-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.login-btn-holder {
    display: block;
}

.social-holder {
    position: absolute;
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    bottom: 15px;
    right: 10px;
    border-radius: 10px;
}

.page_title_holder {
    width: 100%;
    height: 30%;
}

.page_title {
    font-size: 40px;
    color: black;
    font-weight: normal;
}

@media only screen and (max-width: 768px) {

    .header.large {
        height: 800px;
    }
    
    .header.small {
        height: 300px;
    }
    
    .header-article-container {
        height: 100%;
        width: 100%;
        justify-content: center !important;
        align-items: center !important;
    }

    .header-article {
        width: 80%;
    }

    .header-article-title {
        font-size: 25px;
    }

    .login-btn-holder {
        display: none !important;
    }

    .social-holder {
        display: none !important;
    }

    .autosized {
        overflow: visible !important;
        height: fit-content !important;
    }

    .autosized {
        width: 100% !important;
        height: auto !important;
    }

}

/* Headers */

/* Main sections */

.main_article_link {
    color: black;
    transition-duration: 300ms;
    text-decoration: none;
}

.main_article_link:active, .main_article_link:hover {
    color: rgb(195,15,35);
    text-decoration: none;
}

.main-section {
    width: 100%;
}

.main-art-title-holder {
    padding: 0 200px 0 200px;
    width: 100%;
}

.main_sect_title {
    font-size: 40px !important;
    font-weight: bold;
}

.main_sect_text {
    font-size: 25px;
    text-align: justify;
}

.img-control-holder {
    position: relative;
}

.img-control-holder.header {
    position: absolute;
}

.img-control-holder.small {
    width: 100%;
    height: 450px;
}

.img-control-holder.medium {
    width: 100%;
    height: 650px;
}

.img-control-holder.large {
    width: 100%;
    height: 900px;
}

.main-sect-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-sect-img.edit {
    opacity: 0.3;
}

@media only screen and (max-width: 768px) {

    .img-control-holder.small {
        height: 250px;
    }

    .img-control-holder.medium {
        height: 450px;
    }

    .img-control-holder.large {
        height: 650px;
    }

    .main-sect-img {
        height: auto;
    }

    .main-sect-img-holder.small {
        height: 150px;
    }
    
    .main-sect-img-holder.medium {
        height: 300px;
    }
    
    .main-sect-img-holder.large {
        height: 450px;
    }

    .main-art-title-holder {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 5px 0 5px;
    }

    .main_sect_title {
        font-size: 40px !important;
        text-align: center;
    }
    
    .main_sect_text {
        font-size: 25px;
        text-align: center;
    }

    .main-art-link {
        text-align: center;
    }

}

/* Main sections */ 

/* Footer */

.footer {
    position: fixed;
    bottom: 0;
    height: 300px;
    background-color: rgb(195,15,35);

    width: 100%;

    z-index: 998;

    opacity: 0.5;

    transform: translate(0, 85%);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.footer:hover, .footer.show {
    transform: translate(0);
    opacity: 1;
}

.footer-logo {
    position: absolute;
    padding: 0;
    top: -70px;
    left: 7%;
    width: 100px;
}

.footer-logo-img {
    width: 140px;
    height: 140px;
}

.footer-section {
    width: 30%;
}

.footer-child-section > a {
    transition-duration: 300ms;
}

.footer-child-section > a:hover {
    transform: scale(1.2);
    color: white;
    text-decoration: none;
}

.footer-divider {
    height: 240px;
    background-color: white;
    width: 2px;
}

.footer-text {
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1180px) {
    .footer-text {
        font-size: 12px;
    }

    .footer-logo-img {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (max-width: 768px) {

    .footer {
        padding-top: 40px;
        flex-direction: column !important;
        gap: 20px;
        height: fit-content;
        padding-bottom: 80px;
        position: relative;
        opacity: 1;
        transform: translate(0);
        width: 100vw !important;
    }

    .footer-text {
        font-size: 20px;
    }

    .footer-section {
        align-items: center !important;
    }

    .footer-child-section {
        text-align: center;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-logo {
        position: relative;
        left: 0;
        top: 0;
    }

    .footer-divider {
        height: 2px;
        width: 85%;
    }

    .footer-logo-img {
        width: 80px;
        height: 80px;
    }
    
}

/* Footer */

/* Sliders */

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 20%;
    transition-duration: 300ms !important;
}

.carousel .carousel-control-prev:hover,
.carousel .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8) !important; /* Add background */
}

#header-slide .carousel-control-prev,
#header-slide .carousel-control-next {
    display: none !important;
}

.carousel {
    width: 100%;
    height: 100%;
}
  
.carousel-inner {
    width: 100%;
    height: 100%;
}
  
.carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    display: block !important;
}

.carousel-item img.edit {
    opacity: 0.3;
}

.carousel-item {
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.6s ease-in-out, transform 0.5s ease-in-out;
  }
 
.carousel-item.active {
    opacity: 1;
    visibility: visible;
  }

/* Sliders */

/* Gallery */

/* List */

.list-container.list-mosaic {
    flex-wrap: wrap;
    justify-content: center !important;
    max-width: 100% !important;
}

.list-container {
    overflow: hidden;
    padding: 0 10px;
    gap: 10px;
}

.list-container.cards {
    overflow: hidden;
    padding: 0 10px;
    gap: 20px;
}

/* List */

.gallery-img-holder {
    background-color: grey;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.gallery-img-holder.type_1 {
    width: 300px;
    height: 400px;
}

.gallery-img-holder.type_2 {
    width: 400px;
    height: 400px;
}

.gallery-img-holder.type_3 {
    width: 650px;
    height: 400px;
}

.gallery-container::-webkit-scrollbar {
    height: 14px; 
    width: 300px;
    padding: 20px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #ede7e7; 
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: rgb(195,15,35);
}

.gallery_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 300ms;
    opacity: 0.7;
}

.gallery_img.edit {
    opacity: 0.3;
}

.gallery_img:hover {
    opacity: 1;
}

.gallery_img.edit:hover {
    opacity: 0.3;
}

.img_title {
    position: absolute;
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    font-size: 16px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7) !important;
    transition: opacity 300ms, transform 300ms;
    white-space: nowrap; 
    padding: 3px 5px 3px 5px;
    max-width: 90%;

    white-space: normal;
}

.img_title.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


.gallery_img_btn_holder {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    gap: 5px;
}

#img_view {
    width: 100vw;
    height: 100vh;
    z-index: 1200;
    top: 0;
    position: fixed;
    transform: scale(0);
    transition-duration: 300ms;

    overflow: hidden;

    background-color: rgba(0,0,0,0.9);

    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

#img_view.show {
    transform: scale(1);
    opacity: 1;
}

.img_view_control_holder {
    height: 100%;
    width: 100%;
    position: absolute;
    color: white;
    top: 0;
    right: 0;
    z-index: 1200;
    font-size: 2rem;
}


.image_view_exit {
    z-index: 1201;
    font-weight: 100;
}

#image_view_container {
    max-width: 100%;
    width: fit-content;
    height: 70%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-button {
    color: white;
    font-size: 3rem;
    z-index: 800;
    position: absolute;
}

.scroll-button.left {
    left: 5%;
}

.scroll-button.right {
    right: 5%;
}

.gallery_view_img {
    width: auto;
    height: 100%;
}

.image_view_exit {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px !important;
}

.image_view_title {
    color: white;
    margin: 0;
    font-weight: bold;
}

.image_view_text {
    color: white;
    margin: 0;
    font-size: 14px;
}

.gallery_title {
    font-weight: bold;
    font-size: 30px;
}

@media only screen and (max-width: 1180px) {

    .list-container {
        overflow-x: scroll;
        margin-bottom: 80px;
        width: 100% !important;
    }

    .list-container.list-mosaic {
        justify-content: center !important;
        max-width: 100% !important;
    }

    .list-container.cards {
        overflow-x: scroll;
        margin-bottom: 80px;
    }

    .gallery_img:hover {
        transform: scale(1);
    }

    .scroll-button {
        display: none !important;
    }

    #image_view_container {
        height: 70%;
        max-width: 100%;
        width: fit-content;
    }

    .image_view_exit {
        top: 30px;
        right: 15px;
    }

    .gallery-img-holder.type_1, .gallery-img-holder.type_2, .gallery-img-holder.type_3 {
        width: 98%;
        height: 350px;
    }
    
}

/* Gallery */

/* Global */

.content_img {
    transition-duration: 300ms;
}

.content_img:hover {
    opacity: 0.4;
}

.width-lg-100 {
    width: 100%;
}

.width-lg-75 {
    width: 75%;
}

.width-lg-50 {
    width: 50%;
}

.width-lg-25 {
    width: 25%;
}

@media only screen and (max-width: 768px) {

    .width-lg-100, .width-lg-75, .width-lg-50, .width-lg-25 {
        width: 100%;
    }
}

#contents {
    width: 100%;
    height: fit-content;
    min-height: 100vh !important;
    padding-bottom: 300px;
}

@media only screen and (max-width: 768px) {
    #contents {
        padding-bottom: 0px;
    }
}   

.oflow_hidden {
    overflow: hidden;
    height: fit-content;
}

.form-control.edit {
    background: none !important;
    outline: none !important;
    border: none !important;
}

.form-control.edit:focus {
    background: none !important;
    outline: none !important;
    border: none !important;
}

.text-white {
    color: white !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-justify {
    text-align: justify !important;
}

@keyframes pulseAndRotate {
    0% {
      transform: scale(1) rotate(0deg);
      opacity: 1;
    }
    25% {
      transform: scale(1.2) rotate(10deg);
      opacity: 0.8;
    }
    50% {
      transform: scale(1) rotate(-20deg);
      opacity: 1;
    }
    75% {
      transform: scale(1.2) rotate(10deg);
      opacity: 0.8;
    }
    100% {
      transform: scale(1) rotate(0deg);
      opacity: 1;
    }
  }
  

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 4px solid #FFF;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-left: 4px solid #FF3D00;
  border-bottom: 4px solid transparent;
  animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 


.loader_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: rgba(0,0,0);

    opacity: 0;
    transition-duration: 500ms;

    z-index: -1;

    position: fixed;
    top: 0;
    left: 0;
}

.loader_container.show {
    opacity: 1;
    z-index: 2000;
}

.loading-text {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.loader-logo {
    width: 100px;
    height: 100px;
}

.w-30 {
    width: 30%;
}

.first-content-drag-place {
    width: 100%;
    height: 100%;
}

.content_drag_space {
    height: 50px;
    transition-duration: 300ms;
}

.content_drag_space > p {
    opacity: 0.6;
    color: grey;
    transition-duration: 300ms;
}

.content_drag_space > p.show {
    color: white;
    opacity: 1;
}

.content_drag_space.dragover {
    background-color: rgba(76, 76, 248, 0.6);
}

.file_viewer {
    width: 25%;
    height: 100%;
    padding: 60px 10px 20px 10px;
    z-index: 1300;
    position: fixed;
    top: 0%;
    left: 0;
    gap: 15px;
    overflow-y: scroll;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scaleX(0);
    transition-duration: 500ms;
    transform-origin: left;
    opacity: 0;
}

.file_viewer.show {
    transform: scaleX(1);
    opacity: 1;
}

.file_view_holder {
    width: 100%;
    position: relative;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.file_viewer_img {
    width: 100%; 
    height: auto; 
    border-radius: 10px;
    flex-shrink: 0; 
    opacity: 0.8;
}

.file-viewer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    z-index: 1301;
}

.file_view_del {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.submit-holder {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.page-contents {
    display: flex;
    padding: 0 5px 0 5px;

    width: 100%;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid grey;
}

.page-contents > p {
    padding: 0;
    margin: 0;
}

.contents-holder {
    border-right: 1px solid grey;
}

.img_upload_btn_holder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-shrink: 0;

    z-index: 3;

    display: flex;
    gap: 5px;
}

.h2 {
    font-size: 30px;
}

@media only screen and (max-width: 768px) {

    .file_viewer {
        width: 100%;
    }

}   

/* Global */

/* Spinner */

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
  }
  
  @keyframes spinner-border {
    100% {
      transform: rotate(360deg);
    }
  }
  
  .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
  }
  
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

/* Spinner */

/* Articles */

.article-img {
    width: 100% !important;
    height: auto !important;
}

.article-img.curved {
    border-radius: 15px !important;
}

/* Articles */

/* Aligments */

.form-control.text-left {
    text-align: left !important;
}

.form-control.text-center {
    text-align: center !important;
}

.form-control.text-right {
    text-align: right !important;
}

.form-control.text-justify {
    text-align: justify !important;
}

/* Aligments */

/* Font sizes */

.fs-1 {
    font-size: 26px;
}

.fs-2 {
    font-size: 22px;
}

.fs-3 {
    font-size: 18px;
}

.fs-4 {
    font-size: 14px;
}

.fs-5 {
    font-size: 12px;
}

.fs-6 {
    font-size: 10px;
}

@media only screen and (max-width: 768px) {

    .fs-1 {
        font-size: 22px;
    }
    
    .fs-2 {
        font-size: 18px;
    }
    
    .fs-3 {
        font-size: 16px;
    }

}   

/* Font sizes */

/* Font families */

.font_poppins {
    font-family: "Poppins", sans-serif;
}

.font_yeseva {
    font-family: 'Yeseva One', serif;
}

.font_opensans {
    font-family: "Open Sans", sans-serif;
}

.font_lora {
    font-family: "Lora", sans-serif;
}

.font_playfairdisplay {
    font-family: "Playfair Display", serif;
}

.font_merriweather {
    font-family: "Merriweather", serif;
}

.font_oswald {
    font-family: "Oswald", sans-serif;
}

.font_raleway {
    font-family: "Raleway", sans-serif;
}

.font_dancingscript {
    font-family: "Dancing Script", cursive;
}

.font_luckiest_guy {
    font-family: 'Luckiest Guy', cursive;
    font-weight: normal;
}


/* Font families */

/* Dark mode */

body.dark-mode {
    background-color: black;
    color: white;
}

/* Dark mode */
/* League Spartan - Black */
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-Black.ttf') format('truetype');
    font-weight: normal; /* Black style */
    font-style: normal;
    font-display: swap; /* ensures text shows while loading */
}

/* Optional CSS class to apply the font */
.font_league_spartan_black {
    font-family: 'League Spartan', sans-serif;
    font-weight: normal;
    color: black;
}

@font-face {
    font-family: 'League Spartan Semibold';
    src: url('../fonts/LeagueSpartan-SemiBold.ttf') format('truetype');
    font-weight: bold; /* Black style */
    font-style: normal;
    font-display: swap; /* ensures text shows while loading */
}

/* Optional CSS class to apply the font */
.font_league_spartan_semibold {
    font-family: 'League Spartan Semibold', sans-serif;
    font-weight: bold;
}
