/* google font link */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300&display=swap');

* {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/*top navbar*/
.top-navbar {
    display: flex;
    justify-content: space-between;
    background-color: teal;
    color: black;
    height: 50px;
    box-shadow: 0 4px 8px 0 rgba(184, 177, 177, 0.973);
}

.top-navbar h1 {
    padding: 12px 12px 12px 50px;
    font-weight: 900;
    font-size: 35px;
}

.dot {
    height: 30px;
    width: 30px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin: 12px 3px 12px 8px;
}

.dot2 {
    height: 30px;
    width: 30px;
    background-color: greenyellow;
    border-radius: 50%;
    display: inline-block;
    margin: 12px 3px 12px 3px;
}

.dot3 {
    height: 30px;
    width: 30px;
    background-color: yellow;
    border-radius: 50%;
    display: inline-block;
    margin: 12px 30px 12px 3px;
}

/*Main body*/
.main-dashboard {
    display: flex;
    justify-content: stretch;
}

/*left nav-bar*/
#mat {
    color: gold;
}



.sidebar {
    padding-left: 2%;
    padding-top: 1%;
    background: teal;
    margin-left: 0.3%;
    padding-top: 1%;
    margin-top: 0%;
    margin-right: 0.2%;
    border-color: black;
    border-radius: 6px;
    border: 1px solid;
    width: 240px;
    padding: 7px 15px;
    transition: all 0.5s ease;
    height: 98%;
    box-shadow: 2px 5px 20px rgba(24, 23, 23, 0.5);
}

.sidebar ul li {
    list-style-type: none;
    height: 52px;
    width: 100%;
    margin: 0 6px;
    position: relative;
    line-height: 52px;
    border-radius: 10px;
    text-decoration: none;
}

.sidebar ul li .tool {
    position: absolute;
    left: 122px;
    top: 50%;
    transform: translateY(-50%, );
    border-radius: 10px;
    height: 35px;
    width: 122px;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: 0s;
    opacity: 0;
    pointer-events: none;
    display: block;
    transition: 0s;
    opacity: 0;
    pointer-events: none;
    display: block;
}

.sidebar ul li:hover .tool {
    transition: all 0.5s ease;
    opacity: 40;
    top: 50%
}


.nav_bar {
    padding-top: 40px;
    font-size: larger;
    font-style: normal;
    font-weight: 600;
    font-family: sans-serif;
    background: teal;
    display: block;
    color: antiquewhite;

}

h1 {
    font-size: x-large;

}

.links_name {
    color: antiquewhite;
}

.bx {
    color: black;
    font-size: 25px;
}

#john_doe {
    margin-top: 0px;
    margin-left: 90px;
    padding-top: 18px;
}
#sign_out{
    margin-top: 0px;
    margin-left: 90px;
    padding-top: 18px;
}
.nav_bar a {
    text-decoration: none;
}
#john_doe .bxs-user{
    margin-top: 5px;
    margin-left: -92px;
    
}

.system {
    background: rgb(66, 165, 144);
    border: 1px solid;
    border-radius: 6px;
    width: 270px;
    margin-left: -16px;
    margin-top: -8px;
}

/*main body*/

.main-content h1 {
    padding-left: 30px;
    padding-top: 20px;
    text-decoration: underline;
    color: teal;
}

.card-container {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 190px;
    height: 120px;
    margin-left: 0px;
    border-radius: 25px;
}

.card-container:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card-container h3 {
    padding: 10px;
    font-size: 20px;


}

.fa-solid {
    font-size: 45px;
    padding-left: 45px;
}

.content-in {
    display: flex;

}

.content-in h4 {
    font-size: 25px;
    font-weight: lighter;
    padding-left: 15px;
    padding-top: 5px;
}

.card-section {
    display: flex;
    justify-content: space-evenly;
}


.line {
    width: 100px;
}

/*fleet section*/

.fleet-section h2,
.trips-section h2 {
    padding-left: 30px;
    padding-top: 20px;
    font-size: 24px;
}

.fleet-card {
    padding-left: 50px;
    width: 180px;
}

.fleet-card img {
    border-radius: 50%;
    height: 120px;
    width: 120px;
}

.fleet-content {
    padding-left: 10px;
}

.fleet-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.fleet-lined {
    display: flex;
    justify-content: space-between;
}

/*pie chart section*/
#container {
    background-color: rgb(188, 194, 194);

    height: 250px;

    padding-top: 0;
    margin-left: 10px;
}

.trips-section {
    display: flex;

}

#myChart {
    width: 100%;
    height: 250px;
    max-width: 600px;
}

#myChart2 {
    background-color: rgb(188, 194, 194);
    height: 300px;
    max-width: 1000px;
}

/*staff-list*/


.list h1 {
    padding-left: 30px;
    padding-top: 20px;
    text-decoration: underline;
    color: teal;
    margin-left: 50px;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 700px;
    margin-left: 50px;
}

th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    color: teal;
}

td {
    order: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

#myTable tr.header,
#myTable tr:hover {
    background-color: #f1f1f1;
}

#myTable {
    border: 1px solid;
}

.more {
    text-align: right;
}

.btn-more {
    background-color: teal;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
}

.more a {
    text-decoration: none;
    color: black;
}

.footer {
    background-color: teal;
    color: white;
    width: 100%;
    display: inline-block;
    text-align: center;
    border-radius: 25px;
}
