:root {
    --color-primary: #2f3f76;
  }

/* @media (min-width: 1200px) {
    .container {
        width: 100%;
    }
} */

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

#content {
    flex: 1; /* Makes the main content expand */
}

.navbar {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.navbar-header {
    display: flex;
    align-items: center;
}

.navbar-brand-logo {
    height: 80px !important;
    margin-left: 10px !important; 
}

.navbar-brand-title {
    font-size: 24pt;
    font-weight: bold;
    color: #ffffff !important;
    margin-left: 15px !important; 

}

.footer {
    background-color: var(--color-primary);
    padding: 30px;
    color: white;
    text-align: center;
    width: 100%;
  }

/* Header styling */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-primary);
    padding: 10px;
    color: #ffffff;
    position: relative;
  }
  
  .logo {
    height: 80px;
    margin-left: 10px;
  }
  
  .header-title {
    flex-grow: 1;
    text-align: center;
    margin: 0;
    font-size: 28pt;
    font-weight: bold;
  }

body {
    background-color: #f8f9fa;
}

.description {
    margin: 20px auto;
    max-width: 800px;
    font-size: 18px;
    color: #333;
}

.description-subtitle {
    font-size: 26px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.description-text {
    text-align: justify;
}

.description-text a {
    color: var(--color-primary);
}

.title-apps {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 20px;
    padding: 0 20px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    width: 100%;
}
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px;
    padding: 20px;
    width: 500px;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.card .card-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
}

.img-responsive { 
	max-height: 150px;
}
.card .card-logo {
	min-height: 150px;
    margin-bottom: 10px;
}

.card .card-author {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.card .card-article {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.email-icon {
    margin-left: 4px;
    color: #555;
}

/* .card .card-contact {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
} */

.card .card-description {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.card .card-doi {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
    flex-grow: 1;
}

.card .card-doi a {
    font-size: 14px;
    margin-bottom: 10px;
    color: #777;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn-sm {
    font-size: 14px;
}

.btn:hover {
    color: white;
    background: #2e6da4;
}

.btn:focus {
    color: white;
}

/* Languages */
.lang-en, .lang-it {
    display: none;
}

.visible {
    display: block;
}

.hidden {
    display: none !important;
}

.form-group {
    display: flex;
    align-items: center;
    margin: 10px 20px;
    padding: 0 20px;
}

label {
    white-space: nowrap;
    margin-right: 10px;
    font-size: 18px;
}

.no-apps-message {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 40px;
}

/* Responsive tweaks for cards and layout */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        margin: 0 auto;
    }
  
    .card {
      width: 100%;
      max-width: 95vw;
      padding: 15px;
      margin: 15px auto;
    }
  
    .navbar-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .navbar-brand-title {
      font-size: 18pt;
      margin-left: 10px !important;
    }
  
    .form-group {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }
  
    .form-group label {
      margin-right: 0;
      font-size: 16px;
    }
  
    .form-group input {
      width: 100%;
    }
  
    .description {
      font-size: 16px;
      padding: 0 10px;
    }
  
    .description-subtitle {
      font-size: 22px;
    }
  
    .card .card-title {
      font-size: 20px;
    }
  
    .btn {
      font-size: 14px;
      padding: 8px 12px;
    }
  }
  