body {
  font-family: 'Open Sans', serif;
  padding-top: 54px;
  color: #868e96;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Saira Extra Condensed', serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #343a40;
}

h1 {
  font-size: 6rem;
  line-height: 5.5rem;
}

h2 {
  font-size: 3.5rem;
}

.subheading {
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.35rem;
}

.list-social-icons a {
  color: #495057;
}

.list-social-icons a:hover {
  color: #3366cc;
}

.list-social-icons a .fa-lg {
  font-size: 1.75rem;
}

.list-icons {
  font-size: 3rem;
}

.list-icons .list-inline-item i:hover {
  color: #3366cc;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }
  #sideNav .navbar-brand {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
    border: 0.5rem solid rgba(255, 255, 255, 0.2);
  }
  #sideNav .navbar-collapse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }
  #sideNav .navbar-collapse .navbar-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }
  #sideNav .navbar-collapse .navbar-nav  {
    display: block;
  }
}

section.resume-section {
  border-bottom: 1px solid #dee2e6;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.resume-section .resume-item .resume-date {
  min-width: none;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: 100vh;
  }
  section.resume-section .resume-item .resume-date {
    min-width: 18rem;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

.bg-primary {
  background-color: #35464f !important;
}

.text-primary {
  color: #000000 !important;
}

a {
  color: #3366cc;
}

a:hover, a:focus, a:active {
  color: #3366cc;
}

#paperlist a, a:hover, a:focus, a:active {
  color: rgb(125, 125, 126);
} 

.publicationyear{
  /* font-size: larger; */
  font-size: 2em;
  font-weight: 500;
  color: grey;
}
.paper-title {
  color: #3366cc; /* blue */
}

.paper-authors {
  color: #3c3a3a; 
}

.paper-note {
  color: gray; 
}

.paper-journal {
  color: #cb3232; /* red */
}

.list-group-item{
  color: gray;
}

.paper-bracket {
  color: #000;
}

#jointhelab {
  color: gray; /* nero */
}

#jointhelab p {
  color: gray; /* nero per i paragrafi */
}

#jointhelab h3, #jointhelab h4 {
  color: #343a40; /* grigio scuro per i titoli, come gli altri h3/h4 */
}

footer {
  color: lightgray;
}

footer a, footer a:hover, footer a:active, footer a:focus{
  color:white;
}

#people a,
#people a:hover,
#people a:focus,
#people a:active {
  color: gray;
}

#home {
    position: relative;
    min-height: 100vh;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/3.jpg');
    background-size: cover;
    background-position: 70% calc(100% - 80px); /* un po’ più a destra e più in alto */
    background-repeat: no-repeat;
    background-size: 50%;
    filter: blur(0px);
    z-index: -1;
}

@media (max-width: 768px) {
    #home::before {
        background-image: none;
    }
}

.brain-activity {
    width: 100%;
    max-width: 300px;
    height: 150px;
    background: #35464f;
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin: 20px auto;
}

.brain-activity canvas {
    width: 100%;
    height: 100%;
}

.title-primary {
    color: #3366cc !important; 
  }


 
  /* Target only buttons inside the software section */
  #software .btn-outline-primary {
    color: black !important;
    border-color: #000000; /* Keep Bootstrap’s blue outline */
  }

  #software .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white !important;
  }

  /* Ensure any links inside the buttons are also black */
  #software .btn-outline-primary a {
    color: black !important;
    text-decoration: none;
  }

  #software .btn-outline-primary:hover a {
    color: white !important;
  }

    #jointhelab .btn-outline-primary {
    color: #3366cc !important;
    border-color: #000000; /* Keep Bootstrap’s blue outline */
  }

  #jointhelab .btn-outline-primary:hover {
    background-color: #3366cc;
    color: white !important;
  }

  /* Ensure any links inside the buttons are also black */
  #jointhelab .btn-outline-primary a {
    color: black !important;
    text-decoration: none;
  }

  #jointhelab .btn-outline-primary:hover a {
    color: white !important;
  }

.responsive-img {
  width: 100%;
  max-width: 550px; /* massimo 550px per non ingrandirsi troppo */
  height: auto;
  border-radius: 8px;
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}


