body {
  font-family: "Open Sans", sans-serif;
  color: #5a656e;
}

a {
  color: #de6d03;
  text-decoration: none;
}

a:hover {
  color: #de6d03;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  margin-top: 20px;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  padding: 0;
}

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 9999;
  background: #d43076;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #db528c;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

#header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  background: #fff;
  box-shadow: 0px 0px 20px 0px #858e97;
}

#header .logo h1 {
  font-size: 30px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #2c4964;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

.scrolled-offset {
  margin-top: 60px;
}

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  color: #2c4964;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #d43076;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: 100%;
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #d43076;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

.mobile-nav-toggle {
  color: #2c4964;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(13, 21, 29, 0.6);
  transition: 0.3s;
  z-index: 998;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #d43076;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #d43076;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

#hero {
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5); 
  background: url("../img/header.jpg") top center;
  background-size: cover;
  padding: 0 15px;
}

.lod {
  margin: -200px 0 10px 0;
  font-size: 70px;
  font-weight: 700;
  line-height: 85px;
  color: #233d55;
}

#hero h1 {
  margin: -200px 0 10px 0;
  font-size: 65px;
  font-weight: 700;
  line-height: 85px;
  color: #233d55;
  font-family: "Playfair Display", serif; /* Usa lo stesso font della .section-title */
  letter-spacing: 2.5px; /* Aggiungi questa riga per distanziare le lettere */

}

#hero h3 {
  color: #2c4256;
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 300;
  font-family: "Playfair Display", serif; /* Usa lo stesso font della .section-title */
  letter-spacing: 1.5px; /* Aggiungi questa riga per distanziare le lettere */

}

@keyframes btnMovement {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

#hero .btn-get-started {
  font-size: 50px;
  transition: 0.5s;
  color: #2c4964;
  height: 75px;
  animation: btnMovement 0.8s infinite;
}

#hero .btn-get-started:hover {
  padding-top: 10px;
  color: #ddb2c5;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h3 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}
.container {
  padding: 0 10px;
}

.section {
  padding: 30px 0;
  text-align: justify;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2c4964;
  text-align: center;
  font-family: "Playfair Display", serif;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #5a656e;
  text-align: justify;
  padding: 0 0rem;
}

.card {
  margin-bottom: 20px;
  padding: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .section-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
  }

  .container {
    padding: 0 10px;
  }

  .section {
    padding: 20px 0;
    text-align: justify;
  }
}

/* General Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: #fff;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f6f9;
  font-weight: bold;
  font-size: 1.125rem;
  color: #2c4964;
}

td {
  font-size: 1rem;
  color: #5a656e;
}

/* Specific Styles for sub pred obj table */
th.subject, td.subject {
  width: 30%;
}

th.predicate, td.predicate {
  width: 40%;
}

th.object, td.object {
  width: 30%;
}

/* Specific Styles for who what where when table */
th.property, td.property {
  width: 20%;
}

th.dublincore, td.dublincore,
th.schema, td.schema,
th.cdwa, td.cdwa,
th.cidoc, td.cidoc,
th.mo, td.mo {
  width: 16%;
}

/* Specific Styles for metadata analysis table */
th.item, td.item {
  width: 25%;
}

th.type, td.type {
  width: 25%;
}

th.source, td.source {
  width: 25%;
}

th.metadata-standard, td.metadata-standard {
  width: 25%;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    width: 100%;
    display: table;
  }
  
  th, td {
    width: auto;
    display: table-cell;
  }
}

.d-flex {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px; /* Space between buttons */
}

.wrap-buttons {
  width: 100%;
  max-width: 900px; /* Control the maximum width of the button container */
  margin: 0 auto;
}

/* Button Styles */
.btn {
  flex:0 1 auto;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #2c4964;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding and borders are included in the width */
  margin-bottom: 0px;
   /* Add margin bottom to create consistent spacing */
}

.button_image:hover {
  background-color: #e3bf9e; /* Colore di sfondo al passaggio del mouse */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .btn {
    flex: 1 1 100%; /* Make buttons full width on smaller screens */
  }
}

/* list */

.section-list {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgb(90, 101, 110);
  text-align: left;
  list-style-type: none;
  padding: 0 0rem;
}

.section-list li {
  text-align: left;
  margin-bottom: 20px; /* Add margin bottom to create consistent spacing */
}

/* title */

.chapter-title {
  font-size: 28px;
  margin: 20px 0; /* Add margin top and bottom to create consistent spacing */
  padding: 6px 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2c4964;
}

.chapter-title a,
.chapter-title a:hover {
  color: #2c4964;
  text-decoration: none;
}

/* linea divisoria x sottotitoli */

.custom-hr2 {
  height: 2px;
  background-color: #2c4964;
  width: 50%;
  margin: 20px auto 0px; /* Add margin top and bottom to create consistent spacing */
  border: none;
}

/* linea divisoria x macrotitoli */

.custom-hr3 {
  height: 2px;
  background-color: #2c4964;
  width: 100%;
  margin: 50px auto 0px; /* Add margin top and bottom to create consistent spacing */
  border: none;
}


/* Custom styles for the concept section */
.section-text {
  text-align: justify;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  margin-top: -40px;
  max-height: 570px;
}


@media (min-width: 768px) {
  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }
}

/* quote al centro */

.center {
  text-align: center;
  font-style: italic;
  font-size: 1.3em;
  margin-top: 5px;
}


footer {
  margin-top: 20px; /* Puoi regolare il valore per ottenere lo spazio desiderato */
  text-align: center; /* Centra il testo nel footer */
  background-color: #fff; /* Colore di sfondo del footer */
  padding: 20px 0; /* Aggiunge spazio interno al footer */
}