/* main css */
body{
    background-color: black;
    font-family: "Futura", sans-serif;
    font-weight: 400;
}

main, section, div, img, button{
    position: absolute;
}

main{
    width: 1920px;
    height: 1080px;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


section{
    width: 100%;
    height: 100%;
    display: none;
}




#frame {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1); /* Transparent white */
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px); /* Creates the glassy effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
  }


#screen1{
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  
    display: block;
background-image: url("../nasaimg/mainbg.jpg");


;}

.frame{
    left: 464px;
    top: 110px;
    display: none;
}

#frame1{
    display: block;
}
.intro-container{
    width: 480px;
    height: 650px;
    top: 206px;
    left: 750px;
    padding: 35px 25px;
}

.intro-container div,
.intro-container button{
    position: static;
}

.history-txt{
    background-color: white;
    border: solid 1px #0075bf;
    border-radius: 10px;
    padding: 20px;
    color: #0075bf;
    font-size: 14px;
    line-height: 19px;
    text-align: justify;
}

.learn-more-txt{
    font-size: 24px;
    font-weight: 700;
    color: #0075bf;
    margin-top: 55px;
}

button{
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: none;
    padding: 0;
}

.to-screen-btn{
    display: flex;
    width: 390px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border: solid 1px #0075bf ;
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

.to-screen-btn > div:first-child{
    padding: 10px 20px;
    font-size: 21px;
    font-weight: 600;
    color: #0075bf;
}

.to-screen-btn > div:last-child{
    width: 60px;
    height: 80px;
    background-color:#0075bf;
    color: #ffffff;
    font-size: 52px;
    transform: translateY(-2px);
    opacity: 0.8;
}


.click-through{
    pointer-events: none;
}

#start-btn{
    font-weight: 900;
    font-size: 30px;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding:100px;

}








#start-btn1{
    font-size: 34px;
top: 106px;
    color: #fff;
    left: 34%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding:100px;
}


.welcome-img1 img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding: 100px;
    top: 50px;
    width: 250px;
    border-radius: 15px;
    opacity: 0;
}

.welcome-logo img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding: 100px;
    top: 50px;
    left: 10px;
    width: 250px;
    border-radius: 15px;
    opacity: 0;
}


/* Container for the scrolling text */
#scrolling-container {
    bottom: 0;                     /* Position the container at the bottom */
    height: 5%;                     /* Height of the scrolling bar */
    width: 100%;                    /* Full-width of the container */
    background-color: #3498db;      /* Background color for the container */
    color: white;                   /* Text color */
    overflow: hidden;               /* Hide the overflowing text */
    padding: 10px 0;                /* Padding around the scrolling text */
    position: fixed;                /* Fixed position at the bottom of the page */
    z-index: 10;                    /* Ensure it is above other content */
}

/* The content that will scroll */
#scrolling-content {
    display: flex;                  /* Flex container for horizontal layout */
    white-space: nowrap;            /* Prevent the text from wrapping */
}

/* Individual scrolling text */
.scrolling-text {
    font-size: 24px;                /* Text size */
    font-weight: bold;              /* Bold text */
    margin-right: 50px;             /* Space between each text */
    display: inline-block;
}



.mainheader-text {
    font-family: 'Arial', sans-serif; /* You can choose a different font if preferred */
    font-size: 2.5rem; /* Adjust size as needed */
    font-weight: bold;
    text-align: center; /* Center-aligns the text */
    color: #ffffff; /* White color */
    background-color: #1a1a1a; /* Dark background for contrast */
    padding: 20px 0; /* Top and bottom padding */
    border-radius: 10px; /* Slight rounded corners */
    text-transform: uppercase; /* Makes the text uppercase */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for depth */
  }


.screen img{
    display: block;
}

.screen p{
    position: absolute;
    left: 910px;
    top: 300px;
    font-size: 35px;
    font-weight: 700;
    color:#0075bf;
}

#back-btn {
    width: 60px;
    height: 100px;
    background-color: #0075bf;
    border-radius: 0 4px 4px 0; 
    color: #fff; 
    font-size: 74px;
    opacity: 0.75;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-content: center;
    line-height: 1;
    }




    .section{
        width: 100%;
        height: 100%;
        display: none;
    }
    
    
    .screen2{
        display: block;
        width: 400px;
        opacity: 0;
    }
    
    .frame{
        left: 464px;
        top: 110px;
        display: none;
    }
    
    .frame2{
        display: block;
    }
