@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Calibri', sans-serif;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    text-shadow: 10px black;
}

html{
    overflow-x: hidden;
  scroll-behavior: smooth;

}

body{
    width: 100%;
    height: 100vh;
    overflow: flex;
    background: #203543;
}

.fade-in-section{
    display: flex;
    justify-content: center; 
    align-items: center;     
    height: calc(100vh - 10vh);           
    background-color: #203543;          
    text-align: center;
    animation: fadeIn 1.5s ease-out forwards;
  }

nav{
    width: 100%;
    height: 10vh;
    position: sticky;
    background-color: black;
      background-image: linear-gradient(#24302B, #171c20);

}

.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;

}

.logo {
    display: flex;
    align-items: center; /* Centers logo and text vertically */
}

a.logo {
    text-decoration: none;
}
  
.logo-text {
    color: white;
    text-decoration: none;
}
 

.logo img {
    height: 75px;
    width: auto;
    display: block;
    margin-top: 5px; 
    padding-bottom: 5px; 
    

    position: absolute;
    left: 3em;
}

.logo-text {
    font-size: 35px; /* Adjust text size */
    font-weight: bold;
    color: white; /* Adjust color if needed */
    display: inline-block;
}


.hamburg, .cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: rgb(255, 255, 255);
    font-size: 2rem;
    display: none;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
      background-image: linear-gradient(#24302B, #171c20);
    text-align: center;
    padding: 20px 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    display: block;
    transition: 0.3s ease;

}

.mobile-menu ul li a:hover {
    color: #f6d659;
}

.nav-container .links{
    display: flex;
    gap: 3rem;
    align-items:center;
    

}

.nav-container .links a{
    position: relative;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    transform: 0.3s linear;
    left:5em;
  
}

.nav-container .links a::before{
    background-color: black;
    position: absolute;
    content:"";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #f6d659;
    transition: 0.2s linear;
}

.nav-container .links a:hover:before{
    width: 100%;
}




.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: visible;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease-out forwards;
    gap: 60px;
}

.main-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-container > * {
    position: relative;
    z-index: 2;
}

/* Background Animation */
@keyframes scrollBackground {
    from {
        background-position: -100% 0;
    }
    to {
        background-position: 0 0;
    }
}


.main-container image{
    z-index: -1;
    width: 50%;
  
}

.main-container .image img {
    width: 100%; /*  Logo */
    max-width: 500px; /* Matches the size on other pages */
      border-radius: 30px;
}

.main-container .content{
  
    width: 40%;
    min-height: 100px;
    padding-top: 100px;
}

.content h1 {
    font-size: 3.5rem;
    
}

.content h1 span{
    color: #F8D859;
}




.content .typewriter {
    display: inline-block;
    font-weight: 600;
    font-size: clamp(1rem, 1rem + 5vw, 2rem);
    white-space: nowrap; /* Prevents line breaks */
}


.typewriter span {
    font-size: 3rem;
    text-shadow: 0 0 5px rgb(0, 0, 0);
    text-decoration: underline;
    position: relative;
    display: inline-block; /* Ensures cursor alignment */
    color: rgb(0, 212, 166);
    font-weight: bold;
}


.typewriter span::before {
    content: "Multimedia Designer";
    animation: words 15s infinite;
}


.typewriter span::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    right: -3px; 
    animation: cursor 0.6s linear infinite;
}





 .project-btn
  {
    font-size: calc(25px + (20 - 16) * (100vw - 400px) / (1800 - 400));
    border: 3px solid whitesmoke;
    border-radius: 25px;
    font-weight: 450;
    font-family:'Calibri', sans-serif;


    color:  #ffffff;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;


    margin-top: 50px;
    display: inline-block;

    transition: ease-in-out 0.5s;


   }







  .project-btn:visited 
   {
    background-color: #F8D859;
   }

   .project-btn:hover:visited 
   {
    color:  #203543;

   }


   .project-btn:hover 
   {
    animation: none;
    background-color:  #F8D859;

   }



  .icon1 {
  position: absolute;
  left:15em;
  bottom: 40em;
  }



  .icon2 {
  position: absolute;
  left:15em;
  top: 40em;
  }



  .icon3 {
  position: absolute;
  right:15em;
  bottom: 40em;
  }

