body { font-family: 'Nunito', sans-serif; margin: 0; padding: 0; background: #FDFBF7; text-align: center; }
.container { max-width: 600px; margin: 0 auto; padding: 20px; }
.cover-img { width: 100%; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
h1 { color: #333; margin-top: 10px;  font-family: "Original Surfer", sans-serif; font-size: 28px; margin-bottom:0px; padding: 2px; }
p { color: #666; line-height: 1.6; font-size: 18px; text-align: left; }

/* <weight>: Use a value from 200 to 1000*/
.nunito {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.original-surfer-regular {
  font-family: "Original Surfer", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.spicy-rice-regular {
  font-family: "Spicy Rice", serif;
  font-weight: 400;
  font-style: normal;
}

.luckiest-guy-regular {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Dugme */
.btn {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 15px;
    background: #6C5CE7;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
    border: none;
    cursor: pointer;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    
    color: #181818;
    position: relative;
    z-index: 1001; /* Iznad svega */


}

.download-exp { font-size: 12px; color: #aaa; margin-top: 10px; }

.footer {
    border-top: 1px solid #ccc;
    padding: 5px 10px;
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.footer { font-size: 12px; color: #aaa; margin-top: 50px; }

.logo {
    position: relative;
}

.logo img {
    width:  auto;
    max-height: 70px;
}

.langWraper {
    position: relative;
    display: flex;
    justify-content: end;
}

    .lang-menu {
        width: 90px;
        text-align: right;
        position: relative;
        font-family: Arial, sans-serif;
        cursor: pointer;
    }
    .selected-lang {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 10px;
        background: #f4f4f4;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    .selected-lang span, .lang-menu ul li span {
        margin-right: 10px;
        border-radius: 2px; /* Blago zaobljene ivice zastave */
    }
    .selected-lang:after {
        content: "▼";
        font-size: 10px;
        margin-left: 8px;
    }
    .lang-menu ul {
        margin: 0;
        padding: 0;
        display: none; /* Sakriveno po defaultu */
        background-color: #fff;
        border: 1px solid #ccc;
        position: absolute;
        top: 40px;
        right: 0;
        width: 140px;
        list-style: none;
        border-radius: 5px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .lang-menu ul li {
        display: flex;
        justify-content: flex-start;
    }

    .lang-menu ul li a {
        display: block;
        padding: 10px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }
    .lang-menu ul li a:hover {
        background-color: #f0f0f0;
    }


/* Opciono: Ako želiš KRUŽNE zastave, dodaj klasu 'fis' u HTML */
/* Primer: <span class="fi fi-rs fis"></span> */

    .tabs-container {
        max-width: 600px;
        margin: 10px auto;
    }

    /* Sadržaj iznad */
    .tabs-display {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 20px;
        min-height: 400px;
        margin-bottom: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        position: relative;
    }

    .tab-item {
        display: none; /* Sakrij sve */
    }

    .tab-item.active {
        display: block; /* Prikaži samo aktivni */
    }

    .tab-item img {
        width: 100%;
        border-radius: 4px;
        display: block;
    }

    /* Navigacija ispod */
    .tab-links {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: center;
        gap: 10px;
    }

    .tab-links li a {
        display: block;
        padding: 10px 25px;
        background: #f0f0f0;
        color: #555;
        text-decoration: none;
        border-radius: 5px;
        transition: 0.3s;
        border: 1px solid transparent;
    }

    .tab-links li.active a {
        background: #007bff;
        color: #fff;
    }

    .tab-links li:hover a {
        background: #e2e2e2;
    }

    .tab-links li.active:hover a {
        background: #0056b3;
    }

    .videoContainer {
        position: relative;
        height: 350px;
        background: #000; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        color: white;
        overflow: auto;

    }

    .videoContainer video {
        border-radius: 8px;
        background-color: #000; /* Crna pozadina dok se video učitava */
        display: block;
        outline: none;
        height: 100%;
    }


.tab-image-wraper {
 text-align: center;
 display: flex;
 justify-content: center;
}

#share_image img {
    max-height: 500px;
    width: auto;
}

    .menu-toggle {
        background: none;
        border: none;
        color: rgb(0, 0, 0);
        font-size: 30px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    /* Full-width Overlay Menu */
    .full-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        
        /* Početno stanje - sakriveno iznad */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.4s ease-in-out;
    }

    .full-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .full-menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .full-menu ul li {
        margin: 20px 0;
    }

    .full-menu ul li a {
        color: white;
        text-decoration: none;
        font-size: 32px;
        font-weight: bold;
        transition: 0.3s;
    }

    .full-menu ul li a:hover {
        color: #007bff;
    }

    /* Onemogući skrolovanje stranice kada je meni otvoren */
    body.no-scroll {
        overflow: hidden;
    }

    span.icon-open {

    }

    span.icon-close {
        color: #fff;
    }

.storyContent {
    position: relative;
}

.storyContent p {
    color: #666; line-height: 1.6; font-size: 18px; text-align: left; 
}

.storyContent.altStory {
 margin-top: 10px;
 border: 2px dashed #ddd;
 padding: 10px;
 background-color: #fafafa;
 color: #aaa;
}

.storyContent.altStory p {
 color: #aaa;
 font-size: 16px;
}

table.providerInfo {
    border: 1px solid #bababa;
    margin: 5px;
    padding: 0px;
    border-collapse: collapse;
    background-color: #fff;
}
table.providerInfo tr td {
    border: 1px solid #e2e2e2;
    margin: 0px;
    padding: 5px;
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    font-weight: 300;
    text-align: left;
    color: #585858;
}

table.providerInfo tr td b {
    font-weight: 700;
    color: #424242;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert h4 {
  margin-top: 0;
  color: inherit;
}

.alert .alert-link {
  font-weight: bold;
}

.alert > p,
.alert > ul {
  margin-bottom: 0;
}

.alert > p + p {
  margin-top: 5px;
}

.alert-dismissable,
.alert-dismissible {
  padding-right: 35px;
}

.alert-dismissable .close,
.alert-dismissible .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}

.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

.alert-success hr {
  border-top-color: #c9e2b3;
}

.alert-success .alert-link {
  color: #2b542c;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}

.alert-info hr {
  border-top-color: #a6e1ec;
}

.alert-info .alert-link {
  color: #245269;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

.alert-warning hr {
  border-top-color: #f7e1b5;
}

.alert-warning .alert-link {
  color: #66512c;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.alert-danger hr {
  border-top-color: #e4b9c0;
}

.alert-danger .alert-link {
  color: #843534;
}

.premiumHighlight {
 color: #f3bd0b;
}

.premiumHighlight i {
 color: #f3bd0b;
}


.likesOverlay {
    width: 200px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 10px;
    z-index: 999999;
    justify-content:  flex-end;
}

.likesOverlay div {
    background-color: #ffffffec;
    padding: 2px 7px;
    display: flex;
    gap: 3px;
    align-items: center;
    border-radius: 5px;
}

.views {

}

.likes {

}

p.theme {
 margin: 1px;
 padding: 1px;
   font-family: "Nunito", sans-serif;
    font-weight: 300;
    text-align: left;
color: #585858;
 text-align: center;
 font-size: 14px;
}

.btn {
    font-size: 14px;
    padding: 6px 12px;
    margin-bottom: 0;

    display: inline-block;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}
.btn:focus,
.btn:active:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.btn:hover,
.btn:focus {
    color: #333;
    text-decoration: none;
}
.btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

/* default
---------------------------- */
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btn-default:focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}
.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.btn-default:active {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}




.filters {
    position: relative;
    margin: 10px 0px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.filters a {
      color: #333;
    background-color: #fff;
    border-color: #ccc;
    text-decoration: none;
    padding: 5px 10px;
}


.filters a.selected {
      color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.stories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}


.stories .story {
  width: 48%;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
 padding-bottom: 15px;
 background-color: #fff;

}

.stories .story .storyImage {
  position: relative;
}


.stories .story .storyImage a {
   display: block;
}

.stories .story .storyImage a img {
   width: 100%;
}

.storyInfo {
    display: flex;
    justify-content: space-between;
    gap:5px;
    padding-left: 10px;
    padding-right: 10px;
}

.storyInfo span {
    font-size: 13px;
    font-weight: 300;
    padding: 1px 3px;
    color: #424242;
    text-align: center;
}

.storyInfo span:last-child {
    border-right: none;
}

a.storyTitle {
    display: block;
    text-decoration: none;
    color: #181818;
    font-size: 19px;
    font-weight: 500;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    line-height: 1;

}


.pagination {
  display: flex;
  justify-content: center;
  list-style: none; /* remove list bullets */
  padding: 0px;
  margin-top: 25px;
}

.pagination a, .pagination span {
  display: block; /* let links fill the list item */
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid gray;
  color: black;
  margin: 0 4px;
  border-radius: 5px; /* add rounded borders */
}


.pagination a.selected, .pagination span.selected {
  color: rgb(247, 244, 244);
  background-color: #0056b3;
}







