*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  font-family: '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', sans-serif;
    text-decoration: none;
    list-style: none;
    }
    body{
        min-height: 100%;
        margin-top: 10px;
        background: rgb(32, 85, 85);
    }
    header{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 10px 7%;
        display: flex;
        background: white ;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
        height: 100px;
    
    }
    header .logo{
        font-weight: bolder;
        font-size: 25px;
        color: black;
    }
    a.logo img{
    
        width: 80px;
        height: 80px;
    }
    header .navbar ul{
        list-style: none;
    }
    header .navbar ul li{
        position: relative;
        float: left;
    }
    header .navbar ul li a{
    padding: 10px;
    color:black;
    display: block;
    }
    header .navbar ul li a:hover{
         
        background: black;
        color: white;
        border-radius: 4px;
    }
    header .navbar ul li ul{
        position: absolute;
        background: white;
        width: 200px;
        left: 0;
        display: none;
    }
     header .navbar ul li ul li{
        width: 200px;
        border-top: 1px solid black;
     }
     header .navbar ul li ul li ul{
        left: 200px;
        top: 0;
     }
     header .navbar ul li:focus-within > ul,
     header .navbar ul li:hover > ul {
        display: initial;
        background: white;
     }
     
     #sidebar-active{
        display: none;
    
    }
    
    header svg{
        fill: black;
        
    }
    .open-sidebar-button{
        float: right;
        display: none;
        margin-right: 15px;
    }

        
    
.container{
    position: relative;
    margin: 0;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background: url(rough/Earth-Space-Science.jpg);
    
}
.bubbles{
    position: relative;
    display: flex;
}
.bubbles span{
    position: relative;
    width: 10px;
    height: 10px;
    background: rgb(17, 17, 17);
    margin: 0 10px; 
    border-radius: 50%; 
    /* box-shadow: 0 0 0 10px #e5e5e79d, 0 0 0 10px rgb(241, 243, 243), 0 0 0 10px rgb(9, 37, 35); */
    animation: animate 15s linear infinite;
    animation-duration: calc(125s/var(--i));
}
.bubbles span:nth-child(even){
    background: white;
     /* box-shadow: 0 0 0 10px #928480d7, 0 0 0 10px rgb(240, 233, 236), 0 0 0 10px rgb(114, 107, 107);  */

    animation: animate 15s linear infinite;
    animation-duration: calc(125s/var(--i));
}
@keyframes animate{
    0% {
        transform: translateY(100vh) scale(0);

    }
    100% {
        transform: translateY(-10vh) scale(1);
        
    }
}

footer{
    width: 100%;
    height: 450px;
    background: rgb(32, 85, 85);
    background-size: cover;
    overflow: hidden;
    margin-top: 0;
    
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
  
}

div.middlepart{
    
    
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 80% ;
    border-bottom-right-radius:30%;
    left: 0;
    top: 0;
    position:absolute;
    height: 80%;
    justify-content: space-between;
    
  }
  .middlepart div.background{
    width: 100%;
    background: rgba(13, 14, 13, 0.5);
    padding: 0;
    height: 500px;
    color: white;
    border-radius: 0;
    margin: 0;
  }
  div.middlepart h1{
    font-weight: bold;
    color: black;
    text-decoration: underline;
    margin: 15px 5%;
  }
  .middlepart div.background p{
    color: white;
    font-family: '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', sans-serif;
    font-size: large;
    margin: 15px 1%;
    
  }
  .middlepart .advert{
    width: 100%;
    background: rgba(148, 191, 204, 0.5);
    height: 500px;
    padding: 1%;
    border-radius: 30px;
    margin: 1%;;
    display: flex;

  }
  
  .middlepart div.background h1{
    color: white;
    text-decoration: none;
    margin-left: 40%;
  }

  .middlepart div.background span {
    font-weight: bold;
    font-style: italic;
  }

 .middlepart div.background h4{
    margin: 5px 1%;

 }

 .middlepart div.background h3{
    margin: 0 1%;
 }
 
