body {
          display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; margin-top: 50px; margin-bottom:10px;
    color: black;
    background-image: url('starmainback.png');
        background-attachment: scroll; background-size: 120% auto; background-position: center top;
    }

 .all-container {
  margin-bottom: 0px; background-color: transparent;   margin: 0 auto;
  margin-top: 40px; padding-left: 200px; padding-right: 200px;
}


  .title {
      font-size: 30px;
      font-weight: bold;
      margin-top: 50px;
       color: black; 
       font-family: jost, sans-serif;
      background-color: rgba(255, 196, 0, 0.88);
      padding:5px;
      border: 4px dotted black;
       border-radius: 10px;
       width:55%;
    text-align:center;
    margin: auto;
    }


  a:link, a:visited, a:hover, a:active {
  color: blueviolet;
  background-color: transparent;
  text-decoration: none;
}

  p { font-size: 20px;
      color: black;
      font-family: jost, sans-serif;
      text-align: center;
      margin-top: 30px;
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      font-style: none;
      font-weight: normal; margin-bottom: 20px}



      .positive, .negative {
      padding:20px;
      border: 4px dotted black;
       border-radius: 10px; margin-bottom: 20px}

       .positive {background-color: rgba(255, 196, 0, 0.88); border: 5px dotted green;}

.negative {background-color: rgba(255, 196, 0, 0.88);border: 5px dotted red;}



    
    .subtitle, .text-container-custom2, .text-container-custom {
      font-size: 18px;
      font-family: jost, sans-serif;
      color: black;
      margin-top: 10px;
       font-weight: normal;
    }

    .text-container-custom, .text-container-custom2 p:first-child {
  font-size: 20px;
  font-weight: bold;

}

.subtitle p:nth-child(2) {
  font-size: 30px;
  font-weight: bold;
  color: purple; font-family: jost, sans-serif;
}

.subtitle p:nth-child(3) {
  font-size: 25px; font-family: jost, sans-serif;
}

.subtitle p:nth-child(4) {
  font-style: italic; font-size: 20px; font-family: jost, sans-serif;
}

.text-container-custom2 


    .text-container {
      width: 100%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 1000px;
      margin: 0 auto;


    }

    .another-container { 
    
    color: gold;
    min-height: 100vh;
    background-attachment: fixed; /
 width: 60%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 1000px;
      margin: 0 auto; 
      padding: 5px;
         

  }

  .image-container-upsidedown { 
      flex-wrap: wrap;
      margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px; transform: rotate(180deg); 
  text-align: center; /* Center the image horizontally if needed */
  margin-top: 50px; /* Adjust this value to create space between the image and previous content */
  margin-bottom: 50px; width: 100%;
}

.image-container-upsidedown .images {
  max-width: 100%; /* Ensure the image fits within its container */
  height: auto; /* Automatically adjust the image height while maintaining aspect ratio */
  position: absolute; 
}

 .image-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }


       h2 { text-align: center; font-family: jost, sans-serif; font-size: 30px;}

  .image-text-section {
  margin-top: 20px; /* Add spacing between sections */
  overflow: hidden; /* Clear float */
}

.image-container-custom {
  float: left; /* Float the image to the left */
  width: 120px; /* Set the width of the square image */
  height: 120px; /* Keep it as a small square */
  margin-right: 1px; /* Add spacing between image and text */
  text-align: center;
}

.images-custom {
  width: 100%; /* Ensure the image takes full width of its container */
  height: 100%; /* Maintain aspect ratio */
}

.text-container-custom {
  /* No need for any specific styles for the text container */
}


.image-text-section2 {
  margin-top: 20px; /* Add spacing between sections */
  overflow: hidden; /* Clear float */
}

.image-container-custom2 {
  float: right; /* Float the image to the left */
  width: 120px; /* Set the width of the square image */
  height: 120px; /* Keep it as a small square */
  margin-left: 1px; /* Add spacing between image and text */
  text-align: center;
}

.images-custom2 {
  width: 100%; /* Ensure the image takes full width of its container */
  height: 100%; /* Maintain aspect ratio */
}

.text-container-custom2 {
  /* No need for any specific styles for the text container */
}

.image-container-custom3 {
  float: left; /* Float the image to the left */
  width: 150px; /* Set the width of the square image */
  height: 150px; /* Keep it as a small square */
  margin-right: 1px; /* Add spacing between image and text */
  text-align: center;
}