.animated-title1 {
    font-size: 100;
    font-weight: 900;
    align-items: center;
    text-align: justify;

}

    .history-container{
    width: 480px;
    height: 650px;
    top: 106px;
    left: 950px;
    padding: 35px 25px;
}


.history-txt2{
    background-color: white;
    border: solid 1px #0075bf;
    border-radius: 10px;
    padding: 20px;
    color: #0075bf;
    font-size: 15px;
    line-height: 19px;
    text-align: justify;
}

.history-details{
    font-size: 15px;
    font-weight: 500;
    color: #0075bf;
    margin-top: ; 
      
}

.circle-wrapper {
    position: absolute;
    top: 400px;
    left: 90px;
    /* Relative positioning to contain absolute children */
    position: relative;
}

.circle1 {
    width: 200px;
    height: 100px;
    border-radius: 50%;
    animation: rotate-circle1 10s linear infinite;
    /* Center the image inside the circle1 div */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Make sure it’s below the text */
    z-index: 1;
}

.circle-img {
    width: 100%; /* Adjust based on your design */
    height: auto;
    animation-delay: 0s; /* Starts immediately */
animation-fill-mode: forwards; /* Keeps the animation after it ends */
}

.text-img {
    max-width: 280px;
    position: absolute;
    top: -30px;
    left: 26px; /* Adjust to center horizontally as needed */
    z-index: 2; /* Ensure the text image is above the circle */
}
.text-img3 {
    max-width: 280px;
    position: absolute;
    top: 510px;
    left: 26px; /* Adjust to center horizontally as needed */
    z-index: 2; /* Ensure the text image is above the circle */
}
.text-img2 {
    max-width: 380px;
    position: absolute;
    top: 270px;
    left: 26px; /* Adjust to center horizontally as needed */
    z-index: 2; /* Ensure the text image is above the circle */
}

.text-img4 {
    max-width: 280px;
    position: absolute;
    top: 100px;
    z-index: 2; /* Ensure the text image is above the circle */
}

.text-img {
    max-width: 280px;
    position: absolute;
    top: -30px;
    left: 26px; /* Adjust to center horizontally as needed */
    z-index: 2; /* Ensure the text image is above the circle */
}

@keyframes rotate-circle1 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.circle2 {
    width: 200px;
    height: 100px;
    border-radius: 50%;
    /* Center the image inside the circle1 div */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Make sure it’s below the text */
    z-index: 1;
    animation-delay: 0s; /* Starts immediately */

}

.circle-img2 {
    bottom: -506px;
    width: 100%; /* Adjust based on your design */
    height: auto;
    animation-delay: 5s; /* Starts immediately */

    animation: rotate-circle2 10s linear infinite; /* Add this line */

}

.text-img2 {
    max-width: 140px;
    position: absolute;
    bottom: -566px;
    left: 100px; /* Adjust to center horizontally as needed */
    transform: translate(-50%, -50%); /* Center the image exactly */
    
    z-index: 2; /* Ensure the text image is above the circle */
}

@keyframes rotate-circle2 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.circle3 {
    width: 200px;
    height: 100px;
    border-radius: 50%;
    /* Center the image inside the circle1 div */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Make sure it’s below the text */
    z-index: 1;
}

.circle-img3 {
    bottom: -270px;
    width: 100%; /* Adjust based on your design */
    height: auto;
    animation: rotate-circle2 10s linear infinite; /* Add this line */

}

.text-img3 {
    max-width: 140px;
    position: absolute;
    bottom: -335px;
    left: 100px; /* Adjust to center horizontally as needed */
    transform: translate(-50%, -50%); /* Center the image exactly */
    z-index: 2; /* Ensure the text image is above the circle */
}

@keyframes rotate-circle3 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



.circle4 {
    top: -30px;
    right: -1520px;

    position: relative; /* Allow child elements to position relative to this */
    width: 200px; /* Width of the circle */
    height: 200px; /* Change height to maintain a circular shape */
    border-radius: 50%; /* Makes it a circle */
    display: flex; /* Center contents */
    justify-content: center;
    align-items: center;
    z-index: 1; /* Ensure it is behind the text */
}


