.map-container {
    position: fixed;
    inset: 0;
}

#map {
    position: absolute;
    inset: 0;
    z-index: 0;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.content {
    padding-top: 0px; /*It looked ugly before*/
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1488;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0f0f0f;
    color: #f5f5f5;
    overflow: hidden;
}
@media (max-width: 600px) {
    html, body {
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }
}

.menu-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.main-menu-logo {
    width: min(420px, 80vw);
    height: auto;
}

.main-menu-buttons-container {
    width: min(18rem, 75vw);
    gap: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.play-button {
    padding-block: 6px;
    width: 100%;
    font-size: 2.0rem;
    font-weight: bold;
    border-radius: 10px;
    border: double;
    cursor: pointer;
    background: #780606;
    color: #ffffff;
    border: none;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.menu-button-large {
    padding: 6px 30px;
    min-height: 5vh;
    width: 100%;
    font-size: 1.4rem;
    border-radius: 10px;
    border: double;
    cursor: pointer;
    background: #ffffff;
    color: #0f0f0f;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: none;
}

.menu-button-medium {
    padding: 4px 20px;
    font-size: 1.2rem;
    border-radius: 8px;
    border: double;
    cursor: pointer;
    background: #ffffff;
    color: #0f0f0f;
}

.menu-button-small {
    padding: 2px 15px;
    font-size: 1rem;
    border-radius: 5px;
    border: double;
    cursor: pointer;
    background: #ffffff;
    color: #0f0f0f;
}

.lobby-container {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:flex-start;
    padding-top: 20vh;
    gap:48px;
}
@media (max-width: 600px) {
    .lobby-container {
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        padding-top: 0vh;
    }
}

.preset-gamemodes-container {
    display: flex;
    flex-direction: column;
    height: 60vh;
    width: 20vw;
    justify-content: flex-start;
    align-items: center;
    border:1px solid rgba(255, 255, 255, 0.2);
    padding:20px;
    border-radius:12px;
    gap:2vh;
    margin-top: 15px;
}

.preset-gamemodes-container h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.preset-gamemode-button {
    padding: 6px 10px;
    width: 100%;
    min-height: 5vh;
    font-size: 1.2rem;
    cursor: pointer;
    background: #000000;
    color: #BBBBBB;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.preset-gamemode-button:hover {
    background: #202020
}

.advanced-options-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border:1px solid rgba(255, 255, 255, 0);
    width: 20vw;
    border-radius:12px;
}
@media (max-width: 600px) {
    .advanced-options-container {
        width: 100%;
    }
}

.coords {
    margin-top: 12px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.playing-button {
    border-radius: 8px;
    position: fixed;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #ffffff;
    background: #0f0f0f;
    padding: 12px 20px;
    font-size: 1.2rem;
    text-wrap: nowrap;
}

.playing-button:hover {
    opacity: 0.9;
}

.question-answer {
    position: absolute;
    right: 16px;
    background: #000;
    border-radius: 10px;
    padding: 12px;
    z-index: 5;
    width: 450px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}
@media (max-width: 600px) {
    .question-answer {
        position: relative;
        width: 100%;
        border-radius: 0px;
        right: 50%;
        transform: translateX(50%);
        padding: 0px;
    }
}

/* Title */
.qa-title {
    color: #fff;
    margin: 0px;
    font-size: 1.5rem;
    text-align: center;
}

/* Portrait container */
.qa-portraits {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 5px;
}

/* Portrait images */
.qa-portraits img {
    width: calc(50% - 4px); /*4px is half the gap in .qa-portraits*/
    border-radius: 5px;
    background: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.qa-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
    font-size: 0.9rem;
}

.qa-table tr:last-child td {
    border-bottom: none;
}

/* First column: attribute name */
.qa-table td:first-child {
    font-weight: 600;
    color: #DDD;
    width: 40%;
    background-color: #0A0A0A;
}

/* Second column: attribute value */
.qa-table td:last-child {
    color: #BBB;
}

@media (max-width: 600px) {
    .answer-table {
        display: none;
    }
}

.score-display {
    position: fixed;
    bottom: calc(1.2rem + 2*12px + 3% + 2%); /*We calculate the button's total size and add a small gap*/
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    color: #000000;
    font-size: 30px;
}

.round-banner {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;

    text-align: center;
    pointer-events: none;

    animation: roundFade 2s ease-out forwards;
}

.round-title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
}

.round-counter {
    font-size: 28px;
    color: #000;
}

@keyframes roundFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
}

.final-score {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    color: #000;
}

