/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Layout Container */
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Sidebar */
#sidebar {
  width: 250px;
  background-color: #2f3136;
  color: #fff;
  overflow-y: auto;
  padding: 10px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
}

/* Logo Container */
.logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  cursor: pointer;
}
.logo {
  width: 220px;
  height: auto;
  transition: transform 0.2s ease-in-out;
}
.logo:hover {
  transform: scale(1.1);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #40444b;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
.dropdown-logo {
  width: 200px;
  height: auto;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.dropdown-logo:hover {
  transform: scale(1.2);
}

/* Show Dropdown */
.show-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Article Item */
.article-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.article-item:hover {
  background-color: #40444b;
}
.article-item img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 4px;
}

/* Content Area */
#content {
  flex-grow: 1;
  padding: 20px;
  margin-left: 250px;
  overflow-y: auto;
}

/* Footer Nav (Hidden by Default) */
#footer-nav {
  display: none;
  background-color: #2f3136;
  padding: 10px;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.footer-icon:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  #sidebar {
    display: none;
  }
  #content {
    margin-left: 0;
    padding-bottom: 60px; /* Space for footer */
  }
  #footer-nav {
    display: flex;
  }
}

@font-face {
  font-family: 'CustomFont';
  src: url('font.woff2') format('truetype');
      }

body {
  font-family: Arial, sans-serif;
  background-color: #16181d;
  overflow: hidden;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  background-color: #E5E9F0;
}

#results div {
  font-family: 'CustomFont';
  padding: 10px;
  cursor: pointer;
  color: #E5E9F0;
  border-radius: 6px;
  font-weight: bold;
}
h2{
  color: #E5E9F0;
}

#results div:hover {
  background-color: #1d2026;
  outline: 2px solid #969BA1;
}
.result-item {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  gap: 10px;
  font-family: 'CustomFont';
  padding: 10px;
  cursor: pointer;
  color: #E5E9F0;
  border-radius: 6px;
  font-weight: bold;
}

.result-item:hover {
  background-color: #f1f1f1;
}

.result-icon {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

#results{
  font-family: 'CustomFont';
  padding: 10px;
  cursor: pointer;
  color: #E5E9F0;
  border-radius: 6px;
  font-weight: bold;
}
.top-text {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}
.content-box {
  padding: 15px;
  background: #ddd;
  border-radius: 10px;
  width: 400px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}
.card-container {
  display: flex;
  gap: 20px;
}
.card {
  width: 140px;
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  cursor: pointer;
  border: 2px solid #ccc;
}
.card .image-box {
  width: 100%;
  height: 120px;
  background: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: white;
  border-radius: 10px;
  margin-bottom: 10px;
}