/* Stilovi za navigaciju i osnovni sadržaj */
* {

    font-family: 'Nunito Sans', sans-serif;

}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #dfdfdf;
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    height: auto;
}
body.no-scroll {
  overflow: hidden;
}

main {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

#background-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;

    filter: brightness(30%);
}

.content {
    padding: 100px 20px;
    text-align: center;
    color: white;
    z-index: 1;
    /* Postavlja sadržaj iznad videa */
}

section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: white;
    font-size: 18px;
    line-height: 1.6;
}








.gallery-new-main{
     width: 100%;
            height: fit-content;
            background-color: #303030;

}

#vencane-slike{
    width: 40%;
    color: #dfdfdf;
    margin-top: 200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Transparentni navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 71px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease-in-out, padding 0.3s, transform 0.5s ease-in-out;
    font-weight: 400;
    z-index: 1000;
}

header.transparent {
    background-color: rgba(255, 255, 255, 0);
    color: white;
}

header.solid {
    background-color: #dfdfdf;
    color: black;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header.hidden {
    transform: translateY(-100%);
}



/* Boja logotipa u transparentnom headeru (početno stanje) */
header.transparent .logo img {
    filter: brightness(0) invert(1);
    /* Belo logo */
}

/* Boja logotipa u solidnom headeru (posle skrolovanja) */
header.solid .logo img {
    filter: brightness(0) invert(0);
    /* Crno logo */
}

/* Boja burger ikone u transparentnom headeru (početno stanje) */
header.transparent .burger-menu i {
    color: white;
    /* Bela ikonica */
}

/* Boja burger ikone u solidnom headeru (posle skrolovanja) */
header.solid .burger-menu i {
    color: black;
    /* Crna ikonica */
}



.portfoli-main {
    display: flex;
    width: 100%;
    height: fit-content;
    background-color: #303030;
}



/* Generalne stilove za telo */

.button-55 {
    align-self: center;
    background-color: #dfdfdf;
    background-image: none;
    background-position: 0 90%;
    background-repeat: repeat no-repeat;
    background-size: 4px 3px;
    border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
    box-sizing: border-box;
    color: #303030;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    line-height: 23px;
    outline: none;
    padding: .75rem;
    text-decoration: none;
    transition: all 235ms ease-in-out;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-55:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
}

.button-55:focus {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}


.upload-main {
    display: flex;
    height: fit-content;
    background-color: #303030;
}

.upload-body {
    margin-top: 71px;
    background-color: #303030;
    background: url('upload.bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    width: 100%;
    opacity: 1;
    height: fit-content;
    justify-content: center;
    align-items: center;
}





.upload-form {
    margin-top: 200px;
    margin-bottom: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #303030f5;
    width: 60%;
    height: fit-content;
    padding-top: 30px;
    padding-bottom: 30px;

}

#upload-text {
    margin: 0;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    color: #dfdfdf;
    font-size: 18px;
}

#uploadCount,
#totalPrice {
    font-size: 18px;
    /* Povećava font */
    color: white;
    /* Postavlja boju teksta na belo */
    font-weight: bold;
    /* Čini tekst boldovanim (opcionalno) */
}

/* Opšte podešavanje slike i dugmadi */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
}

.image-div {
    border: 1px solid #ccc;
    padding: 10px;
    width: 150px;
    text-align: center;
    position: relative;
}

.image-div img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.delete-btn {
    background-color: rgb(194, 21, 21);
    color: #dfdfdf;
    border: none;
    padding: 5px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}

.total-cost {
    font-weight: bold;
    margin-top: 20px;
}

/* Modal za pregled slike */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    color: black;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* Stilovi za nova dugmad (selektovanje, upload i send) */

/* Dugme za selektovanje */
#size {
    text-align: center;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 5px;
    width: 60%;
    margin: auto;

    cursor: pointer;

}

#size:focus {
    outline: none;
    border-color: #2980b9;
}

/* Dugme za upload */
#uploadButton {
    background-color: #2980b9;
    ;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;

    width: 60%;
    margin: auto;
    text-align: center;
}

#uploadButton:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#uploadButton:hover:enabled {
    background-color: #0056b3;
}

/* Dugme za slanje */
#sendButton {
    background-color: #ffc107;
    color: black;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 60%;
    margin: auto;
    text-align: center;
}

#sendButton:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#sendButton:hover:enabled {
    background-color: #e0a800;
}

