


body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {

    --color-background: #011222;

    --color-backgroundforlogo: #00376B;
    --color-filterbackgrund: #616161;

    --color-filter:#00376bad;
    --color-filter2:#616161cc;

    --icons-color: #FFB100;
    --icons-filter: #e4a618;


}

@font-face {
    font-family: 'Rubik';
    src: url('/font/Rubik-Light.woff2') format('woff2'),
        url('/font/Rubik-Light.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}



/*  logo deign  */
.chapter {
    
    width: 83.9em;
    height: 450px;
    margin: auto;
    font-family: "Rubik", sans-serif;
    position: relative;
    
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    color: #fff;
    background-image: linear-gradient(to right, #011222, #00376B);
}

.logo::before{
content: 'نسخة تجريبية';
    position: absolute;
    left: 1230px;
    top: 25px;
    width: 100px;
    height: 28px;
    border-radius: 50px;
    text-align: center;
    background-image: linear-gradient(to right, #ffb100, #9b6c00);
}

.logo h1,
h2 {
    font-weight: normal;
    text-align: center;
}

.logo h1 {
    font-size: 7em;
    
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}


.logo h2 {
    margin-top: 0;
    font-size: 2em;
   
            animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}


/* logo deign */

/* start one */

.ax1 {
    z-index: 1;
    background-image: url(/img/uone.webp);
    background-size: cover;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

}

.ax1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: normal;
    background-color: var(--color-filter);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ax1 h2 {

    font-size: 3em;
    padding: 20px;
    margin-right: 6px;
       animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax1 p {

    width: 45em;
    margin: auto;
    margin-top: 20px;
    font-size: 1.5em;
    animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

/* end one */

/* start  tuo */

.ax2{
    background-image: url(/img/usix.webp);
    background-size: cover;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 1;

}

.ax2::before{
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: var(--color-filter2);
}
.ax2 h2 {
    font-size: 3em;
        margin-right: 25px;
        margin-bottom: 0;
           animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax2 p{
      width: 45em;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 100px;
    font-size: 1.5em;
    animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

/* end  tuo */

/* start terra  */

.ax3 {
    background-image: url(/img/utwo.webp);
    background-size: 100%;
    background-position: 0px;
    background-position-y: -100px;
    color: #fff;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;

}

.ax3::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: var(--color-filter);
}

.ax3 h2 {
    font-size: 3em;
    padding: 20px;
    margin: 0;
    margin-bottom: 23px;
    margin-top: 6px;
    margin-right: 5px;

     animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}
.ax3 nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 30px;
    text-align: center;
    font-size: 23px;

       animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax3 nav div i {

    color: var(--icons-color);
    font-size: 40px;
}

/* end terra */

/* start fore */

.ax4 {
    background-image: url(/img/uthree.webp);
    background-size: cover;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 1;
}

.ax4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: normal;
    background-color: var(--color-filter2);
    width: 100%;
    height: 100%;
    z-index: -1;
}



.ax4 h2 {
    font-size: 3em;
    margin-right: 28px;
    margin-bottom: 30px;
       animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax4 nav {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
     animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax4 nav p {

     width: 295px;
    text-align: center;
    font-size: 1.5em;
    border-bottom: 5px solid var(--icons-color);
    border-radius: 35px;
    padding: 10px;
    align-content: center;

}


/* end fore */

/* start five */

.ax5 {
    background-image: url(/img/ufour.webp);
    background-size: cover;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 1;
}

.ax5::before{
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: var(--color-filter);
}
.ax5 h2 {
    font-size: 3em;
        margin-right: 25px;
        margin-bottom: 0;
         animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax5 nav {

    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
   animation: appear linear;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
}

.ax5 nav p {
    width: 150px;
    text-align: center;
    background-color: var(--icons-filter);
    border-radius: 40px 0px 40px 0;
    padding: 10px;
    font-size: 1.3em;
    align-content: center;
}

.ax5 nav p:hover{

     background-color: #c48f14;

     transform: scale(1.5);
}

/* end five */


/* start six */

.ax6{
    background-image: linear-gradient(to bottom, #011222, #00376B);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.ax6 .icons{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.ax6 .icons .icon{
  display: flex;
    flex-direction: column;
    align-items: center;
   margin: 20px;
}

.ax6 i {

    color: var(--icons-color);
    font-size: 50px;
     transition: color 0.5s;
}

.ax6 i:hover{
    color: #815b01;
}

.ax6 a{

    text-decoration: none;
    font-size: 15px;
    color: var(--icons-color);
    transition: color 0.5s;
}

.ax6 a:hover{

    color: #815b01;
}
.ax6 h4{
    color: var(--icons-color);
}

/* end six */

      @keyframes appear {
        from {
          opacity: 0;
          clip-path: inset(0 0 100% 100%);
        }
        to {
          opacity: 1;
          clip-path: inset(0 0 0 0);
        }
    }




    /* ========== Responsive Design ========== */

@media (max-width: 480px) {
  .chapter {
    width: 100%;
    height: auto;
    padding: 20px 10px;
  }

  .logo h1 {
    font-size: 2.5em;
  }

  .logo h2 {
    font-size: 1.2em;
  }

  .logo::before {
    left: 10px;
    top: 10px;
    font-size: 0.7em;
  }

  .ax1 h2,
  .ax2 h2,
  .ax3 h2,
  .ax4 h2,
  .ax5 h2 {
    font-size: 1.8em;
    padding: 10px;
  }

  .ax1 p,
  .ax2 p,
  .ax3 p,
  .ax4 nav p,
  .ax5 nav p {
    font-size: 1em;
    width: 90%;
    margin: 10px auto;
  }

  .ax3 nav,
  .ax4 nav,
  .ax5 nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .ax6 i {
    font-size: 30px;
  }

  .ax6 a {
    font-size: 13px;
  }
}

/* التابلت */
@media (min-width: 481px) and (max-width: 768px) {
  .chapter {
    width: 95%;
    height: auto;
  }

  .logo h1 {
    font-size: 4em;
  }

  .logo h2 {
    font-size: 1.5em;
  }

  .ax1 p,
  .ax2 p,
  .ax3 p,
  .ax4 nav p,
  .ax5 nav p {
    font-size: 1.2em;
    width: 90%;
  }

  .ax3 nav,
  .ax4 nav,
  .ax5 nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ax6 i {
    font-size: 40px;
  }
}

/* الشاشات المتوسطة (لابتوب صغير) */
@media (min-width: 769px) and (max-width: 1024px) {
  .chapter {
    width: 90%;
  }

  .logo h1 {
    font-size: 5em;
  }

  .logo h2 {
    font-size: 1.7em;
  }

  .ax1 p,
  .ax2 p,
  .ax3 p,
  .ax4 nav p,
  .ax5 nav p {
    font-size: 1.3em;
  }

  .ax6 i {
    font-size: 45px;
  }
}

/* الشاشات الكبيرة (ديسكتوب) */
@media (min-width: 1025px) {
  .chapter {
    width: 83.9em;
  }

  .logo h1 {
    font-size: 7em;
  }

  .logo h3 {
    font-size: 2em;
  }
}
