/* הCSS המקורי עם תוספות מינימליות */

#video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background-color:transparent;
}

#video-iframe.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}
 
 @media only screen and (max-width: 768px) {
  #menu-toggle-btn {
    font-size: 30px;
    color: white;
    transition: transform 0.3s ease-in-out;
  }
  #menu-toggle-btn.menu-open {
    transform: rotate(45deg);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Assistant', sans-serif;
    color: #fff; /* Change text color to white */
    position: relative;
    min-height: 100%;
    background-color: #000; /* Change background color to black */
    opacity: 1;
transition: opacity 0.5s ease-in-out;
background-color: transparent;

}


body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.5;
    
}
body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1;
    opacity: 1; /* Add 50% transparency */
}

.fade-out {
  animation: fadeOut 1s;
  opacity: 0;
  pointer-events: none;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-in {
  animation: fadeIn 1s;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* הוספה: אנימציה לloading */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

iframe {
  transform: scale(1);
  transform-origin: 0 0;
  background-color: transparent;
}


.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-video video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#filter-wrapper {
  position: fixed;
  top: 10%;
  right: 13%;
  z-index: 10;
}
#filter-toggle {
  position: fixed;
  top: 11%;
  right: 9%;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}
#filter-toggle:hover {
  color: orange;
}

#filter-container {
  position: fixed;
  top: 10%; /* change this value to place the filter buttons below the filter toggle */
  right: 13%;
  flex-direction: row;
  padding: 10px;
  border-radius: 5px;
  z-index: 5;
  align-items: center;
visibility: hidden;
opacity: 0;
transition: opacity 0.3s, visibility 0.3s;
}

#filter-container button {
  display: block;
  background-color: transparent;
  color: white;
  border: none;
  padding: 8px 16px;
  margin: 5px;
  cursor: pointer;
  transition: color 0.3s;
  font-size: 18px;
}


@media screen and (max-width: 768px) {
  #filter-container {
    top: 10%; /* added to make the container position responsive */
  }

  #filter-container button {
    display: none;
  }
  #filter-toggle{
    display: none;

  }
}

#filter-container button.reset {
  background-color: orange;
  color: white;
  font-weight: bold;
}

#filter-container button:hover {
  color: orange;
}

#grid-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 17px;
  grid-auto-flow: dense;
  padding: 10px;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 13%; /* adjust this value to control the space between the filter buttons and the grid container */
  margin-bottom: 25%;
  transition: opacity 0.2s;
}

@media screen and (max-width: 768px) {
  #grid-container {
    margin-top: 30%;
    grid-gap: 10px;
  }
}


.grid-item {
position: relative;
}
.grid-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s, filter 0.3s;
filter: saturate(0%);
border-radius: 10px;
}

.grid-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.2);
  filter:saturate(100%);
}


.grid-item h3 {
position: absolute;
bottom: 10px;
left: 10px;
color: white;
background-color: rgba(0, 0, 0, 0.5);
padding: 5px 10px;
border-radius: 5px;
margin: 0;
opacity: 0;
transition: opacity 0.2s;
}

.grid-item:hover h3 {
opacity: 1;
} 



.grid-item.small {
  width: 100%;
}

.grid-item.medium {
  width: 100%;
}

.grid-item.large {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .grid-item.small,
  .grid-item.medium,
  .grid-item.large {
    width: calc(50% - 10px);
  }
}

@media screen and (max-width: 480px) {
  .grid-item.small,
  .grid-item.medium,
  .grid-item.large {
    width: calc(100% - 10px);
  }
}

/* ===============================
   VIDEO MODAL - עיצוב אלגנטי ומודרני
   =============================== */

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal.show {
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: backdrop-filter 0.4s ease;
}

.modal-content {
  position: relative;
  width: 85%;
  max-width: 1100px;
  height: 75%;
  margin: 6% auto;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 119, 34, 0.2);
  border-radius: 16px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.video-modal.show .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 22px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
  background: #ff7722;
  color: white;
  border-color: #ff7722;
  transform: scale(1.05);
  box-shadow: 
    0 6px 25px rgba(255, 119, 34, 0.4),
    0 0 0 4px rgba(255, 119, 34, 0.1);
}

.modal-close:active {
  transform: scale(0.98);
}

.modal-body {
  display: flex;
  height: 100%;
  gap: 24px;
  padding: 24px;
}

.video-container {
  flex: 2.2;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#modal-video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-info::-webkit-scrollbar {
  width: 8px;
}

.video-info::-webkit-scrollbar-track {
  background: transparent;
}