.final-score-label {
    font-size: 5vh;
    font-weight: bold;
}

.final-score-value {
    font-size: 8vh;
    font-weight: bold;
}

.animate-final {
    animation: finalScoreAnim 3s ease-in-out forwards;
}

@keyframes finalScoreAnim {
    0% {
        opacity: 0;
        transform: translate(-50%, -55%) scale(1.2);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 190%) scale(0.6);
    }
}


.multiplayer-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
@media (max-width: 600px) {
    .multiplayer-container {
        gap: 20px;
        justify-content: start;
    }
}

.multiplayer-title {
    font-family: "Fraktur";
    font-size: 2rem;
    margin-bottom: 12px;
}

.menu-card {
    background: #161616;
    padding: 24px 28px;
    border-radius: 12px;
    min-width: 260px;

    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}
@media (max-width: 600px) {
    .menu-card {
        width: 95%;
        padding: 16px 20px;
        gap: 10px;
    }
}

.multiplayer-card h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.multiplayer-card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

.multiplayer-input:focus {
    outline: 1px solid #ffffff;
}

.multiplayer-back {
    margin-top: 12px;
    font-size: 0.95rem;
}

.host-or-join-game {
    display: flex;
    gap: 32px;
}
@media (max-width: 600px) {
    .host-or-join-game {
        flex-direction: column;
        gap: 20px;
    }
}


.button-anim {
    cursor: pointer;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.button-anim:hover {
    opacity: 0.9;
}

.button-anim:active {
    transform: scale(0.97);
}

.lobby-header {
    text-align: center;
    margin-bottom: 24px;
}

.lobby-title {
    font-size: 2rem;
    font-weight: 600;
}

.lobby-code {
    margin-top: 6px;
    font-size: 1.4rem;
    letter-spacing: 3px;
    opacity: 0.85;
}

.player-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    background: #1e1e1e;
}

.host-badge {
    font-size: 0.8rem;
    opacity: 0.8;
}

.waiting-text {
    text-align: center;
    opacity: 0.8;
}

.player-name-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    width: min(420px, 80%);
}

.player-name-section input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.player-name-section input:focus {
    background-color: rgba(255, 255, 255, 0.18);
}

.player-name-section input {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;

    border-radius: 8px;
    border: none;
    outline: none;

    background-color: rgba(255, 255, 255, 0.12);
    color: white;
}

.player-row.self {
    outline: 2px solid #4da3ff;
    outline-offset: 2px;
}

.player-name-display {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

.player-row.self .player-name-display {
    font-size: 1.2rem;
    font-weight: 600;
}

.leaderboard-and-phenotype {
    position: relative;
    display: flex;
    top: 12px;
    justify-content: space-between;
}
@media (max-width: 600px) {
    .leaderboard-and-phenotype {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow: hidden;
        top: 0px;
        width: 80vw;
        left: 50%;
        transform: translateX(-50%);
        background: #000;
        border-radius: 10px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        padding: 12px;
        padding-top: 0px;
    }

    .unselected-phenotype-leaderboard {
        display: none;
    }
}

.toggle-phenotype-leaderboard {
    display: none;
}
@media (max-width: 600px) {
    .toggle-phenotype-leaderboard {
        display: flex;
        position: relative;
        width: 80px;
        height: 30px;
        background: #333;
        border-radius: 15px;
        align-items: center;
        justify-content: space-between;
        padding: 5px;
        box-sizing: border-box;
        cursor: pointer;
        margin-block: 5px;
    }

    .toggle-phenotype-leaderboard input {
        display: none;
    }

    .toggle-phenotype-leaderboard .toggle-option {
        position: relative;
        z-index: 2;
        flex: 1;
        text-align: center;
        font-weight: bold;
        user-select: none;
    }

    .toggle-phenotype-leaderboard .slider {
        position: absolute;
        top: 3px;
        left: 4px;
        width: 46%; /*used in calc later*/
        height: 24px;
        background: #000;
        border-radius: 24px;
        transition: left 0.3s;
        z-index: 1;
    }

    #leaderboard:checked ~ .slider {
        left: calc(100% - 4px - 46%); /*rigth:4px is easier, but doesn't allow animation*/
    }
}

.leaderboard.endgame {
    transform: translate(
        calc(50vw - 20px),
        calc(50vh - 20px)
    )
    scale(1.5)
    translate(-50%, -50%);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    z-index: 20;
}

