@font-face {
    font-family: geometrics-bold;
    src: url("/fonts/HURMEGEOMETRICSANS4 BOLD.OTF");
}
@font-face {
    font-family: geometrics;
    src: url("/fonts/HURMEGEOMETRICSANS4.OTF");
}
@font-face {
    font-family: dinpro;
    src: url("/fonts/DINPro-Bold_0.otf");
}
html{
  font-family: geometrics, sans-serif;
}
body {
    font-family: geometrics, sans-serif;
    background-color: #e6e6e6;
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6,th,strong{
    font-family: geometrics-bold, serif;
  font-weight: 700;
  font-style: normal;
}
input,select{
  font-family: geometrics-bold, serif;
  font-size: 1rem;
}
button{
  background-color: #1976D2;
  color:white;
  font-size: 1rem;
  border: none;
          cursor: pointer;
          border-radius: 5px;
          padding: 1rem 2rem;
}
button:hover{
  background-color: #0D47A1;
}
button.search-button:hover{
  background-color: #1E88E5;
}
button.search-button.active{
  border-radius: 0px 20px 0px 0px;
}
footer{
  padding: 3rem 1rem;
  background-color: #e6e6e6;
  text-align: center;
  margin-bottom: 5rem;
}
.text-decoration-none{
  text-decoration: none;
}
.gallery-share{
  padding-top: 1rem;
  color: #fff;
  text-align: right;
  cursor: pointer;
}
.pt-1{
  padding-top: 1rem;
}
.bg-black{
  background: #000;
}
.loading .error{
  display: none;
}
#end-of-content .text-ai{
  width: 30%;
    margin: auto;
    text-align: center;
    padding-bottom: 3rem;
}
.image-popup-modal .modal-content{
  background-color: #000;
}
.mt-1{
  margin-top: 1rem;
}
.blur{
  filter: blur(2px);
}
.pt-2{
  padding-top: 2rem;
}
.preview-container .preview-overlay{
  display: none;
  position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 5px;
}
.m-0{
  margin: 0 !important;
}
.text-left{
  text-align: left;
}
.small{
  font-size: .75rem;
}
.preview-container .preview-overlay svg{
      height: 100%;
    fill: #fff;
    position: absolute;
    left: 40%;
}
.item img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
}
.item img.loaded {
    opacity: 1;
    visibility: visible;
}
.search-events{
  border: 1px solid #ccc;
  padding: .5rem 1rem;
  border-radius: 50px;
  min-height: 40px;
  background-color: #fff;
  font-size: 1rem;
  color: #000;
-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  width: 100%;

}
.search-bar-row {
  position: relative;
  display: inline-block;
}
.search-bar-row svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  fill: #000; /* Az SVG színe */
}
.upload-photo-header{
  padding: 1rem;
  display: flex;
  background-color: #fff;
}
.upload-photo-header .search-title{
  margin-left: auto;
}
.scanner-infobar{
  background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 500px;
    margin: auto;
    padding: 1rem 1rem;
}
.scanner-infobar .infobar-title{
  text-align: center;
    font-size: 1rem;
}
.scanner-infobar .infobar-image{
  text-align: left;
    color: rgba(0, 0, 0, 0.48);
    font-size: .9rem;
    margin-bottom: 0rem;
}
.scanner-infobar .infobar-image svg{
  margin-bottom: -.1rem;
}
.scanner-infobar .infobar-image strong{
  font-family: 'geometrics-bold';
}
.scanner-infobar .infobar-time{
  text-align: right;
    color: #0000007a;
    font-size: .9rem;
    margin-bottom: 0rem;
}
.scanner-infobar .infobar-time svg{
  margin-bottom: -.1rem;
}
.scanner-secondary-info{
  display: none;
  font-family: 'geometrics-bold';
    font-weight: 800;
    font-size: 1.5rem;
    color: #388E3C;
}
.selfie-sub-text{
  text-align: center;
    color: rgba(0, 0, 0, 0.48);
    font-size: .9rem;
    margin-bottom: 2rem;
}
.text-white{
  color: #fff;
}
#member-container{
  padding: 1rem;
}
#member-container .item{
  background: #fff;
    grid-column: span 1;
    position: relative;
    border-radius: 5px;
}
#member-container .item img{
  width: 100%;
  border-radius: 5px 5px 0px 0px;
}
#member-container .item .member-data .member-title{
  margin: 0;
    padding: .5rem;
    background: #fff;
    border-radius: 5px;
}
#nameModal #modal-body{
      margin: auto;
    padding-top: 3rem;
    text-align: center;
    max-width: 100%;
    background: #fff;
}
#nameModal .modal-content{
  
}
#nameModal input{
  border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    width: -webkit-fill-available;
    margin-bottom: 2rem;
}
#nameModal button{
    
}
#nameModal #stopped-button{
      background: #ddd;
    color: #000;
}
#nameModal #stopped-button:hover{
  background: #eee;
}
#imageModal .modal-content{
  background-color: #000;
}
#nameModal h2{
  margin-bottom: .25rem;
}
#nameModal input[type="email"]{
  margin-bottom: .5rem;
}
.pb-2{
  padding-bottom: 2rem;
}
.gallery-images-information img{
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  border-radius: 5px;
}
 #gallery-container .loading {
  height: 400px;
  width: 250px;
  background-image: linear-gradient(90deg, #2a2a2a 0%, #3c3c3c 40%, #1e1e1e 60%, #2a2a2a 100%);
  background-position: 0px 0px;
  background-repeat: repeat;
  border-radius: 5px;
  animation: animatedBackground 5s linear infinite;
  box-shadow: 0rem 0rem .5rem rgba(0, 0, 0, .1);
  flex-grow: 1;
}

