/* color palette: https://coolors.co/palette/0d1321-1d2d44-3e5c76-748cab-f0ebd8 */
.text-color-0 {
    color: #0D1321;
}
.text-color-1 {
    color: #1D2D44;
}
.text-color-2 {
    color: #3E5C76;
}
.text-color-3 {
    color: #748CAB;
}
.text-color-4 {
    color: #F0EBD8;
}
.background-color-0 {
    background-color: #0D1321;
}
.background-color-1 {
    background-color: #1D2D44;
}
.background-color-2 {
    background-color: #3E5C76;
}
.background-color-3 {
    background-color: #748CAB;
}
.background-color-4 {
    background-color: #F0EBD8;
}

/* font properties */
.font-size-default {
    font-size: 18px;
}
.font-size-small {
    font-size: 16px;
}

/* header properties */
.header-link a {
    text-decoration: none;
    color: #748CAB;
    font-weight: bold;
}
.header-link a:visited {
    color: #748CAB;
}
.header-link a:hover {
    color: #748CAB;
    text-shadow: 0 0 18px #748CAB;
}
.header-link a:active {
    color: #988CAB;
}
.header-bar {
    height: 4px;
    margin-bottom: 32px;
}

/* index properties */
.index-image {
    display: inline-block;
    position: relative;
}
.index-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    line-height: normal;
    font-size: 16px;
    font-weight: bold;
    background-color: #c9c55b;
    color: #B00000;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.index-item:hover {
    box-shadow: 0 0 16px #748CAB;
    background-color: blueviolet;
    color: #BAB86C;
    transition: 0.25s;
}
.index-item-software {
    width: 117px;
    height: 117px;
    top: 74px;
    left: 98px;
}
.index-item-engineering {
    width: 165px;
    height: 45px;
    top: 410px;
    left: 50px;
}
.index-item-projects {
    width: 141px;
    height: 45px;
    top: 26px;
    left: 314px;
}
.index-item-about {
    width: 93px;
    height: 45px;
    top: 266px;
    left: 290px;
}

/* "software"/"project" properties */
.software-img-box {
    flex-basis: 45%;
    width: 500px;
    min-width: 250px;
    flex-shrink: 1;
    padding: 24px;
    text-align: center;
}
.software-img-box img {
    object-fit: contain;
}
.software-info-box {
    flex-basis: 45%;
}

.carousel-item img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}
.modal {
    --bs-modal-width: 800px !important;
}
.modal-body {
    text-align: center;
}
.modal-body > img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

/* "engineering" properties */
.eng-box-width-text {
    width: 80%;
}
.eng-image-size {
    width: 500px;
    height: auto;
}

/* "about" properties */
.about-text-box {
    width: 550px;
    border: 4px double #3E5C76;
}
.about-command {
    font-family: monospace;
    font-size: 14px;
}
.about-text {
    line-height: 1.5;
    font-size: 16px;
}

/* general properties */
.spacer {
    height: 16px;
}