.leaderboard {
    background: rgba(34, 34, 34, 0.7);
    overflow: hidden;
    position: absolute;
    left: 16px;
    padding: 12px;
    border-radius: 8px;
    width: 250px;
    max-height: 35vh;
    transform: translate(0, 0) scale(1);
    transform-origin: top left;
    transition:
        transform 2s cubic-bezier(0.22, 1, 0.36, 1),
        backdrop-filter 1s ease,
        opacity 1s ease;
    z-index: 5;
}

.leaderboard table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard tbody tr:nth-child(even) {
    background: #eaeaea;
}

.leaderboard-row {
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    height: 40px;
    align-items: center;
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 10px;
    margin-top: 0px;
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.18);
}

.leaderboard-text{
    font-size: 100%;
    font-weight: 500;
    color:white;
}

.leaderboard-row.self{
    outline: 1.5px solid #d1d1d1;
    outline-offset: 1px;
}

@media (max-width: 600px) {
    .leaderboard {
        position: relative;
        left: 0px;
        width: 100%;
        border-radius: 0px;
        background: #000;
        padding: 0px;
        margin-top: 5px;
        transition: none;
    }

    .leaderboard.endgame {
        transform: none;
        backdrop-filter: none;
        opacity: none;
        z-index: none;
    }
    
    .leaderboard table {
        margin: 1px;
    }

    .leaderboard h2 {
        display: none;
    }
}

.gamemode-dropdown {
    position: relative;
}

.gamemode-dropdown-label {
    width: 100%;
    padding: 8px;
    text-align: left;
    background-color: #111;
    border: 1px solid #333;
    cursor: pointer;
    color: #DDD;
}

.gamemode-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    border: 1px solid #333;
    padding: 0px;
    z-index: 10;
    min-height: 120px;
    max-height: 200px;
    overflow-y: auto;
}

.gamemode-dropdown-options label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #BBB;
    text-align: left;
    padding: 4px 8px;
}


/* Container for horizontal scrolling */
.phenotype-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    overflow-x: auto;
    padding: 10px;
    justify-content: center;
}
@media (max-width: 600px) {
    .phenotype-grid {
        padding: 0px;
    }
}

/* Individual card */
.phenotype-card {
    flex: 0 0 140px;         /* Fixed width for each card (adjust as needed) */
    box-sizing: border-box;
    text-align: center;
    background-color: #080808;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.2s;
}

.phenotype-card:hover {
    transform: scale(1.05);
}

/* Image styling */
.phenotype-card img {
    width: 100%;             /* Fill card width */
    height: 150px;           /* Fixed height to keep consistent size */
    object-fit: cover;       /* Crop if necessary */
    margin-bottom: 8px;
}

/* Name under image */
.phenotype-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #FFF;
}

.phenotype-page {
    display: grid;
    grid-template-columns: 2fr 3fr; /* left/right columns */
    grid-template-rows: auto 1fr;  /* first row for title, second row for content */
    column-gap: 32px;
    row-gap: 16px;
}
@media (max-width: 600px) {
    .phenotype-page {
        display: flex;
        flex-direction: column;
        gap: 16px;
        overflow: auto;
    }
}

@font-face {
    font-family: 'Fraktur';
    src: url('/fonts/Walbaum-FrakturUNZ1.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.phenotype-page h1 {
    grid-column: 1 / 3;   /* spans both columns */
    text-align: center;
    margin-bottom: 0px;  /* optional: smaller bottom spacing */
    font-family: 'Fraktur', serif;
    font-size: 2rem;
}

/* Left column (portraits + map) */
.phenotype-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 35vw;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .phenotype-images {
        width: 100%;
    }
}

/* Portraits side by side */
.phenotype-page-portraits {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

/* Each portrait */
.phenotype-page-portraits img {
    height: auto;
    width: 0;
    flex: 1;
    object-fit: contain;
}

/* Map image underneath */
.phenotype-images > img:not(.phenotype-page-portraits img) {
    max-width: 100%;   /* never expand beyond column */
    height: auto;
    object-fit: contain;
}

/* Right column (table container) */
.phenotype-page-physical-attributes {
    overflow-x: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .phenotype-page-physical-attributes {
        display: flex;
        flex-direction: column;
    }
}

.phenotype-page-physical-attributes-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
    font-size: 0.9rem;
}

.phenotype-page-physical-attributes-table tr:last-child td {
    border-bottom: none;
}

/* First column: attribute name */
.phenotype-page-physical-attributes-table td:first-child {
    font-weight: 600;
    color: #DDD;
    width: 40%;
    background-color: #0A0A0A;
}

/* Second column: attribute value */
.phenotype-page-physical-attributes-table td:last-child {
    color: #BBB;
}

