:root {
 --navbar_background: #404040;
 --navbar_hover_fontcolor: #7bc240; /* #27ae60, #27fe60; */
 --navbar_fontcolor: white; /* #27ae60, #27fe60; */
}


html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}


body {
    background-image: url('/static/images/background.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Adjust transparency (0 = fully transparent, 1 = solid) */
    z-index: -1; 
} 

.navBarEl {
    font-size: 16px;
    font-family: Arial, sans-serif; 
    background-color: var(--navbar_background);
    color: var(--navbar_fontcolor);
    transition: color 0.3s ease, text-decoration 0.3s ease, text-underline-offset 0.3s ease;
    padding: 0px 15px;
    cursor: pointer;
    margin-top: 1px;
}

.navBarEl:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: var(--navbar_hover_fontcolor);
}

a.navBarEl {
  text-decoration: none; 
}


.mp-content {
    overflow: auto;
}
        
.hp-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navbar_background);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    z-index: 1000;
}
.hp-menu {
    flex: 1;
    text-align: center;
}
.hp-menu a {
    xcolor: white;
    text-decoration: none;
    margin: 0 15px;
}
.hp-content {
    flex: 1; /* Makes sure content area expands */
    margin-top: 60px;
    padding: 20px;
    xmin-width: 700px;
}
.hp-footer {
    width: 100%;
    background: var(--navbar_background);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-shrink: 0; /* Prevents shrinking */
    font-size: 12px;
}

.hp-footer-title {
  margin:0;
  font-size: 14px;
  padding: 12px 0px;
}
.hp-footer-item {
  padding-left: 10px;
  font-size: 12px;
}


.hp-column {
    width: 20%; /* Each column takes roughly 1/3 of the footer */
}
.hp-creator-info {
    padding: 10px 24 px;
    background: black;
    color: white;
}

.hp-dic {
    width: 100%;
    display: flex;
    justify-content: center; /* Centers pads with equal left & right space */
    gap: 20px; /* Sets fixed space between pads */
    padding: 20px;
    box-sizing: border-box;
}

/* pravokotne ploščice
.hp-pad {
    width: calc((100% - 40px) / 5); 
    min-height: 170px;
    min-width:165px;
    height: calc(50vh - 128px);
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align:center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}
*/

/* šestkotne ploščice */
.hp-pad {
    width: calc((100% - 40px) / 5);

    xheight:calc((100vw - 40px) / 5);;
    xmax-height: calc(((50vh - 32px) / 2) - 17px);
    xmax-width: calc(((50vh - 32px) / 2) - 17px);

    min-height: 170px;
    min-width: 165px;
    height: calc(50vh - 128px);
    max-height: calc(1.1 * (50vh - 128px));  /* Ensures height never exceeds 1.1 of calculated height */

    background-color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: white;
    padding: 20px;
    position: relative;
}




.hp-pad:hover {
    transform: scale(1.05); /* Slightly enlarges the pad */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Increases shadow */
    background: #dcedda;
}

.hp-pad:hover .lg {
    filter: brightness(0.2) contrast(1.2); /* Example filter effect */
}

a.hp-pad {
  text-decoration: none; 
}

.pad-title {
    width: 100%;
    font-size: 24px;
    padding: 20px;
}

.lg {
  filter: invert(55%) sepia(42%) saturate(550%) hue-rotate(60deg); 
}

.hr {
  border: 1px solid #aaaaaa;
  margin: 0px;
}


/* FAQ page */
.faq-container {
  width: 80%;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}
.faq-item:hover {
  background-color: #eef7ed;
}
.faq-title {
  font-weight: bold;
  font-size: 1.1em;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-title::after {
  content: ''; /* Down arrow */
  font-size: 0.8em;
  transition: transform 0.3s;
}
.faq-item.open .faq-title::after {
  transform: rotate(-180deg); /* Rotate the arrow when open */
}
.faq-answer {
  display: none;
  padding: 10px 10px 0px 20px;
  color: #555;
  font-size: 1em;
  line-height: 1.5;
  border-top: 1px solid #eee;
  text-align: justify;
}
.faq-item.open .faq-answer {
  display: block;
}



/* Screenshots */
.ss-gallery {
    display: flex;
    flex-wrap: wrap;
}
.ss-thumbnail {
    width: 27vw;
    margin: 10px;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: transform 0.3s;
}
.ss-thumbnail:hover {
    transform: scale(1.1);
}
.ss-thumbnail-container {
    align-content: center;
    position: relative;
    display: inline-block;
    margin: 10px;
}
.ss-thumbnail-containerplus {
    position: relative;
    display: inline-block;
}
.ss-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}
.ss-modal-content {
    margin: auto;
    display: block;
    width: 80%;
}
.ss-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.ss-close:hover,
.ss-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.ss-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 1);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: none; /* So clicking the icon still clicks the image */
}


/* Projects (h1 with Add button)  */
.p-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 0px;
}


/* ListOfProjects menu */

.hp_menu-container {
    position: relative;
    display: inline-block;
}
.hp_menu-icon {
    font-size: 0.5em;
    color: gray;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;    
}
.hp_menu-icon:hover {
    color:green;
}
.hp_dropdown-menu {
    position: absolute;
    top: 45px;
    right: -4px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    width: 190px;
}
.hp_dropdown-menu.open {
    display: block;
}
.hp_menu-item {
    font-size: 15px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.hp_menu-item:hover {
    background: #f0f0f0;
}
