@media (min-width:1201px) {
    div.container {
        max-width: 55vw;
    }
}

div.container {
    min-height: 80vh;
}

div.tool-card {
    margin: 1.75rem 0rem 1rem;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    color: rgba(255,255,255,0.85);
    background-color: #e0e0e0;
    /* cursor: pointer; */
}

div.tool-card :is(h2, p) {
    color: black;
}

.dark-mode div.tool-card {
    background-color: #1a1a2b;
}

.dark-mode div.tool-card :is(h2, p) {
    color: white;
}

div.tool-card :is(p, h1, h2) {
    margin-top: 0;
    margin-bottom: 0;
}

div.tool-card h2 {
    font-size: 2rem;
    white-space: pre-wrap;
    display: inline-block;
}

div.filter-card {
    display: flex;
    border-radius: 24px;
    background-color: #e0e0e0;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    align-items: center;
    cursor: pointer;
    
}

div.filter-card p {
    color: black;
}

.dark-mode div.filter-card  {
    background-color: #1a1a2b;
    
}
.dark-mode div.filter-card p {
    color: white;
}

.img-filter {
    flex-grow: 1;
}
.filter-type {
    flex-grow: 20;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.85);
}

.svg-img {
    width: 400px;
    padding-top: 20px;
}

.img-smaller {
    width: 75%;
}

.btn-back {
    top: 20px;
    position: absolute;
    left: 20px;
}

.btn-back a {
    color: black;
}
.dark-mode .btn-back a {
    color: white;
}
.btn-back a:hover{
    color: black;
}
.dark-mode .btn-back a:hover{
    color: white;
}
div.tool-card p {
    padding-bottom: 20px;
}

div.tool-card h2 {
    padding-top: 10px;
    padding-bottom: 10px;

}

@media (max-width: 768px) {
    h1 {
        margin-top: 60px;
    } 
}


li {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 20px;
    color: black;
}

.dark-mode li{
    color: white;
}
.table {
    width: 50%;
    margin: auto;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid black;
    color: black;
}

.dark-mode .table {
    border: 1px solid white;
    color: white;
}


td, th {
    border: 1px solid black;
}

.dark-mode td, .dark-mode th {
    border: 1px solid white;
}
th {
    border-bottom: 2px solid black;
}

.dark-mode th {
    border-bottom: 2px solid white;
}
