/* Osnovni stil za telo strani */
body {
    background-color: white;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

/* Fiksna navigacija z zatemnjeno podlago */
.navbar {
    background-color: rgba(0, 0, 0, 0.5); /* Temna, delno prosojna podlaga pri navigaciji*/
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: white;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.nav-link {
    color: white;
    margin-right: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



.nav-link:hover {
    color: purple; /* svetlejši odtenek vijolične za hover */
}

.nav-link.active {
    background-color: purple;
    color: wrhite !important;
    border-radius: 25px;
    padding: 0.4rem 1rem;
}





.besedilo_na_sliko {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2vw 4vw; /* Odzivne notranje obrobe */
    
    font-size: clamp(24px, 6vw, 60px); /* Samodejna prilagoditev velikosti besedila */
    font-weight: bold;
    text-align: center;
    color: white;

    border-bottom: 0.8vw solid purple;
    font-family: "Lucida Console", "Courier New", monospace;
    border-radius: 0.8vw;
    box-shadow: 0 0.5vw 1.2vw rgba(0, 0, 0, 0.4);
}



.bg-dark {
    background-color: purple !important;
}





footer a:hover {
    color: black !important;
}

#backToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    font-size: 24px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
  }
  
  #backToTopBtn:hover {
    background-color: pink;
  }
  