.circle-img4 {
    right: 4=5px;
bottom: -10px;
    width: 100%; /* Adjust based on your design */
    height: auto;
    animation: rotate-circle2 10s linear infinite; /* Add this line */

}

.text-img4 {
    top: 70px;
right: 154px;
    max-width: 150px;
    position: absolute;
    transform: translate(-50%, -50%); Center the image exactly
    z-index: 2; /* Ensure the text image is above the circle */
}

@keyframes rotate-circle4 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}




.circle6 {
    right: 200px;
    width: 200px;
    height: 100px;
    border-radius: 50%;
    /* Center the image inside the circle1 div */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Make sure it’s below the text */
    z-index: 0;
}

.circle-img6 {
    z-index: 0;

    top: 10px;
    left: -20px;
    width: 100%; /* Adjust based on your design */
    height: auto;
    animation: rotate-circle2 10s linear infinite; /* Add this line */

}

.text-img6 {
    top: 310px;
right: 154px;
position: absolute;
transform: translate(-50%, -50%); Center the image exactly
z-index: 0; /* Ensure the text image is above the circle */
}

@keyframes rotate-circle6 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

 
.circle7 {
    right: 200px;
    width: 200px;
    height: 100px;
    border-radius: 50%;
    /* Center the image inside the circle1 div */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Make sure it’s below the text */
    z-index: 0;
}

.circle-img7 {
    z-index: 0;

    top: 230px;
    left: -20px;
    width: 100%; /* Adjust based on your design */
    height: auto;
    animation: rotate-circle2 10s linear infinite; /* Add this line */

}

.text-img7 {
    top: 530px;
right: 154px;
position: absolute;
transform: translate(-50%, -50%); Center the image exactly
z-index: 0; /* Ensure the text image is above the circle */
}

@keyframes rotate-circle7 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}








.moose-dance {
    /* Positioning */
    position: absolute; /* or 'relative', 'fixed', etc. based on your layout */
    top: 85%; /* Adjust as needed */
    left: 40%; /* Adjust as needed */
    transform: translate(-50%, -50%); /* Center the image */
    
    /* Animation */
    animation: fadeIn 2s ease-in-out forwards; /* Fade-in effect, 'forwards' keeps the final state */
  }
  
  /* Keyframes for fade-in effect */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }


 /* Heading Container Styles */
.heading-container2 {
    position: absolute; /* Use absolute positioning */
    left: 50%; /* Start from the left center */
    top: 10%; /* Start from the top center */
    transform: translate(-50%, -50%); /* Center it accurately both horizontally and vertically */
    width: 100%; /* Full width to ensure centering works */
    text-align: center; /* Center text within the container */
}

/* Heading Styles */
.screen2head {
    opacity: 1; /* Set to full opacity */
    color: #0075bf; /* Font color */
    font-weight: bold; /* Make the text bold */
    font-size: 2em; /* Adjust font size as needed */
    margin: 0; /* Remove default margin */
}



.screen2-txt{

    background-color: white;
    border: solid 2px #0075bf;
    width: 780.15px;
    letter-spacing: 2;
    height: 175.57px;

    border-radius: 10px;
    padding: 20px;
    top: 160px;
    left: 560px;
    color: #0075bf;
    font-size: 23px;
    font-weight: 4000;
    line-height: 30px;
    text-align: justify;
}
/* Center Screen Layout */
.centerscreen2 {
    display: flex;
    justify-content: center; /* Center the boxes horizontally */
    align-items: flex-start; /* Align items at the top */
    flex-wrap: wrap; /* Allow wrapping if needed */
    margin-top: 60px; /* Adjust this as needed for space from the top */
}

/* Box Styles */
.box1, .box2 {
    top: 350px;
    height: 540px;
    width: 500.75px; /* Set fixed width for boxes */
    border: 3px solid #ffffff; /* Border for visibility */
    border-radius: 14px; /* Rounded corners */
    padding: 45px; /* Inner spacing */
    background-color: #0075bf; /* Background color */
    margin: 10px; /* Space between boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    overflow: auto; /* Allow scrolling if content overflows */
}

.box1{
    left: 300px;
   }
.box2 {
    left: 960px;
}

.box1-title1, .box1-title2, .box1-title3, .box1-title4
.box2-title1, .box2-title2, .box2-title3, .box2-title4 {
    margin-bottom: 60px; /* Adjust the margin value as needed */
  }