#image-container .loading {
  width:200px;
  height: 98.5%;
  min-height: 300px;
  max-height: 100%;
  background-image: linear-gradient(90deg, #2a2a2a 0%, #3c3c3c 40%, #1e1e1e 60%, #2a2a2a 100%);
  background-position: 0px 0px;
  background-repeat: repeat;
  border-radius: 5px;
  animation: animatedBackground 5s linear infinite;
  box-shadow: 0rem 0rem .5rem rgba(0, 0, 0, .1);
  flex: 1 0 21%;
}

@keyframes animatedBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 1000px 0;
  }
}

  /* Galéria konténer stílusok */
  #gallery-container {
    display: flex;
     flex-wrap: wrap;
    gap: 20px;
    padding: 3rem 1rem;
    background-color: #000;
  }

  /* Mobil nézet: 1 oszlop */
  #gallery-container .item {
    background-color: transparent;
    padding: 0px;
    border-radius: 0px;
    align-items: center;
    overflow: hidden;
    flex: 1 0 calc(21% - 10px);
    max-width: calc(25% - 10px);
    position: relative;
  }

  #gallery-container .item a{
    position: relative;
  }

  #gallery-container .item img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    box-shadow: 0rem 0rem .5rem rgba(0, 0, 0, .1);
    height: 300px;
    object-fit: cover;
    vertical-align: bottom;
    object-position: center;
  }

  #gallery-container .item .gallery-data {
    padding: 1rem;
    margin: 0rem;
    text-align: left;
    white-space: break-spaces;
    bottom: 0px;
    width: -webkit-fill-available;
  }

  #gallery-container .item .gallery-data .gallery-title {
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 1px 1px #12253c;
    margin:0px 0px 1rem 0px;
  }

  #gallery-container .item .gallery-data .gallery-quantity {
    color: #fff;
    font-size: 1rem;
    text-shadow: 1px 1px #12253c;
    margin:0;
  }

  #gallery-container .item .gallery-data .gallery-quantity svg {
    fill: #fff;
    width: 20px;
    height: 20px;
    margin-bottom:-.2rem;
    margin-right: .5rem;
  }
