:root {
    --bs-body-bg: #50476c;
    --bs-body-color: #ddd;
    --bs-emphasis-color: #ddd;
}

.nav {
    --bs-nav-link-color: #ddd;
    --bs-nav-link-hover-color: #30253d;
}

.nav-tabs {
    --bs-nav-link-color: #ddd;
    --bs-nav-link-hover-color: #ddd;
    --bs-nav-tabs-link-active-bg: #30253d;
    --bs-nav-tabs-border-radius: 0;
}

.nav-pills {
    --bs-nav-pills-link-active-color: #ddd;
    --bs-nav-pills-link-active-bg: #30253d;
}

body {
    background-color: #352d48;
    color: #ddd;
    margin: 5px;
    font-family: "Inter"!important;
}

a {
    text-decoration: none;
    color: #ddd;
}


.inner {
    background-color: #50476c;
    border-radius: 10px;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    padding: 30px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 90%;
}

.logo-img {
    width: 100%;
    max-width: 445px;
}

.heading {
    font-family: "Dancing Script"!important;
    font-size: 36pt;
}

#mahiruImage {
    width: 100%;
    height: auto;
}

.btn {
    background-color: #30253d;
    color: #fff;
    transition: all .7s;
    border-color: #6b608d;
}

.btn:hover {
    color: fff;
    background-color: #453557;
}

.commission {
    margin: 10px;
    width: calc(100% - 20px);
    padding: 10px;
    text-align: center;
    border-radius: 5px
}

.commission.closed {
    border: 1px solid rgb(255, 125, 125);
    color: rgb(255, 125, 125);
}

.commission.open {
    border: 1px solid rgb(125, 255, 125);
    color: rgb(125, 255, 125);
}

.social {
    width: auto;
    height: 64px;
    margin: 3px;
    border-radius: 50%;
}

.discord-container {
    width: 100%;
    background-color: #313338;
}

.discord-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 640/225;
    background-color: #313338;
    background-size: cover;
}

.discord-avatar {
    width: 20%;
    height: auto;
    aspect-ratio: 1/1;
    -webkit-transform: translateY(123%);
    transform: translateY(123%);
    margin-left: 5%;
    border-radius: 50%;
    border: 5px solid #313338;
    background-size: cover;
}

.discord-status {
    border-radius: 50%;
    border: 5px solid #313338;
    background-color: #313338;
    position: absolute;
    bottom: -6%;
    right: 7%;
    width: 40%;
    height: auto;
    aspect-ratio: 1/1;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
}

.discord-status-offline {
    border-radius: 50%;
    border: 0.5vmax solid #80848e;
    background-color: #313338;
    width: 100%;
    height: 100%;
}

.discord-user-info {
    margin-left: 25%;
    padding: 15px;
}

.discord-username {
    font-weight: bold;
    font-size: 1.9vmax;
}

.discord-status-text {
    font-size: 11pt;
}

.discord-activity {
    padding: 15px;
    padding-top: 0;
}

.discord-activity-container {
    display: flex;
    flex-direction: row;
}

.discord-activity-image {
    width: auto;
    height: 128px;
    aspect-ratio: 1/1;
    background-color: #313338;
    border-radius: 15%;
    background-size: cover;
}

.discord-activity-small-image {
    -webkit-transform: translate(96px, 96px);
    transform: translate(96px, 96px);
    width: auto;
    height: 32px;
    aspect-ratio: 1/1;
    background-color: #313338;
    background-size: cover;
    border-radius: 50%;
}

.discord-activity-info {
    padding: 15px;
    width: calc(100% - 128px)
}

.discord-activity-info-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.justify {
    text-align: justify;
    text-justify: inter-word;
}

.about-me {
    border: 1px solid white;
    width: 100%;
}

#projectList {
    border: 1px solid white;
    width: 100%;
    height: 361px;
    overflow-y: auto;
}

.project-container {
    border: 1px solid white;
    margin: 10px;
    padding: 10px;
    width: calc(100% - 20px);
    display: flex;
    flex-direction: row;
}

.project-image-link {
    width: 30%;
    max-width: 150px;
}

.project-image {
    width: 100%;
    height: auto;
}

.project-link {
    margin-left: 15px;
    max-width: 78%;
}

.gear-box {
    border: 1px solid #ddd;
    height: 450px;
    overflow-y: auto;
    border-top: 0;
}

.gear-item {
    border-bottom: 1px solid #ddd;
    padding: 15px;
}

.gear-item-last {
    padding: 15px;
}

.gear-image {
    width: 100%;
    height: auto;
}

.grid-list-container {
    width: 100%;
    display: grid;
    grid-template-columns: calc(25% - 10px) calc(25% - 10px) calc(25% - 10px) calc(25% - 10px);
    grid-gap: 10px;
}

.grid-list-container.half {
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
}

.grid-item {
    border: 1px solid #ddd;
    padding: 10px;
    height: 100%;
}

.grid-item.image-left {
    display: flex;
    flex-direction: row;
}

.grid-item.image-left>.grid-image-container{
    width: 20%;
    max-width: 96px;
}

.grid-item.image-left>.grid-image-container>img {
    width: 100%;
    height: auto;
}

.grid-item.image-left>div {
    margin-left: 10px;
}

.grid-item.image-top>.grid-image-container{
    width: 100%;
}

.grid-item.image-top>.grid-image-container>img {
    width: 100%;
    height: auto;
}

.grid-item.image-top>div {
    margin-top: 10px;
}

.grid-item.no-border {
    border: 0;
}

.credit-link {
    font-weight: bold;
}

@media only screen and (max-width: 767px) {
    .grid-list-container {
        grid-template-columns: 100%;
    }
    .grid-list-container.half {
        grid-template-columns: 100%;
    }
    .grid-list-container.people {
        grid-template-columns: calc(25% - 10px) calc(25% - 10px) calc(25% - 10px) calc(25% - 10px);
    }
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .grid-list-container {
        grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    }
    .grid-list-container.people {
        grid-template-columns: calc(25% - 10px) calc(25% - 10px) calc(25% - 10px) calc(25% - 10px);
    }
}