@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@700&display=swap');

/* font-family: 'IBM Plex Sans Arabic', sans-serif;
font-family: 'Noto Sans Arabic', sans-serif; */
body {
    direction: rtl !important;
   background: rgb(63,94,251);
   background: linear-gradient(90deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
    
}

:root {
    --main-color: #009432;
    --main-color-alt: #1787e0;
    --main-transition: 0.3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
    --section-background: #ececec;
    --landing-background: #222;
  }

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    }
  
    /* Small */
  
    @media (min-width: 768px) {
        .container {
            width: 750px;
        }
    }
    /* Medium */
  
    @media (min-width: 992px) {
        .container {
            width: 970px;
        }
    }
    /* Large */
  
    @media (min-width: 1200px) {
        .container {
            width: 1170px;
        }
    }
  
    a {
      text-decoration: none;
    }

    .landing {
      position: relative;
      width: 100%;
    }

    .landing .container {
      min-height: calc(100vh - 72px);
      display: flex;
      align-items: center;
      padding-bottom: 120px;
    }
    .landing .text {
      flex: 1;
    }
    @media (max-width: 991px) {
      .landing .text {
        text-align: center;
        position: relative;
        animation: up-and-down 5s linear infinite;
      }
    }
    .landing .text h1 {
      font-size: 40px;
	  font-family: 'Tajawal', sans-serif;
      color: goldenrod;
      margin: 0;
      letter-spacing: -2px;
    }
    @media (max-width: 767px) {
      .landing .text h1 {
        font-size: 28px;
		font-family: 'Tajawal', sans-serif;
      }
    }
    .landing .text p {
      font-size: 23px;
	  font-family: 'Tajawal', sans-serif;
      line-height: 1.7;
      margin: 5px 0 0;
      color: #fff;
      max-width: 500px;
      
    }
    @media (max-width: 991px) {
      .landing .text p {
        margin: 10px auto;
		font-family: 'Tajawal', sans-serif;
      }
    }
    @media (max-width: 767px) {
      .landing .text p {
        font-size: 18px;
		font-family: 'Tajawal', sans-serif;
      }
    }
    .landing .image img {
      position: relative;
      width: 600px;
      animation: up-and-down 5s linear infinite;
    }
    @media (max-width: 991px) {
      .landing .image {
        display: none;
      }
    }
    .landing .go-down {
      color: var(--main-color);
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      transition: var(--main-transition);
    }
    .landing .go-down:hover {
      color: var(--main-color-alt);
    }
    .landing .go-down i {
      animation: bouncing 1.5s infinite;
    }
    /* End Landing */
  
    @keyframes up-and-down {
      0%,
      100% {
        top: 0;
      }
      50% {
        top: -50px;
      }
    }
    @keyframes bouncing {
      0%,
      10%,
      20%,
      50%,
      80%,
      100% {
        transform: translateY(0);
      }
      40%,
      60% {
        transform: translateY(-15px);
      }
    }

    .articles {
        position: relative;
        padding-top:50px;
        padding-bottom: 50px;
      }
    
      .articles .container {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
          gap: 30px;
      
      }
    
      @media (max-width: 430px) {
        .articles .container {
           
            grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
            
        }
      }
section {
  padding: 10px; 
}     

section .container .head{
  text-align: center;
 font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
}

section .container .text {
  line-height: 1.7;
  font-size: 1.5rem;
  font-family: 'Tajawal', sans-serif;
  text-align: center;
  color: #FFF;
}



.bg_move h1 {
  font-size: 6rem;
  font-family: 'Tajawal', sans-serif;
  text-align: center;
  margin: 0;
}



@media (max-width: 900px) {
  .bg_move h1 {
    font-size: 3rem;
  }
}


@-webkit-keyframes stripes {
  100% {
    background-position: 250px 0, 250px 0, 100px 0;
  }
}