.text-on-earth {
  color: white;
  text-shadow: 2px 2px 5px black;
  font-size: 2em;
  z-index: 2;
}


  

    .footercontainer{
        min-height: 200px;
        background-color: black;
        margin-top: 100px;
        color: white;
        padding: 40px 30px 20px;
        
      }
      .socials{
      display: flex;
      justify-content: center;
      }
      .socials a{
        text-decoration: none;
        padding: 5px;
        margin: 10px;
        border-radius: 50%;
        background-color: white;
      }
      
      .socials a i{
        font-size: 2em;
        color: black;
        opacity: 0.9;
      }
      .socials a:hover{
      background-color: black;
      transition: 0.5s;
      }
      .socials a i:hover{
        color: white;
      }
      
      
      .footerNav {
        margin: 30px 0;
      }
      
      .footerNav ul{
        display: flex;
        justify-content: center;
      }
      .footerNav ul li a{
      
        color: white;
        margin: 5px;
        text-decoration: none;
        opacity: 0.7s;
        transition: 0.5s;
        padding: 5px;
        border-radius: 2px;
      }
      .footerNav ul li a:hover{
        background-color: white;
        color: black;
        transition: 0.5s;
      }
      .footerbottom{
        background-color: black;
        
        padding: 20px;
        text-align: center;
        color: white;
      }


.overlay-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 2em;
      font-weight: bold;
      text-shadow: 2px 2px 5px black;
    }

   .cookiebg{
    background-color: rgb(211, 205, 205);
    height: 40%;
    width: 100%;
    
    position:fixed;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 5%;
    padding: 5px;
    border-radius: 8px;
    line-height: 1.5;
    transition: 0.5s;
    transform: translateY(-1800px) ;
   }
.hd span{
    font-weight: bold;
}

.cookiebg a{
    text-decoration: none;
    color: blue;
}
.cookiebg button {
    background: black;
    color: white;
    height: 40px;
    width: 120px;
    align-items: center;
    border-radius: 4px;
}
.cookiebg.appear{
    transform: translateY(30%);
}
.firstclss{
    height: 95%;
    width: 60%;
    margin: 0 25px;
    background: transparent;
    display: flex;
    border-radius: 10px;
    overflow:hidden;

}

.firstclss .img1{
    width: 60%;
    margin: 5px;
    border-radius: 5px;
    height: 95%;
    background:transparent;
    object-fit: cover;
    position: relative;
}

.firstclss .img1 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
            display: block;
            position: absolute; 
            top: 0;
            left: 0;
            max-width: 100%; 
            max-height: 100%; 
        }

.firstclss .img2{
    width: 30%;
    height: 95%;
    border-radius: 5px;
    margin: 5px;
    background:transparent;
}


  


.secondclss{
    height: 95%;
    width: 30%;
    margin: 0 25px;
    background: transparent;
    display: flex;
    flex-direction: column;
    border-radius: 10px;

}

 .secondclss .img3{
    width: 100%;
    margin: 5px;
    border-radius: 5px;
    height: 50%;
    background: white;
}
.secondclss .img3 h3{
    margin: 5px 30%;
}
.secondclss .img3 p{
  margin: 2px 3%;  
  font-weight: bold;
  font-style: italic;
}

 .secondclss .img4{
    width: 100%;
    height: 50%;
    border-radius: 5px;
    margin: 5px;
    background: black;
}
.secondclss .img4 h3{
    color: white;
    margin: 5px 30%;
}
.secondclss .img4 p{
    margin: 2px 3%;  
    font-weight: bold;
    font-style: italic;
    color: white;
}
       
        .firstclss .img1:hover img,
        .firstclss .img2:hover img,
        .secondclss .img3:hover img,
        .secondclss .img4:hover img {
            transform: scale(1.05);
            transition: transform 0.3s ease;
        }

       
        @media (max-width: 600px) {
            .container {
                flex-direction: column;
                height: auto;
            }
            
            .firstclss, .secondclss {
                width: 100%;
                margin: 10px 0;
            }
            
            .firstclss {
                flex-direction: column;
                height: 400px;
            }
            
            .firstclss .img1, .firstclss .img2 {
                width: 100%;
                height: 45%;
            }

        body{
        min-height: 100%;
        margin-top: 0%;
        background: rgb(32, 85, 85);
    }

    .middlepart div.background h1{
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    margin-top: 0;
    margin-left: 20%;
  }
        }
   