.video-info::-webkit-scrollbar-thumb {
  background: rgba(255, 119, 34, 0.3);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-info:hover::-webkit-scrollbar-thumb {
  opacity: 1;
}

.video-info::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 119, 34, 0.6);
}

.video-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: right;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .modal-content {
    width: 94%;
    height: 88%;
    margin: 3% auto;
    border-radius: 12px;
  }
  
  .modal-body {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  
  .video-container {
    height: 55%;
    border-radius: 8px;
  }
  
  .video-info {
    height: 45%;
    padding: 20px 16px;
    border-radius: 8px;
  }
  
  .video-title {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 12px;
  }
  
  .video-description {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.6;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

/* ===============================
   סקרולבר אלגנטי שנעלם
   =============================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 119, 34, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

body:hover ::-webkit-scrollbar-thumb,
body.scrolling ::-webkit-scrollbar-thumb {
  background: rgba(255, 119, 34, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 119, 34, 0.7) !important;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 119, 34, 0.3) transparent;
}



.side-menu {
    list-style-type: none;
    position: fixed;
    bottom: 2%;
    left: 50%;
    transform: translateX(-100%);
    padding: 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.0);
    box-shadow: none;
    z-index: 3000;
    display: flex;
    flex-direction: row;
    width: auto;
    font-size: 110%;
}
@media screen and (max-width: 768px) {
  .side-menu {
      display: none;
  }
  }
.side-menu li {
    padding-top: 10%;
    padding-bottom: 10%;
    padding-left: 25%;
    padding-right: 25%;
    margin-right: 15%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10%;
    margin-right: 10%;
}
.side-menu li a {
text-decoration: none;
color: #000;
}
.side-menu li:hover {
background-color: rgba(255, 255, 255, 0.9);
}
.side-menu li:not(:hover) a {
color: 'black'; 
}
.side-menu2 {
    list-style-type: none;
    position: fixed;
    top: 15%;
right: 10%;
padding: 0;
margin: 0px;
background-color: rgba(255, 255, 255, 0.0);
box-shadow: none;
z-index: 1;
display: flex;
flex-direction: column;
display: none;
}
.side-menu2 a {
  display: block;
  text-decoration: none;
  font-size: 24px; /* Increase font size */
  color: white; /* White text */
  margin-bottom: 1px; /* Increase space between links */
  transition: color 0.3s ease-in-out; /* Add transition effect */
}
.side-menu2 a:hover {
  color:orange; /* Add white glow effect */
}
.side-menu2 li {
padding: 10px;
margin-bottom: 10px;
text-align: center;
background-color: rgba(0, 0, 0, 0); /* Remove background color */
border-radius: 0; /* Remove border-radius */
}
.side-menu2 li a {
text-decoration: none;
color: white;
}
.side-menu2 li:hover {
background-color: rgba(0, 0, 0, 0); /* Remove background color on hover */
}
.side-menu2 li:not(:hover) a {
color: white; 
}
@media screen and (min-width: 769px) {
  .side-menu2 {
    display: flex;
  }
}
.logo {
position: fixed;
top: 10px;
left: 10px;
z-index: 9999;
}
.logo a {
display: block;
width: 100px;
}

.logo img {
    width: 100%;
    height: 100%;
}

.logo2-container {
    display: grid;
    position: fixed;
    top: 2%;
    left: 0;
    width: 100%;
    height: 100px; /* הגובה של התמונה שלך */
    z-index: 5001;
}

.logo2 {
    margin: 0 auto;
    width: 150px; /* הרוחב של התמונה שלך */
}

.logo2 img {
    width: 100%;
}
.logo-text {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% / 6); /* Reduce the width by a factor of 6 */
}

.logo-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 40px);
    pointer-events: none;
    z-index: 1;
}
.social-links {
position: fixed;
bottom: 10px;
left: 10px;
display: flex;
flex-direction: column;
margin: 5px;
align-items: center;
z-index: 9999;
opacity: 0.6; /* הצמצום ההתחלתי */
}
@media screen and (max-width: 768px) {
  .social-links {
  flex-direction: row;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1; /* הצמצום ההתחלתי */
  }
  }
  
.social-links a {
margin-right: 10px;
color: white;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #788784;
transition: 0.3s;
opacity: 0.6; /* הצמצום כאשר העכבר מעל האלמנט */
margin-top: 8px;
margin-bottom: 8px;
}

.social-links img {
width: 30px;
height: 30px;
}

.social-links:hover {
opacity: 0.6; /* הצמצום כאשר העכבר מעל האלמנט */
}

