
body {
    background-color: #eceff1;
    color: #000;
    font-size: 0.9em;
    font-family: sans-serif, helvetica;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    margin: 0;
    padding: 0.8em;
    background-color: #2D4760;
    color: #ffffff;
    font-size: 2em;
}

.content {
    padding: 0.8em 3em;
    max-width: 1450px;
    margin: auto;
}

@media (max-width: 768px) {
  .content {
    padding: 1em 2em; /* mai puțin padding pe mobil */
  }
}

button {
    background-color: #2D4760;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

button:hover {
    background-color: #1a2e44;
}

ul {
    line-height: 1.8em;
}

.logo-container {
    text-align: right;
    margin-top: 20px;
}
  
#footer {
    background-color: #2D4760;
    color: #fff;
    text-align: center; /* 👈 aliniere centrală */
  }
  
  #footer .container {
    display: flex;
    justify-content: center; /* 👈 centrează conținutul în container */
  }
  
  #footer .copyright,
  #footer .credits {
    margin: 2px 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
  }

  .footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .footer-img {
    height: 50px;
    width: auto;
  }
  
  .footer-text {
    flex: 1;
    min-width: 250px;
  }

/* 🔁 RESPONSIVE RULES */
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-img {
    height: 40px;
    margin: 10px 0;
  }

  .footer-text {
    order: 2; /* textul între imagini */
  }
}
