@font-face {
  font-family: Eliot Lord;
  src: url(Fonts/Eliothand-Regular.otf);
}

@font-face {
  font-family: DS Digital;
  src: url(Fonts/DS-DIGIT.TTF);
}

@font-face {
  font-family: ArialBlackItalic;
  src: url(Fonts/Arial%20Black%20Italic.ttf);
}

@font-face {
  font-family: TimeyMcTimeFace;
  src: url(Fonts/Timeymctimeface.otf);
}

@font-face {
  font-family: Enuff;
  src: url(Fonts/Surial-Regular.otf);
}

h1 {
  font-family: Enuff;
  font-size: 3.2vw;
}

.header-left {
  font-family: ArialBlackItalic;
  color: white;
}

.header-left {
  font-size: clamp(18px, 4vw, 32px);
  white-space: nowrap;
}

span {
  font-family: TimeyMcTimeFace;
  font-size: 3.5vw;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f7f7f7;
  cursor: url(img/background/cursors/Cursor.svg),
    url(img/background/Pointer.svg), pointer;
  user-select: none;
}

#navo a:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"/></svg>')
      12 12,
    pointer;
  color: #fff;
}

#navo a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #fff;
  transition: width 0.3s ease, left 0.3s ease;
}

#navo a:hover::after {
  width: 100%;
  left: 0;
}

.header {
  background-color: #00bed6;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  font-family: ArialBlackItalic;
  color: white;
  font-size: clamp(7px, 1vw, 10px);
  white-space: nowrap;
  margin-right: 50px; /* Leaves space for the hamburger menu */
  text-align: right;
}

.header-left {
  text-align: left;
}

.header-right {
  margin-left: auto;
  text-align: right;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00bed6;
}

#navo {
  background-color: #00bed6;
  text-align: center;
  width: 100%;
  padding: 60px 0 20px 0; /* Changed from padding: 20px 0; */
  margin: 0;
  list-style: none;
  color: white;
}

#navo img {
  margin: auto;
  display: block;
  width: 40%;
  max-width: 300px;
}

#navo li {
  display: inline;
}

#navo a {
  font-family: Enuff;
  font-weight: 800;
  font-size: 1.6vw;
  text-decoration: none;
  padding: 0 20px;
  color: white;
}

#navo a:hover {
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.header-left,
.featured-image {
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
}

.main-content {
  margin-top: 80px; /* Increased to account for the fixed header */
  cursor: url(img/background/cursors/Cursor.svg), pointer;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.featured-content {
  cursor: url(img/background/cursors/Cursor.svg), pointer;
}

button,
.back-button:hover {
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
}

main-article,
article {
  cursor: url(img/background/cursors/Cursor.svg), pointer;
}

/* Hamburger Button */
.hamburger {
  width: 28px;
  height: 24px;
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
  background: none;
  border: none;
  padding: 10px; /* Add padding to increase clickable area */
  position: relative; /* Changed from absolute */
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

/* Hamburger animation when open */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.side-menu.active {
  right: 0;
}

.menu-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
}

.menu-section {
  border-bottom: 1px solid #e0e0e0;
}

.menu-item {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
  transition: background-color 0.2s ease;
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  font-family: Surial;
}

.menu-item:hover {
  background-color: #f7f7f7;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-subsection {
  padding: 15px 20px 5px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}

/* Main Content */
.main-content {
  margin-top: 0px;
  padding: 0;
}

#wrap {
  width: 100%;
  color: #00bed6;
  margin: 0;
  padding: 0;
}

.article {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.article h2 {
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.3;
  font-family: Enuff;
}

.article p {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .side-menu {
    width: 100%;
    right: -100%;
  }

  #navo img {
    width: 60%;
  }

  #navo a {
    padding: 0 10px;
    font-size: 0.9em;
  }
}