.phenotype-page-section {
    display: flex;
    flex-direction: column;
    row-gap: 16px;  
    padding: 8px;
    padding-top: 4px;
    border: 2px solid #444;
    border-radius: 12px;
    gap: 6px;
}

.phenotype-page-physical-attributes-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phenotype-page-descriptor-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phenotype-page-descriptor-tag-list:empty {
    display: none;
}

.phenotype-page-descriptor-tag {
  padding: 4px 10px;
  background: #222;
  color: #eee;
  border-radius: 8px;
  font-size: 0.9rem;
}

.catalogue-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.catalogue-filters-panel {
    width: 250px;
    padding: 16px;
    border-right: 1px solid #333;
    background-color: #080808;
    overflow-y: auto; 
    height: 100%;
}

.catalogue-grid-panel {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

@media (max-width: 600px) {
    .catalogue-filters-panel {
        display: none; /*I won't bother fixing the catalogue for mobile properly,*/
                       /*since I might change the layout entirely at some point*/
        padding: 0px;
    }
    .catalogue-grid-panel {
        padding: 0px;
    }
}

.catalogue-filter {
    position: relative;
    margin-bottom: 12px;
}

.catalogue-filter-label {
    width: 100%;
    padding: 8px;
    text-align: left;
    background-color: #111;
    border: 1px solid #333;
    cursor: pointer;
    color: #DDD;
}

.catalogue-filter-dropdown {
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    border: 1px solid #333;
    padding: 8px;
    z-index: 10;
}

.catalogue-filter-dropdown label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #BBB;
}

.marker-tooltip {
    background: rgba(0,0,0,0.85);
    color: #000;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.marker-tooltip .name {
    font-weight: 600;
}

.marker-tooltip .score {
    font-size: 12px;
    opacity: 0.85;
}

.options-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    user-select: none;
    transition: color 0.2s ease;
}

.options-toggle:hover {
    color: rgba(255,255,255,0.95);
}

.options-panel {
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
    pointer-events: none; /*I depise CSS*/
}

.options-panel.open {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto; /*with a passion that burns brighter than a billion suns.*/
}

.options-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    overflow: visible;
}

.round-timer-container {
    position: fixed;
    bottom: 2px;
    left: 5px;
    width: 100vw;
    height: 14px;
    border-radius: 3px;
    background: rgba(100, 100, 100, 0.5);
    align-content: center;
    z-index: 10;
}

.round-timer-bar {
    height: 100%;
    width: 100%;
    border-radius: 3px;
    height: 10px;
    background: white;
    transform-origin: left center;
    transition: transform 0.1s linear;
}



/*MIXING LAB*/

.mixinglab-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100vh - env(safe-area-inset-bottom));
}

.mixinglab-title {
    font-size: 2rem;
    color: #FFF;
    margin-top: 0.8rem;
}

.mixinglab-content-layout {
    display: flex;
    width: 100%;
    flex: 1;
    margin-bottom: 0.8rem;
}

.mixinglab-leftside {
    display: flex;
    flex-direction: column;
    width: 40%;
    gap: 10px;
    height: 100%;
}

.mixinglab-rightside {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.phenotype-palette {
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    flex: 1;
    gap: 5px;
}

.phenotype-palette h2 {
    font-size: 1.4rem;
    color: #FFF;
}

.pheno-searchbar-container {
    position: relative;
}

.pheno-searchbar {
    width: 100%;
}

.pheno-searchbar-dropdown {
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-height: 40vh;
    overflow-y: scroll;
}

.add-phenotype-button {
    width: 100%;
    background-color: #000;
    color: #FFF;
}

.active-phenotypes-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.phenotype-well {
    display: flex;
    width: 100%;
    height: 80px;
    border: 1px solid #333;
    padding: 10px;
    gap: 10px;
}

.phenotype-well-portraits {
    display: flex;
    width: 100px;
    gap: 5px;
    justify-content: center;
}

.phenotype-well-portraits img {
    border-radius: 10px;
}

.phenotype-well-title {
    flex: 1;
    font-size: 1.2rem;
}

.remove-phenotype-well {
    width: 10px;
    background-color: transparent;
    color: red;
    padding: 0px;
    border: 0px;
}

.phenotype-fraction-input {
    width: 50px;
}

.mix-button {
    height: 50px;
}

.morphed-portraits {
    display: flex;
    gap: 10px;
}

.morphed-portraits img {
    height: 400px;
}

.center-horizontally {
    display: flex;
    justify-content: center;
}

.morph-output-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.center-vertically {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*END OF MIXING LAB*/