
body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    background-color: #d2f2f8;
    overflow: hidden;
}

h1,h2 {
    margin: 20px;
    color: #750801;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 90vh;
    align-items: center;
}

.left{
    width: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px dotted orange;
}
 .right {
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007BFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
  }
  
  button:active {
    background-color: #004080;
    transform: translateY(1px);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  }
  
  button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
  }
  

canvas {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    background-color: #f8e7d1;
    border: 2px dotted orange;
}

.adjacency-list ,.adjacency-matrix{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px dotted orange;
}

#adjListCanvas,#adjMatrixCanvas {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px dotted orange;
}
