#headtable {
    max-width: 1000px; 
    height: 250px; 
    background: var(--deep-bwback);
    background-size: cover;
    background-color: var(--deep-main);
    border: 2px solid var(--deep-main);
    border-top: none;
    margin: 0px auto;
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    font-family: var(--deep-subfont);
	margin-top: -50px;
}

#headtable .head-text {
    width: 240px;
    height: 170px; 
    text-align: justify;
    color: var(--deep-text);
    font-size: var(--deep-textsize);
    padding: 15px; 
    outline: 1px solid var(--deep-accent);
    line-height: 190%;
}

#headtable .head-text .title {
    font-family: var(--deep-mainfont);
    font-weight: 800;
    font-size: 55px;
    color: var(--deep-accent2);
    text-align: right;
}

#headtable .head-fams {
    width: 480px; 
    height: 170px; 
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
}

#headtable .head-fams .title {
    width: 100%;
    font-family: var(--deep-secondfont);
    font-size: 50px;
    color: var(--deep-accent2);
    font-weight: 800;
    text-align: right;
    margin-top: -20px;
}

#headtable .head-fams .fams {
    width: 110px; 
    height: 140px; 
    object-fit: cover;
}

#headtable .head-stuff {
    width: 130px;
    height: 180px; 
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    font-size: var(--deep-subtitlesize);
    gap: 10px;
    align-items: center;
    align-content: start;
}

#headtable .head-stuff span {
    border: 1px solid var(--deep-accent);
    color: var(--deep-text);
    padding: 5px; 
}

#headtable .head-stuff .title {
    width: 100%;
    font-family: var(--deep-mainfont);
    font-size: 50px;
    color: var(--deep-accent2);
    font-weight: 800;
    text-align: right;
}