@keyframes stripes {
  100% {
    background-position: 250px 0, 250px 0, 100px 0;
  }
}


      .articles .box {
        box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
        background-color: white;
        border-radius: 6px;
        overflow: hidden;
        transition: transform var(--main-transition), box-shadow var(--main-transition);
    
      }
      .articles .box:hover {
        box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
      }
      .articles .box .image {
        width: 100%;
        max-width: 100%;
        height: 210px;
      }
    
      .articles .box .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .articles .box h3 {
        color: red;
      }
    
      .articles .box .con a.bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
		font-family: 'Tajawal', sans-serif;
        width: 70px;
        height: 70px;
        background-color:#ECECEC;
        
        
        border:solid #009432 2px;
        color:#009432;
        border-radius:50%;
        position:fixed;
        bottom:10px;
        right:10px;
        text-decoration: none;
        transition:.4s;
    }
    a.bottom:hover{
        background-color: #009432;
        text-decoration: none;
        color: rgb(187, 187, 187);
        border-color: rgb(187, 187, 187);
    }
    .content {
        padding: 20px;
      }
      .articles .box .content h3 {
        margin: 0;
		font-family: 'Tajawal', sans-serif;
      }
      .articles .box .content p {
        margin: 10px 0 0;
        line-height: 1.5;
        color: #777;
        display: -webkit-box;
        -webkit-line-clamp: 7;
        -webkit-box-orient: vertical;
         overflow: hidden;
         text-overflow: ellipsis;
		 font-family: 'Tajawal', sans-serif;
      }
    



 div.info {
    height: 60px;
    position: relative;
 }
 
 button.box-info {
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
    border-radius: 30px;
    position: absolute;
    padding: 5px 15px;
    display: inline-block;
    text-decoration: none;
    border: none;
    overflow: hidden;
    cursor: pointer;
	font-family: 'Tajawal', sans-serif;
    
    transition: 
      box-shadow 0.4s ease, 
      background-color 0.4s ease, 
      color 0.4s ease;
      background-color: rgb(0, 148, 50);
      box-shadow: 
        0 0 2px 0 rgba(0, 148, 50, 0.1), 
        0 0 4px 0 rgba(0, 148, 50, 0.2), 
        0 0 6px 0 rgba(0, 148, 50, 0.3), 
        0 0 8px 0 rgba(0, 148, 50, 0.4),
        0 0 12px 0 rgba(0, 148, 50, 0.5), 
        0 0 18px 0 rgba(0, 148, 50, 0.6),
        0 0 4px 0 rgba(0, 148, 50, 0.7);
       
  }

  button.box-info:hover{
      
    background-color: #ea3c;
    box-shadow: 
      0 0 2px 0 rgba(238, 170, 51, 0.1), 
      0 0 4px 0 rgba(238, 170, 51, 0.2), 
      0 0 6px 0 rgba(238, 170, 51, 0.3), 
      0 0 8px 0 rgba(238, 170, 51, 0.4),
      0 0 12px 0 rgba(238, 170, 51, 0.5), 
      0 0 18px 0 rgba(238, 170, 51, 0.6),
      0 0 4px 0 rgba(238, 170, 51, 0.7);
  }
 
 
  
 
  .box-info span.name-info {
    position: relative;
    z-index: 1;
    color: #fff;
    
  }
  
  button.box-info i.i-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 200px;
    background-color: inherit;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 
      transform 0.4s linear, 
      top 1s linear;
    overflow: hidden;
  }
  
   i.i-button:before,
  i.i-button:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
  }
   i.i-button:before {
    border-radius: 46%;
    background-color: rgba(20, 20, 20, 0.2);
    animation: animate 5s linear infinite;
  }
   i.i-button:after {
    border-radius: 40%;
    background-color: rgba(20, 20, 20, 0.5);
    animation: animate 10s linear infinite;
  }
  
  @keyframes animate {
    0% {
      transform: 
        translate(-50%, -75%) 
        rotate(0deg);
    }
    100% {
      transform: 
        translate(-50%, -75%) 
        rotate(360deg);
    }
  }

  a.bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
	font-family: 'Tajawal', sans-serif;
    width: 60px;
    height: 60px;
    background-color:#ECECEC;
    
    
    border:solid #009432 2px;
    color:#009432;
    border-radius:50%;
    position:fixed;
    bottom:10px;
    right:10px;
    text-decoration: none;
    transition:.4s;
}


a.bottom:hover{
    background-color: #009432;
    text-decoration: none;
    color: rgb(187, 187, 187);
    border-color: rgb(187, 187, 187);
}

section .container {

    display: block !important;
}

section .container .text-container {
    
    padding: 10px;
    text-align: center;
    width: 100%;
    font-size: 2rem;
	font-family: 'Tajawal', sans-serif;
}

@media (max-width: 991px) {
    section .container .text-container {
        font-size: 1.6rem;
		font-family: 'Tajawal', sans-serif;
    }
}

  footer {
    background-color:#222;
    height:85px;
    line-height:85px;
    color:#fff;
    text-align: center;
    font-size:1.7em;
	font-family: 'Tajawal', sans-serif;
   
}


@media (max-width: 600px) {
    footer {
        font-size: 11px;
		font-family: 'Tajawal', sans-serif;
        
    }
}


  