html {
    height: 100%;
    width: 100%;
}

body {
    background-color: #604DA7;
    color: #FFFFFF;
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
}

table {
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background: #443C82;
    border-radius: 8px;
    overflow: hidden;
    min-width: 800px;
}

th,
td {
    padding: 12px 16px;
    text-align: left;
}

th {
    cursor: pointer;
    background-color: #2E2965;
    color: #FFD700;
    font-size: 1.1em;
    border-bottom: 2px solid #FFD700;
    transition: background-color 0.3s ease;
}

th:hover {
    background-color: #473A7B;
}

td {
    color: #FFFFFF;
    border-bottom: 1px solid #2E2965;
}

tr:hover {
    background-color: #473A7B;
}


img#logo_img {
    height: 250px;
}


div#gauges .container {
    display: flex;
    flex-direction: row;
}

div#logo {
    width: 100% !important;
    text-align: center;
}


div#search .container {
    width: 200px;
}

div#rankGraph .rank-chart-container {
    width: 800px;
    height: 400px;
    min-width: 800px;
    background: #443C82;
}

.search-container {
    position: relative;
}

input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 1em;
    background-color: #B0A4E3;
    color: #2E2965;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #2E2965;
}

.chart-container {
    width: 200px;
    min-width: 200px;
    height: auto;
    min-height: 200px;
    margin-right: 20px;
    text-align: center;
}

.canvas-container {
    display: flex;
    position: relative;
    height: 200px;
}

.chart-container canvas {
    position: absolute;
}

.percent {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 45px;
    bottom: 20px;
    font-weight: bold;
}

.percent-label {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 15px;
    bottom: 30px;
}

.margin-20 {
    margin-bottom: 20px;
    margin-left: 20px;
}

div#search .container {
    margin-bottom: 20px;
}

div#cards .container{
    display: flex;
    flex-direction: column;
    justify-content: left;
}

div#cards {
    justify-content: center;
}

.more-container {
    display: none;
    margin-top: 20px;
    text-align: left;
    padding-left: 25px;
}

.more-container h3 {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: bold;
}

.more-container ul {
    list-style-type: none;
    padding: 0;
}

.more-container li {
    color: #FFFFFF;
    font-size: 1em;
    margin: 5px 0;
}

.show-more-button {
     color: white;
     border: none;
     border-radius: 5px;
     font-size: 1em;
     cursor: pointer;
     background-color: transparent;
     background-repeat: no-repeat;
     border: none;
     font-style: italic;
}

@media screen and (min-width: 768px) {

    body{
        justify-content: center;
    }

    div#search .container {
        width: 400px;
    }

    div#cards {
        display: flex;
        justify-content: center;
    }
   

    div#logo {
        display: flex;
        justify-content: center;

    }

    div#gauges {
        display: flex;
        justify-content: center;

    }

    div#rankGraph{
        display: flex;
        justify-content: center;

    }

}
    