.icon4 {
  position: absolute;
  right:15em;
  top: 40em;
  }



  .icon1{
    transform: translateY(-10%);
    animation: floater 4.5s infinite;
    transition: ease 0.5s;
    width: 100px;
    height:100px;
  }


  
  .icon2{
    transform: translateY(-10%);
    animation: floater 5.5s infinite;
    transition: ease 0.5s;
  
    width: 100px;
    height:100px;
  }
  

    
  .icon3{
    transform: translateY(-10%);
    animation: floater 6.0s infinite;
    transition: ease 0.4s;
    width: 100px;
    height:100px;
  }
  

      
  .icon4{
    transform: translateY(-10%);
    animation: floater 6.5s infinite;
    transition: ease 0.4s;
    width: 100px;
    height:100px;

  }
  

  
  @keyframes floater {
    0%{transform: translateY(-10%);transition: ease-in-out 0.5s;}
    50%{transform: translateY(10%);transition: ease-in-out 0.5s;}
  }

   



.profile-picture {
    position: relative;
    display: block;
    width: 80%; 
    margin: 100px auto 0; 
    max-width: 200px;
}



  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(10px);
    }
    60% {
      transform: translateX(-50%) translateY(5px);
    }
  }


@keyframes cursor{
    to{
        border-left: 3px solid rgb(50, 34, 189);
    }
}

@keyframes words{
    0%, 33%{
    content: "Multimedia Designer!";
}
    34%, 66%{
    content: "Motion Designer!";
}
    67%, 100%{
    content: "UX/UI designer!";
}

}

.content p{
    font-size: 35px;
    margin: 30px 0;
}

ul {
    list-style-type: disc; 
    padding-left: 10px; 
    margin-left: 10px; 
        list-style-type: none;

}

ul li {
    margin-bottom: 5px; 
    font-size: 1.2rem; 
}
 
.social-links {
    display: flex;
    justify-content: left;
    gap: 20px; 
}

.social-links a {
    display: flex;
    align-items: left;
    justify-content: left;
    margin-top: 10px;
    width: 60px; /* Circle size */
    height: 60px;
    border-radius: 50%;
    border: 3px solid #f6d659; /* Adjust border color if needed */
    background-color: #203543; /* Dark green background */
    text-decoration: none;
    transition: transform 0.3s ease-in-out, background-color 0.3s;
    position: relative;
}

/* Fix icon alignment */
.social-links a i {
    font-size: 28px; /* Keeps icons balanced */
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers icons perfectly */
}

/* Hover effect */
.social-links a:hover {
    transform: scale(1.1);
    background-color: #000000; /* Darker green on hover */
}


/* Learn More Button */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Adjust spacing */
}

.btn {
    display: flex;
    justify-content: left;
    margin-top: 20px;
}

.button {
    display: inline-block;
    text-align: center;
    padding: 15px 24px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    border: 3px solid #ffffff; /* Adjust border color if needed */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    width: 300px;
}

.button:hover {
    transform: scale(1.1);
    background-color: white;
    color: rgb(32, 54, 32);
    border: 2px solid rgb(18, 34, 23);
    box-shadow: 0 0 10px black;
}

.design-skills-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 40px;
    gap: 20px;
    box-sizing: border-box;
    justify-content: center;
  }
  
  .design-box {
    flex: 1 1 calc(50% - 20px);
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    color: white;
  }
  
  .design-box h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 20px;
    z-index: 2;
    position: relative;
    opacity: 0;                
    transition: opacity 0.3s ease;
  }
  
  .design-box:hover h2 {
    opacity: 1;               
  }
  
  .design-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    z-index: 1;
  }
  
  .design-box:hover::before {
    background-color: rgba(0, 0, 0, 0.856);
  }
  
  .skills-heading {
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
  }

  .booster-juice {
    background-image: url('images/Booster-Juice.jpg');
  }
  
  .humber-bakery {
    background-image: url('images/Humber-Bakery.jpg');
  }
  
  .insomia-cookie {
    background-image: url('images/Insomia-Cookie.jpg');
  }
  
  .nintendo-switch {
    background-image: url('images/Nintendo-switch.jpg');
  }


   .ripple{
    background-image: url('images/Ripple.jpg');
  }


   .juiced{
    background-image: url('images/Portfolio\ 5.jpg');
  }