.flex{
  display: flex;
}
.logo a{
  text-decoration: none;
  color: #fff;
}
#end-of-content {
            text-align: left;
            display: none;
            font-size: 1.25rem;
            background-color: #fff;
            padding: 1rem;
        }
        .footer-logo{
          max-height: 200px;
        }
#nameForm .switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  margin-right: .5rem;
}

#nameForm .switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

#nameForm .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

#nameForm .slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

#nameForm input:checked + .slider {
  background-color: #2196F3;
}

#nameForm input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

#nameForm input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
#nameForm .slider.round {
  border-radius: 17px;
}

#nameForm .slider.round:before {
  border-radius: 50%;
}
#nameForm .switch-container{
text-align: left;
    padding-top: 2rem;
}
header {
  background-color: #e6e6e6;
  color: #000;
      box-shadow: 0rem 0rem .5rem rgba(0, 0, 0, .1);
    position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #404042;
}

.navbar-login-button{
      border: 1px solid;
    border-radius: 5px;
    padding: 1rem 2rem;
    background-color: #fff;
}

.navbar-title{
  margin: auto;
  font-size: 2rem;
}

.logo{
  font-family: geometrics-bold, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.5rem;
  display: flex;
}
.logo img {
  height: 80px;
  margin-right: 1rem;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin: 0 10px;
}

.menu li:nth-child(1) {
  margin: 0px 10px 0px 0px;
}

.menu li a {
  text-decoration: none;
  color: #000;
  font-size: 1.25rem;
}


/* Mobil verzió */
.mobile-menu {
  display: none;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #333;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.mobile-menu ul li .foto-icon {
  width: 30px;
  height: 30px;
}


.masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
a{
  color: blue;
}

#image-container .item, #upload-photo-image-container .item {
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
    height: 300px;
    border-radius: 5px;
    flex: 1 0 calc(21% - 10px);
    max-width: calc(25% - 10px);
}

        #image-container .item img, #upload-photo-image-container .item img {
            width: 100%;
            display: block;
            border-radius: 5px;
            height: 300px;
            object-fit: cover;
    vertical-align: bottom;
    object-position: top;
        }

        #image-container .item:hover, #upload-photo-image-container .item:hover {
            transform: translateY(-10px);
        }

        #loader {
            text-align: center;
            display: none;
            margin: 20px 0;
        }

        /* Keresőmező stílus */
        #search-container {
            text-align: center;
            margin-bottom: 20px;
            padding:3rem 0rem;
            margin: 0;
            background: #D6CC88;
        }
        .search-row{
    width: 600px;
    margin: auto;
        }
        .relative{
          position: relative;
        }
        .h-100{
          height: 100%;
        }
        #search-input {
            padding: 1rem 8rem 1rem 1rem;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 1rem;
    width: -webkit-fill-available;
        }
        .search-header{
          font-size: 2rem;
    padding: 0rem 0rem 2rem 0rem;
        }
        .search-button {
    position: absolute;
    right: 0%;
    top: 0;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 0px 25px 25px 0px;
    background-color: #1976D2;
    padding: 0rem 3rem;
}
.search-select{
  position: absolute;
    top: 0;
    right: 5%;
    height: 100%;
    border: 0px;
    background: transparent;
    border-left: 1px solid #ccc;
    padding-left: .5rem;
}
#search-input.active{
    border-radius: 20px 20px 0px 0px;
}
#suggestion-close{
    text-align: right;
    cursor: pointer;
}
#suggestion-close svg{
    width: 20px;
    height: 20px;
}
.search-button svg {
    width: 18px;
    height: 18px;
    fill:currentColor;
}
.suggestions {
    border: 1px solid #ccc;
    background-color: white;
    position: absolute;
    z-index: 1000;
    left: 0; 
    margin: 0rem;
    text-align: left;
    width: 94.3%;
    padding: 1rem;
    border-radius: 0px 0px 20px 20px;
        height: 200px;
    overflow-y: scroll;
    /*visibility: hidden;*/
}
.search-camera{
  background: #f2f2f2;
    padding: 0rem 1rem;
    border-radius: 50px;
}
.p-1{
  padding: 1rem;
}
.faces-container {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        gap: 10px;
    }