.social-links a:hover {
transform: scale(1.1);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
opacity: 1; /* הצמצום כאשר העכבר מעל האלמנט */
}
.social-links i {
  font-size: 20px;
}
  .gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* הגובה של הגרדיאנט */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 20%);
    pointer-events: none;
    z-index: 5001;
}
.gradient-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* הגובה של הגרדיאנט */
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 15%);
    pointer-events: none;
    z-index: 5001;
}
@media screen and (max-width: 768px) {
  .gradient-overlay2 {
      background-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 20%);
  }
}
.info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.info-box h4,
.info-box p {
    margin: 0;
    color: white;
    z-index: 2;
}

.info-box-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
    transition: background-color 0.2s ease-in-out;
}

.grid-item:hover .info-box {
    opacity: 1;
}

.grid-item:hover .info-box-bg {
    background-color: rgba(0, 0, 0, 0.7);
}


.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

@media screen and (max-width: 768px) {
.side-menu2M {
opacity: 0;
visibility: hidden;
transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out;
pointer-events: none; /* Add this line */
}

  .side-menu2M-mobile {
    display: block;
    position: fixed;
    top: 15%;
    right: 7%;
    z-index: 9999;
  }

  
  .side-menu2M-mobile a {
    font-size: 24px;
    color: white;
  }

  .side-menu2M.open {
  visibility: visible;
  position: fixed;
  display: block;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  z-index: 9998;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 0.5s ease-in-out;
  pointer-events: auto; /* Add this line */
}
.side-menu2M a {
  display: block;
  text-decoration: none;
  font-size: 24px; /* Increase font size */
  color: white; /* White text */
  margin-bottom: 1px; /* Increase space between links */
  transition: text-shadow 0.3s ease-in-out, opacity 0.5s ease-in-out; /* Add transition effect */
  opacity: 0;
}

.side-menu2M.open a {
  opacity: 1;
}

.side-menu2M a:hover {
  text-shadow: 0 0 5px white; /* Add white glow effect */
}
.side-menu2M li {
  position: relative;
  top: 15%; /* Bring this line back */
  padding: 10px;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0); /* Remove background color */
  border-radius: 0; /* Remove border-radius */
  list-style-type: none; /* Remove bullet points */
}
.side-menu2M li a {
text-decoration: none;
color: white;
}
.side-menu2M li:hover {
background-color: rgba(0, 0, 0, 0); /* Remove background color on hover */
}
.side-menu2M li:not(:hover) a {
color: white; 
}
.menu-container {
  position: absolute;
  top: 5%;
  width: 100%;
}

}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  z-index: 9997;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}


.menu-toggle-button {
  display: none;
  position: fixed;
  top: 15%;
  right: 7%;
  z-index: 5001;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .menu-toggle-button {
    display: block;
  }
}

.mobile-button {
  position: fixed;
  top: 5%;
  left: 10%;
  z-index: 9999;
  display: none;
}
.mobile-button img {
  max-width: 30px;
  max-height: 30px;
}
@media screen and (max-width: 768px) {
    .mobile-button {
    display: block;
  }
}
.mobile-menu-postion {
    display: none;
}
@media screen and (max-width: 768px) {
    .mobile-menu-postion {
    display: block;
  }
}

.centered-content-godchild {
  position: absolute;
  text-align: justify;
  z-index: 4000;
  background: rgba(255, 255, 255, 0.5) url("img/godchildback/godchildback.png") no-repeat;
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
  direction: rtl;
  margin-top: 8%;
  margin-right: 8%;
  margin-left: 8%;

}

.centered-content-godchild  {
position: absolute;
text-align: justify;
z-index: 4000;
background: rgba(255, 255, 255, 0.5) url("img/godchildback/godchildback.png") no-repeat;
background-size: 100% auto;
background-position: 0 100%;
backdrop-filter: blur(5px);
padding: 20px;
border-radius: 10px;
direction: rtl;
margin-top: 8%;
margin-right: 8%;
margin-left: 8%;
}

.centered-content-godchild img { 
  width: 100%;
  height: 100%;
  max-width: 200px;
  top: 25%;
  margin-bottom: 1%;
  margin-right: 3%;
  margin-left: 3%;
  margin-top: 3%;
  border-radius: 5px;
  float: left;
  right: 75%;
  object-fit: cover;

}

@media screen and (max-width: 768px) {
.centered-content-godchild img {
    max-width: 100px;
}
}

@media screen and (max-width: 768px) {
footer {
height: 1100px;
}
}

.centered-content-godchild h1, .centered-content-godchild p {
margin: 0;
color: #000000;
}

