*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}
body{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

#menu{
    transition: 0.6s;
}
.sidemenu{
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 0px;
    background-color: green;
    z-index: 1;
    padding-top: 100px;
    overflow: hidden;
    transition: all 0.3s;
}
.sidemenu a{
    margin-bottom: 10px;
    text-align: center;
    padding: 4px;
    font-size: 20px;
    color: white;
    display: block;
}
.sidemenu a:hover{
    transform: 0.2s;
    color: black;
}
.sidemenu .closebtn{
    color: white;
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 30px;
}
#mainbox{
  width: 35px;
  margin-left: 30px;
  cursor: pointer;
  font-size: 30px;
  color: white;
  float: left;
    
}

header{
    height: 50px;
    background-color: green;
}

.a2{
    padding: 10px;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    float: right;
    margin-right: 50px;
    color: white;
    margin-top: 5px;
}
.a2:hover{
    transform: 0.2s;
    background-color: rgb(77, 73, 73);
    border-radius: 5px;
}
.h1{
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 200px;
    float: right;
}
.a1{
    float: right;
    margin-right: 270px;
}
footer{
    margin-top: 500px;
    height: 100px;
    background-color: green;

}
.a4{
    padding: 10px;
    top: 0;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    float: right;
    margin-right: 50px;
    color: white;
    margin-top:20px;
    
}
.a4:hover{
    transform: 0.2s;
    background-color: rgb(77, 73, 73);
    border-radius: 5px;
}
.a5:hover{
    transform: 0.2s;
    background-color: rgb(77, 73, 73);
    border-radius: 5px;
    margin-top:15px;
}
.a3{
    margin-right: 450px;
}
.h2{
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 200px;
    float: right;
    margin-top: 20px;
}
/*
/* From Uiverse.io by LeCurry24 */ 
.card {
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/hunter1.jpg");
    background-size: 100% 100%;
  }

  /**/
  /* From Uiverse.io by gharsh11032000 */ 
.card {
    position: relative;
    width: 280px;
    height: 370px;
    background-color: #f2f2f2;
    border-radius: 10px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block

  }
  
  .card svg {
    width: 48px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
  }
  
  .card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .card:hover .card__content {
    transform: rotateX(0deg);
  }
  
  .card__title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
    display: block;
    padding-bottom: 50px;
  }
  
  .card:hover svg {
    scale: 0;
  }
  .card__p{
    color: black;
    ;
  }
  
  .card__description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
  }
    /*solo*/
.card1{
        --bg-card: #27272a;
        --primary: green;
        --primary-800: #4c1d95;
        --primary-shadow: #2e1065;
        --light: #d9d9d9;
        --zinc-800: #18181b;
        --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        width:300px;
        height: 400px;
        background-color: var(--bg-card);
        border-radius: 15px;
        margin-top: 20px;
        margin-left: 10px;
        text-align: center;
        background-image: url("https://animemh.com/img/sungs1.jpg ");
        background-size: 100% 100%;
}
.card1 {
        position: relative;
        width: 280px;
        height: 370px;
        background-color: #f2f2f2;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        perspective: 1000px;
        box-shadow: 0 0 0 5px #ffffff80;
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: inline-block
        
}
    
.card1 svg {
    width: 48px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
      
.card1:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
      
.card1__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      }
      
.card1:hover .card__content {
    transform: rotateX(0deg);
}
/** s2/
/*solo*/
.card2{
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/sungs2.jpg");
    background-size: 100% 100%;
}
.card2 {
    position: relative;
    width: 280px;
    height: 370px;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block
}

.card2 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.card2:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
  
.card2__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
.card2:hover .card__content {
transform: rotateX(0deg);
}
/** /
/*naruto*/
.card3{
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/narutof.jpg");
    background-size: 100% 100%;
}
.card3{
    position: relative;
    width: 280px;
    height: 370px;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block
}

.card3 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.card3:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
  
.card3__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
.card3:hover .card__content {
transform: rotateX(0deg);
}
/** /
/*boruto*/
.card4{
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/naruto.jpg");
    background-size: 100% 100%;
}
.card4{
    position: relative;
    width: 280px;
    height: 370px;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block
}

.card4 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.card4:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
  