.faces-container a{
  text-decoration: none;
}
    .face-card {
        display: flex;
        align-items: center;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 10px;
        min-width: 200px;
    }
.face-card:hover{
  background-color: #f1f1f1;
}
    .face-card img {
        height: 50px;
        width: 50px;
        object-fit: cover;
        border-radius: 4px;
        margin-right: 10px;
    }
    .face-card .face-name {
        font-size: 1rem;
        color: #000;
    }
.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}
#image-container{
    padding: 1rem 1rem 1rem 1rem;
    background-color: #000;
}
 #loader {
            display: none;
            text-align: center;
            font-size: 24px;
            margin-top: 20px;
        }
        
        .dimmed {
            opacity: 0.5; /* Halványabb megjelenés */
        }
        .dimmed a{
            pointer-events: none;
        }
        .disabled-button{
            position: absolute;
            top: 0;
            right: 0;
            display: none;
        }
        #image-container .item.disabled{
            filter: grayscale(100%);
        }
        .enabled-button{
            position: absolute;
            top: 0;
            right: 0;
            display: none;
        }
        .modal {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}
#modal-body{
    padding: 1rem;
    margin-top: 2rem;
    height: 100%;
    border-radius: 5px;
}
#modal-iframe{
    width: 100%; height: 100%; border: none; border-radius: 5px;
}

.modal.closing .modal-content {
    animation: slideDown 0.3s ease-out;
}
.p-0{
  padding: 0 !important;
}
.sub-search-bar{
  display: grid;
    grid-template-columns: 49% 49%;
    gap: 10px;
    margin: auto;
    padding-top: 10px;
    width: 600px;
}
.modal-content {
    background-color: #fff;
    margin: auto;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.close-button {
    margin: auto;
    margin-top: .1rem;
}
.close-button-container{
      position: fixed;
    top: 3%;
    right: 25%;
    background: #fff;
    border-radius: 50%;
    padding: .5rem;
    margin-right: .5rem;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}
.no-scroll {
  overflow: hidden;
}
.center{
  text-align: center;
}
.thumbnail{
      border-radius: 0px;
      max-width: 100%;
    }
    .container{
      text-align: center;
      width: 500px;
      max-width: 100%;
      margin: auto;
    }
    .text-end{
      text-align: right;
    }
    .text-start{
      text-align: left;
    }
    .face-list ul{
      text-align: left;
      list-style: none;
      padding: 0;
    }
    .text-blue{
      color: blue;
    }
    .mb-0{
      margin-bottom: 0rem;
    }
    .mb-2{
      margin-bottom: 2rem;
    }
    .mr-05{
      margin-right: .5rem;
    }
    li .profil-image{
      max-width: 100%;
      width: 50px;
      border-radius: 0px;
      margin-right: .5rem;
    }
    .grid-2{
      display: grid;
      grid-template-columns: 50% 50%;
    }
    .grid-1{
      display: grid;
      grid-template-columns: 100%;
    }
    #image-container{
      position: relative;
    }
    #output{
      display:none; 
      align-items: center;
        justify-content: center;
      background-color: white; 
      padding: 10px; 
      position: absolute; 
      border: 1px solid #ccc;
      list-style: none;
      text-align: left;
      margin: auto;
    }
    #output li {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
    }

    .gallery-images-information{
      background-color: #000;
      padding: 1rem;
      display: grid;
      grid-template-columns: 60% 40%;
    }

    .gallery-images-information h1{
      margin: 0px;
      color: #fff;
    }

    .gallery-images-information p,.gallery-images-information a{
      color: #fff;
    }

    .gallery-images-information img{
      max-width: 100%;
      max-height: 100%;
    }

    .upload-container{
            padding: 1rem 1rem 3rem 1rem;
            background-color: #fff;
        }
        .file-input-label {
          display: inline-block;
          padding: 20px;
          background-color: #dcdcdc;
          color: #333;
          cursor: pointer;
          border-radius: 5px;
          margin-bottom: 20px;
          width: 80%;
          padding: 0;
          line-height: 300px;
          height: 300px;text-align: center;
          border: 2px solid;
    border-style: dashed;
        font-family: 'geometrics-bold';
    font-size: 2rem;
        }

        .file-input {
          display: none;
        }
        .upload-button {
          
          
         
          margin-top: 20px;
        }

        #photoForm{
            width: 600px;
            margin: auto;
            text-align: center;
        }
        #progressWrapper{
            text-align: center;
            padding: 2rem 0rem;
            width: 100%;
        }
        #upload-photo-image-container{
            padding: 1rem 1rem 1rem 1rem;
            background-color: #000;
        }
        .preview-container {
            text-align: center;
            position: relative;
            max-width: 200px;
            margin: auto;
        }
        #imagePreview2{
          max-width: 200px;
        }
        .image-preview {
            width: 100%;
            height: auto;
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
            border-radius: 5px;
        }
        .loader {
          border: 5px solid #f3f3f3;
          border-radius: 50%;
          border-top: 5px solid #3498db;
          width: 12px;
          height: 12px;
          -webkit-animation: spin 2s linear infinite;
          animation: spin 2s linear infinite;
          margin:auto;
        }
        .search-face{
    background: #f2f2f2;
    padding: .5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    border-radius: 50px;text-align: center;
    font-family: 'geometrics-bold';
    min-height: 24px;
}
.search-face a{
      color: black;
    text-decoration: none;
}
.search-face svg{
      margin-bottom: -.5rem;
      margin-right: .5rem;
}
.search-face:hover{
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.fix-button{
  display: none;
  position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
}

.fix-button.show {
      display: block;
    }

.d-block{
  display: block!important;
}

#full-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 64, 66, .95); /* Szürke háttér */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Magas z-index, hogy az egész oldal fölé kerüljön */
}
#full-screen-loader iframe{
  width: 80px;
  height: 80px;
  border: 0px;
}