/* Styling the Contact section */



.footer-image img{
    display: block;
   margin-left: auto;
   margin-right: auto;
    max-width: 20%;
    padding-top: 250px;
}



#footer-content
{
  display: flex;
  align-items: center;
  justify-content:center;
  flex-direction: column;
  text-align: center;

  background: var(--navy-blue);
  background-size: auto;
  color:var(--white);
  padding-bottom: 100px;

}



.footer-content h3{

  font-size: 2.4em;


  max-width:600px;
  margin: 60px auto ;
  line-height: 45px;




  }


.footer-content p{
  font-size: 1.5rem;
  font-weight:390;

margin: 50px auto;
line-height: 28px;


}


.contact-btn {
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
  padding: 12px 35px;
  color: white;
  border: 2px solid #D0DFD1;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.5s ease, color 0.5s ease; /* Makes the hover smooth */
}

/* The hover state */
.contact-btn:hover {
  background-color: #f6d659;
  color: #203543;
}
   
    


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px); /* Start 30px lower */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* End at original position */
  }
}

/* 2. Apply to the Containers */
#skills,
.gallery-section,
.footer-image, 
.footer-content,
.project-1,
.project-tools,
.project-2,
.project-3,
.project-4,
.project-5,
.project-6 {
  opacity: 0; /* Hide initially */
  animation: fadeUp 1.5s ease-out forwards;
}









  

  /* Gallery Page Styles */
.gallery-section {
    text-align: center;
    padding: 50px;
    margin-bottom: 50px;
}

.gallery-section h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px; /* Adds space below the heading */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    padding: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.contact-form {
    padding: 30px;
    border-radius: 10px;
    width: 800px;
}

.contact-form h1 {
    font-size: 40px;
    text-align: left;
}

.contact-form h1 span {
    color: #f6d659;
    font-size: 40px;
}



.btn-submit:hover {
    background-color: #000000;
    border-radius: #094f2c 5px;
    transform: scale(1.05);
}

/* Contact Page Layout Fixes */
.contact-hero {
    position: relative;
    width: 100%;
    height: 100vh;

    background-size: cover;
    background-position: center;
    animation: scrollBackground 60s linear infinite;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
}

.logo-container img {
    width: 300px;
    height: 300px;
    animation: fadeIn 1s ease-in-out;
}



@keyframes scrollBackground {
    from {
        background-position: -100% 0;
    }
    to {
        background-position: 0 0;
    }
}

.btn-submit {
    padding: 12px 24px;
    background-color: #203543;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: 3px solid #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-submit:hover {
    background-color: #f6d659;
    transform: scale(1.05);
    color: #203543;

}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.social-link {
    width: 60px;
    height: 60px;
    background-color: #2E6846;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease-in-out;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: #074E2C;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    text-decoration: none;
    font-size: 24px;
    color: white;
}


