
   /* DESKTOP */
    h1 {
        font-family: "Poppins", sans-serif;
        color: rgb(24, 23, 22);
        font-size:60px;
        margin-left: 20px;
    }

    a {
        font-size: large;
        color: rgb(24, 23, 22);
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-style: normal;
    }

    #desc {
        margin-left: 60px;
        font-size: 20px;
            height: 200px;
            display: flex;
            z-index: 2;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            margin-bottom: 0px;
            
  transform: translateY(20px); /* start slightly lower */
  animation: myAnim 1s ease-in 0s 1 normal forwards;
}

@keyframes myAnim {
	0% {
		animation-timing-function: ease-in;
		opacity: 0;
		transform: translateY(-250px);
	}

	38% {
		animation-timing-function: ease-out;
		opacity: 1;
		transform: translateY(0);
	}

	55% {
		animation-timing-function: ease-in;
		transform: translateY(-65px);
	}

	72% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	81% {
		animation-timing-function: ease-in;
		transform: translateY(-28px);
	}

	90% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	95% {
		animation-timing-function: ease-in;
		transform: translateY(-8px);
	}

	100% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}
}
    .vitamin-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;  /* two equal columns */
        gap: 2rem;                       /* space between cards */
        max-width: 1000px;               /* optional max width */
        margin-left:0px;                  /* center the grid */
        padding: 1rem;
      }

      .vitamin-card {
        background: #fff;                /* or transparent */
        border-radius: 12px;
        overflow: hidden;
        text-align: center;
      }
      
      .vitamin-card img {
        width: 100%;                     /* make image fill card */
        height: auto;
        display: block;
      }
      
      /* Responsive single column on small screens */
      @media (max-width: 768px) {
        .vitamin-grid {
          grid-template-columns: 1fr;
        }
      }

    /* #desc {
        margin-left: 60px;
        font-size: 20px;
        background: url(images/marine-header.png)no-repeat center;
        background-size: contain;
            height: 200px;
            display: flex;
            z-index: 2;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            margin-bottom: 0px;
    } */

    img {
        border-radius:10px;
    }

    footer, ul, li, h3, h2 {
        font-family: "Poppins", sans-serif;
        line-height: 30px;
    }

    p {
        font-family: "Poppins", sans-serif;
        font-size: 16px;
    }

    h2 { 
        color: rgb(24, 23, 22);
    }


    header {
        display: flex;
        flex-direction: row;
        align-items: center; 
        background-color: rgb(255, 255, 255);
        padding: 20px 60px;
    }




    /* NAVIGATION */
    nav {
        margin-left: auto;
    }

    nav ul {
        display: flex;
        gap:30px;
        
        
    }

    nav a {
        justify-items: right;
    }


    nav ul li {
        list-style-type: none;
        background-color:  rgb(255, 255, 255);
        padding:10px;
        border-radius: 5px;
        
    }

    nav ul li a {
        text-decoration: none;
    }

    .nav-links {
        display: flex;
        gap: 30px;
        margin-left: auto;
        justify-content: right;
        padding-left: 900px;
      }

    .nav-links li:hover {
        position: relative;
        transform: translateY(-10px); /* move text upward */
        text-decoration:underline;
        
    }

    .nav-toggle {
        display: none;
      }
    
    #about-me-button li {
        list-style-type:none;
        background-color:  rgb(218, 237, 255);
        padding:10px;
        border-radius: 5px;
        box-shadow:  rgb(218, 237, 255) 6px 6px 0;
      }

      #about-me-button li a {
        color:rgb(223, 236, 230);
        
      }




        /* PROJECT GALLERY */
    #cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    article img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    article:hover img {
        transform: scale(1.05);
    }
    
    article {
        border-radius: 10px;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        padding:5px;
        position: relative;
    }

    article .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0; 
        background: rgba(0, 13, 29, 0.5); 
        color: rgb(255, 255, 255);
        font-size: large;
        align-items: center;
        justify-content: center;
        text-align: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 1rem;
        border-radius: 10px;
    }
    
    article:hover .overlay {
        opacity: 1;
    }
    
    article .overlay h1 {
        color: white;
    }





     /* INNER PROJ GALLERY */

    #inn-gal img {
        display: block;
        width:1000px;
        margin: 0 auto;
        padding-bottom: 20px;
    }

    #inn-desc p {
        margin-left:0;
        justify-items: left;
    }

    #inn-desc > h3, p {
        padding:10px;
        max-width: 65ch;
    }

    #inn-desc h3 {
        font-size: xx-large;
    }

    #inn-desc p {
        font-size:large;
        font-family:"Poppins", sans-serif;
    }


    #inn-desc h3, ul li {
        margin-top:20px;
        font-family:"Poppins", sans-serif;
        color:rgb(24, 23, 22);
        padding:10px;
        border-radius: 5px;
    }

    #inn-desc p {
        color: rgb(24, 23, 22);
        line-height: 2;
    }

    #inn-desc, p img {
        justify-items: center;
    }

    #dore-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    #dore-gallery img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }


    .zibbit-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-bottom: 20px;   
    }

    @media (max-width: 768px) {
        .zibbit-grid {
          grid-template-columns: 1fr;
        }
    }

    #inn-gal-zucha {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding-bottom: 20px; 
        margin: 0, auto;
    }

        /* PAGE */

    footer {
        background-color: rgb(223, 236, 230);;
        height: 200px;
        width: 100vw;
        display: flex;
        z-index: 2;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 0;
        color: rgb(24, 23, 22);
    }


        /* ABOUT ME */
    #about-me {
        display: flex;
        flex-direction: row; 
        align-items:start; 
        justify-content: center; 
        gap: 20px; 
        margin-top:40px;
        margin-bottom:50px;
    }

    #about-me img {
        object-fit: contain;
        width: auto; 
        height: 500px;
        padding-left:0;
        margin-right:10px;
    }

    #about-me h2, h3{
        color:rgb(24, 23, 22);
    }

    #about-me p{
        color:rgb(24, 23, 22);
    }



 /* MOBILE */
