body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
}

nav li {
    margin-right: 2rem;
    position: relative;
}

nav a {
    display: block;
    background-color: #555;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

nav li:nth-child(-n+5) {
    margin-right: 4rem;
}

.logo {
    margin-right: 4rem;
}

nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #555;
    padding: 0;
}

nav ul li:hover ul {
    display: block;
}

nav ul ul li {
    margin-right: 0;
}

nav ul ul a {
    padding: 0.5rem 1rem;
    width: 100%;
}

nav ul ul ul {
    left: 100%;
    top: 0;
}

nav ul li:hover ul ul {
    display: none;
}

nav ul li:hover ul li:hover ul {
    display: block;
}

nav ul li:nth-child(-n+5) ul li:nth-child(-n+2) {
    margin-right: 4rem;
}

nav ul li:nth-child(-n+5) ul li:nth-child(-n+3) ul li {
    padding-left: 1rem;
}

nav ul li:nth-child(-n+5) ul li:nth-child(-n+3) ul li a {
    padding: 0.5rem;
}

nav ul li:nth-child(-n+5) ul li:nth-child(-n+3) ul {
    left: 100%;
    top: 0;
}

#token-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.token-item {
    width: calc(25% - 1rem);
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.token-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.token-item p {
    margin-bottom: 0.5rem;
}

.token-item.price {
    font-weight: bold;
}

.token-item.market-cap {
    color: #666;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    flex: 1;
    margin-right: 2rem;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Added styles for token list */
#token-list.token-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

#token-list.token-item img {
    width: 50%;
    margin-bottom: 1rem;
}

#token-list.token-item.token-info {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-left: 2rem;
    margin-right: 1rem;
}

#token-list.token-item.token-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#token-list.token-item.token-info { 
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-left: 2rem;
    margin-right: 1rem;
}

#token-list.token-item.token-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#token-list.token-item.token-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#token-list.token-item.token-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#token-list.token-item.token-info a {
    color: #008CBA;
    text-decoration: none;
}

/* Added styles for hover effect */
#token-list.token-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Media query for smaller screens */
@media (max-width: 960px) {
    #token-list.token-item {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    #token-list.token-item {
        width: 100%;
    }
}

/* Added styles for token list header */
#token-list h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#token-list h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#token-list p {
    margin-bottom: 0.5rem;
}

#token-list .price {
    font-weight: bold;
}

#token-list .market-cap {
    color: #666;
}

/* Added styles for token list items */
#token-list .token {
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

#token-list .token:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#token-list .token h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#token-list .token p {
    margin-bottom: 0.5rem;
}

#token-list .token .price {
    font-weight: bold;
}

#token-list .token .market-cap {
    color: #666;
}

/* Added styles for token list header on smaller screens */
@media (max-width: 960px) {
    #token-list h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    #token-list h1 {
        font-size: 1.2rem;
    }
}

#token-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.token-item {
  width: calc(25% - 1rem);
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.token-item img {
  width: 50%;
  margin-bottom: 1rem;
}

.token-item.token-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-left: 2rem;
  margin-right: 1rem;
}

.token-item.token-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.token-item.token-info h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.token-item.token-info p {
  margin-bottom: 0.5rem;
}

.token-item.token-info.price {
  font-weight: bold;
}

.token-item.token-info.market-cap {
  color: #666;
}

.token-item.token-info.change {
  color: #3f9;
}

/* Added styles for hover effect */
.token-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Media query for smaller screens */
@media (max-width: 960px) {
 .token-item {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 600px) {
 .token-item {
    width: 100%;
  }
}