.centered-content-godchild h1 {
font-size: 36px;
margin-bottom: 10px;
margin-right: 5%;
}

.centered-content-godchild p {
font-size: 22px;
margin-bottom: 1em;
margin-left: 5%;
margin-right: 5%;
}
.centered-content-godchild p:first-child {
margin-top: 0;
}
.centered-content-godchild a {
text-decoration: none;
  color: rgb(0, 0, 0);
}

#slideshow {
position: relative;
}

#slideshow img {

top: 0;
left: 0;
height: 100%;
width: 100%;
height: auto;
opacity: 0;
transition: opacity 1s ease-in-out;
object-fit: cover;
}

#slideshow img.showing {
opacity: 1;
object-fit: cover;
}

.centered-content-godchild .centered-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: opacity 1s ease-in-out;
opacity: 0;
object-fit: cover;

}

.centered-content-godchild .centered-img.showing {
opacity: 1;
object-fit: cover;
}



.centered-content {
  position: absolute;
  text-align: justify;
  z-index: 4000;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
  direction: rtl;
  margin-top: 8%;
  margin-right: 8%;
  margin-left: 8%;
}

.centered-content img { 
  width: 100%;
  height: 100%;
  max-width: 150px;
  top: 25%;
  border-radius: 50%;
  margin-bottom: 1%;
  margin-right: 3%;
  margin-left: 3%;
  margin-top: 3%;
  float: left;
  right: 75%;

}
@media screen and (max-width: 768px) {
  .centered-content img {
      max-width: 100px;
}
}

@media screen and (max-width: 768px) {
footer {
  height: 1100px;
}
}

.centered-content h1, .centered-content p {
  margin: 0;
  color: #000000;
}

.centered-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
  margin-right: 5%;
}

.centered-content p {
  font-size: 22px;
  margin-bottom: 1em;
  margin-left: 5%;
  margin-right: 5%;
}
.centered-content p:first-child {
  margin-top: 0;
}
.centered-content a {
  text-decoration: none;
    color: rgb(0, 0, 0);
}

.centered-content-shtinker {
position: absolute;
text-align: justify;
z-index: 4000;
background: rgba(255, 255, 255, 0.5) url("img/shtinker/ShtinkerProof.png") no-repeat;
background-size: 100% auto;
background-position: 0 100%;
backdrop-filter: blur(5px);
padding: 20px;
border-radius: 10px;
direction: rtl;
margin-top: 8%;
margin-right: 8%;
margin-left: 8%;
}


.centered-content-shtinker img { 
  width: 100%;
  height: 100%;
  max-width: 150px;
  top: 25%;
  border-radius: 50%;
  margin-bottom: 1%;
  margin-right: 3%;
  margin-left: 3%;
  margin-top: 3%;
  float: left;
  right: 75%;

}
@media screen and (max-width: 768px) {
  .centered-content-shtinker img {
      max-width: 100px;
}
}

@media screen and (max-width: 768px) {
footer {
  height: 1100px;
}
}

.centered-content-shtinker h1, .centered-content-shtinker p {
  margin: 0;
  color: #000000;
}

.centered-content-shtinker h1 {
  font-size: 36px;
  margin-bottom: 10px;
  margin-right: 5%;
}

.centered-content-shtinker p {
  font-size: 22px;
  margin-bottom: 1em;
  margin-left: 5%;
  margin-right: 5%;
}
.centered-content-shtinker p:first-child {
  margin-top: 0;
}
.centered-content-shtinker a {
  text-decoration: none;
}

  .icon {
    margin-right: 8px;
  }
  @media screen and (max-width: 768px) {
  .centered-content {
  margin-top: 25%;
}
.centered-content p {
  font-size: 16px;
  margin-bottom: 1em;
}
}
.content-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 20px; /* Add some padding around the iframe */
  padding-top: 50px; /* Add distance from the top of the screen */
}

.content-container iframe {
  width: 70%; /* Set the iframe width to 70% of the screen */
  height: calc(100vh - 70px); /* Set the iframe height to fill the remaining vertical space */
  border: none; /* Remove the border */
}


@media screen and (max-width: 768px) {
  .content-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove the border */
  }
}

.content-container2 {
  position: fixed;
  width: 75%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 8%;
  border-radius: 20px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .content-container2  {
    width: 100%;
    margin-top: 30%;
  }
}


.content-container2 iframe {
  width: 100%; /* Set the iframe width to 70% of the screen */
  height: calc(100vh - 70px); /* Set the iframe height to fill the remaining vertical space */
  border: none; /* Remove the border */
}


