@import url(general.css);

/**************************/
/* NAVIGATION */
/**************************/
header {
    background-color: var(--secondary-dark-color);
    padding: var(--padding-nav-v) var(--padding-h);
    height: 8rem;
    width: 100%;
    text-align: center;
    position: relative;
}

.logo {
    display: inline-block;
    width: auto;
    height: 100%;
    object-fit: contain;
}

/**************************/
/* Live Pice */
/**************************/
.section-live-price {
    text-align: center;
    margin-top: 5.4rem;
}
.live-price-table {
    width: 70%;
    margin: 0 auto;
    align-self: center;
    font-size: 2.4rem;
    border-collapse: collapse;
}
.live-price-table :is(th, td) {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.live-price-table th{
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 400;
}
.live-price-table td:first-child{
    color: var(--primary-dark-color);
    background-color: var(--primary-light-color);
    font-weight: 400
}
.live-price-table th:first-child {
    width: 30%;
}
.live-price-table th:nth-child(1n+2) {
    width: 35%;
}
.note{
  font-size: 1.6rem;
  color: #bbb;
  padding: 1.2rem 0;
}
/**************************/
/* Gold Profit */
/**************************/
.section-gold-profit {
    margin-top: 10rem;
    text-align: center;
}
.gold-profit-table {
    width: 70%;
    margin: 0 auto;
    align-self: center;
    font-size: 2.4rem;
    border-collapse: collapse; /* يدمج هوامش الجدول ويحسن التصفية */
}
.gold-profit-table :is(th, td) {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.gold-profit-table th:first-child {
    width: 30%;
}
.gold-profit-table th{
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 400;
}
.gold-profit-table td:first-child{
    color: var(--primary-dark-color);
    background-color: var(--primary-light-color);
    font-weight: 400
}
.button-gold-profit{
    padding: 2rem 4rem;
    margin: 3rem auto;
    border: none;
    background-color: var(--primary-dark-color);
    color: var(--primary-light-color);
    cursor: pointer;
    border-radius: var(--border-radius);
    font-size: 2rem;
    font-weight: 400;
}
.input-number-gold-profit{
    padding: 1rem 3rem;
    margin: 0;
}
/**************************/
/* FOOTER */
/**************************/

.footer {
    padding-top: 3.2rem;
    padding-bottom: 1.2rem;
    color: var(--seconda-light-color);
    background-color: var(--primary-light-color);
  }
  .footer-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-logo {
    width: 13rem;
    height: auto;
    display: block;
    margin-bottom: 1.2rem;
  }
  .contacts-col {
    justify-self: start;
    text-align: start;
  }
  .address-col {
    text-align: center;
  }
  .logo-col {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    list-style: none;
    display: flex;
    gap: 2.4rem;
  }
  
  .social-icon {
    height: 2.4rem;
    width: 2.4rem;
  }
  
  .footer-heading {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }
  
  .contacts {
    font-style: normal;
    font-size: 1.6rem;
  }
  
  .address {
    margin-bottom: 2.4rem;
  }
  
  .footer-link:any-link {
    color: var(--light-color);
    font-size: 1.6rem;
    transition: all 0.3s;
  }
  
  .footer-link:hover,
  .footer-link:active {
    color: var(--primary-color);
  }
  
  .copyright {
    font-size: 1.4rem;
    text-align: center;
    color: var(--secondary-dark-color);
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(179, 179, 179, 0.3);
  }
  