 .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.box {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  width: 48%;
  min-height: 700px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  height: 700px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  filter: brightness(0.7); /* خفوت الإضاءة */
}

.box iframe {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 20px;
  pointer-events: none;
}

/* زر في وسط البوكس */
.view-btn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: green;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 2;
  transition: background-color 0.3s;
}

.view-btn-center:hover {
  background-color: #666;
}

  
  /* النص فوق الصورة */
  .code-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 173, 181, 0.85);
    color: white;
    padding: 5px 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    z-index: 2;
  }
  
 



  .cards-container {
    margin-top: 200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .card {
    background: linear-gradient(145deg, #1b1b1b, #111);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 173, 181, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #222;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 173, 181, 0.4);
  }
  
  .card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #00adb5;
  }
  
  .card p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 15px;
  }
  
  .card a {
    color: #00adb5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .card a:hover {
    color: #ffffff;
  }

h1{
    text-align: center;
    display: block;
    font-size: 50px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}



@media only screen and (max-width:1000px) and (min-width:1px) {
   .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.box {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  width: 70%;
  min-height: 500px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  height: 500px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  filter: brightness(0.7); /* خفوت الإضاءة */
}

.box iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 20px;
  pointer-events: none;
}

/* زر في وسط البوكس */
.view-btn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: green;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 2;
  transition: background-color 0.3s;
}

.view-btn-center:hover {
  background-color: #666;
}

  
  /* النص فوق الصورة */
  .code-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 173, 181, 0.85);
    color: white;
    padding: 5px 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    z-index: 2;
  }
  
 



  .cards-container {
    margin: auto;
    margin-top: 200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .card {
    background: linear-gradient(145deg, #1b1b1b, #111);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 173, 181, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #222;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 173, 181, 0.4);
  }
  
  .card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #00adb5;
  }
  
  .card p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 15px;
  }
  
  .card a {
    color: #00adb5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .card a:hover {
    color: #ffffff;
  }

h1{
    text-align: center;
    display: block;
    font-size: 50px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}
}