/* Heading Container */
.heading-container2 {
    text-align: center; /* Center the heading */
    margin-bottom: 20px; /* Space below the heading */
}

/* Heading Styles */
.screen2head {
    font-size: 24px; /* Font size for main heading */
    color: #0075bf; /* Dark color for text */
    margin: 0; /* Remove default margin */
}

/* Text Styles */
h3 {
    font-size: 16px; /* Font size for titles */
    margin-bottom: 10px; /* Space below each title */
    color: #ffffff; /* Dark color for text */
    line-height: 1.4; /* Improve text readability */
}

/* Optional: Add hover effect for boxes */
.box1:hover, .box2:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}






.typesofpark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Adjust as needed */
    height: 100%; /* Adjust as needed */
    right: 545px;
    top: 345px;
  }
  
  .typespark img {
    max-width: 100%; /* Ensure the image scales down to fit */
    height: auto;    /* Maintain aspect ratio */
  }
  
  .text-animation1 {
    left: 958px;
    top: 150px;
    position: absolute;
    transform: translateX(-50%); /* Adjust centering */
    font-size: 24px; /* Adjust font size */
    color: #fff; /* White color */
    font-weight: bold; /* Bold text */
    white-space: nowrap; /* Ensure text stays on a single line */
    text-align: center; /* Center the text */
  }
  
  .text1, .text2 {
    display: inline; /* Keep the texts on the same line */
    opacity: 0;
    animation: fadeInText 5s forwards;
    
  }

  .text-img, .text-img2 {
    display: inline-block;
    transform-style: preserve-3d; /* Enable 3D transformation */
    transition: transform 0.3s ease; /* Smooth transition for 3D hover */
  }
  
  .text1 {
    font-size: 20px; /* Adjust font size */
    color: #fff; /* White color */
    font-weight: bold; /* Bold text */
    animation-delay: 0s; /* "Forest Forever" appears first */
  }
  
  .text2 {
    font-size: 20px; /* Adjust font size */
    color: #fff; /* White color */
    font-weight: bold; /* Bold text */
    animation-delay: 3s; /* "Alqounien Park" appears after 3 seconds */
    margin-left: 10px; /* Adjust spacing between texts */
  }
  
  @keyframes fadeInText {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 1; /* Keep the text visible */
    }
  }
  











  /* screen 3 */
  /* Heading Container Styles */
.heading-container3 {
    position: absolute; /* Use absolute positioning */
    left: 50%; /* Start from the left center */
    top: 10%; /* Start from the top center */
    transform: translate(-50%, -50%); /* Center it accurately both horizontally and vertically */
    width: 100%; /* Full width to ensure centering works */
    text-align: center; /* Center text within the container */
}

/* Heading Styles */
.screen3head {
    opacity: 1; /* Set to full opacity */
    color: #0075bf; /* Font color */
    font-weight: bold; /* Make the text bold */
    font-size: 2em; /* Adjust font size as needed */
    margin: 0; /* Remove default margin */
}


.screen3contentcontainer {
    position: relative; /* Make the container relative */
    width: 80%; /* Set width for the container */
    margin: 60px auto; /* Center the container with margin */
    padding: 20px; /* Inner padding for the container */
    border-radius: 8px; /* Rounded corners for the container */
}

/* Common Styles for Columns */
.column {
    
    font-size: 21px;
    line-height: 1.6;
    position: absolute; /* Position each column absolutely */
    padding: 15px; /* Added padding for better content spacing */
    background-color: #fff; /* White background for columns */
    border: solid 3px #0075bf;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 15px; /* Rounded corners for columns */
    transition: transform 0.4s; /* Smooth transition for hover effect */
}


.screen3contentcontainer .column {
    opacity: 0; /* Start with columns hidden */
    transform: translateY(20px); /* Start slightly below */
}


/* Top Row Column Positions */
.column1 {
    top: 399px; /* Adjust position for first column */
    left: -50px; /* Align to the left */
}

.column2 {
    top: 399px; /* Adjust position for second column */
    left: 515px; /* Adjust this value as needed */
}

.column3 {
    top: 399px; /* Adjust position for third column */
    right: -30px; /* Adjust this value as needed */
}

/* Bottom Row Column Positions */
.column4 {
    top: 626px; /* Adjust this value to position below the top row */
    left: 358px; /* Align to the left for the fourth column */
}

