@import url('base.css');

/* ensure proper footer positioning */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container-fluid {
    flex: 1;
    width: 100%;
    padding-top: 3em;
    padding-left: 4em;
    padding-right: 4em;
    padding-bottom: 3em;
}

.info-title {
    display: flex;
    font-weight: 100;
}

.info-catname {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
}
.cat-upper,
.cat-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cat-box {
    display: flex;
    align-items: baseline;
    width: 100%;
    max-width: 600px;
}

.cat-title {
    min-width: 200px;
    width: 200px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--fera-blue);
    text-align: end;
    padding-right: 1em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.cat-info {
    padding-left: 1em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    font-size: 1.1em;
    font-style: italic;
    text-align: left;
}

.middle-separator {
    display: flex;
    justify-self: center;
    margin-top: 2em;
    width: 50%
}

.ncppbnum {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 115px;
    padding: 2px;
    background-color: var(--fera-green);
    border-radius: 5px;
    height: 50%;
    transform: translateY(6px);
    font-size: 14px;
    color: var(--fera-text);
    font-weight: normal;
}

.vertical-separator {
    border-left: 1px solid var(--fera-green);
    min-height: stretch;
    margin-left: 0.8em;
    margin-right: 0.8em;

}

.ncppb-title {
    color: var(--fera-blue);
    font-size: 11px;
    font-weight: 500;
    width: max-content;
}

.ncppb-name {
    display: flex;
    position: relative;
    transform: translateY(-5px);
    font-size: 1.1em;
}

.notes-data {
    width: 95%;
}

.info-box {
    background-color: #F5F5F5;
    margin-top: 1em;
    width: 95%;
    padding: 1em;
    flex-wrap: wrap;
}

.info-row-box {
    display: flex;
    justify-content: flex-start;
    width: 95%;
    flex-wrap: wrap;
}

.info-row-divider {
    height: 100%;
    margin-right: 6em;
}

.extra-box {
    display: flex;
    width: 95%;
    outline: 1px solid var(--fera-green);
    padding: 1em;
    flex-wrap: wrap;
}

.end-line {
    display: flex;
    margin-top: 2em;
    width: 95%
}

.furtherinfo-btns {
    display: flex;
    width: 100%;
}

.furtherinfo-btns a {
    text-decoration: none;
}

.submit-button {
    display: flex;
    margin-top: 1em;
    margin-bottom: 1em;
}

.submit-button button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--fera-blue);
    border-radius: 30px;
    padding: 15px 20px;
    color: var(--fera-white);
    border-style: none;
}

.submit-button a {
    text-decoration: none;
    margin: 0;
    font-size: 16px;
    color: white;
}

.search-btn button:hover {
    background-color: white;
    color: var(--fera-blue);
    border-color: var(--fera-blue);
    border-style: solid;
}

.submit-button p {
    margin: 0;
}

.search-btn button {
    display: flex;
    transition: 0.4s;
}

.back-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 1em;
    border: 0;
    background-color: white;
    color: var(--fera-blue);
    text-decoration: underline;
}

@media (max-width: 450px) {
    .container-fluid {
        padding: 1em;
    }

    .cat-title {
        min-width: 120px;
        width: 120px;
        font-size: 1em;
    }

    .submit-button button {
        display: flex;
        width: 15em;
    }
    .furtherinfo-btns {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .back-button {
    position: absolute;
    align-items: center;
    margin: 0;
    transform: translateY(50px);
    }
}