


body { margin:0;  font-family: 'Verdana', Geneva, sans-serif;; background:#fff; color:#000; }
nav { background:#333; color:#fff; padding:10px 20px; position:fixed; width:100%; top:0; z-index:1000; }
.nav-container { display:flex; justify-content:space-between; align-items:center; }
.nav-links { display:flex; list-style:none; gap:20px; }
.nav-links li { margin:0; }
.nav-links a, .login-btn { color:#fff; text-decoration:none; padding:5px 10px; border:none; background:none; cursor:pointer; }
.hamburger { display:none; font-size:28px; background:none; border:none; color:#fff; cursor:pointer; }

/* Dark mode */
.dark-toggle {
  position:fixed; bottom:20px; left:20px; z-index:1100;
  padding:8px 12px; border-radius:5px; border:1px solid #fff; background:none;
  color:#fff; font-weight:bold; cursor:pointer;
}
body.dark-mode { background:#121212; color:#e0e0e0; }
body.dark-mode nav { background:#1f1f1f; }
body.dark-mode .dark-toggle { background:#333; color:#fff; border-color:#fff; }

/* Header */
header { padding-top:60px; text-align:center; position:relative; }
.header-image { width:100%; max-height:400px; object-fit:cover; }
.centeredtext { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:white; font-size:48px; font-weight:bold; }

  /* Progress Bars */
  .outline {
    width: 100%;
    background-color: #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .skill-bar {
    height: 25px;
    line-height: 25px;
    color: white;
    text-align: right;
    padding-right: 10px;
    border-radius: 10px;
  }

  .html-bar {
    width: 90%;
    background-color: #f16529; /* HTML orange */
  }

  .css-bar {
    width: 25%;
    background-color: #2965f1; /* CSS blue */
  }

  .js-bar {
    width: 45%;
    background-color: #f7df1e; /* JS yellow */
    color: black; /* Better contrast on yellow */
  }




/* Projects */
.projcontainer { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; padding:20px; }
.project img { width:100%; border-radius:10px; }

/* Contact Form */
#contactForm input, #contactForm textarea { display:block; width:90%; margin:10px auto; padding:10px; border-radius:5px; border:1px solid #ccc; }
.submitbutton { background:#333; color:#fff; border:none; padding:10px 20px; cursor:pointer; border-radius:5px; }

/* Modal */
.modal { display:none; position:fixed; z-index:999; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.6); justify-content:center; align-items:center; }
.modal-content { background:#fff; padding:30px; border-radius:10px; text-align:center; width:300px; }
.close-btn { background:crimson; color:white; padding:8px 12px; border:none; border-radius:5px; cursor:pointer; }

/* Coffee Button */
.coffee-btn { text-align:center; margin:20px; }
.coffee-btn img { width:10%; border-radius:10px; }

/* Responsive Hamburger */
@media (max-width:768px){
  .hamburger { display:block; }
  .nav-links { flex-direction:column; position:fixed; top:0; left:-100%; height:100%; width:70%; max-width:300px; background:#333; padding:60px 20px; gap:20px; transition:left 0.3s ease; }
  .nav-links.active { left:0; }
}




    .hamburger {
      display: none;
      font-size: 24px;
      background: none;
      border: none;
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .hamburger { display: block; }
      .nav-links { display: none; flex-direction: column; }
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
    }
    .modal-content {
      background: #fff;
      margin: 10% auto;
      padding: 20px;
      border-radius: 10px;
      width: 300px;
      text-align: center;
    }
    .close-btn {
      margin-top: 10px;
    }

    /* Duck Clicker Styles */
    h1 {
      font-size: 3em;
      color: #ffcc00;
      text-shadow: 2px 2px #aaa;
      margin-bottom: 10px;
    }

    #duck {
      width: 200px;
      cursor: pointer;
      transition: transform 0.1s;
      margin-top: 20px;
    }

    #duck:active {
      transform: scale(1.1);
    }

    #stats {
      margin-top: 20px;
      font-size: 24px;
    }

    .upgrades {
      margin-top: 30px;
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .upgrade {
      background: #ffdd33;
      border: 2px solid #ffcc00;
      border-radius: 15px;
      padding: 15px;
      width: 180px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .upgrade:hover {
      background: #ffe066;
      transform: translateY(-5px);
    }

    .upgrade h3 {
      margin: 0 0 10px 0;
      font-size: 20px;
    }

    .upgrade p {
      margin: 5px 0;
    }

    .save-buttons {
      margin-top: 30px;
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .save-buttons button {
      padding: 10px 20px;
      font-size: 18px;
      cursor: pointer;
      background: #ffcc00;
      border: none;
      border-radius: 10px;
      transition: background 0.2s;
    }

    .save-buttons button:hover {
      background: #ffdd33;
    }

    /* Dark mode */
    .dark-mode {
      background: #1a1a1a;
      color: #fff;
    }

    .dark-mode .upgrade {
      background: #555500;
      border-color: #999900;
      color: #fff;
    }
    .dark-mode .upgrade:hover {
      background: #777700;
    }
    .dark-mode .save-buttons button {
      background: #999900;
      color: #fff;
    }
    .dark-mode .save-buttons button:hover {
      background: #bbbb00;
    }

    #darkModeToggle {
      margin-top: 20px;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      border-radius: 10px;
      background: #ffcc00;
      transition: background 0.2s;
    }

    #darkModeToggle:hover {
      background: #ffe066;
    }


* {
  box-sizing: border-box;
}
