/* Overlay */
@font-face {
    font-family: 'CenturyGothicBold';
    src: url('/static/font/CenturyGothicBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: none; /* Initially hidden */
    justify-content: center;
    /*align-items: center;*/
    align-items: self-start;
    z-index: 1000; /* Ensure it overlays all other content */
    overflow: hidden;
}

/* Overlay Content */
.overlay-content {
    background: rgba(68, 129, 166, .7);
    border: 5px SOLID #bee8f1;
    border-radius: 7px;
    width: 90%;
    margin-top: 3%;
    margin-bottom: 3%;
    top:3%;
    left:3%;
    padding: 10px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: #000 3px 3px, #000 3px 3px inset;
    max-height: 0; /* Start with zero height */
    transition: max-height 0.5s ease-out; /* Smooth transition */
}

/* Expanded state */
.overlay.show .overlay-content {
    max-height: 80%; /* Expanded height */
}

/* Close Button */
#closeChangelog {
    background: #89c3d6;
}

#closeChangelogDisc{
    background: #89c3d6;
}

.overlay-content::-webkit-scrollbar {
    width: 12px; /* Set the width of the scrollbar */
}

.overlay-content::-webkit-scrollbar-track {
    background: #33333300; /* Set the color of the scrollbar track */
}

.overlay-content::-webkit-scrollbar-thumb {
    background: rgb(98, 179, 197); /* Set the color of the scrollbar thumb */
    border-radius: 10px; /* Set the border radius of the thumb */
}

.overlay-content::-webkit-scrollbar-thumb:hover {
    background: rgb(190, 232, 241); /* Set the color of the scrollbar thumb on hover */
}

.growtopia-button {
    background: #89c3d6;
    all: unset;
    border-radius: 5px;
    box-shadow: 2px 2px #000;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: "Century Gothic Bold", sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-top: 10px;
    padding: 7px 10px 10px;
    text-decoration: none;
    text-shadow: 2px 2px rgba(0, 0, 0, .7);
}

.growtopia-modal-header {
    display: flex;
    align-items: center;
    gap: 10px; /* Optional: Add some space between the items */
}

/* Flex item for the icon */
.changelog-sprite img {
    width: 32px;
    height: 32px;
}

/* Flex item for the heading */
.growtopia-modal-header h4 {
    margin: 0; /* Remove default margin */
    font-family: CenturyGothicBold;
    font-size: 30px;
    color: #fff;
}


.growtopia-modal-sub-header {
    margin: 0;
    font-family: CenturyGothicBold;
    font-size: 26px;
    color: antiquewhite;
}
.growtopia-modal-sub-header h3 {
    margin: 0;
    margin-top: 10px;
    font-family: CenturyGothicBold;
    font-size: 26px;
    color: antiquewhite;
}

.changelog-content {
    border-bottom-color: #fce6ba;
    color: #fce6ba;
    font-family: CenturyGothicBold;
    font-weight: bold;
    font-size: 22px;
}