
@font-face {
    font-family: 'ModeSeven';
    src: url('../fonts/modeSeven.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Nulshock';
    src: url('../fonts/nulshock.otf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}
body{
    background-color: #090833;
    font-family: 'ModeSeven', sans-serif;
}


/* ---------BLOCK 1--------- */
#header_block{
    /* background-color: gray; */
    display: flex;
    justify-content: flex-start;
    position: relative; 
    margin: 15px;
    margin-bottom: 10px;
}

#title_container{
    position: absolute; 
    left: 50%;
    transform: translateX(-50%); 
}

#title {
    font-family: 'ModeSeven';
    color: #FDFFE9;
    color:  #EFF2CD;; 
    font-size: 16px;
    margin: 0;
    padding: 0;
}


#menu_container{
    display: flex;
    font-family:'Nulshock';
    align-items: center;    
   
}

#menu {

    margin-top: 10px;
    color: #BAD80F;
    text-decoration: none;
    font-size: 12px;
    
}






/* ---------BLOCK 2--------- */

/* GRAPH */
#graph_block{
    /* background-color: green; */
    display: flex;
    margin: 15px 15px 0px 15px;
    justify-content: space-between;
}
#graph_container{
    /* background-color: rebeccapurple; */
    padding: 1%;
}
.link {
    stroke: #090833;
    stroke-opacity: 1;
    stroke-width: 2;
}
.label {
    font-size: 18px;
    fill: #090833;
}
.weight {
    fill: #F8FFB3; 
    font-size: 15px; 
    font-weight: bold; 
}


/*  BUTTONS */
#button_block{
    /* background-color: gray; */
    display: flex;
    margin-top: 5px;
    justify-content: space-between;
  
}
#left {
    display: flex;   
    flex-direction: column;   
    gap: 5px;            
    justify-content: center; 
    align-items: center;  
}

#right{
    gap: 15px;
    display: flex;
    justify-content: flex-end;
}
#refresh, #start{
    color: #FDFFE9;
    color:  #EFF2CD;; 
    font-family: "Nulshock";
    font-size: 12px;
    background: none;
    padding: 1px 10px;
    border: 3px solid #BAD80F;
    border-radius: 15px;
}

#refresh:hover, #start:hover {
    background: #BAD80F;        
}
#dst, #src, #direction{
    background-color: #FDFFE9;
    margin-right: 10px;
    border-radius: 15px;
    padding: 2px 0px 2px 5px;

    font-family: 'Nulshock';
    color: #AE2626;
    box-shadow: none;   
    outline: none;  
    border: none;
    transition: transform 0.2s ease;
    width: 125px;    
    font-size: 12px;
}
#direction{
    width: auto;    
}
#dst, #src, #direction:hover {
    transform: scale(1.05);
}




/*  PATH */
#path_container{

    /* background-color: yellow; */
    display: flex;
    margin-top: 30px;
    margin-bottom: -30px; 
    font-family: 'ModeSeven';
    font-size: 20px;
    color: #FDFFE9;
    color:  #EFF2CD;; 
    gap: 5px;
}
#msg {
    display: inline;  
}
  



/*  TABLE */
#data_container {
    /* background-color: gray; */
    overflow: visible;
    flex: 1; 
    margin: 1% 1% 1% 1%;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 0%;
}

#table_container {
    text-align: center;
    align-self: center;
}

#data-table {
    font-size: 16px; 
    width: 30%; 
    border-collapse: collapse; 
    
}

#data-table th, #data-table td {
    padding: 5px 20px; 
    text-align: center;
    border: 0.5px dashed wheat; 
    
}
#data-table th{
    color: red;
}


/*  DISTANCES */
#function_container {
    
    text-align: left;
    margin-top: 25px; 
}
#distances{
    
    font-family:"Nulshock" ;
    font-size: 16px;
    color: #BAD80F;
}
#visited, #sorted{
    font-family: 'ModeSeven';
    color: #FDFFE9;
    color:  #EFF2CD;; 
}








/* ---------BLOCK 3--------- */

/* INFO */
#info_block{
    /* background-color: green; */
    margin: 30px 15px 0px 15px;
    align-items: start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2%;
}

#info_container{
    /* background-color: purple; */
    color:  #EFF2CD;; 
    flex-shrink: 0;
    width: 50%;
    font-size: 14px;
}
#info, .info{
    margin-left: 15px;
}


/* PSEUDOCODE */

#code_block{
    display: flex;
    justify-content: flex-end;
    width: 530px;
    margin: 1% 1% 1% 1%;

}


#code_container{
    border-radius: 10px;
    padding: 0.5% ;
    border: 1px dashed #AE2626;
    width: auto;
    height: auto;
    margin: auto;
}
#code_title{
    font-family:"Nulshock" ;
    color: #AE2626;
    padding: 0px;
    margin: 0; 
    padding: 0;
}
#code{

    white-space: pre-wrap; 
    font-size: 14px;
    color: #AE2626;
}





#temp_container{
    /* background-color: gray; */
    display: flex;
    flex-direction: column;
    width: 200px;
    margin-top: 50px;
    margin-left: -70px;
    /* ADDED */
    padding-left: 25px;
    height: 50%;
}


#temp {
    transform: rotate(-90deg); 
    margin-top: 60px;
    appearance: none;
    border-radius: 10px;
    background-color: #FDFFE9; 
    /* background-color:  #EFF2CD;;  */
   
}

/* Style the thumb */
#temp::-webkit-slider-thumb {
    appearance: none;
    width: 15px; 
    height: 15px; 
    background: #AE2626; 
    border-radius: 50%; 
    cursor: pointer;
}






.temp_label{
    margin-left: 45px;
    font-family:"Nulshock" ;
    font-size: 12px;
    color: #BAD80F;

}
#low{
    margin-top: 55px; 
}

