/* Colors */
.bg-transparent,
.bg-blue,
.bg-light,
.bg-white {
    background-color: transparent;
}

.bg-green {
    background-color: #E3E0D3;
}

.text-white,
h1,
h2,
p,
.info-box h2,
.info-box p {
    color: #1C1D1C;
}

/* Header and Footer Styles */
header,
footer {
    z-index: 2;
}

/* Import your custom font */
@font-face {
    font-family: 'Agrandir';
    src: url('fonts/Agrandir-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Agrandir-Narrow';
    src: url('fonts/Agrandir-NarrowBlack.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/* Site Background Styles */
body {
    font-family: 'Agrandir' !important;
    height: 100%;
    margin: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url('assets/grid.png');
    background-position: center;
    background-size: cover;
    background-color: #E3E0D3;
}

body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    background-color: #E3E0D3;
    border: 2px solid #1C1D1C;
}

body::before {
    top: 22px;
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: calc(100% - 44px);
    height: calc(100% - 44px);
}

body::after {
    top: 111px;
    left: 111px;
    right: 111px;
    bottom: 111px;
    width: calc(100% - 222px);
    height: calc(100% - 222px);
    box-shadow: 0px 0px 22px rgba(0, 0, 0, 0);
}

/* Main Content Styles */
main {
    flex: 1;
}

/* Canvas Styles */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E3E0D3;
    display: none;
    z-index: 1;
}

/* Info Box Styles */
.info-box {
    display: none;
}

.info-box.show-info {
    font-family: 'Agrandir' !important;
    position: fixed;
    background-color: #E3E0D3;
    border-radius: 0px;
    border: 2px solid #1C1D1C;
    padding: 22px 22px;
    margin: 11px;
    color: #1C1D1C;
    z-index: 1000;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 420px;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-box ol {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.info-box p {
    font-size: 16px;
}

.info-box h2 {
    font-size: 25.89px;
}

/* Apply the styling to all images */
img {
    height: 75px;
}

/* Position image exactly 75px from the top, left, right, and bottom */
img.top-left,
img.bottom-left,
img.bottom-right,
img.top-right,
img.bottom {
    position: absolute;
}

img.top-right {
    top: 50px;
    right: 50px;
}

img.bottom-left {
    bottom: 0;
    left: 0;
}

img.bottom-right {
    bottom: 0;
    right: 0;
}

img.bottom {
    bottom: 75px;
    left: 0;
}

/* Footer Styles */
.footer {
    z-index: 1;
    padding: 50px;
}

.bottom-right,
.bottom-left,
.site-title,
.top-right {
    position: absolute;
}

.bottom-right {
    bottom: 50px;
    right: 50px;
}

/* Add a style for the hover state of the link */
.bottom-right a:hover img {
    content: url('assets/made_by_slate_hover.png'); /* Replace with the path to your hover image */
}

.bottom-left {
    bottom: 50px;
    left: 50px;
}

.site-title {
    top: 50px;
    left: 50px;
}

.top-right {
    top: 50px;
    right: 50px;
}

/* Add a style for the open state of help-link */
.toggle-info-box.open img.open-icon {
    display: inline; /* Display the open icon when open */
}

.toggle-info-box.open img.close-icon {
    display: none; /* Initially hide the close icon when open */
}


