body {
   
  background-size: cover;
  background-color: #f3f1f133;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  /*-webkit-transform: scale(0.90);
       -moz-transform: scale(0.90);
            transform: scale(0.90);
/*
transform: scale(0.9);*/
text-align: center !important;
}
.container {
  
  width: 900px;
  height: 550px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0px;
  margin: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-template-rows: 1fr;
  grid-gap: 10px;
}

.image-box {
  flex: 1;

  background-size: cover;
}
.items {
  
  border-radius: 5px;
  display: grid;
  grid-template-rows: 2fr 1fr;
  grid-gap: 10px;
  cursor: pointer;
  border: 3px dotted rgb(0, 88, 5);
  transition: all 0.6s;
}

.icon-wrapper, .project-name {

  display: flex;
  align-items: center;
  justify-content: center;
}



.hidden-paragraph {
  display: none;
}

.hidden-paragraph:hover {
  display: block;
}

.project-name {
  align-self: start;
}

.project-name p {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #221f1c;
  transform: translateY(0px);
  transition: all 0.5s;
}

.items:hover {
  border: 3px solid #E5E6F1;
}
.items:hover .project-name p {
  transform: translateY(-10px);
}
.items:hover .icon-wrapper i {
  transform: translateY(5px);
}
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: rgba(0,0,0,0);
}

X{
  
  display:block;
  background-color: #ccc;
  color: #000;
  text-decoration:none;
  padding:10px;
  margin-bottom:0px;
}
X:hover {
  background-color: #ddd;
}


.cards-list {
  z-index: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.card-listnowrap {
  z-index: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  flex-direction: row-reverse;  
 
    margin-bottom: 60px;

}
.card {
  margin: 30px 10px;
  width: 135px;
  height: 135px;
  border-radius: 40px;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: 0.4s;
 
  
}
.card .card_image {
  width: inherit;
  height: inherit;
  border-radius: 40px;
}

.card .card_image img {
  width: inherit;
  height: inherit;
  border-radius: 40px;
 /*object-fit: cover; */
}q    

.card .card_title {
  text-align: center;
  border-radius: 0px 0px 40px 40px;
  font-family: "Noto Kufi Arabic","Poppins",sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-top: 15px;
  height: 40px;
}

.card:hover {
  transform: scale(0.9, 0.9);
  box-shadow: 5px 5px 30px 15px rgba(0,0,0,0.25), 
    -5px -5px 30px 15px rgba(0,0,0,0.22);
    
}
.card:hover .card_title {
  display: block;
  margin-top: 15px;
}

.card:not(:hover) .card_title {
  display: block;
  margin-top: 15px;
}
.title-white {
  color: white;
}

.title-black {
  color: black;
}


/*new card with flip animation */
.card6 {
  margin: 30px 10px;
  width: 135px;
  height: 135px;
  border-radius: 40px;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: 0.4s;
 
  
}
.card6:hover .card_image {
  opacity: 0;
}

.card6:hover .button-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.5);*/
}
.card6 .card_image {
  width: inherit;
  height: inherit;
  border-radius: 40px;
}

.card6 .card_image img {
  width: inherit;
  height: inherit;
  border-radius: 40px;
 /*object-fit: cover; */
}
.card6 .card_title {
  text-align: center;
  border-radius: 0px 0px 40px 40px;
  font-family: "Noto Kufi Arabic","Poppins",sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-top: -10px;
  height: 40px;
}
.card6:hover .card_title {
  display: block;
}

.card6:not(:hover) .card_title {
  display: block;
}




@media all and (max-width: 500px) {
  .card-list {
    /* On small screens, we are no longer using row direction but column */
    flex-direction: column;
  }
}


/*
.card {
  margin: 30px auto;
  width: 300px;
  height: 300px;
  border-radius: 40px;
  background-image: url('https://i.redd.it/b3esnz5ra34y.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-repeat: no-repeat;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
  transition: 0.4s;
}
*/

