@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 80px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

/* Menu icon for mobile */
#menu-icon {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  
}


/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar a {
  font-size: 18px;
  color: #fff;
  margin-left: 35px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #00abf0;
}

/* Blog Content */
.blog-full-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(20, 35, 50, 0.8);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 171, 240, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-full-post h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #a363aa;
}

.blog-full-post p.date {
  font-size: 0.9rem;
  color: #7a7a7a;
  margin-bottom: 30px;
  font-style: italic;
}

.blog-full-post article p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #ddd;
}

.blog-full-post article img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

/* Back Button */
.back-btn {
  margin-top: 40px;
  padding: 12px 30px;
  background: linear-gradient(270deg, #00abf0, #005f99);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  align-self: flex-start;
  cursor: pointer;
}

.back-btn:hover {
  background: linear-gradient(270deg, #005f99, #00abf0);
}

/* Links inside post */
.custom-link {
  color: #00bfff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.custom-link:hover {
  color: #1ec6ff;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .blog-full-post {
    padding: 20px 15px;
  }

  .blog-full-post h1 {
    font-size: 2rem;
  }

  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 32, 39, 0.95);
    text-align: center;
    padding: 20px 0;
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    margin: 10px 0;
    font-size: 16px;
  }

  .logo {
    font-size: 20px;
  }

  #menu-icon {
    display: block;
  }
}

@media (max-width: 480px) {
  .navbar a {
    font-size: 14px;
  }

  .logo {
    font-size: 18px;
  }

  .back-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}
