.control {
    padding-bottom: 1em;
}



/* Table container */
.table-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.table-container h2 {
    text-align: center;
}
.table-container .column {
    flex-grow: 1;
    padding: 0.5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-container {
    background-color: whitesmoke;
    padding: 0.5em;
    width: fit-content;
    margin: 0.5em;
    margin-bottom: 2em;
    border: 2px solid gray;
    border-radius: 15px;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
}
.sub-container .group-name{
    width: 100%;
    text-align: center;
    margin: 0;
    margin-bottom: 0.5em;
}

/***********Model styles**************/

.model {
    user-select: none;
    margin: 0.5em;
    /*border-radius: 15px;*/
    width: fit-content;
    cursor: pointer;
}
.model .title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.model .name {
    margin: 0.5em;
}
.model .languages {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-right: 0.5em;
}
.model img.language {
    width: 1.5em;
    height: 1.5em;
    margin: 0.2em;
}
.model .content {
    display: flex;
}
.model .content > *{
    margin: 0.5em;
}
.model .materials {
    width:4em;
    align-self: center;
    border-radius: 15px;/**/
    overflow: hidden;
}
.model .material{
    font-size: 14px;
    text-align: center;
    padding: 0.2em 0.25em 0em;
    color: white;
    background-color: rgb(150, 103, 165);
}
.model .material.metal {
    background-color: #002557;
}
.model .material.insulator {
    background-color: #666;
}
.model .material:not(:last-child) {
    border-bottom: 1px solid rgb(214, 214, 214);
}
.model .image img{
    object-fit:contain;
    background-color: white;
    width: 200px; height: 150px;
    margin-bottom: -0.5em;
}
.model .image img[src="https://memristec.de/wp-content/uploads/2023/11/Unbenannt.png"]{
    background-color: transparent;
    opacity: 0.5;
}

/*border colors*/
.model {
    border-width: 2px;
    border-style: transparent;
    border-color: gray;
}
.model[volatility="Non-volatile"] {
    border-style: solid;
}
.model[volatility="Volatile"] {
    border-style: dashed;
}
.model[switchingGeometry="Filamentary"] {
    border-color: red;
    background-color: rgba(128,0,0,0.1);
}
.model[switchingGeometry="Area-dependent"] {
    border-color:green;
    background-color: rgba(0,128,0,0.1)
}