html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    /*margin-bottom: 60px;*/
    font-family: 'DM Sans', sans-serif;
    background-color: #EDEEF5;

}
main {
    padding-top: 80px;
}
footer {
    background-color: #f9f9f9;
}
h1, h2, h3, h4, h5 {
    color: #1F1F26;
}

p {
    color: #5C5D66;
}

.headerLogo {
    position: absolute;
    top: 20px;
    left: 20px;
}

    .headerLogo img {
        width: 140px;
        height: 40px;
    }

.navbar-brand .headerImage {
    width: 140px;
    height: auto;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
    height: 80px;
}

nav.navbar.box-shadow {
    box-shadow: 0 0px 20px rgba(92, 93, 102, .25);
}

.navbar-brand {
    height: 100%;
    display: flex;
    align-items: center;
}


/*Unity Webgl*/

#unity-container {
    position: relative;
}

    #unity-container.unity-desktop {
        /*left: 50%;*/
        /*top: 50%;*/
        /*transform: translate(-50%, -50%)*/
    }

    #unity-container.unity-mobile {
        width: 100%;
        height: 100%
    }

#unity-canvas {
    background: #231F20
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    height: 130px;
    width:300px;
    margin-left:-70px;
    max-width: 120%;
    max-height: 120%;
    background: url('../images/BS_03+1.png') center no-repeat;
    background-size: contain;
}

#unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    background: url('../images/progress-bar-empty-dark.png') no-repeat center
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    background: url('../images/progress-bar-full-dark.png') no-repeat center
}

#unity-footer {
    position: relative;
    height: 38px;
}

.unity-mobile #unity-footer {
    display: none
}

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
    background: url('../images/webgl-logo.png') no-repeat center
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-fullscreen-button {
    float: right;
    width: 38px;
    height: 38px;
    background: url('../images/fullscreen-button.png') no-repeat center
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}














/* Container */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*max-width: 1200px;*/
    /*max-height: 700px;*/
    margin: 80px auto 50px auto;
}

/* Panel with shadow */
.panel {
    width: 500px;
    height: 600px;
    margin: 50px 20px 40px 100px;
    border-radius: 24px;
    background-color: var(#FFF0F1F5, #f0f0f0);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.header {
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(to right, #FFFBFAF1, #ffe5fff1);
}

.header-icon {
    width: 128px;
    height: 128px;
    margin: 20px;
}

/* Content */
.content {
    padding: 20px;
    display: flex; /* Enables Flexbox */
    flex-direction: column; /* Stacks elements vertically */
    justify-content: space-between; /* Pushes elements to fill the space */
    height: 100%; /* Ensures the container fills its parent */
    box-sizing: border-box; /* Includes padding in height calculation */
}

.title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--brain-text-header, #000);
}

.description {
    font-size: 20px;
    color: var(--brain-text, #555);
    min-height: 128px;
    margin-bottom: 20px;
}

/* Buttons */
.buttons {
    margin-top: auto; /* Pushes the buttons to the bottom */
    display: flex;
    justify-content: flex-end; /* Aligns buttons to the right (optional) */
    gap: 10px; /* Adds space between buttons */
}

.accent-button {
    width: 100%;
    height: 40px;
    background-color: var(--accent-color, #0078d4);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .accent-button:hover {
        background-color: var(--accent-hover-color, #005a9e);
    }

/* Update Group */
.update-group {
    text-align: center;
}

.update-available {
    color: var(--brain-text, #555);
}

.update-version {
    font-weight: bold;
    color: var(--brain-text, #555);
}

.round-button {
    width: 100px;
    height: 40px;
    background-color: var(--accent-color, #0078d4);
    color: white;
    border: none;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
}

    .round-button:hover {
        background-color: var(--accent-hover-color, #005a9e);
    }

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

.version, .install-date {
    display: flex;
    gap: 8px;
    color: var(--brain-text, #555);
}

.version-number, .install-date-value {
    font-weight: bold;
}