        
        * {
            margin: 0;
            padding: 0;
            box-sizing:border-box;
        }

        html {
            height: 100%;
            width: 100%;
        }

        body {
            background-image: url("Slike/pozadina.jpg");
            font-family: Tahoma, Helvetica, sans-serif;
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
        }

        section {
            width: 100%;
            height: 100vh;
        }

        #naslovna {
            font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
            background-image: url("Slike/Zemlja_pozadina.webp");
            background-position: center;
            background-size: cover;
            width: 1900px;
            height: 1000px;
        }

        #astronomija {
            font-family: Rajdhani, sans-serif;
            background-image: url("Slike/pozadina3.png");
            color: #f5f5f5;
            background-position: center;
            background-size: cover;
            display: flex;
            justify-content: space-between;
            font-size: larger;
        }

        #mljput{
          font-family: Rajdhani, sans-serif;
          background-image: url("Slike/pozadina3.png");
          color: #f5f5f5;
          background-position: center;
          background-size: cover;
          display: flex;
          justify-content: space-between;
          font-size: larger;
        }

        #suncev-sustav {
            font-family: Rajdhani, sans-serif;
            background-image: url("Slike/slikaizamjeseca.jpg");
            background-position: center;
            background-size: cover;
            display: flex;
            justify-content: space-between;
        }


        #articles-container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        #opisa {
            
            max-width: 800px;
            height: fit-content;
            min-height: 300px;
            padding: 30px;
            margin: 80px;
        }

        #mljputtekst{

            height: fit-content;
            padding: 30px;
            margin: 80px;
        }


        #slika img {
          height: 666px;
          width: 605px;
          margin-right: 200px;
          margin-top: 100px;
        }
        

        #drugi img {
            width: 100%;
            height: auto;
	      		margin: 20px;
            
        }




        #slike{
           margin-left: 21.5%;

          img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            transition: transform 1000ms;
          }
          
          ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 0.5rem;
            grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
            max-width: 100%;
            width: 70rem;
          }
          
          figure {
            margin: 0;
            position: relative;
            overflow: hidden;
          }
          
          figure::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 200%;
            height: 200%;
            background: rgba(0, 0, 0, 0.5);
            transform-origin: center;
            opacity: 0;
            transform: scale(2);
            transition: opacity 300ms;
          }
          
          figcaption {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            place-items: center;
            text-align: center;
            padding: 1rem;
            color: white;
            font-size: 1.2rem;
            z-index: 1;
            opacity: 0;
            transition: opacity 600ms, transform 600ms;
          }
          
          a:is(:hover, :focus) figure::after {
            opacity: 1;
          }
          
          a:is(:hover, :focus) figcaption {
            opacity: 1;
            transition: opacity 600ms;
          }
          
          @media (prefers-reduced-motion: no-preference) {
            figcaption {
              transform: translate3d(0, 2rem, 0);
            }
            
            figure::after {
              border-radius: 50%;
              opacity: 1;
              transform: scale(0);
              transition: transform 900ms;
            }
            
            a:is(:hover, :focus) figure::after {
              transform: scale(2.5);
            }
          
            a:is(:hover, :focus) figcaption {
              opacity: 1;
              transform: translate3d(0, 0, 0);
              transition: opacity 600ms 400ms, transform 600ms 400ms;
            }
          
            a:is(:hover, :focus) img {
              transform: scale(1.2);
            }
          }
        }
        
       .galerija{
          color: #fff;
          text-align: center;
       }

        h1 {
            font-size: 100px;
            margin: auto;
            width: 90%;
            font-weight: lighter;
            font-family: Rajdhani, sans-serif;
        }

        nav {
            text-align: center;
            font-family: Rajdhani, sans-serif;
            width: 100%;
            position: fixed;
            z-index: 1;
            top: 70px;
        }

        ul {
            width: 35%;
            margin: 0 auto;
            list-style-type: none;
        }

        ul li {
            float: left;
            margin-right: 30px;
        }

        ul li a {
            color: #fff;
            text-decoration: none;
        }

        ul li a:hover {
            text-decoration: underline;
        }

        h1 {
            color: #fff;
            text-align: center;
            margin-top: 150px;
        }

        h3{
            text-align: center;
        }

        h4{
          text-align: center;
          color: #fff;
          font-weight: 100;
          font-size: larger;
          font-family: Rajdhani, sans-serif;
        }


        .solar-system {
          position: relative;
          width: 780px;
          height: 780px;
          margin: auto;
          overflow: hidden;
        }
        

        .orbit {
          border: 1px dashed #666;
        }
        
        #sun,
        .orbit,
        .orbit + div,
        .orbit + div > div {
          position: absolute;
        }
        
        #sun,
        .orbit,
        .orbit + div {
          top: 50%;
          left: 50%;
        }
        .orbit + div > div {
          top: 0;
          left: 50%;
        }
        
        .orbit,
        .orbit + div div,
        #earth {
          border-radius: 50%;
        }

        
        #sun {

          height: 200px;
          width: 200px;
          background-color: #fae20a;
          margin-top: -100px;
          margin-left: -100px;
          border-radius: 50%;
          box-shadow: 0 0 84px orange;
        }
        
        #earth {
          position: absolute;
          top: 0;
          left: 50%;
          height: 50px;
          width: 50px;
          margin-left: -25px;
          margin-top: -25px;
          border-radius: 50%;
          box-shadow: 0 0 34px #3a4385;
        }
        
        .earth-orbit,
        .earth-spin {
          width: 500px;
          height: 500px;
          margin-left: -250px;
          margin-top: -250px;
        }
        
        #moon {
          margin-top: -6px;
          margin-left: -6px;
          height: 12px;
          width: 12px;
          border-radius: 50%;
          background: white;
          box-shadow: 0 0 14px #3a4385;
        }
        .moon-orbit,
        .moon-spin {
          height: 90px;
          width: 90px;
          margin-top: -45px;
          margin-left: -45px;
          border-color: #447;
        }
        
        #venus {
          margin-top: -20px;
          margin-left: -20px;
          height: 40px;
          width: 40px;
          background-color: #dfc2a6;
          box-shadow: 0 0 34px #3a4385;
        }
        .venus-orbit,
        .venus-spin {
          margin-top: -185px;
          margin-left: -185px;
          width: 370px;
          height: 370px;
        }
        
        #mercury {
          margin-top: -13.5px;
          margin-left: -13.5px;
          height: 25px;
          width: 25px;
          background-color: #a65e22;
          /* box-shadow: 0 0 34px #3a4385; */
        }
        
        .mercury-orbit,
        .mercury-spin {
          width: 280px;
          height: 280px;
          margin-left: -140px;
          margin-top: -140px;
        }
        
        #mars {
          margin-top: -16px;
          margin-left: -16px;
          height: 32px;
          width: 32px;
          background-color: #863222;
          box-shadow: 0 0 14px #a64232;
        }
      
        
        .mars-orbit,
        .mars-spin {
          width: 700px;
          height: 700px;
          margin-left: -350px;
          margin-top: -350px;
        }

      
        
        @keyframes spin-right {
          100% {
            transform: rotate(360deg);
          }
        }
        
        .earth-spin {
          animation: spin-right 36.5s linear infinite;
        }
        .moon-spin {
          animation: spin-right 3s linear infinite;
        }
        .venus-spin {
          animation: spin-right 22s linear infinite;
        }
        .mercury-spin {
          animation: spin-right 8.8s linear infinite;
        }
        .mars-spin {
          animation: spin-right 68.7s linear infinite;
        }
        
        .myDIV:hover + .hide {
          display: block;
          color: red;
        }


       .pozadina video{
       position: absolute;
       z-index: -1;
  
        }
        video {
        object-fit: cover;
        }
  
  .footer{
  background:#000;
  padding:30px 0px;
  font-family: 'Play', sans-serif;
  text-align:center;
  margin-top: auto;
  }
  
  .footer .row{
  width:100%;
  margin:1% 0%;
  padding:0.6% 0%;
  color:gray;
  font-size:0.8em;
  }
  
  .footer .row a{
  text-decoration:none;
  color:gray;
  transition:0.5s;
  }
  
  .footer .row a:hover{
  color:#fff;
  }
  
  .footer .row ul{
  width:100%;
  }
  
  .footer .row ul li{
  display:inline-block;
  margin:0px 30px;
  }
  
  .footer .row a i{
  font-size:2em;
  margin:0% 1%;
  }
  
  @media (max-width:720px){
  .footer{
  text-align:left;
  padding:5%;
  }
  .footer .row ul li{
  display:block;
  margin:10px 0px;
  text-align:left;
  }
  .footer .row a i{
  margin:0% 3%;
  }
  }

.oplanetama {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: 140px;
  margin-top: 20px;
}

.planete {
  width: 300px;
  height: 300px;
  margin: 10px;
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow: hidden;
}

.planetenaslov {
  margin-bottom: 10px;
  color: #786c7b;
  cursor: pointer; 
  transition: margin-bottom 0.5s ease; 
}

.planete:hover .planetenaslov {
  margin-bottom: 20px;
}

.planetetekst {
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease; 
}

.planete:hover .planetetekst {
  opacity: 1; 
}


.column {
float: left;
width: 50%;
padding: 10px;
height: 300px; 
}

.row:after {
content: "";
display: table;
clear: both;
}

.pozadina video{
position: absolute;
z-index: -1;
}