footer {
    position: relative;
    background-image: linear-gradient(#24302B, #171c20);
    clear: both;
    text-align: center;
    height: 50px;
    padding: 15px;
    font-size: 14px;
    margin-top: 150px;
}

.featured-projects, .design-skills {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
}

.design-skills {
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 50px;
}

.design-skills h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 50px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.skill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2E6846;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.skill img {
    width: 32px;  /* Adjust icon size */
    height: 32px;
}

.skill:hover {
    transform: scale(1.1);
    background-color: #000000;
    color: black;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.project {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 5px;
    overflow: visible;
    padding-bottom: 20px;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.project::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}

.project:hover::after {
    background: rgba(0, 0, 0, 0.7);
}

.project p {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.project-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px; /* Adjust the width */
    margin: auto;
    text-align: center; /* Center text */
    margin-top: 30px;
}

.booster-juice {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    border-radius: 5px;

}

.booster-juice img {
    width: 80%;
    max-width: 700px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.project-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px; /* Adjust the width */
    margin: auto;
    text-align: center; /* Center text */
    margin-top: 30px;
}

.bakery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.bakery img {
    width: 80%;
    max-width: 700px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.project-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px; /* Adjust the width */
    margin: auto;
    text-align: center; /* Center text */
    margin-top: 30px;
}

.cookie {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}



.business-card img {
    width: 100%;
    max-width: 700px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cookie-app img {
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.juiced-infographic img {
    width: 100%;
    max-width: 700px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.project-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px; /* Adjust the width */
    margin: auto;
    text-align: center; /* Center text */
    margin-top: 30px;
}

.nintendo-infographic {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.nintendo-infographic img {
    width: 80%;
    max-width: 700px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}


 
  .nintendo-image-pair  img{
    margin-top: 50px; 
    width: 150%;
    max-width: 600px;
    display: block;
  }




.project-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px; /* Adjust the width */
    margin: auto;
    text-align: center; /* Center text */
    margin-top: 30px;
}

.ripple-page {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.ripple-page img {
    width: 80%;
    max-width: 700px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.pdf-button {
    display: inline-block;
    background-color: #2E6846; /* Green */
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.pdf-button:hover {
    background-color: #D0DFD1; /* Light Green */
    color: #333; /* Dark text */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.project-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px; /* Adjust the width */
    margin: auto;
    text-align: center; /* Center text */
    margin-top: 100px;
}

.project-6 h1 {
    font-size: 2rem; /* You can increase or decrease the value */
    font-weight: 800; /* Optional: Makes the font bolder */
    margin-bottom: 20px; /* Optional: Adds space below the heading */
}

.project-6 + .project-6 {
    margin-top: 200px; /* Increase space between the two .project-6 sections */
}

.centered-list {
    text-align: center;
  }
  .centered-list ul {
    display: inline-block;
    text-align: left;
    padding-left: 20px;
    list-style-position: inside;
  }



.stages-img {
    margin-top: 30px; 
    width: 100%;
    max-width: 750px;
    display: block;
  }


  
  .image-pair img {
    margin-top: 50px; 
    width: 100%;
    max-width: 1000px;
    display: block;
  }


 

/* Position Tools Used Below the Images */
.project-tools {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Ensure Paragraph is Centered */
.project-description {
    text-align: left;
    font-size:19px;
    margin-top: 20px;
}


.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill {
    background: #065c4e;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Header Styling */
.project-header {
    background-color:rgb(59, 146, 139);
    border: 0.5px  #ffffff;
    text-align: center;
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
   
}





/* Main Content Layout */
.project-content {
    display: flex;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    align-items: flex-start;
    gap: 40px;
}

/* Image Section */
.project-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.project-images img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Tool Used Section */
.tools-used {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

/* Description Section */
.project-description {
    flex: 2;
    padding: 10px;
    color: #333;
    line-height: 1.8;
}
.project-description p {
    margin-bottom: 15px;
}

/* Previous - Back to Portfolio - Next */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Set the gap between buttons */
    margin-bottom: 30px; /* Adjust top margin */
    
}

.nav-button {
    display: inline-block;
    border: 3px solid #ffffff; /* Adjust border color if needed */
    padding: 12px 24px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 19px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 140px; 
    margin-top: 100px;
}

.nav-button:hover {
    background-color: #f6d659; 
    color: #333; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}



/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- TABLET & MOBILE (Max-width: 1024px) --- */
@media (max-width: 1254px) {
    /* Hide Desktop Links */


  .icon1 { left: 5%; top: 15%; }
    .icon2 { left: 5%; bottom: 15%; }
    .icon3 { right: 5%; top: 15%; }
    .icon4 { right: 5%; bottom: 15%; }




}

/* --- TABLET & MOBILE (Max-width: 1024px) --- */
@media (max-width: 1024px) {
    /* Hide Desktop Links */
    .nav-container .links {
        display: none;
    }

    /* Show Hamburger Menu */
    .hamburg {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 30px;
        top: 25px;
        z-index: 1000;
    }

    /* Logo adjustment for smaller screens */
    .logo img {
        height: 60px;
        left: 2em;
    }

    .logo-text {
        font-size: 25px;
        margin-left: 60px; /* Space for absolute logo img */
    }

    /* Stack the Main Container vertically */
    .main-container {
        flex-direction: column;
        height: auto;
        padding: 100px 20px;
        gap: 30px;
    }

    .main-container .content
     {
        width: 100%;
        text-align: center;
    }


    .content ul
    {
    list-style-type: none;

   }

    /* Adjust floating icons so they don't overlap text */
    .icon1, .icon2, .icon3, .icon4 {
        width: 100px;
        height: 100px;
    }
    
    .icon1 { left: 5%; top: 15%; }
    .icon2 { left: 5%; bottom: 15%; }
    .icon3 { right: 5%; top: 15%; }
    .icon4 { right: 5%; bottom: 15%; }


.social-links ,
.btn {
    display: flex;
    justify-content: center;
    gap: 20px; 
}



/* Stack Gallery and Projects */
    .gallery-grid, .projects-grid {
        grid-template-columns: 2fr;
        
    }

    .design-skills-grid {
        width: 100%;

    }


}

/* --- SMALL MOBILE (Max-width: 768px) --- */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem;
    }

       .content p {
        font-size: 1.7rem;
    }

    .typewriter span {
        font-size: 1.8rem;
    }


    .design-box {
        flex: 1 1 100%;
        height: 400px;
    }

    /* Adjust Buttons for touch */
    .nav-button, .button {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
    }

    .button-container {
        flex-direction: column;
        gap: 15px;
    }


.footer-image img{
   width: 100%;
   max-width: 350px;


}


.project-6 img{
 width: 100%;
   max-width: 650px;

}

.image{
 width: 100%;
 max-width: 300px;
}



}

/* --- VERY SMALL SCREENS (Max-width: 480px) --- */
@media (max-width: 480px) {


nav {
        height: 8vh; 
    }

    /* 2. Resize the Logo to prevent it from crowding the hamburger icon */
    .logo-text {
        font-size: 22px; /* Smaller text for tiny screens */
        padding-left: 60px; /* Space for the logo image */
    }

    nav .logo img {
        height: 50px; /* Scaled down logo image */
        left: 10px;
    }

    /* 3. Fix the Hamburger Icon positioning */
    .hamburg, .cancel {
        top: 20px; /* Centers it vertically in the smaller nav */
        right: 20px;
        font-size: 1.8rem; /* Slightly smaller icon */
    }

    /* 4. Full-Screen Mobile Menu Style */
    .mobile-menu {
        top: 8vh; /* Starts exactly where the nav ends */
        height: 100vh; /* Takes up the full height of the viewport */
        padding: 40px 0;
        display: none; /* Controlled by the .active class in JS */
        flex-direction: column;
        justify-content: flex-start;
    }

    .mobile-menu ul li {
        margin: 25px 0; /* Increase spacing between links for easier tapping */
    }

    .mobile-menu ul li a {
        font-size: 1.8rem; /* Large, legible links */
        font-weight: 600;
    }

    /* 5. Hide floating background icons to keep the UI clean */
    .icon1, .icon2, .icon3, .icon4 {
        display: none; 
    }




    
  .content ul
    {
   justify-items: left;
   text-align: left;
   width: 90%;
   }



    .content p {
        font-size: 18px;
    }



    .booster-juice{
        width: 80%;
       max-width: 500px;
    }
    

    .cookie-app{
       width: 80%;
       max-width: 500px;
    }


.project-6{
       width: 80%;
       max-width: 500px;
    }

.nintendo-image-pair img
{
       width: 100%;
       max-width: 300px;
    }


.footer-image img{
   width: 100%;
   max-width: 200px;
}



.footer-content p{
    font-size: 20px;
    margin: 30px 0;
}


}