.A1 {
  bottom: 0;;
  left: 0;
  overflow: hidden;
  right: 0;
  top: 0;
  width: 100%}

  .footer {
    background-color: #01052b;
    color: #fff;
    padding: 20px;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
  }
  
  .footer-left,
  .footer-right {
    width: 50%;
  }
  
  .footer-left h1,
  .footer-right h1 {
    margin: 0;
    padding: 0;
    font-size: 16px;
  }
  
  .footer-separation {
    height: 2px;
    background-color: #fff;
  }
  
  
  body {
    background-color: #f8fafc;
  }
  
  .container {
    padding: 2rem;
  }
  
  .slider-wrapper {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
  }
  
  .slider {
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  
  /* Hide scrollbar for Chrome, Safari and Opera */
  .slider::-webkit-scrollbar {
    display: none;
  }
  
  .slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
  }
  
  .slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
  }
  
  .slider-nav a:hover {
    opacity: 1;
  }
  .carousel-item {
    height: 65vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  
  .div {
    padding: 20px;
    display: none;
  }
    
  .p1:hover + div {
    display: block;
  }
  
/*
  h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(3rem, 10vw, 10rem);
    color: white;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
  }
  
  h1:hover {
    background-color: rgb(182, 184, 110);
    color: rgb(255, 255, 255);
  }
  */
  
  
button {
  height:  15px;
  width:  95px;
  background: 0 0;
  border-radius: 15px;
  cursor: pointer;
  display: block;
  height: 50px;
  line-height: 60px;
  padding: 0 30px 0 25px;
  position: relative;
  transition: all .3s;
  border: 2px solid #fff;
  font-size: 1.3em;
 
  text-transform: uppercase;
  z-index: 0;
  margin: -100px auto 0 auto;
  color: #000000;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}
button:hover {
  color: #000000;
}
  /*Adding the hover effect base */
  button::before {
    content: '';
    height: 100%;
    width: 100%;
    /* background: linear-gradient(60deg, rgb(0, 109, 27) 0%, #f0e68c 100%);*/
    background:linear-gradient(60deg, #008655 100%, #f0e68c 100%);

    position: absolute;
    top: 0;
    right: 0;
    transition: all .3s;
    z-index: -1;
}
    /*Fade in*/
    button.fade::before {
        opacity: 0;
    }
        button.fade:hover::before {
            opacity: 1;
        }
    
    /*Slide in from top*/
    button.top::before {
        transform: translate(0, -100%);
    }
        button.top:hover::before {
            transform: translate(0, 0);
        }
        
    /*Slide in from bottom*/
    button.bottom::before {
        transform: translate(0, 100%);
    }
        button.bottom:hover::before {
            transform: translate(0, 0);
        }
    
    /*Slide in from right*/
    button.right::before {
        transform: translate(100%, 0);
    }
        button.right:hover::before {
            transform: translate(0, 0);
        }
        
    /*Slide in from left*/
    button.left::before {
        transform: translate(-100%, 0);
    }
        button.left:hover::before {
            transform: translate(0, 0);
        }
    
    /*Slide in from top left*/
    button.topLeft::before {
        transform: translate(-100%, -100%);
    }
        button.topLeft:hover::before {
            transform: translate(0, 0);
        }
        
    /*Slide in from top right*/
    button.topRight::before {
        transform: translate(100%, -100%);
    }
        button.topRight:hover::before {
            transform: translate(0, 0);
        }
        
    /*Slide in from bottom right*/
    button.bottomRight::before {
        transform: translate(100%, 100%);
    }
        button.bottomRight:hover::before {
            transform: translate(0, 0);
        }
    
    /*Slide in from bottom left*/
    button.bottomLeft::before {
        transform: translate(-100%, 100%);
    }
        button.bottomLeft:hover::before {
            transform: translate(0, 0);
        }
        
    /*Grow from center*/
    button.center::before {
        transform: scale(0, 0);
    }
        button.center:hover::before {
            transform: scale(1, 1);
        }