@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300&family=Permanent+Marker&family=Poppins&family=Secular+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

html {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}
  
body {
    color: rgb(202, 202, 202);
    background: linear-gradient(to right, rgb(0, 0, 0), rgb(2, 20, 59));
    /* background-image: url('israel-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

#vid {
    width: 80%;
    margin: 1em;
    border-radius: 10px;
}

#hero-image {
    width: 80vw;
}

#logo {
    display: flex;
    align-items: center;
}


#logo img {
    vertical-align: middle;
    margin-right: 20px;

}

#logo a {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-family: 'Poppins'
}

#logo a:hover {
    color: goldenrod;  /* or any color you prefer */
    transition: color 0.3s ease;  /* optional */
}



.justified-text {
    text-align: center;
    direction: rtl;
  }
  

.container {
    width: 100%;
    margin: 0 auto;
  }

.huge-text {
    font-size: 48px;
    text-align: center;
  }

.medium-text {
font-size: 26px;
text-align: center;
direction: rtl;
}

.feature h3 {
    font-size: 22px;
    text-align: center;
    direction: rtl;
}

#header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    direction: rtl;
  }

  .age-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .center-button2 {
    margin-top: 1em;
    margin-bottom: 1em;
    width: auto;  /* Changed to auto for natural width */
    height: auto;  /* Changed to auto for natural height */
    padding: 10px 20px;  /* Adjust as needed */
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 1000;
    color: rgb(255, 255, 255);
    transition: all 0.3s ease-in-out; /* Add transition */
    box-shadow: none; /* Initial state: No glow */
    margin-top: 3em;
    margin-bottom: 3em;
    /* border-radius: 10px; */
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
    background: red
;}

.center-button2:hover {
    color: rgb(255, 0, 0);
    cursor: pointer;
    transform: scale(1.1);  /* Add transform change */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add glow on hover */
    background: linear-gradient(to top right, rgb(192, 192, 192), rgb(0, 0, 46)); /* Adjust colors as needed */
}


  
  .center-button {
    width: auto;  /* Changed to auto for natural width */
    height: auto;  /* Changed to auto for natural height */
    padding: 10px 20px;  /* Adjust as needed */
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 1000;
    color: rgb(201, 201, 201);
    transition: all 0.3s ease-in-out; /* Add transition */
    box-shadow: none; /* Initial state: No glow */
    margin-top: 3em;
    margin-bottom: 3em;
    /* border-radius: 10px; */
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(to top right, rgb(90, 90, 90), rgb(0, 0, 46)); /* Adjust colors as needed */
}

.center-button:hover {
    color: rgb(255, 255, 255);
    cursor: pointer;
    transform: scale(1.1);  /* Add transform change */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add glow on hover */
    background: linear-gradient(to top right, rgb(192, 192, 192), rgb(0, 0, 46)); /* Adjust colors as needed */
}

h1, h2, h3, p {
    text-align: center;
    direction: rtl;
}

h1 {
    font-family: 'Secular One', sans-serif;
    color: aliceblue;
}

a {
    text-decoration: none;
    color: white;
}

#features {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .feature {
    width: 350px;
    height: auto;
    margin: 0px auto;
    overflow: auto;
    overflow-wrap: break-word;
    margin-bottom: 2em;
    padding-bottom: 1em;
    background: linear-gradient(to top right, rgb(66, 66, 66), rgb(0, 0, 37)); /* Adjust colors as needed */
    /* border-radius: 20px; */
    padding: 10px;
    color: #a1a1a1;
    transition: transform 0.3s ease-in-out; /* Update transition for transform */
  }

  .feature h3{
    color: rgb(214, 213, 213);
  }
  
  
  .feature:hover {
    color: rgb(255, 255, 255);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add glow on hover */
    background: rgb(209, 209, 209);
    transform: scale(1.1); /* 1.1 means it will zoom in to 110% */
    background: linear-gradient(to top right, rgb(190, 190, 190), rgb(0, 0, 63)); /* Adjust colors as needed */
  }
  

  .feature img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 20px auto; /* Centers the image and adds spacing */
    display: block; /* Required for margin auto to work */
  }
  
  .centered-container {
    font-size: 15px;
  }

  #use-leonardo {
    text-align: center;
  }
  

  .red-text {
    color: red;
  }

  .yellow-text {
    color: yellow;
  }

  .iframe-container {
    text-align: center;
  }
  
  .iframe-container iframe {
    margin: auto;
    display: inline-block;
  }
  
  
  .centered-image {
    width: 85vw;
    border-radius: 15px;
    margin: 1em;
  }

/* CSS for Hamburger Menu */
.menu-icon div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
  }
  
  nav {
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    background-color: rgba(51, 51, 51, 0.2);
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    backdrop-filter: blur(15px);
    background: rgba(1, 4, 49, 0.671);
  }
  
  
  /* Initially hide the menu */
  .nav-links ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    direction: rtl;
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(5px);
    background-color: rgba(51, 51, 51, 0.2);
  }

  #launch-button {
    background-color: blue;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#launch-button:hover {
    background-color: darkblue;
}


  
  .nav-links ul li {
    margin: 15px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;

  }

  .nav-links ul li a:hover {
    color: goldenrod;  /* Change to the color you want */
  }
  
  .menu-icon.open div:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }
  .menu-icon.open div:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.open div:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }
  
/* Gallery Styles */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .gallery-item {
    width: 350px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 2em;
    padding: 10px;
    background: linear-gradient(to top right, rgb(66, 66, 66), rgb(0, 0, 37)); /* Adjust colors as needed */
    transition: transform 0.3s ease-in-out;
  }
  
  .gallery-item:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add glow on hover */
    transform: scale(1.1); /* 1.1 means it will zoom in to 110% */
    background: linear-gradient(to top right, rgb(190, 190, 190), rgb(0, 0, 63)); /* Adjust colors as needed */
  }
  
  .gallery-item img, .gallery-item video {
    width: 100%;
    height: 300px;
  }
  
  /* Blurred by default */
  .blurred {
    filter: blur(10px);
  }

  #search-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

#searchInput {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#typeSelector {
    width: 25%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


@media screen and (min-width: 960px) {
    .container {
        width: 1180px;
    }

    #features {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .feature {
        width: 300px;
        height: 350px;
        margin: 1em;
      }

      .huge-text {
        font-size: 82px;
        text-align: center;
        padding: 0;
        margin: 0;
      }

    .justified-text {
        text-align: center;
        text-justify: inter-word;
        direction: rtl;
        width: 960px;
        padding: 0;
        margin: 0;
    }

    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background-color: transparent;  /* Add this line */

      }
    
      #logo {
        flex: 0 0 30%; /* Allocate 30% of space */
        background-color: transparent;  /* Add this line */

      }
    
      .nav-links {
        flex: 0 0 70%; /* Allocate 70% of space */
        position: static;
        width: 100%;
        background-color: transparent;  /* Add this line */

      }
    
      .nav-links ul {
        display: flex;
        flex-direction: row;
        background-color: transparent;  /* Add this line */

      }
    
      .nav-links ul li {
        margin-right: 40px;
        background-color: transparent;  /* Add this line */

      }
    
      .menu-icon {
        display: none;
        background-color: transparent;  /* Add this line */

      }

      #hero-image {
        width: 400px;
        height: 400px;
    }
    
    .justified-text-about {
        text-align: justify;
        direction: rtl;
        width: 960px;
        padding: 0;
        margin: 0;
    }
}