/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  
  /* Tema generale */
  body {
    background-color: #1A1A1D;
    color: #DADADA;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
  }
  
  /* Contenitore principale */
  .content {
    max-width: 900px;
    width: 100%;
  }

  .content p {
    font-size: 1.4rem;
  }

  .content h1{
    color: #89b9f0;
    font-size: 1.4rem;
  }
  
  
  /* Titoli */
  h1{
    color: #ff7700;
    margin-bottom: 1rem;
  }

  h2{
    color: #89b9f0;
    margin-bottom: 1rem;
  }

  h5 {
    color: #6A1E55;
    margin-bottom: 30px;
  }
  
  h3 {
    color: #89b9f0;
    margin-bottom: 30px;
  }
  
  /* Paragrafi */
  p {
    color: #FFFAEC;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .titolo-spiegazione {
    color: 	#A64D79;
  }
  

  iframe {
  display: block;
  margin: 2rem auto;
  margin-left: calc(30% - 400px + -30px); 
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.btn {
  display: inline-block;
  background-color: #7cbdf1; 
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3; 
}

.author {
  color: #ff7700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 16px;
}

.author a{
  color: #ff7700;
}


.author a:hover{
  color: #ffa85c;

}

.immagine {
  width: 300px;
  height: auto;
  margin-left: 8px;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.immagine:hover {
  transform: scale(1.1);
}

.github-logo {
  width: 50px;
  height: auto;
  margin-left: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.github-logo:hover {
  transform: scale(1.2);
}

.home{
  width: 70px;
  height: 25px;
  position: fixed;
  right: 10px;
  top: 20px;
  background-color: #0056b3;
  border-radius: 20px;
}

.home a{
  color: white;
}

.home:hover{
  background-color: #002b59;
}

.home a:hover {
  color: white;
}

a {
  color: #7cbdf1;
}

a:hover {
  color: #0456ad;
}

.update h1{
  font-size: 2rem;
  color: #ff772d;
}

.update h4{
  color: #be0088;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.update a{
  color: #ff772d;
}

.update a:hover {
  color: #e73200;
}

.Back {
  width: 20%;
  height: 3%;
  position: fixed;
  right: 10px;
  top: 20px;
  background-color: #0056b3;
  border-radius: 20px;
  font-size: 2rem;
}

.Back a{
  color: white;
}

.Back:hover{
  background-color: #002b59;
}

.Back a:hover {
  color: white;
}


.boids_titolo {

  color: #ff7700;
}

.contesto p{
  font-size: 1.4rem;
  margin: 0% 10% 0% 10%;
}

.iterazione {
  margin: 0% 10% 0% 10%;
}

.iterazione h2{
  font-size: 1.5rem;
  color:  #89b9f0;
}

.iterazione p{
  font-size: 1.4rem;
}

#titolo_iterazione_1{
  color: #4DB6AC;
}

#titolo_iterazione_2 {
  color: #009688;
}

#titolo_iterazione_3 {
  color: #00796B;
}

#titolo_iterazione_4 {
  color:#004D40;
}

footer p{
  color: #ff7700;
}