.card4__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
.card4:hover .card__content {
transform: rotateX(0deg);
}
/*film hunter*/
.card5{
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/hunter2.jpg");
    background-size: 100% 100%;
}
.card5{
    position: relative;
    width: 280px;
    height: 370px;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block
}

.card5 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.card5:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
  
.card5__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
.card5:hover .card__content {
transform: rotateX(0deg);
}
/**/
/*jujitsu kaisen 1*/
.card6{
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/jujitsou.jpg");
    background-size: 100% 100%;
}
.card6{
    position: relative;
    width: 280px;
    height: 370px;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block
}

.card6 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.card6:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
  
.card6__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
.card6:hover .card__content {
transform: rotateX(0deg);
}
/**/
/*dragon ball*/
.card7{
    --bg-card: #27272a;
    --primary: green;
    --primary-800: #4c1d95;
    --primary-shadow: #2e1065;
    --light: #d9d9d9;
    --zinc-800: #18181b;
    --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    width: 300px;
    height: 400px;
    background-color: var(--bg-card);
    border-radius: 15px;
    margin-top: 20px;
    margin-left: 10px;
    text-align: center;
    background-image: url("https://animemh.com/img/daragon.jpg");
    background-size: 100% 100%;
}
.card7{
    position: relative;
    width: 280px;
    height: 370px;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block
}

.card7 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.card7:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
  
.card7__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
.card7:hover .card__content {
transform: rotateX(0deg);
}
/*sakamoto days*/
.card8{
  --bg-card: #27272a;
  --primary: green;
  --primary-800: #4c1d95;
  --primary-shadow: #2e1065;
  --light: #d9d9d9;
  --zinc-800: #18181b;
  --bg-linear: linear-gradient(0deg, var(--primary) 50%, var(--light) 125%);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  width: 300px;
  height: 400px;
  background-color: var(--bg-card);
  border-radius: 15px;
  margin-top: 20px;
  margin-left: 10px;
  text-align: center;
  background-image: url("https://animemh.com/img/sakamoto.jpg");
  background-size: 100% 100%;
}
.card8{
  position: relative;
  width: 280px;
  height: 370px;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff80;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block
}

