body {
    font-family: sans-serif;
}
li {
    margin: 10px;
}
.messageContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: opacity 1s;
    z-index: 99;
}
.bounded-box {
    opacity: 1;
    z-index: 1;
    overflow-wrap: anywhere;
    overflow: auto;
    box-sizing: border-box;
}
.opacity1 {
    opacity: 1 !important;
}
.opacity0 {
    opacity: 0 !important;
}
.tool-tip {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    top: 100px;
    right: 100px;
    width: 200px;
    height: 50px;
    padding: 10px;
    display: flex;
    font-size: 30px;
    background-color: yellow;
    border: black solid 2px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    transition: opacity 1s;
}
.messageBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    border: black solid 2px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 1s;
}
.message-box-confirm {
    background-color: #0ae2e8;
    width: 50px;
    height: 50px;
    font-size: 18px;
    color: dimgray;
    cursor: pointer;
    padding: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: black solid 2px;
    border-radius: 5px;
    opacity: 1;
    transition: opacity 1s, background-color 1s, color 1s, font-size 1s;
}
.message-box-confirm:hover {
    background-color: #31ff00;
    color: black;
    font-size: 36px;
}
.database-loading-counter {
    margin-top: 20px;
    font-size: 18px;
    color: dimgray;
}
#content {
    position: relative;
}
.box-dimensions {
    position: relative;
    top: 0;
    width: 120px;
}
.tile {
    background-color: white;
    position: absolute;
    opacity: 0;
    transition: opacity 1s; /* Adjust the transition duration as needed */
}
.frame {
    border: transparent solid 2px;
    box-sizing: border-box;
    position: absolute;
    z-index: 2;
    overflow-wrap: anywhere;
    overflow-y: auto;
}
.frameWrapper {
    position: absolute;
    overflow: hidden;
    border: transparent solid 2px;
    box-sizing: border-box;
}
.nsfwOverlay {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    z-index: 10;
}

.nsfwFrameButton {
    visibility: visible;
    position: absolute;
    font-size: 24px;
    width: 80px;
    border: black solid 1px;
    border-radius: 5px;
    z-index: 11;
}

#form-container {

}
.form-display {
    z-index: 10;
    position: fixed;
    right: -500px;
    bottom: 110px;
    background-color: white;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    opacity: 0;
    transition: right 1s ease-out, opacity 1s ease-out;
}
.formDivs {
    margin: 5px;
    width: 290px;
}
.iframe {
    border: black solid 1px;
}
#text-content,
#image-url,
#link-url {
    box-sizing: border-box;
    resize: none;
    width: 280px;
}
.image-drop-zone {
    position: relative;
    box-sizing: border-box;
    width: 280px;
    min-height: 86px;
    margin-bottom: 8px;
    padding: 12px;
    border: 2px dashed #007bff;
    border-radius: 5px;
    background: #f8fbff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.image-drop-zone.drag-over {
    background: #e7ffe2;
    border-color: green;
}
#image-file {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.image-file-name {
    max-width: 100%;
    margin-top: 6px;
    font-size: 12px;
    color: dimgray;
    overflow-wrap: anywhere;
}
#container {
    position: absolute;
    background-color: gray;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    z-index: -1;
}
.expiredFrame {
    border: red solid 2px;
    border-radius: 5px;
}
.activeFrame {
    border: green solid 2px;
    border-radius: 5px;
    box-sizing: border-box;
}
.btnContainer {
    position: fixed;
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}
.off-left {
    left: -500px;
    opacity: 0;
    transition: right 1s ease-out, background-color 1s, opacity 1s ease-out;
}
.off-right {
    right: -500px;
    opacity: 0;
    transition: right 1s ease-out, background-color 1s, opacity 1s ease-out;
}
.right25 {
    right: 25px !important;
    opacity: 1 !important;
}
.top25 {
    top: 25px !important;
}
.bottom25 {
    bottom: 25px !important;
}
.left25 {
    left: 25px !important;
    opacity: 1 !important;
}
#add-btn-container {
    opacity: 1;
    transition: opacity 1s;
}
.btnInactive {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    font-size: 30px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index:99;
    transition: background-color 1s, width 1s, height 1s, line-height 1s,
    font-size 1s;
}
.btnInactive:hover {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 75px;
    height: 75px;
    background-color: green;
    font-size: 50px;
    line-height: 75px;
}
.btnActive {
    position: fixed;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: green;
    color: white;
    font-size: 50px;
    text-align: center;
    line-height: 75px;
    cursor: pointer;
    z-index: 99;
}
.menu {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    opacity: 0;
    right: -500px;
    top: 25px;
    height: 75px;
    width: 75px;
    color: white;
    background-color: #007bff;
    border-radius: 40px;
    font-size: 50px;
    text-align: center;
    line-height: 75px;
    cursor: pointer;
    z-index: 11;
    transition: right 1s ease-out, background-color 1s, opacity 1s ease-out;
}
.menu:hover {
    background-color: green;
}
.green-background-color {
    background-color: green;
}

.menu-container {
    position: fixed;
    opacity: 0;
    right: -1000px;
    top: 125px;
    border: black solid 1px;
    border-radius: 25px;
    padding: 25px;
    font-size: 24px;
    color: black;
    background-color: lightblue;
    transition: right 1s ease-out, background-color 1s, opacity 1s ease-out;
}
.right125 {
    right: 125px !important;
    opacity: 1 !important;
}
.my-frames {
    right: 100px;
    opacity: 1;
}
.info {
    right: 175px;
    opacity: 1;
}
.frame-plus {
    right: 250px;
    opacity: 1;
}
.html-tags-menu {
    top: auto;
    bottom: 25px;
}
.html-tags-menu-visible {
    right: 100px;
    opacity: 1;
}

.html-tags-container {
    z-index: 10;
    position: fixed;
    right: 350px;
    bottom: -500px;
    width: 245px;
    max-height: 380px;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: white;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    opacity: 0;
    transition: bottom 1s ease-out, opacity 1s ease-out;
}
.html-tags-container-visible {
    bottom: 110px !important;
    opacity: 1 !important;
}
.html-tags-title {
    margin: 0 0 8px;
    font-weight: bold;
}
.html-tags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.html-tag-toggle {
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: black solid 1px;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    transition: background-color 0.3s, color 0.3s;
}
.html-tag-toggle:hover,
.html-tag-toggle.active {
    background-color: green;
}
.html-tag-toggle.single-tag {
    background-color: #444;
}
.html-tag-toggle.single-tag:hover {
    background-color: green;
}


.coords-container {
    position: absolute;
    font-size: 30px;
    opacity: 0;
    left: -500px;
    top: 125px;
    width: 380px;
    height: 300px;
    background-color: lightgreen;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border: black solid 1px;
    border-radius: 25px;
    transition: left 1s ease-out, opacity 1s ease-out;
    z-index: 2;
}
.coord-style {
    width: 150px;
    font-size: 30px;
    padding: 5px;
    -moz-appearance: textfield;
}
.coord-style::-webkit-outer-spin-button,
.coord-style::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.coord-button {
    font-size: 36px;
    width: 48px;
    height: 48px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.coords-label {
    display: block;
    height: 25px;
}
#get-coordinates {
    font-size: 20px;
}
#my-frames-container {
    width: 600px;
    height: 450px;
}
#info-container {
    overflow-y: auto;
    width: 450px;
    height: 400px;
}
#iFrame-plus-container {
    width: 450px;
}
#iframe-container {
    width: 100%;
    height: 100%;
}
#nsfwCheck {
    position: absolute;
    right: 30px;
}