.column5 {
    top: 626px; /* Align this column below the top row */
    left: 780px; /* Adjust this value to position below the second column */
}

/* Add hover effect for columns */
.column:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}


/* Styles for h2, ul, and li within screen3contentcontainer */
.screen3contentcontainer h2 {
    color: #0075bf; /* Set the color for h2 headings */
    font-weight: bold; /* Make the headings bold */
}

.screen3contentcontainer ul {
    color: #0075bf; /* Set the color for list items */
    list-style-type: none; /* Remove default bullet points */
    padding: 0; /* Remove padding from ul */
}

.screen3contentcontainer li {
    margin-bottom: 5px; /* Add space between list items */
}


.slider-item-item1, .slider-item-item2, .slider-item-item3, .slider-item-item4 {
    position: absolute;
    transform-style: preserve-3d;

    height: 50px;
    width: 160px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.slider {
    position: relative;
    overflow: hidden; /* Hide items outside the slider */
}
.slider-item {
    position: absolute;
    width: 100%; /* Make sure each item takes the full width */
    opacity: 0; /* Start with items hidden */
}
/* 3D hover effect with shadow */
.slider-item-item1:hover, 
.slider-item-item2:hover, 
.slider-item-item3:hover, 
.slider-item-item4:hover {
    transform: scale(1.1) rotateY(15deg);  /* Slight 3D rotation and scale */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

.slider-item-item1 {
    left: 580px;
    top: 150px;
}
  
.slider-item-item2 {
    left: 750px;
    top: 150px;
}

.slider-item-item3 {
    left: 920px;
    top: 150px;
}
  
.slider-item-item4 {
    left: 1090px;
    top: 150px;
}
  
  



  /* Heading Container Styles */
  .heading-container4 {
    position: absolute; /* Make it float over other elements */
    top: 20px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%); /* Center it horizontally */
    width: 100%;
    text-align: center;
    padding: 15px;
    z-index: 9999; /* Ensures it stays on top */
    

}

/* Heading Styles */
.screen4head {
    opacity: 1; /* Set to full opacity */
    color: #ffffff; /* Font color */
    font-weight: bold; /* Make the text bold */
    font-size: 2em; /* Adjust font size as needed */
    margin: 0; /* Remove default margin */
}










/* Center Screen Layout */
.centerscreen4 {
    display: flex;
    justify-content: center; /* Center the boxes horizontally */
    align-items: flex-start; /* Align items at the top */
    flex-wrap: wrap; /* Allow wrapping if needed */
    margin-top: 60px; /* Adjust this as needed for space from the top */
}

/* Box Styles */
.card1, .card2, .card3, .card4, .card5 {
    top: 350px;
    height: 426.55px;
    width: 333.55px; /* Set fixed width for boxes */
    border: 3px solid #ffffff; /* Border for visibility */
    border-radius: 18px; /* Rounded corners */
    padding: 45px; /* Inner spacing */
    background-color: #0075bf; /* Background color */
    margin: 10px; /* Space between boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    overflow: auto; /* Allow scrolling if content overflows */
}

.card1{
    left: 360px;
    top: 120px;
    
   }
.card2 {
    left: 860px;
    top: 120px;

}
.card3 {
    left: 1330px;
    top: 120px;

}
.card4 {
    left: 370px;
    top: 640px;
    max-height: 290px;

}
.card5 {
    left: -1130px;
    top: 542px;

}

.card1-title1, 
.card2-title1,.card3-title1,.card4-title1,.card5-title1  {
    margin-bottom: 60px; /* Adjust the margin value as needed */
  }



/* Text Styles */
h4 {
    font-size: 20px; /* Font size for titles */
    margin-bottom: 10px; /* Space below each title */
    color: #ffffff; /* Dark color for text */
    line-height: 1.4; /* Improve text readability */
}

/* Optional: Add hover effect for boxes */
.card1:hover, .card2:hover .card3:hover, .card4:hover,.card5:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}



.card1, .card2, .card3, .card5 {
    opacity: 0; /* Start invisible */
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.5s, transform 0.5s; /* Optional smooth transition */
}




/* SOLAR 3D   */
    .solar-system-container {
        width: 100%;
        height: 1080px; /* Adjust as needed */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .solar-iframe {
        width: 100%;
        height: 100%;
        border: none;
    }