.card8 svg {
width: 48px;
fill: #333;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card8:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card8__content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 20px;
box-sizing: border-box;
background-color: #f2f2f2;
transform: rotateX(-90deg);
transform-origin: bottom;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card8:hover .card__content {
transform: rotateX(0deg);
}
/**/      
  .image_container {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 80%;
    background-color: var(--primary-800);
    border-radius: 0.5rem;
    background-image: url("https://animemh.com/img/Killua\ &\ Gon.jpg") ;
    background-size: 100% 100%;
  }
.image_container .image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    fill: var(--light);
  }
  .title {
    overflow: clip;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    text-transform: capitalize;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
.f1{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: white;
    font-size: 20px;
    width: 270px;
    background-color: green;
    border-radius: 15px;
}
.f1:hover{
    transition: 0.3s;
    background-color: white;
    color: black;
}
/**/
.group {
  display: flex;
  line-height: 20px;
  align-items: center;
  position: relative;
  max-width:20px;
}

.input {
  font-family: "Montserrat", sans-serif;
  width: 200px;
  height: 20px;
  padding-left: 2.5rem;
  box-shadow: 0 0 0 1.5px #2b2c37, 0 0 25px -17px #000;
  border: 0;
  border-radius: 12px;
  background-color: #16171d;
  outline: none;
  color: white;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: text;
}
.d2{
    margin-left: 80px;
    width: 200px;
    margin-bottom: 50px;
    
}
/**/


/* From Uiverse.io by leerepublik */ 
.input {
  width: 100%;
  max-width: 100%;
  height: 45px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid lightgrey;
  outline: none;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0px 0px 20px -18px;
}

.input:hover {
  border: 2px solid lightgrey;
  box-shadow: 0px 0px 20px -17px;
}

.input:active {
  transform: scale(0.95);
}

.input:focus {
  border: 2px solid grey;
}
.d10{
  height: 90px;
  margin-top: 40px;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 0;
}
cards{
  margin-right: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 0 auto; /* يضمن أن الصفحة تكون متمركزة مع هوامش متساوية على الجانبين */
  max-width: 1200px; /* يمكنك تعديل القيمة حسب احتياجاتك */
  padding: 0 20px;
}
.s1{
  display: none;
}
.p3{
  background-color: gray;
  color: white;
  text-align: center;
}

@media (max-width:1200px) {
  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
    width:auto;
  }
}
@media (max-width: 1014px){
  header {
    height: auto;
    padding: 10px;  
  }
  .a1, .a2, .a3, .a4, .a5 {
    float: none;
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  .h1, .h2 {
    float: none;
    text-align: center;
    margin: 10px auto;
  }
  footer {
    margin-top: 200px;
    height: auto;
    padding: 20px;
  }

  .a4, .a5 {
    margin-right: 0;
    margin-top: 10px;
  }

  .a3 {
    margin-right: 0;
  }
  .p {
    width: 100%;
    padding: 5px;
}

  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
    width:auto;
  }
}
/* تنسيقات للأجهزة المحمولة */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 10px;  
  }

  .a1, .a2, .a3, .a4, .a5 {
    float: none;
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  .h1, .h2 {
    float: none;
    text-align: center;
    margin: 10px auto;
  }

  #mainbox {
    margin-left: 10px;
    font-size: 25px;
  }


  .sidemenu .a2 {
    font-size: 18px;
  }

  .background-image {
    height: 50vh;
  }

  
  footer {
    margin-top: 100px;
    height: auto;
    padding: 20px;
  }

  .a4,.a5{
    margin-right: 0;
    margin-top: 10px;
  }

  .a3 {
    margin-right: 0;
  }
  .p {
    width: 100%;
    padding: 5px;
}
.background-image {
  height: auto;
  z-index: 0;
}
.cards{
  margin-right: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
  width: auto;
}

}
@media  (max-width:700px){
  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
    width:auto;
  }
}
@media  (max-width:550px){
  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
    width:auto;
  }
}
@media  (max-width:350px){
  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
    width:auto;
  }
}
@media  (max-width:250px){
  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7,.card8{
    width:auto;
  }
  .h1,.h2{
    font-size: 18px;
  }
}
@media (min-width:1014px) {
  header{
    background-color: green;
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 2;
    top: 0;
}

}
/* تنسيق للكروت الخاصة بالأجهزة الكبيرة فقط */
@media (min-width: 1200px) {

  cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    
  }
  .card,.card1,.card2,.card3,.card4,.card5,.card6,.card7 ,.card8 {
      width: auto;
      height: 400px;
      margin-top: 30px;
      margin-left: 20px;
      text-align: center;
  }
      .cards{
        margin-right: 10px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
      }

  }

  /* تعديل عرض ال cards بحيث يتم ترتيبها بشكل منظم أكثر في الأعمدة */
  .card, .card1, .card2, .card3, .card4, .card5, .card6, .card7 ,.card8{
      background-size: cover;
      background-position: center;
  }

  /* تعديل تأثير hover ليكون أكثر وضوحًا */
  .card:hover,.card1:hover,.card2:hover,.card3:hover,.card4:hover, .card5:hover,.card6:hover,.card7:hover,.card8:hover {
      transform: scale(1.1);
      box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
  }

  .card__content,.card1__content,.card2__content,.card3__content,.card4__content, .card5__content,.card6__content,.card7__content ,.card8__content{
      padding: 30px;
      font-size: 18px;
  }

  /* تعديل الحواف للأزرار والأيقونات */
  .card svg, .card1 svg, .card2 svg, .card3 svg, .card4 svg, .card5 svg, .card6 svg, .card7 svg,.card8 svg {
      width: 60px;
  }
  .input{
    width: 300px;
    float: none;
    margin-bottom: 20px;
  }


@media (min-width:100px) {
  /* تعديل عرض ال cards بحيث يتم ترتيبها بشكل منظم أكثر في الأعمدة */
  .card, .card1, .card2, .card3, .card4, .card5, .card6, .card7 ,.card8{
    background-position: center;
}
}

@media (min-width:1500px){
  .cards{
    margin-right: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }

    footer{
      margin-top: 1050px;
    }
}
@media (min-width:2000px){
body {
  margin: 0 auto; /* يضمن أن الصفحة تكون متمركزة مع هوامش متساوية على الجانبين */
  max-width: 1200px; /* يمكنك تعديل القيمة حسب احتياجاتك */
  padding: 0 20px;
}
.cards{
  margin-right: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
}