/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: none;
  outline: none; */
  list-style-type: none;
  text-decoration: none;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

@font-face {
  font-family: Phillows;
  src: url(./assets/fonts/Phillows.ttf);
}

@font-face {
  font-family: Starlight;
  src: url(./assets/fonts/StarlightRune-Personal\ Use.ttf);
}
@font-face {
  font-family: CloudOnline;
  src: url(./assets/fonts/CloudOnline.ttf);
}

.page-header {
  font-family: "Starlight";
  font-size: 4rem;
}
/* ------------------ */
/* -------------- */

nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  background: #999;
  width: 83px;
  overflow: hidden;
  transition: width 0.2s linear;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
  position: fixed;
}

nav:hover {
  width: 270px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.active {
  background: #666;
  color: white;
}

.logo-items {
  display: flex;
  align-items: center;
  text-align: center;
  transition: all 0.5s ease;
  padding: 10px 0 0 6px;
}

.logo-items img {
  width: 70px;
  height: 70px;
}

.logo-items span {
  font-weight: bold;
  font-size: 50px;
  color: #333;
  padding-left: 15px;
  font-family: "CloudOnline";
}


.nav-group a {
  position: relative;
  color: #333;
  font-size: 16px;
  display: table;
  width: 300px;
  padding: 10px;
}

.nav-group a span {
  position: relative;
  top: 1px;
  font-size: 20px;
}

.nav-group a:hover {
  background: #666;
}

.nav-group .fa {
  position: relative;
  padding: 0 16px 0 16px;
  margin-right: 10px;
  top: 5px;
  /* font-size: 50px; */
  text-align: center;
}

.nav-item {
  position: relative;
  font-weight: bold;
}

.nav-item:hover {
  text-decoration: underline;
}

.social-links {
  position: relative;
  bottom: 0;
  margin: 15px 0 0 12px;
}

.social-links:hover {
  position: relative;
  /* width: 240px; */
  margin: 15px 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 20px;
}

.social-links a {
  color: #333;
  opacity: 0.5;
}

.social-links a:hover {
  opacity: 1;
}

/* Set a specific color for each brand */

/* instagram */
.fa-instagram:hover {
  padding: 4px;
  width: fit-content;
  text-decoration: none;
  text-align: center;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: white;
}

.fa-twitter:hover {
  padding: 4px;
  width: fit-content;
  text-align: center;
  text-decoration: none;
  background: #55acee;
  color: white;
}

.fa-facebook:hover {
  padding: 4px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  background: #1877f2;
  color: white;
}

.fa-youtube:hover {
  padding: 4px;
  width: fit-content;
  text-align: center;
  text-decoration: none;
  background: #bb0000;
  color: white;
}

/* ------------------- */
/* Hero Section */
.hero {
  background-image: url(./assets/images/dollars.jpg);
  background: white;
  background-size: cover;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 78px;
  /* background-color: #fff; */
  height: 100vh;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 500px;
  margin-left: 100px;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 28px;
  color: #333;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 8px 24px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005fa3;
}

.hero-image img {
  max-width: 550px;
  height: auto;
}

.theme-font {
  font-family: "CloudOnline";
  font-size: 4rem;
}

.market-page {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.high-price {
  color: green;
  font-weight: bold;
}

.low-price {
  color: red;
  font-weight: bold;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }
}

/* ------------------------------ */

/* 
#hero {
  background: url("./assets/images/coins.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 10px 30px;
  background: #f4c430;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #e3b22e;
} */

#features {
  padding: 50px;
  background: #f9f9f9;
  text-align: center;
}

#features h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.feature-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.feature-item {
  width: 250px;
  background: #fff;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.contentt {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f5f5f5;
  margin: 0;
}

.converter {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
}

input,
select,
button {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 16px;
}

button {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #218838;
}

#result {
  text-align: center;
  font-size: 20px;
  color: #333;
}

.stock-market {
  text-align: center;
  padding: 50px;
}

.stock-description{
  padding: 30px;
  background-color: #9999994d;
  margin-top: 20px;
  margin-bottom: 20px;
}

#stock-symbol {
  padding: 10px;
  font-size: 1rem;
  width: 300px;
}

#fetch-stock {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

#fetch-stock:hover {
  background-color: #45a049;
}

#stock-info {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #333;
}

.news-feed {
  padding: 50px;
  text-align: center;
}

#news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.news-article {
  border: 1px solid #ddd;
  padding: 20px;
  background-color: #f9f9f9;
}

.news-article h3 {
  font-size: 1.2rem;
  color: #333;
}

.news-article p {
  font-size: 1rem;
  color: #555;
}

.news-article a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #4caf50;
}

.news-article a:hover {
  color: #45a049;
}

.currency-trends {
  padding: 50px;
  text-align: center;
}

canvas {
  max-width: 100%;
  margin-left: 70px;
  height: 100px;
}

.financial-tips {
  padding: 50px;
  text-align: center;
}

#static-tips ul,
#dynamic-articles ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}


#static-tips li,
#finance-articles li {
  margin-bottom: 10px;
  font-size: 1.2em;
  padding: 5px;
  width: 300px;
  border: 0.5px solid #555;
}

#finance-articles a {
  text-decoration: none;
  color: #007bff;
}

#finance-articles a:hover {
  text-decoration: underline;
}

/* ******************************* */

.budget-tracker {
  text-align: center;
  padding: 50px;
}
.budget-summary p {
  font-size: 1.2em;
}

#transactionList {
  list-style-type: none;
}

#transactionList li {
  padding: 10px;
  background: #eee;
  margin: 10px 0;
  border-left: 6px solid green;
  border-radius: 4px;
}

#transactionList li.expense {
  border-color: red;
}

.aboutt {
  padding: 40px;
  background-color: #fff;
}

.about-us {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-us h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #0077cc;
}

.about-us p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-us h2 {
  font-size: 2em;
  margin-top: 30px;
  color: #005fa3;
}

.about-us ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.about-us ul li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 15px 30px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005fa3;
}

footer {
  text-align: center;
  padding: 5px;
  background-color: #999;
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
}