@media screen and (max-width: 768px) {
  .content-container2 iframe {
    height: calc(100vh - 30%); /* שינוי הגובה של ה-iframe */
  }
}



.slideshow-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
}

#slideshow-toggle-btn {
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'Assistant', sans-serif;
}
.slideshow-btn {
  background-color: transparent;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 10px; /* Add this line to increase the clickable area */
}

@media only screen and (max-width: 768px) {
  .slideshow-btn {
    width: 60px;
    height: 60px;
  }
}

.slideshow-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-btn i {
  font-size: 24px;
  color: white;
}

.slideshow-btn:focus {
  outline: none;
}

@media screen and (max-width: 768px) {
  .slideshow-toggle {
      top: 3.5%;
      left: 82%;
      z-index: 9999;
  }
}

.slideshow-overlay {
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slideshow-overlay .slideshow-container {
  max-width: 100%;
  max-height: 100%;
}

.slideshow-overlay .slideshow-container .slide {
  max-width: 100%;
  max-height: 100%;
}



/* בלוג */
#blog {
max-width: 800px;
margin: 0 auto;
}

/* כותרת */
.blog-title {
font-size: 2rem;
margin-bottom: 1rem;
}

/* ספרים */
.blog-post {
margin-bottom: 2rem;
border: 1px solid #ccc;
padding: 1rem;
}

.blog-post h2 {
margin-top: 0;
}

.blog-post p {
margin-bottom: 0;
}


.modal {
display: none;
}

/* ========== תוספת למובייל בלוג - הוסף בסוף style.css ========== */

/* תמיכה במסך מלא למובייל - רק לבלוג */
@media screen and (max-width: 768px) {

/* בלוג מסך מלא במובייל */
body.mobile-fullscreen .content-container2 {
  position: fixed !important;
  width: 100vw !important;
  height: 100vh !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  z-index: 10000 !important;
}

body.mobile-fullscreen .content-container2 iframe {
  width: 100% !important;
  height: 100vh !important;
  border: none !important;
}

/* הסתרת אלמנטים כשהבלוג במסך מלא */
body.mobile-fullscreen .logo2-container,
body.mobile-fullscreen .mobile-button,
body.mobile-fullscreen .social-links,
body.mobile-fullscreen .gradient-overlay,
body.mobile-fullscreen .gradient-overlay2,
body.mobile-fullscreen .slideshow-toggle,
body.mobile-fullscreen .background-video {
  display: none !important;
}

/* כפתור חזרה במובייל - רק לבלוג */
.mobile-back-btn {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  z-index: 10001;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Assistant', sans-serif;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-back-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.mobile-back-btn:active {
  transform: translateY(0);
}

body.mobile-fullscreen .mobile-back-btn {
  display: block;
}

/* מניעת scroll באתר הראשי כשהבלוג פתוח במסך מלא */
body.mobile-fullscreen {
  overflow: hidden !important;
}

/* container מסך מלא במובייל - לlobby.php */
.mobile-fullscreen-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  z-index: 9999 !important;
}

.mobile-fullscreen-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

/* שיפור הקריאות במובייל */
body.mobile-fullscreen .loading-message,
body.mobile-fullscreen .error-message {
  font-size: 16px;
  padding: 30px 20px;
  margin: 20px;
  max-width: calc(100vw - 40px);
  z-index: 10002;
}

/* מניעת בעיות עם הscroll bar במובייל */
body.mobile-fullscreen::-webkit-scrollbar {
  display: none;
}

body.mobile-fullscreen {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* מניעת touch zoom במובייל */
body.mobile-fullscreen .content-container2 iframe {
  touch-action: manipulation;
}
}

/* שיפורים כלליים למסכים קטנים יותר */
@media screen and (max-width: 480px) {
.mobile-back-btn {
  top: 10px;
  right: 10px;
  padding: 8px 16px;
  font-size: 13px;
}

body.mobile-fullscreen .loading-message,
body.mobile-fullscreen .error-message {
  font-size: 14px;
  padding: 25px 15px;
  margin: 15px;
}
}

/* עדכון למעברים חלקים - רק אם לא מפריע לקיים */
.content-container2 {
transition: all 0.3s ease;
}

/* הבטחה שהתוספת לא מפריעה לעיצוב הקיים */
body:not(.mobile-fullscreen) .mobile-back-btn {
display: none !important;
}

/* תיקון אפשרי לבעיות z-index */
body.mobile-fullscreen .content-container2 {
z-index: 10000 !important;
}

body.mobile-fullscreen .mobile-back-btn {
z-index: 10001 !important;
}