@media screen and (max-width: 768px) {

    #desc {
        margin:auto;
    }

    header h2 {
        font-size: x-large;
    }

    article, #cards {
        display:block;
        justify-items: center;
        margin-bottom: 40px;
        max-width: 500px;
        margin:auto;
    }

    h2, h3 {
        font-size: 15px;
    }

    h1 {
        font-size:40px;
    }

    /* HAMBURGER MENU */
    .nav-toggle {
        display: block;
        margin-left: auto;
        color:rgb(24, 23, 22);
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
      }
    
      .nav-links {
        display: none;
        z-index: 3;
        flex-direction: column;
        background-color: #FAFAFA;
        position: absolute;
        top: 60px;
        right: 40px;
        width: 200px;
        padding: 20px;
        border-radius: 10px;
      }
    
      .nav-links.active {
        display: flex;
      }
    
      nav {
        margin-left: 0;
      }
    
      header {
        padding: 20px 20px;
        flex-wrap: wrap;
      }

      #inn-gal img {
        display: block;
        max-width:390px;
        margin: 0 auto;
    }

    #inn-desc img {
        max-width:370px;
        margin: 0 auto;
        justify-items: center;
    }



        /* ABOUT ME */
        #about-me {
            display: flex;
            flex-direction: row; 
            align-items:start; 
            justify-content: center; 
            gap: 20px; 
            margin-top:40px;
            margin-bottom:50px;
        }
    
        #about-me img {
            object-fit: contain;
            width: auto; 
            height: 200px;
            padding-left:0;
            margin-right:10px;
            margin-left:10px;
        }
    
        #about-me h2, h3{
            color:rgb(34, 97, 156);
        }
    
        #about-me p{
            color:rgb(8, 61, 109);
        }

        #secondary-ring-fire img {
            display:block;
            width: 390px;
        }
}