@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to right, #ffffff, #ffe0b2);
  color: #333;
  overflow-x: hidden;
}

/* Navbar */
nav {
  width: 100%;
  height: 10vh;
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

.logo span {
  color: #6d4300;
  text-shadow: 0 0 8px #6d4300;
}

.links {
  display: flex;
  gap: 2rem;
}

.links a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  position: relative;
  transition: 0.3s;
}

.links a:hover {
  color: #6d4300;
}

.hamburg, .cancel {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Dropdown Menu (Mobile) */
.dropdown {
  position: absolute;
  top: 0;
  transform: translateY(-500px);
  width: 100%;
  
  transition: 0.3s ease-in-out;
}

.dropdown .links {
  flex-direction: column;
  align-items: center;
}

.dropdown .links a {
  color: white;
  padding: 15px 0;
  width: 100%;
  text-align: center;
}

.dropdown .links a:hover {
  background: #6d4300;
}

/* Hero Section */
section {
  padding: 60px 10%;
}

.main-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  transition: transform 0.4s ease-in-out;
}

.image img:hover {
  transform: scale(1.05);
}

.content {
  max-width: 500px;
}

.content h1 {
  font-size: 2.5rem;
}

.content h1 span {
  color: #6d4300;
}

.typewriter {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 10px 0;
}

.typewriter span::before {
  content: "Developer";
  animation: words 10s infinite;
  color: #6d4300;
}

@keyframes words {
  0%, 33% { content: "Developer"; }
  34%, 66% { content: "Web Designer"; }
  67%, 100% { content: "Programmer"; }
}

.content p {
  margin: 15px 0;
  line-height: 1.5;
}

.social-links a {
  margin-right: 10px;
  color: #6d4300;
  font-size: 1.5rem;
  border: 2px solid #6d4300;
  border-radius: 50%;
  padding: 8px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #6d4300;
  color: #fff;
  transform: scale(1.2);
}

.content button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #6d4300;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.content button:hover {
  background: transparent;
  color: #6d4300;
  border: 2px solid #6d4300;
  transform: scale(1.05);
}

/* Sections */
.section-container {
  margin-top: 40px;
}

.section-container h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #6d4300;
}

.section-container p, .section-container ul, .section-container li {
  font-size: 1rem;
  line-height: 1.6;
}

/* Projects */
.project {
  margin-bottom: 20px;
  padding: 15px;
  border-left: 4px solid #6d4300;
  background: #fff8ee;
  transition: transform 0.3s;
}

.project:hover {
  transform: translateX(10px);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  background: #222;
  color: white;
}

/* Responsive */
@media(max-width: 884px) {
  .links {
    display: none;
  }
  .hamburg, .cancel {
    display: block;
    color: black;
  }
  .main-container {
    flex-direction: column;
    text-align: center;
  }
  .image img {
    max-width: 300px;
  }
}