@import url('fonts.css');
@import url('utils.css');
@import url('navbar.css');
@import url('header.css');
@import url('projects.css');
@import url('contributors.css');
@import url('footer.css');

:root {
  --flat-black: #333;
  --white: #fff;
  --gray: #e0e0e0;
  --yellow: #ffc476;
  --pale-yellow: #cc9c5d;

  /* Background Colors */
  --bg-color: #faebd7;
  --card-bg: #575050;
  --btn-bg: #bb7589;
  --add-btn-bg: #575050;
  --table-heading-bg: #007bff;
  --footer-bg: black;

  /* Text Colors */
  --text-color: #333;
  --btn-color: #fff;
  --h1-color: #8a1135;
  --footer-text-color: white;

  /* Border Colors */
  --table-border: #ddd;
  --btn-border: #8a1135;

  /* Gradients and Patterns */
  --linear-gradient: linear-gradient(
    90deg,
    transparent 5%,
    rgba(51, 51, 51, 1) 44%,
    transparent 95%
  );
}

/* general styles */

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  text-align: center;
}

html {
  scroll-behavior: smooth;
  /* !!! Set the base font size to 62.5% for easier pixel-to-rem translation.
  This makes 1rem equal to 10px, simplifying calculations and providing
   a more intuitive way to work with font sizes using rem units. !!! */
  font-size: 62.5%;
}

body {
  width: 100%;
  color: var(--text-color);
  font-size: 1.6rem;
  font-family: 'Courier New', Courier, monospace;
  transition: all 0.5s ease-in-out;
}

nav,
header {
  font-family: 'Inter', sans-serif;
}

h1 {
  font-family: 'Papyrus', fantasy;
}

p,
a {
  color: var(--text-color);
}

hr {
  margin: 1.6rem 0;
  border: 0.5px solid black;
}

input[type='text'] {
  width: 25%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  text-align: left;
}

#autocompleteList {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  color: black;
  background-color: #ddd;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
}

#autocompleteList li {
  padding: 8px;
  cursor: pointer;
}

#autocompleteList li:hover {
  background-color: #f0f0f0;
}

/* #autocompleteList {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: -1;
  
}

#autocompleteList li {
  padding: 10px;
  cursor: pointer;
}

#autocompleteList li:hover {
  background-color: #f2f2f2;
} */

/* <<------ Media Queries ---->>*/
/* @media screen and (min-width: 1200px) {
  body {
    font-size: 22px;
  }
}

@media screen and (max-width: 992px) {
  body {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 18px;
  }
}

@media screen and (max-width: 576px) {
  body {
    font-size: 16px;
  }
} */
