body {
    color: var(--color);
    background-color: var(--bg-color);
}

.note-input {
    display: flex;
    border-bottom: 1px solid;
    align-items: center;
    justify-content: space-between;
    /* padding: 5px 0; */
}

.note-error {
    background-color: darkred !important;
}

.note-pin {
    background-color: purple !important;
}

.note-result {
    background-color: grey !important;
}

.note-content {
    word-wrap: break-word;
    padding: 0;
    padding-right: 5px;
}

.note-content img {
    cursor: pointer;
}

.note-same-ip,
.note-result,
.note-pin,
.note-error {
    /* border: 1px solid; */
    border-radius: 4px;
    font-size: 12px;
    padding: 2px 5px;
    font-family: monospace;
    background-color: green;
    color: white;
    margin-right: 5px;
    display: inline-block;
    white-space: nowrap;
}

.note-timer {
    position: relative;
}

.note-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.note-copy {
    cursor: pointer;
}

.note {
    position: relative;
    padding: 1rem 0px;
    margin: 5px 0;
    display: flex;
    font-family: cambria;
    align-items: center;
    border-bottom: 0.75px solid var(--border-color);
    color: var(--color);
    background-color: var(--bg-color);
}

#note {
    width: 100%;
    height: 28px;
    resize: none;
    padding: 2px;
    outline: none;
    border: none;
    transition: .5s;
    color: var(--color);
    background-color: var(--bg-color);
    /* border-bottom: 1px solid; */
}

.guide-btn {
    margin-left: 10px;
    cursor: pointer;
}

/* iframe container */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 42%;
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
}

.file-progress {
    max-width: 160px;
    display: none;
}

.file-name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    width: 100%;
}

.file-image {
    max-width: 50%;
}

.file-video {
    max-width: 95%;
}

.file-remove {
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
}

.no-transition {
    transition: none !important;
}

.note-duration {
    background: var(--bg-color) !important;
    color: var(--color) !important;
    font-size: 14px;
}

.note-input-clear {
    cursor: pointer;
}

.modal-dialog {
    max-width: 80%;
    justify-content: center;
}
.modal-content {
    width: auto;
}
.modal-close {
    position: absolute;
    top: -40px; 
    right: 0px;
    font-size: 27px;
    cursor: pointer;
    color: #fff;
}

/* THEME AND COLORS */
:root {
    --color: black;
    --bg-color: white;
    --border-color: #444;
}

/* NIGHT THEME */
.night {
    --color: white;
    /* --bg-color: #292D36; */
    --bg-color: #212121;
    --border-color: whitesmoke;
}

/* responsive */
@media only screen and (max-width: 1000px) {
    .iframe-container {
        padding-bottom: 56%;
    }

    .iframe-container iframe {
        width: 100%;
    }

    .note-action {
        display: block;
    }

    .note-copy,
    .note-timer {
        display: flex;
        justify-content: center;
    }

    .note-copy {
        margin-bottom: 20px;
    }

    .file-image {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        padding: 0 10px;
    }
}