body{
    text-align: center;
    background-color: white; 
    color: black;
    margin: 0; 
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;

}

button{
    margin: 10px;
    padding: 13px;
    border: black solid 1px;
    color: white;
    font-size: 19px;
    font-family:  'Times New Roman', Times, serif;
    background-color: #6b3225;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    outline: none;
}

button:hover{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    background-color: #f1f1e8;
    color: black;
}

#main-svg{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
    margin-top: 20px;
    width: 60%;
    text-align: center;
    border: none;
    padding: 10px;
    border-radius: 20px;
    color: black;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    background-color: #efefefd3;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15); 

}

.rect{
    fill: #d3b49f7b;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
}


svg {
    position: relative;
    margin: 0 auto;
    display: block;
    border: none;
}

.vertex {
    
    stroke: #542a21;
    fill: white;
    stroke-width: 2;
    cursor: pointer;
}

.vertex:hover {
    fill: rgb(240, 160, 160);
}

.edge {
    stroke: #3b1d17;
    stroke-width: 4px;
}


.weight {
    font-size: 17px;
    font-family: Arial;

}


.highlight {
    stroke: #079585;
    stroke-width: 5;
}

.highlight-brown {
    stroke: #f09c00;
    stroke-width: 5;
}

#input-box{
    margin-top: 10px; 
    margin-left: 20px;
    /* margin-right: 20px; */
    width: 20%;
    text-align: left;
    border: black dotted 1px;
    padding: 10px;
    display: flex;
    /* flex-direction: column; */
    color: white;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    background-color: #6b3225eb;
    position: absolute ; 
    
}

#input-box::placeholder{
    color: #e5c9c2;
}

#btn-run-prim {
    /* display: flex; */
    justify-content: center;
    position: relative;
    margin-right: 50px;
    float: right;
    text-align: right;

}
#center-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
#btn-simple-graph {
    margin-right: 10px;
}


/* to handle change in screen size */

@media screen and (max-width: 480px) {
    /* CSS styles to apply for screens with a maximum width of 480px */
    body{
      text-align: center;
      background-color: white; 
      color: black;
      margin: 0; 
      padding: 0;
      font-family: 'Times New Roman', Times, serif;
      font-size: 20px;
  
    }
  
    button{
        margin: 10px;
        padding: 13px;
        border: black solid 1px;
        color: white;
        font-size: 19px;
        font-family:  'Times New Roman', Times, serif;
        background-color: #6b3225;
        border-radius: 10px;
        cursor: pointer;
        transition: 0.3s;
        outline: none;
    }
    
    button:hover{
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
        background-color: #f1f1e8;
        color: black;
    }
    
    #main-svg{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        margin: 0 auto;
        margin-top: 20px;
        width: 60%;
        text-align: center;
        border: none;
        padding: 10px;
        border-radius: 20px;
        background-color: #e6e6e6;
        color: black;
        font-size: 20px;
        font-family: 'Times New Roman', Times, serif;
        background-color: #efefefd3;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15); 
    
    }
    
    .rect{
        fill: #d3b49f7b;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
        width: 100%;
        height: 100%;
    }
    
    
    svg {
        position: relative;
        margin: 0 auto;
        display: block;
        border: none;
    }
    
    .vertex {
        
        stroke: #542a21;
        fill: white;
        stroke-width: 2;
        cursor: pointer;
    }
    
    .vertex:hover {
        fill: rgb(240, 160, 160);
    }
    
    .edge {
        stroke: #3b1d17;
        stroke-width: 4px;
    }
    
    
    .weight {
        font-size: 17px;
        font-family: Arial;
    
    }
    
    
    .highlight {
        stroke: #079585;
        stroke-width: 5;
    }
    
    .highlight-brown {
        stroke: #f09c00;
        stroke-width: 5;
    }
    
    #input-box{
        margin-top: 10px; 
        margin-left: 20px;
        width: 15%;
        text-align: left;
        border: black dotted 1px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        color: white;
        font-size: 20px;
        font-family: 'Times New Roman', Times, serif;
        background-color: #6b3225eb;
        position: absolute ; 
        
    }
    
    #input-box::placeholder{
        color: #e5c9c2;
    }
    
    #btn-run-prim {
        display: flex;
        justify-content: center;
        position: relative;
        margin-right: 150px;
        float: right;
    
    }
    #center-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
      }
      
    #btn-simple-graph {
        margin-right: 10px;
    }
    
  }