.image-container-custom4 { float: right; /* Float the image to the left */
  width: 150px; /* Set the width of the square image */
  height: 150px; /* Keep it as a small square */
  margin-left: 1px; /* Add spacing between image and text */
  text-align: center; }

    .h1 {
      font-family: "jost", sans-serif;
      text-align: center;
      margin-top: 20px;
      font-size: 20px;
      color: black; padding:10px;
      background-color: rgba(255, 196, 0, 0.95);border: 4px dotted black;
    }

    .h2 {
      font-family: "jost", sans-serif;
      text-align: center; font-weight: normal;
      margin-top: 0px; font-weight: bold;
      font-size: 25px; padding:5px;
      color: black; background-color: rgba(255, 196, 0, 0.95);border: 2px dotted black;
    }

    .h3 {
      font-family: "jost", sans-serif;
      text-align: center; background-color: rgba(255, 196, 0, 0.88);width: calc(100% - 40px);
padding: 20px;
border: 4px dotted black;
border-radius: 10px;
    margin-bottom: 40px;
      margin-top: 20px ;
   padding-bottom: 40px; font-style: none; font-weight: normal;
      color: black; }

    

      .h4 {

font-family: jost, sans-serif;
      background-color: rgba(90, 0, 128, 0.7); font-weight: bold;
      padding:10px; color: white;
      border: 4px dotted gold; font-size:18px;
       border-radius: 10px;
    text-align: center;
    margin: auto; margin-top: 10px; margin-bottom: 10px;}

    .h4 a {
  color: gold; 
}


.footer p {margin-bottom: 5px; font-family: jost, sans-serif}
    
   card {
      width: 500px;
      height: 300px;
      position: relative;
      perspective: 1000px;
    }

    .card img {
      border-radius: 20px;
       width: 262px;
      height: 441px;
    }

    .card.spinning {
      animation: spin 2s ease-in-out 2;
      transform: rotateY(1800deg);
    }     

    * {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

    #paragraph {
      font-size: 18px;
      color: black;
      font-family: jost, sans-serif;
      text-align: center;
      margin-top: 30px;
      width: 70%;
      max-width: 1000px;
      margin: 0 auto;
      font-style: none;
    }

    .random-paragraph {
      font-size: 20px;
      margin: 10px 0;
      text-align: center;
      font-style: none;
      color: black;
      margin-top: 40px; 
      background-color: rgba(255, 196, 0, 0.88);
width: calc(100% - 40px);
padding: 20px;
border: 4px dotted black;
border-radius: 10px;
    margin-bottom: 40px;
      ; margin-top: 20px ;
   padding-bottom: 40px;
    
    }
    .random-paragraph {background: rgba(138, 43, 226, 0.9)!important; border: 3px dashed gold; color: white}

.random-paragraph p {
    color: white; /* Change the color to your desired value */
}

.random-paragraph a {
    color: gold; /* Change the link color to gold */
    text-decoration: none; /* Add underline to the links */
    font-weight: bold; /* Make the links bold */
}

.random-paragraph p:nth-of-type(2) {
    font-size: 30px; color: gold;/* Set the slightly bigger font size for the second paragraph */
}

/* CSS to change the link styles on hover */
.random-paragraph a:hover {
    color: deepskyblue; /* Change the link color on hover to your desired value (e.g., red) */
    text-decoration: none; /* Remove the underline on hover */
    /* Add any other hover styles you want */
}

.p {color: white !important;} 
    

    @keyframes spin {
      0% {
        transform: rotateY(0);
      }
      50% {
        transform: rotateY(720deg);
      }
      100% {
        transform: rotateY(1800deg);
      }
    }


header { 
        position: fixed;
    top:0; left:0; right:0;
    background: #282828; color:gold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
      

     }

        header .logo{
            font-weight:bolder;
            font-size: 20px;
            color:gold; font-family: "jost", sans-serif; text-decoration: none; 
        }

        header .navbar ul{
            list-style: none; color:gold
        }


        header .navbar ul li{
            position:relative;
            float: left; 
        }

        header .navbar ul li a{
            font-size:18px;
            padding:10px;
            color:deepskyblue;;
            display:block;
font-family: jost, sans-serif; 
        }


header .navbar ul li ul {
  display: none; /* Hide all nested dropdowns by default */
  position: absolute; /* Position nested dropdowns relative to the parent item */
  top: 100%; /* Align the top of the nested dropdown with the bottom of the parent item */
  left: 0; /* Position the nested dropdowns to the left of the parent item */
background-color:white; 
}

.fantasy-submenu-item:hover .fantasy-submenu {
  display: block; z-index: 999; max-height: 600px; overflow: auto ;}

header .navbar ul li ul li ul {
  top: 0; /* Align the top of the inner nested dropdown with the top of the parent item */
  left: 100%;
  background-color:white; z-index: 999; overflow-y: auto; max-height: 400px; /* Position the inner nested dropdowns to the right of the parent item */
}

header .navbar ul li:hover > ul {
  display: block; /* Show the nested dropdowns when the parent item is hovered */
}

        header .navbar ul li a:hover{
            background: gold;
            color:black; border-radius: 5px;
        }

        header .navbar ul li ul{
position:absolute;
      left:0;
      width: 200px; border-radius: 5px;
      background:#fff;
      display: none;
          left: 0;
  right: 0;
  margin: 0;
  padding: 0; /* Add this line to remove any padding */
 }

        header .navbar ul li ul li{
            width:100%;
            border-top: 1px solid rgba(0, 0, 0, .1);
          padding-left: 0;
        }

