@font-face {
    font-family: 'osrs';
    src: url("Fonts/runescape.ttf") format('truetype');
}

.herb {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

#dropContainer {
    position: absolute;
    height: 270px;
    width: 100%;
    bottom: 30px;
    left: 0;
    padding: 0;
    border-style: solid;
    border-color: #524b3b;
    border-width: 10px;
    border-left-width: 0px;
    border-right-width: 0px;
    background-color: #b2a384;
    margin: 0;
    overflow: hidden;
}

#fetchButton {
    float: center;
    font-family: 'osrs';
    font-size: 12px;
}

.body {
    position: absolute;
    color: green; 
    width: 100vw;
    height: 100vh;
}

#topValueTitle {
    width: 30vw;
    left: 120px;
    position: absolute;
    top: 15px;
    font-family: osrsBold;
    color: #d88f41;
    font-size: 32px;
    border: solid #2b2720 2px;
    text-align: center;
    background-color: #4d453a;
}

#topRarityTitle {
    width: 30vw;
    right: 120px;
    position: absolute;
    top: 15px;
    font-family: osrsBold;
    color: #d88f41;
    font-size: 32px;
    border: solid #2b2720 2px;
    text-align: center;
    background-color: #4d453a;
}

#topValueTable {
    width: 40vw;
    left: 0px;
    position: absolute;
    top: 60px;
    border: solid #2b2720 2px;
}

#topRarityTable {
    width: 40vw;
    float: right;
    right: 0px;
    position: absolute;
    top: 60px;
    border: solid #2b2720 2px;
}

tr:nth-child(even) {
    background-color: #4d453a;
}

tr:nth-child(odd) {
    background-color: #564e43;
}

td {
    font-family: osrs;
    color: #d88f41;
    font-size: 24px;
}

th {
    font-family: osrsBold;
    color: #d88f41;
    font-size: 32px;
    border-bottom: solid #2b2720 2px;
}

#fetchButtonTopRarity {
    font-family: osrsBold;
    color: #1d2024;
    background-color: transparent;
    border: 0px;
    position: relative; 
    text-align: center; 
    top: 0px; 
    font-size: 100px;
}

.stats {
    font-family: osrsBold;
    position: relative;
    top: 10px;
}

.statusdiv {
    top: 0px;
    left: 40vw;
    width: 20vw;
    position: relative;
}

/* Mobile styles */
@media (max-width: 768px) {
    #topValueTable, 
    #topRarityTable {
        position: static; /* Change position to static to stack them */
        width: 90%; /* Adjust width for better mobile display */
        margin: 0 auto; /* Center tables */
    }

    .statusdiv {
        width: 90%; /* Adjust width for mobile */
        left: 0; /* Align with the table */
        margin: 20px auto; /* Center the status div and add some spacing */
    }
}
