:root {
    --bs-primary: #6104f8;
    --bs-primary-rgb: 97, 4, 248;
    --bs-btn-bg: #6104f8;
    --bs-btn-border-color: #6104f8;
    --bs-btn-hover-bg: #914ffc;
    --bs-btn-hover-border-color: #6104f8;
    --bs-btn-active-bg: #31027d;
    --bs-btn-active-border-color: #6104f8;
}

html, body {
    min-width: 100%;
    height: auto;
    font-family: "Geist Mono", sans-serif;
    overflow-y: hidden;
}

h1 {
    font-family: "MedievalSharp", cursive;
    font-weight: 600;
}

nav {
    z-index: 5;
    position: fixed !important;
    width: 100%;
}

.navbar-brand {
    cursor: default;
}

nav a {
    cursor: pointer;
}

#container {
    width: 100%;
    height: 100dvh;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 0;
}

#loading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

#loading img {
    height: 7em;
    width: 7em;
}

#credits-btn {
    position: absolute;
    bottom: 5.5em;
    left: 0.5em;
    z-index: 2;
    opacity: 0.5;
}

#content {
    display: none;
    position: absolute;
    z-index: 3;
    left: 0;
    scroll-behavior: smooth;
}

#about {
    height: 150%;
}

.about-col {
    width: 100%;
}

#about-text {
    height: 70%;
}

#about-image {
    height: 30%;
}

#about-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

#projects h1 {
    height: 3em;
    padding: 1em 0;
}

.project-col {
    justify-content: center;
}

#credits {
    padding: 1em 0;
}

.credit {
    font-size: 1em;
}

.card img {
    width: 100%;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 5px;
}

footer {
    width: 100%;
    height: 3.5em;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

footer a {
    margin: 0.5em;
    padding: 0.1em 0.7em;
    border: 2px transparent solid;
    border-radius: 5px;
}

footer i {
    font-size: 1.5em;
}

footer a:hover {
    border: 2px solid var(--bs-primary);
}

footer a:hover > .bi {
    color: var(--bs-primary);
}

footer .bi {
    cursor: pointer;
}

@media only screen and (min-device-width: 768px) {
    #credits-btn {
        bottom: 6em;
    }

    #about {
        height: 100%;
    }

    .about-col {
        height: 100%;
    }

    #about-image {
        order: 0;
        width: 50%;
        height: 100%;
        padding: 1em;
    }

    #about-text {
        order: 1;
        width: 50%;
        height: 100%;
    }

    #credits-modal {
        font-size: 0.7em;
    }
}

@media only screen and (min-device-width: 992px) {
    .navbar-nav {
        position: absolute;
        right: 0;
    }
}

@media only screen and (min-device-width: 1200px) {

    #credits-btn {
        bottom: 4em;
    }

    #about-photo {
        max-width: 90%;
        max-height: 90%;
    }

    #credits-modal {
        font-size: 0.9em;
    }
}