eader .navbar ul li ul li a
        header .navbar ul li ul li ul{
          max-height: 200px;
  overflow-y: auto;
  padding-left: 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 999;
}


    header .navbar ul li:focus-within > ul, 
    header .navbar ul li:hover > ul{
  display: initial;
}


#menu-bar{display: none;}

header label {
    font-size: 20px;
    color:deepskyblue;;
    cursor:pointer;
    display: none;
font-family: jost, sans-serif;
}

/* Mobile styles */
@media (max-width: 991px) {
  /* Reduce the font size of the menu items */

  .all-container {padding-left: 0px; padding-right: 0px; padding-top: 5px; margin-top: 10px;}




  header .navbar {border-radius: 5px}

header .navbar ul { padding-left:5px; padding-top: 5px; padding-bottom: 10px; margin-top: 5px; max-height: 400px;
        padding-left: 0 !important;}

  header .navbar ul li a {
    font-size: 18px;
  }
  
  header .navbar ul li ul { height: 300px; 
        left: 0;
        right: 0;
        margin: 0 auto;
        max-height: 200px;
        overflow-y: auto;
        padding-left: 0 !important; /* Remove the left padding on mobile devices */
    }
  
  header .navbar ul li ul li {
    padding-left: 0; /* Remove the left padding on mobile devices */
  }

  /* Reduce the font size of the submenus */
  header .navbar ul li ul li a {
    font-size: 16px; 
  }
header .navbar ul li ul {
    left: 0; /* Reset the left position */
    right: 0; /* Reset the right position */
    margin: 0 auto; /* Center the menu horizontally */
  max-height: 200px; /* Adjust the max-height as per your preference */
  overflow-y: auto; padding-left: 0;
  }
  

}



@media(max-width:991px){

    header{
        padding:20px;
    }

    header label {
        display: initial;
    }

    header .navbar{
        position:absolute;
        top:100%; left:0; right:0;
        background:#fff;
        border-top: 1px solid rgba(0, 0, 0, .1);
        display: none;
}

    header .navbar ul li{
        width: 90%;  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
    }
    header .navbar ul li ul {
        position: relative;
        width: 100%;
    }
    header .navbar ul li ul { height: 300px;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}
.menu-container {
  padding: 0;
}


    header .navbar ul li ul li{
        background:#eee;
    }

    header .navbar ul li ul li ul {
  max-height: 200px;
  overflow-y: auto;
  padding-left: 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 999;
}

#menu-bar:checked ~ .navbar{
    display: initial;
}

     /* Styles for the menu */
        .menu-container {
            background-color: #33424f;
            padding: 10px;
            text-align: center;
        }

        .menu-icon {
            cursor: pointer;
        }

        .menu {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

        .menu li {
            display: none;
            margin: 10px 0;
        }
      
      .menu li a:hover {
  background-color:gold; color:black;
        }

        .menu li a {
            display: block;
            padding: 5px;
            border-radius: 5px;
            color: white;
            text-decoration: none;
          font-family: jost, sans-serif
          font-size:14px;
        }

        input[type="checkbox"]:checked ~ .menu li {
            display: block;
        }

        @media screen and (max-width: 600px) {
            .button {
                font-size: 40px;
                padding: 5px 10px;
            }
          
     @media (max-width: 991px) {
    .header .navbar ul li ul {
        left: 0;
        right: 0;
        margin: 0 auto;
        max-height: 200px;
        overflow-y: auto;
        padding-left: 0;
    }
}


/* Styles for mobile devices */
@media (max-width: 991px) {
    header .navbar ul li ul {
        max-height: 200px; /* Set the maximum height for the submenu */
        overflow-y: auto; /* Enable vertical scrolling when content overflows */
        padding-left: 0px;
        padding-right: 0px; /* Remove the left padding on mobile devices */
        position: absolute; /* Position the submenu absolutely */
        top: 100%; /* Position the submenu below the parent menu item */
        left: 0; /* Align the submenu to the left of the parent menu item */
        background-color: #fff; /* Set the background color of the submenu */
        z-index: 999; /* Ensure the submenu appears above other elements */
        display: none; /* Hide the submenu by default */
    }

    header .navbar ul li:hover ul {
        display: block; /* Display the submenu on hover */
    }

    header .navbar ul li ul li {
        width: 100%; /* Set the width of submenu items to 100% */
        border-top: 1px solid rgba(0, 0, 0, .1);
    }
}
        input[type="checkbox"]:checked ~ .menu li {
            display: block;
        }


h1 {font-size: 30px;}


element.style {
}
.random-paragraph {
    background: rgba(138, 43, 226, 0.9)!important;
    border: 3px dashed gold;
    color: white;
}
.random-paragraph {
    font-size: 20px;
    margin: 10px 0;
    text-align: center;
    font-style: none;
    color: black;
    margin-top: 40px;
    background-color: rgba(255, 196, 0, 0.88);
    width: calc(100% - 40px);
    padding: 20px;
    border: 4px dotted black;
    border-radius: 10px;
    margin-bottom: 40px;
    margin-top: 20px;
    padding-bottom: 40px;
}
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
user agent stylesheet
div {
    display: block;
}