@media (max-width:600px){
    .middlepart div.background{
    width: 100%;
    background: rgba(13, 14, 13, 0.5);
    padding: 1%;
    height: 870px;
    color: white;
    border-radius: 0;
    margin: 0;
  }
        header{
            padding: 20px;
        }
        header svg{
            display: initial;
        }
        header .navbar{
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-top: 1px solid black;
            width: 100%;
            display: none;
        }
        header .navbar ul li{
            width: 100%;
    
        }
        header .navbar ul li ul{
            position: relative;
            width: 100%;
            left: 20px;
        }
        header .navbar ul li ul li{
            background: white;
            width: 100%;
        }
        header .navbar ul li ul li ul{
            width: 100%;
            left: 40px;
        }
        .open-sidebar-button{
            display: block;
    
        }
        #sidebar-active:checked~.navbar{
            display: initial;
            
        }
        .bubbles{
            position: relative;
            display: flex;
        }
        .bubbles span{
            position: relative;
            width: 5px;
            height: 5px;
            background: rgb(20, 20, 19);
            margin: 0 2px; 
            border-radius: 50%; 
            
            animation: animate 15s linear infinite;
            animation-duration: calc(125s/var(--i));
        }
        .bubbles span:nth-child(even){
            background: white;
             
        
            animation: animate 15s linear infinite;
            animation-duration: calc(125s/var(--i));
        }
        .lowerpart{
            display: block;
            padding-left: 40%;
            
            
        }
        
        header .logo{
            font-weight: bolder;
            font-size: 20px;
            color: black;
            margin-left: 0;
        }
        a.logo img{
            margin-left: 0;
            width: 70px;
            height: 70px;
        }

        .footerNav ul{
            flex-direction: column;
        
          }
          .footerNav ul li{
            width: 100%;
            text-align: center;
            margin: 10px;
          }

    footer{
    width: 100%;
    height: 870px;
    background: rgb(32, 85, 85);
    background-size: cover;
    overflow: hidden;
    margin-top: 0;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
  
}

    div.middlepart{
    
    
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 80% ;
    border-bottom-right-radius:30%;
    left: 0;
    top: 0;
    position:absolute;
    height: 90%;
    justify-content: space-between;
    
  }
  .container{
    position: relative;
    margin: 0;
    width: 100%;
    height: 35vh;
    overflow: hidden;
    background: url(rough/Earth-Space-Science.jpg);
    
}
    
     }




.main-container {
    max-width: 100%;
    margin: 0;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
        }

.header-title {
            text-align: center;
            
            
        }


        .section {
            display: flex;
            align-items: center;
            min-height: 400px;
            padding: 10px;
            gap: 40px;
            position: relative;
            transition: all 0.3s ease;
            background: transparent;
        }

        .section:hover {
            transform: translateY(-5px);
        }

        .section:nth-child(1) {
            background: transparent;
        }

        .section:nth-child(2) {
            background: transparent;
           
        }

        .section:nth-child(3) {
            background: transparent;
        }

        .text-content {
            flex: 1;
            padding: 20px;
        }

        .text-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .text-content h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 4px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 2px;
        }

        .text-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.9);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .text-content .highlight {
            font-weight: 600;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            margin: 0 2px;
          
        }

        .image-content {
            flex: 1;
            position: relative;
            height: 350px;
        }

        .image-content img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            display: block;
            opacity: 1;
            visibility: visible;
        }

        .image-content img:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .section-number {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 4rem;
            font-weight: 900;
            opacity: 0.1;
            color: white;
        }

        .icon {
            display: inline-block;
            width: 30px;
            height: 30px;
            margin-right: 10px;
            vertical-align: middle;
            opacity: 0;
            visibility: hidden;
        }

        
        @media (max-width: 600px) {
            .section {
                flex-direction: column !important;
                text-align: center;
                padding: 0;
                gap: 20px;
            }

            .text-content h2 {
                font-size: 2rem;
            }

            .text-content h2::after {
                left: 50%;
                transform: translateX(-50%);
                background: transparent;
            }
            .header-title {
            text-align: center;
            
            
            }

            .image-content {
                height: 250px;
                width: 100%;
                max-width: 400px;
            }

            .section-number {
                position: relative;
                top: 0;
                right: 0;
                font-size: 3rem;
                margin-bottom: 20px;
            }
        }

        @media (max-width: 600px) {
            .section {
                padding:0 15px;
            }

            .text-content h2 {
                font-size: 1.8rem;
            }

            .text-content p {
                font-size: 1rem;
            }
        }
