#map-container {
    position: relative;
    width: 600px;
    height: auto;
  }

  /* Estilos para cada estado */
  .state {
    fill: #a9aed8;
    cursor: pointer;
    transition: fill 0.3s ease;
  }

  .state_c {
    fill: #ffffff;
    cursor: pointer;
    transition: fill 0.3s ease;
  }

  .state_f{
    fill:transparent
  }

  #MN, #NY, #CA, #NE, #IN, #KY, #TN, #VA, #AL, #MD {
    fill: rgb(79 103 175);;
    cursor: pointer;
    transition: fill 0.3s ease;
  }

  #MN:hover, 
  #NY:hover, 
  #CA:hover, 
  #CA_1:hover,
  #CA_2:hover,
  #CA_3:hover,
  #CA_4:hover,
  #CA_5:hover,
  #CA_6:hover,
  #CA_7:hover,
  #NE:hover, 
  #IN:hover, 
  #KY:hover, 
  #TN:hover, 
  #VA:hover, 
  #AL:hover,
  #MD:hover {
    fill: rgb(248 184 31 / var(--tw-bg-opacity));
    cursor: pointer;
    transition: fill 0.3s ease;
  }

  .state:hover {
    fill: #3498db;
  }


  /* Estilos del modal */
  .info-modal {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    width: 150px;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Imagen en el modal */
  .info-modal img {
    width: 100%;
    height: auto;
    border-radius: 3px;
  }
  #svg-container {
    position: relative;
  }
  
  .university-item:hover {
    background-color: lightgray; /* Resalta el nombre cuando el mouse pasa por encima */
    cursor: pointer;
}

#info-modal {
    transition: opacity 0.3s ease; /* Transición suave para la aparición del modal */
}

#line-connector {
    transition: opacity 0.3s ease; /* Transición suave para la línea */
}