.footer {
  font-family: Enuff;
  background-color: #262626;
  color: #fff;
  padding: 40px 20px 20px 20px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-family: Enuff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #fff;
  cursor: url("img/background/cursors/Pointer1.svg"), pointer;
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: #808080;
  font-size: 13px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #00bed6;
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

body::-webkit-scrollbar {
  width: 1em round;
  overflow: scroll;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgb(255, 255, 255);
}

body::-webkit-scrollbar-thumb {
  background-color: #00bed6;
  outline: 1px solid #00bed6;
}

body::-webkit-scrollbar-thumb:hover {
  cursor: url("img/background/Pointer.svg");
}

body::-webkit-scrollbar {
  width: 1em round;
  overflow: scroll;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px black;
  width: 2em;
}

body::-webkit-scrollbar-thumb {
  background-color: #00bed6;
  width: 1em round;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .side-menu {
    width: 100%;
    right: -100%;
  }

  #navo img {
    width: 60%;
  }

  #navo a {
    padding: 0 5px;
    font-size: 2.8vw;
    white-space: nowrap;
  }

  #navo {
    padding: 15px 0;
  }

  #navo li {
    display: inline-block;
  }
}

.article {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.article.shifted {
  transform: translateX(-175px); /* Half of the 350px menu width */
}

.main-content {
  margin-top: 60px;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.main-content.shifted {
  transform: translateX(-175px);
}

.breaking-news {
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.featured-article {
  background-color: #fff;
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
  cursor: url(img/background/cursors/Cursor.svg), pointer;
  transition: box-shadow 0.3s ease;
}

.featured-article:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.featured-content {
  padding: 30px;
}

.article-category {
  color: #00bed6;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.featured-title {
  font-family: Eliot Lord, Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 15px;
  color: #000;
  font-weight: bold;
}

.featured-excerpt {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-meta {
  font-size: 14px;
  color: #999;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.article-card {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: url(img/background/cursors/Cursor.svg), pointer;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-thumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.article-card:nth-child(2n) .article-thumbnail {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.article-card:nth-child(3n) .article-thumbnail {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.article-card:nth-child(4n) .article-thumbnail {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.article-card-content {
  padding: 20px;
}

.article-thumbnail,
.article-card-content :hover {
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
}

.article-card-title {
  font-family: Eliot Lord, Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
}

.article-card-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.section-header {
  font-family: Eliot Lord, Georgia, serif;
  font-size: 32px;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #00bed6;
  color: #000;
  font-weight: bold;
}

.breaking-news {
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.featured-article {
  background-color: #fff;
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
  cursor: url(img/background/cursors/Cursor.svg), pointer;
  transition: box-shadow 0.3s ease;
}

.featured-article:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.featured-content {
  padding: 30px;
}

.article-category {
  color: #00bed6;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}

.featured-title {
  font-family: Eliot Lord, Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 15px;
  color: #000;
  font-weight: bold;
}

.featured-excerpt {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-meta {
  font-size: 14px;
  color: #999;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.article-card {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  cursor: url(img/background/cursors/Cursor.svg), pointer;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-content {
  padding: 20px;
}

.article-card-title {
  font-family: Eliot Lord, Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
}

.header,
a {
  text-decoration: none;
}

.header img a:hover {
  cursor: url(img/background/cursors/Pointer.svg), pointer;
  text-decoration: none;
}

.article-card-excerpt {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.section-header {
  font-family: Eliot Lord, Georgia, serif;
  font-size: 32px;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #00bed6;
  color: #000;
  font-weight: bold;
}

#article-detail {
  display: none;
  background-color: #fff;
  padding: 50px;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
}

#article-detail.active {
  display: block;
}

.back-button {
  background-color: #00bed6;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: url(img/background/cursors/Pointer1.svg), pointer;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: bold;
}

.back-button:hover {
  background-color: #00a0b8;
}

.meta-info {
  font-size: 14px;
  color: #999;
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.full-content {
  font-size: 18px;
  line-height: 1.8;
  font-family: Georgia, serif;
}

.full-content p {
  margin-bottom: 20px;
}

.full-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.full-content a {
  color: #00bed6;
  text-decoration: underline;
}