/* Dugme za upload input */
#imageInput {
    display: none;
}


























.portfoli {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tačno 3 jednake kolone */
    gap: 20px; /* Razmak između kartica */
    justify-items: center;
    height: max-content;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 200px;
}


.faq-body {
    background-color: #303030;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: start;


}

.faq {
    background-color: #303030;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 200px;
    margin-bottom: 100px;
}

.faq-container {

    background-color: #dfdfdf;
    color: black;
    border-radius: 20px;
    box-shadow: 0 5px 10px 0 rgb(0, 0, 0, 0.25);
    margin-top: 5px;
    width: 60%;
}

.faq-text {
    width: 60%;
    display: flex;
    justify-content: start;
    align-items: start;
    margin: 0;
    margin-bottom: 10px;
    font-size: 35px;
    color: #dfdfdf;

}


.question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 80px 20px 20px;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.question::after {
    content: "\002B";
    font-size: 2.2rem;
    position: absolute;
    right: 20px;
    transition: 0.2s;
}

.question.active::after {
    transform: rotate(45deg);
}

.answercont {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.answer {
    padding: 0 20px 20px;
    line-height: 1.5rem;
}

.question.active+.answercont {}

@media screen and (max-width: 790px) {
    html {
        font-size: 14px;
    }

    .faq-container {
        width: 80%;
    }

    .faq-text {
        width: 80%;
    }
}







/* Postavljanje stila za pozadinu */
#background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Pozadinska slika ispod sadržaja */
}

/* Stil za tekst */
.content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    font-family: 'Nunito Sans', sans-serif;
    letter-spacing: 3px;
}

#welcome-text {
    font-size: 48px;
    font-family: 'Nunito Sans', sans-serif;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;

    width: 0;
    padding-right: 10px;
    animation: typing 3s steps(30) 1s forwards, blinkCaret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blinkCaret {
    50% {
        border-color: transparent;
        /* Sakriva kursor */
    }
}





.logo-div {
    height: 71px;
    width: 73px;
}

.logo img {

    margin-top: 7px;
    height: 60px;
    /* Fiksna visina */
    width: auto;
    /* Širina se automatski prilagođava */


}

nav {
    display: flex;
    justify-content: space-between;
    width: 60%;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 15px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    font-size: 18px;
}

nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: gray;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* To position the overlay */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Semi-transparent black overlay */
    z-index: 1;
}

.swiper {
    margin-left: auto;
    margin-right: auto;
}

/* Add the fixed div with red text */
.fixed-text {
    position: absolute;
    /* Ograničeno unutar main sekcije */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #dfdfdf;
    z-index: 10;
    text-align: center;
    width: 100%;
}

/* Stilizacija naslova unutar fiksiranog teksta */
.fixed-text h3,
.fixed-text h4 {
    margin: 10px 0;
}

/* Dugme za kontakt */
.contact-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #dfdfdf;
    color: #dfdfdf;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: darkred;
}

/* Swiper sekcija */
.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Stilizacija pojedinačnih slajdova */
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Omogućava overlay */
}

/* Stilizacija slika unutar slajdera */
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay efekat preko slika */
.swiper-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Poluprovidna crna boja */
    z-index: 1;
}

/* Sakrivanje Swiper navigacije i paginacije */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
    display: none;
}

/* Flex container za galeriju slika */
.flex-container {
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 960px;
    margin: 50px auto;
}

.flex-item {
    background-color: #92929200;
    width: 300px;
    height: 300px;
    padding: 30px;
    border-radius: 15px;
    box-sizing: border-box;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(73, 73, 73, 0.329);
}

/* Portfoli kartice */


.snip1336 {
    border-radius: 25px;
 min-height: 300px;
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 230px;
    max-width: 315px;
    height: fit-content;
    width: 100%;
    color: #ffffff;
    text-align: left;
    line-height: 1.4em;
    background-color: #141414;
    transition: transform 0.3s ease-in-out;
    background-clip: content-box;
    /* Dodajte ovo */
    box-sizing: border-box;
    /* Dodajte ovo */
    will-change: opacity, transform;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.snip1336.visible {
  opacity: 1;
  transform: translateY(0);
}



.snip1336:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    /* Dodavanje senke uz skaliranje */
}