/* Loader tartalom (ikon és szöveg) */
.loader-content {
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Az ikon és szöveg közötti távolság */
    color: white;
    font-size: 20px;
    display: block;
}
.loader-content img{
    animation: pulse 2s infinite;
}
/* Szöveg megjelenése */
.loader-content span {
    font-weight: bold;
    color: #d6cd81;
}

.loader-content p{
  color: #d6cd81;
    margin-top: 0rem;
}

#scanner-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Kép, amelyet szkennelünk */
#scanned-image {
    max-width: 100%;  /* A kép szélessége */
    height: auto;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  border-radius: 5px;
}

/* Scanner animáció */
.scanner{
      width: 100%;
    margin: auto;
    background: #fff;
    text-align: center;
    display: none;
    padding: 2rem 0rem 2rem 0rem;
}
#scanner {
    position: absolute;
    top: 0px;  /* A scanner kezdőpozíciója */
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #3498db;
    animation: scan 4s linear infinite;  /* 480s = 8 perc */
}

/* Loader konténer */
#scanner-loader-container {
    width: 100%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    margin: auto;
    text-align: left;
}

/* Progress bar */
#scanner-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #3498db;
    border-radius: 5px;
    margin-bottom: .5rem;
    border:1px solid #3498db;
}
#scanner-progress-percent{
  display: block;
}

.scanner svg{
      margin-bottom: -.55rem;
    margin-right: .5rem;
}

