
@font-face {
  font-family: "Merriweather", serif;
  src: url("/fonts/Merriweather_36pt-Regular.ttf") format("woff2");
  font-display: optional;
 }

html,
body {
    height: 100%;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-size: 17px;
    font-style: normal;
}
h1,h2,h3,h4,h5, .display-1, .display-2, .display-3 {
    text-wrap: balance;
}

#weather-info {
    display: flex;
    align-items: center;
  }

.container{
    max-width: 1420px;
}  
.logo {
    height: 80px; 
}
.logo-futer{
    height: 60px;
}
.bojaP{
    background-color: #131f49;
    color: white;
}

.search-container {
    display: inline-block;
}

#search-input {
    transition: all 0.3s ease;
    z-index: 1000;
}

#search-input:focus {
    border: 2px solid #007bff;
    outline: none;
}

.slike{
    height: 500px;
    width: 670px;
}
.slikeOpsinro{
    height: 580px;
    width: 880px;
}
.bojaNaslova {
    color: black; 
    transition: color 0.2s ease; 
}

.bojaNaslova:hover {
    color: rgb(0, 153, 255); 
}

.karta-slika {
    height: 70px; 
    object-fit: cover; 
}

/* Stil za naslov */
.velicinaNaslova {
    font-size: 14px; /* Veličina fonta naslova */
}

.text-view-max-lines {
  line-height: 1.1;      
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slika {
    height: 170px; 
    object-fit: cover; 
}

.reklama{
    height: 300px;
    width: 300px;
}

.video-container {
    position: relative;
    width: 100%; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    border: none;
}
.position-md-sticky {
    position: sticky;
    top: 0;
    align-self: start; 
}
.badge{
    font-size: 11px;
}
.datum{
    font-size: 12px;
    color: gray;
}
a {
    color: rgb(0 0 0);
    text-decoration: none;
}

.yt-prva{
    height: 77px;
    overflow: hidden;
}
.logoM{
    height: 35px;
}

@media (min-width: 768px) {
    body {
    font-size: 19px;
}
.logo {
    height: 120px; 

}

.nav-link {
    color: white; 
}
}

.youtube-thumb {
    position: relative;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
}

.youtube-thumb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 12px;
    transition: background-color 0.2s;
    z-index: 1;
}

.youtube-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    z-index: 2;
}

.youtube-thumb:hover::before {
    background-color: rgba(255, 0, 0, 1);
}

.youtube-thumb img {
    display: block;
    width: 100%;
    transition: transform 0.3s;
}

.youtube-thumb:hover img {
    transform: scale(1.05);
}


