@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Jomhuria&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playball&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo+Play:wght@200..1000&display=swap');

* {
padding: 0;
margin: 0;
overflow-x: hidden;
scroll-behavior: smooth;
}
body {
    background-color: #080e10;
    font-family: "El Messiri", sans-serif;
    font-optical-sizing: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: right;
}
a:focus, a:visited, a:active {
    outline: none; 
    -webkit-tap-highlight-color: transparent;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
li {
   width: 300px;
   color: white;
   font-size: 18px;
   margin: 20px 0px;
   padding: 22px;
   border: 1px solid white;
   border-radius: 50px;
   text-align: center;
   transition: 0.6s;
}
li:hover {
  color: #000000;
  background-color: white;
}
a {
text-decoration-line: none;
}
#text {
    font-size: 26px;
    color: white;
    background-color: #111111;
    text-align: center;
}

#work {
    font-size: 14px;
    color: rgb(172, 172, 172);
    text-align: center;
    margin-bottom: 35px;
    font-weight: bold;
}
section {
    width: 100%;
    background-color: #080e10;
    margin-top: 0px;
    margin-bottom: 80px;
    padding-bottom: 100px;
    padding-top: 20px;
    z-index: 5;
    border-radius: 50px;
}
.centercon{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.center{
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}
.hero{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 40px;
    z-index: 1;
}

button {
    width: 90%;
    color: white;
    background-color: transparent;
    border: 1px solid #38464f;
    border-bottom: 3px solid #38464f;
    border-radius: 50px;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
}
button:hover {
    border-bottom: 1px solid #38464f;
}
nav {
    width: 100%;
    background-color: #080e10;
    position: fixed;
    top: 0;
    z-index: 100;
   }
.profilebg {
 width: 90%;
 position: fixed;
 top: 0;
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 z-index: -1;
}
.profilebg video {
    filter: brightness(50%);
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
}
.socialsec {
    width: 300px;
    color: white;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    padding: 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.socialsec:hover {
    background-color: white;
    color: #000000;
}
i {
    transition: 0.1s ease-in-out;
}
.socialsec:hover i {
   transform: rotate(180deg);
   transition: 0.1s ease-in-out;
}
i {
padding-top: 1px;
overflow: hidden;
}
iframe {
width: 300px;
height: 400px;
filter: invert(100);
}
.secname {
width: 300px;
color: rgba(245, 222, 179, 0.574);
font-size: 20px;
text-align: center;
}
hr {
border: 1px solid #38464f;
width: 100%;
margin: 50px 0px 30px 0px;
}
.box {
width: 90%;
background-color: #080e10;
display: flex;
justify-content: start;
flex-direction: column;
border-radius: 30px;
border: 1px solid #38464f;
}
.shop {
display: flex;
justify-content: space-evenly;
flex-direction: row;
overflow: hidden;
padding: 20px 0px;
}
#product {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 10px 0;
overflow: hidden;
}
#product img {
width: 70%;
}
#product video {
width: 70%;
border-radius: 50%;
}
#product p {
font-size: 14px;
color: white;
margin: 10px 0px;
}
#product button {
width: 100%;
padding: 10px 30px;
}



/* sign in sys */

#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #080e10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#popup.show {
    opacity: 1;
    visibility: visible;
    background-color: #080e10;
}
#popup-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #080e10;
    padding: 50px 40PX;
    margin-bottom: -300px;
    border-radius: 50px;
    border: 1px solid #38464f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 350px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
#popup.show #popup-content {
    transform: translateY(0);
    width: 280px;
}
#popup-content h2 {
    margin: 0 0 20px;
    font-size: 30px;
    color: #ffffff;
}
#popup-content input[type="text"] {
    width: 80%;
    padding: 15px;
    font-size: 1rem;
    margin-bottom: 15px;
    border: 1px solid #38464f;
    background-color: #38464f41;
    color: white;
    border-radius: 50px;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease;
}
#popup-content input[type="text"]:focus {
    border-color: #3b93ff;
}
#popup-content .file-buttons button {
    width: 250px;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    background-color: #38464f;
    border: 1px solid #38464f;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#popup-content .file-buttons button:hover {
    background-color: #38464f56;
}
#popup-content button {
    padding: 20px;
    font-size: 16px;
    color: #fff;
    background-color: #38464f;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#popup-content button:hover {
    background-color: #38464f56;
}
#greeting {
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 14px;
}
#greeting img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}
.error {
    color: red;
    font-size: 0.9rem;
    margin-top: 20px;
}


/* End sign in sys */





/* loading screen */

   /* Fullscreen loading overlay */
   #loadingOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #121212; /* Dark mode background */
    color: #fff; /* Light text color */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out; /* Smooth fade and slide transitions */
    opacity: 1;
    transform: translateY(0); /* Initial position */
}

/* Cross icon animation */
.cross-icon {
    font-size: 4rem;
    color: #fff;
}


/* Loading message animation */
.loading-message {
    font-size: 2rem;
    font-family: 'Cairo Play', serif;
    font-weight: 900;
    color: #e0e0e0; /* Slightly lighter color for contrast */
    animation: fadeInOut 3s ease-in-out infinite, slideUpDown 2s ease-in-out infinite; /* Fading and sliding effect */
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}


/* Hide loading overlay after page loads */
body.loading #loadingOverlay {
    display: flex;
}
body.loaded #loadingOverlay {
    opacity: 0; /* Fade out effect */
    transform: translateY(-100%); /* Slide-up effect */
}


/* points*/

#pointsDisplay, #messageDisplay, #quizQuestion {
    color: white;
    margin-left: 5px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:disabled {
    cursor: not-allowed;
    background-color: rgba(34, 34, 34, 0.733);
    color: rgb(255, 255, 255);
    opacity: 0.4;
    border-bottom: 1px solid #38464f;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.circle {
    width: 50px;
    height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background-color: #ff00003d;
    border-radius: 50px;
    animation: circle 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(0.33);
    }
    80%, 100% {
      opacity: 0;
    }
  }
  @keyframes circle {
    0% {
      transform: scale(0.8);
    }
    50% {
      transform: scale(1);
    }
    100% {
      transform: scale(0.8);
    }
  }


  .bookimgs{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
  }
  .bookinfo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }





  .bottom-nav{
    width: 100%;
    background-color: #080e10;
    position: fixed;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px 0px;
  }
    .bottom-nav i {
        font-size: 32px;
        color: #38464f;
        transition: color 0.3s ease-in-out;
    }
    .bottom-nav i:hover {
        color: #ffffff;
    }

    .otherpagescontent{
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 20px 0px;
        z-index: 1;

    }
    .otherpagescontent h1{
        color: white;
        font-size: 30px;
    }
    .otherpagescontent i{
        color: white;
        font-size: 80px;
        margin-bottom: 30px;
    }