progress::-webkit-progress-bar {background-color: #3498db; width: 100%;}
progress {background-color: #3498db;}

/* value: */
progress::-webkit-progress-value {background-color: green !important;}
progress::-moz-progress-bar {background-color: green !important;}
progress {color: green;}

.dots {
    width: 60px;
  aspect-ratio: 4;
  clip-path: inset(0 100% 0 0);
  animation: l1 1s steps(4) infinite;
}
.left-arrow-pagination{
  position: fixed;
  top: 50%;
  left: 25%;
      background: #fff;
    border-radius: 50%;
    padding: .5rem;
    margin-left: .5rem;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}
.left-arrow-pagination svg{
      margin: auto;
    margin-top: .1rem;
    width: 25px;
    height: 25px;
}
.right-arrow-pagination{
  position: fixed;
  top: 50%;
  right: 25%;
      background: #fff;
    border-radius: 50%;
    padding: .5rem;
    margin-right: .5rem;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}
.right-arrow-pagination svg{
      margin: auto;
    margin-top: .1rem;
  width: 25px;
    height: 25px;
}
#search-container hr{
  display: none;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.95);
    }
}
/* Készítünk egy animációt, amely folyamatosan bővíti és csökkenti a pontok számát */
@keyframes l1 {to{clip-path: inset(0 -34% 0 0)}}

/* Scanner mozgás animációja */
@keyframes scan {
    0% {
        top: 0px;  /* Kezdő pozíció */
    }
    50% {
        top: 100%;  /* Az alsó pozíció */
    }
    100% {
        top: 0px;  /* Vissza az induló pozícióba */
    }
}
        @-webkit-keyframes spin {
          0% { -webkit-transform: rotate(0deg); }
          100% { -webkit-transform: rotate(360deg); }
        }

        @keyframes spin {
          0% { transform: rotate(0deg); }
          100% { transform: rotate(360deg); }
        }

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0%);
    }
    to {
        transform: translateY(100%);
    }
}

@media only screen and (max-width: 768px) {
  .file-input-label {

            font-size: 20px;
          }

          .upload-button {
            width: 80%;
          }
          #photoForm{
            width: 100%;
          }

.search-row{
  width: -webkit-fill-available;
  padding: 1rem;
}
.close-button-container{
  right:0;
}
.suggestions {
  width: 94.5%;
  margin: 0;
  padding: 1rem 0.5rem;
}
.masonry{
  display: block;
}
#image-container .item,#upload-photo-image-container .item{
  padding: .5rem 0rem;
  height: auto;
  max-width: 100%;
}
.disabled-button{
  top: 8px;
}
.enabled-button{
  top: 8px;
}
.logo{
  font-size: 1rem;
}
.menu li a{
  font-size: 1rem;
}

#gallery-container {
  grid-template-columns: 1fr;
}
#gallery-container .item {
  height: 100%;
  flex: 100%;
  max-width: 100%;
}
.search-select{
  right: 1%;
}
.gallery-images-information{
  grid-template-columns: 100%;
}
.upload-photo-header{
  display: block;
}
.upload-photo-header .search-title{
  margin-left: 0;
}
.gallery-images-cover-image{
  display: none;
}
.sub-search-bar{
  grid-template-columns: 100%;
          width: -webkit-fill-available;
}
.search-events{
  height: 42px;
}
#search-container hr{
  width: 100%;
  display: block;
}
#end-of-content .text-ai{
  width: 80%;
}
.search-face-button{
  width: 80%;
  margin: auto;
}
#search-input{
  height: 8px;
  padding: 1rem 6rem 1rem 1rem;
}
 .search-button {
    padding: 0rem 2rem;
}
.image-popup-modal #modal-body{
  margin-top: 3rem;
}
.image-popup-modal .left-arrow-pagination{
  left: 0%;
  width: 20px;
  height: 20px;
}
.image-popup-modal .left-arrow-pagination svg{
  width: 15px;
  height: 15px;
}
.image-popup-modal .right-arrow-pagination{
  right: 0%;
  width: 20px;
  height: 20px;
}
.image-popup-modal .right-arrow-pagination svg{
  width: 15px;
  height: 15px;
}
.scanner-infobar{
  width: 300px;
}
#scanner-image-container {
    padding: 1rem;
}
#image-container .item img, #upload-photo-image-container .item img{
  height: 100%;
}
}