.snip1336 * {

    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.snip1336 img {
    max-width: 100%;

    opacity: 0.8;
    object-fit: cover;
    /* Dodajte ovo */
    max-height: 100%;
    /* Sprečava da slika bude previše visoka */
}

.snip1336 figcaption {

    width: 100%;
    background-color: #141414;
    padding: 25px;
    position: relative;
}

.snip1336 figcaption:before {
    position: absolute;
    content: '';
    bottom: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 55px 0 0 400px;
    border-color: transparent transparent transparent #141414;
}

.snip1336 figcaption a {
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 0.7em;
    text-transform: uppercase;
    margin: 10px 0;
    display: inline-block;
    opacity: 0.65;
    width: 47%;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

.snip1336 figcaption a:hover {
    opacity: 1;
}

.snip1336 .profile {
    border-radius: 50%;
    position: absolute;
    bottom: 100%;
    left: 25px;
    z-index: 1;
    max-width: 90px;
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.snip1336 .follow {
    margin-right: 4%;
    border-color: #2980b9;
    color: #2980b9;
}

.snip1336 h2 {
    margin: 0 0 5px;
    font-weight: 300;
}

.snip1336 h2 span {
    display: block;
    font-size: 0.5em;
    color: #2980b9;
}

.snip1336 p {
    margin: 0 0 10px;
    font-size: 0.8em;
    letter-spacing: 1px;
    opacity: 0.8;
}


.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Galerija slika */
.gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-titl {
    width: 30%;
}

.gallery-titl h3 {
    font-size: 3em;
    font-weight: bolder;
    border-bottom: 3px solid #222;
}

.gallery-titl h3 span {
    font-weight: 100;
}

.pictures {
    width: 960px;
}

.gallery .pictures {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.gallery .pictures .box {
    display: flex;
    flex-direction: column;
    width: 32.5%;
}

.gallery .pictures .box img {
    width: 100%;
    padding-bottom: 15px;
    border-radius: 5px;
}

.gallery-button {

    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-btn {
    position: relative;
    width: 285px;
    margin: 20px 5px;
    font-size: 20px;
    padding: 0.6em 2em;
    border: 2px solid white;
    border-radius: 10px;
    background: #030303c4;
    color: white;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;

}

/* Hover efekat - bela pozadina, crna slova i crno sijanje */
.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.397);
    color: rgb(255, 255, 255);


}


.gallery-new {
   
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  justify-content: center;
  
}



/* Osnovni stil za slike sa klasom thumb */
/* Osnovni stil za slike sa klasom thumb */
/* Osnovni stil za slike sa klasom thumb */
.thumb {
  width: 300px;
  height: 200px; /* Vodoravan odnos */
  object-fit: cover;
  cursor: pointer;
  border-radius: 15px;
  
  opacity: 0;  /* Početno nevidljive */
  transition: opacity 0.6s ease, transform 0.3s ease; /* Efekat tranzicije za učitavanje i hover */
}

/* Hover efekat */
.thumb:hover {
  transform: scale(1.05);  /* Povećaj sliku na hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Dodaj senku na hover */
}

/* Kada se slika učita, dodajemo klasu koja je čini vidljivom */
.thumb.loaded {
  opacity: 1;  /* Postepeno postaju vidljive */
}








.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
}

.lightbox-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.lightbox-img {
  max-width: 70vw;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  position: relative;
  border-radius: 20px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s;
  z-index: 10;
}

.arrow:hover {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.left {
  left: -50px;
}

.right {
  right: -50px;
}

.close {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top:-30px;
  right: -50px;
  width: 40px;
  height: 40px;
  font-size: 40px;
 border-radius: 10px;
  cursor: pointer;
  color: white;
  z-index: 10;
}
.close:hover {
    background: rgba(255,255,255,0.2);
}








.rarrow,
.larrow {
    display: none;
    margin: 10px;
    font-size: 50px;
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.social-media h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    text-decoration: none;
    color: #333;
    font-size: 55px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover efekti */
.social-icons a:hover {
    color: #e4405f;
    /* Instagram roze */
    transform: scale(1.1);
}

.social-icons a:nth-child(2):hover {
    color: #1877f2;
    /* Facebook plava */
}





footer {

    background-color: #303030;
    color: #fff;
    padding: 40px 20px;
    font-size: 16px;
    box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    flex-wrap: nowrap;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.map {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    color: #f8f9fa;
    margin-bottom: 15px;
}

.contact-info p {
    color: #ced4da;
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-info p strong {
    color: #fff;
}


.map {
    margin-top: 20px;
    text-align: center;
}

.map iframe {
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 400px;
}


.footer-bottom {

    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #495057;
    padding-top: 35px;
}

.footer-bottom p {
    color: #adb5bd;
    font-size: 18px;
}



.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
}
@media (max-width: 1600px){
    #vencane-slike{
        width: 60%;
    }

}
@media (max-width: 1280px) {
    nav {
        width: 70%;
    }
      .upload-form {
   width: 70%;

}
#upload-text{
    font-size: 14px;
}

}


@media (max-width: 960px) {
    nav {
        width: 80%;
    }

    .flex-container {
        justify-content: center;
    }


    .pictures {
        width: 620px;
    }

    .pictures {
        width: 95%;
        margin: auto;
    }

    .gallery .gallery-titl {
        width: 400px;
    }
    
    .portfoli {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Tačno 3 jednake kolone */
        gap: 20px; /* Razmak između kartica */
        justify-items: center;
        height: max-content;
        margin: auto;
        margin-bottom: 20px;
        margin-top: 200px;
    }
}

@media (max-width: 820px) {
    nav {
        width: 90%;
    }
    .upload-form {
   width: 95%;

}
 #vencane-slike{
        width: 75%;
        font-size: 8px;
    }
}



@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .fixed-text h2 {
        font-size: 20px;
    }

    .contact-info {
        width: 100%;
        margin-bottom: 20px;
    }

    .map iframe {
        height: 250px;
    }

    .pictures {
        width: 95%;
        margin: auto;
    }

}

@media (max-width: 760px) {
    .gallery .gallery-titl {
        width: 70%;
        font-size: 16px;
    }

    .gallery .gallery-titl h3 {
        font-size: 8vw;

    }

    /* Stil za navbar kad je zatvoren */
    /* Opšti stil za navbar kada je zatvoren */
    #navbar-links {
        position: fixed;
        top: -310px;
        left: 0;
        width: 100%;

        background: rgba(113, 113, 113, 0.219);
        background: linear-gradient(180deg, rgba(113, 113, 113, 0.932) 0%, rgba(71, 71, 71, 0.938) 39%, rgba(0, 0, 0, 0.938) 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        /* Razmak od vrha ekrana */
        padding-bottom: 0px;
        transition: top 0.5s ease-in-out;
        /* Glatka animacija za otvaranje */
        z-index: 9999;
    }

    /* Kada je meni otvoren */
    #navbar-links.open {
        top: 0;
        transition: top 0.5s ease-in-out;
        /* Glatka animacija za zatvaranje */
    }

    /* Stilizovanje liste sa stavkama menija */
    #navbar-links ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* Proširen razmak između stavki */
        margin: 0;
        padding: 0;
        animation: slideDown 0.6s ease-out;
        /* Efekat klizanja */
    }

    #navbar-links ul li {
        width: 100%;
        font-size: 18px;
        font-family: 'Roboto', sans-serif;
        text-align: center;
        border-bottom: 0.3px solid rgba(255, 255, 255, 0.274);
    }


    #navbar-links ul li a {

        color: #fff;
        text-decoration: none;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    /* Hover efekat na linkovima */
    #navbar-links ul li a:hover {

        color: #7e7e7e;
    }

    /* Efekat klizanja stavki menija */
    @keyframes slideDown {
        0% {
            transform: translateY(-30px);
            opacity: 0;
        }

        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }


    .burger-menu {
        display: block;
        cursor: pointer;

        z-index: 10000;
    }

    .burger-menu i {
        font-size: 2rem;
        color: #fff;
        transition: all 0.3s ease;
    }


    #burger-menu.open i {
        color: #f0a500;
    }

    header {
        padding-top: 0;
        padding-bottom: 0;
    }

    #welcome-text {
        font-size: 8vw;
    }

}

@media (max-width: 758px){
#size, #uploadButton, #sendButton{
font-size: 10px;
width: 70%;
}
#uploadButton, #sendButton{
    font-size: 14px;
}
}

@media (max-width: 700px){
.portfoli {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* Tačno 3 jednake kolone */
        gap: 20px; /* Razmak između kartica */
        justify-items: center;
        height: max-content;
        margin: auto;
        margin-bottom: 20px;
        margin-top: 200px;
    }    
}

