#container {
    position: relative;
    width: 344px;
    height: 200px;
    margin: auto;
    border: 1px solid black;
}

.textContainer {
    position: absolute;
    display: flex;
    align-items: center;
    cursor: default;
}

.dragHandle {
    cursor: move;
    margin-right: 4px;
    /* background-color: #ccc; */
    padding: 2px 6px;
    user-select: none;
    visibility: hidden;
}

.trashButton {
    cursor: pointer;
    margin-left: 4px;
    padding: 2px 2px;
    user-select: none;
    visibility: hidden;
    border-radius: 100%;
    border: 0.5px solid black;
    background-color: rgba(13, 22, 58, 1);
    ;
}

.trashButton:hover {
    background-color: rgba(13, 22, 58, 0.75);
}

.textDiv {
    min-width: 50px;
    min-height: 20px;
    padding: 4px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    cursor: text;
    border: none;
    text-align: left;
    text-wrap: nowrap;
}

#select-template {
    display: flex;
    padding: 20px 50px;
    max-width: 50%;
    margin: auto;
    /* overflow-x: scroll; */
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    width: auto;
}

.form-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2%;

    label {
        font-weight: bold;
    }
}

.canvas {
    width: 344px;
    height: 200px;
}

@media screen and (max-width: 380px) {
    .canvas {
        width: 100%;
        height: auto;
    }

}

.tweet {
    background-color: #1da1f2;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
}

.tweet:hover {
    background-color: #00acee;
}

.copy {
    background-color: #f1c40f;
    color: rgba(13, 22, 58, 1);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    height: 39px;
}

.copy:hover {
    background-color: #f39c12;
}

.add-text {
    color: white;
    background-color: rgba(13, 22, 58, 1);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    height: 39px;
    margin-top: 1%;
}

.add-text:hover {
    background-color: rgba(13, 22, 58, 0.75);
}

.template-btn {
    border: none;
    background: none;
}

.template-img {
    width: 125px;
    cursor: pointer;
}

#memes-dialog {
    border-radius: 16px;
    width: 80%;
    height: 80vh;
    overflow-y: hidden;
}

@media screen and (max-width: 450px) {
    #memes-dialog {
        width: 100%;
        height: 100vh;
    }

}

#memes-dialog input {
    margin: 5px;
    border-radius: 8px;
    height: 25px;
}

.dialog-close {
    float: right;
    border: 0;
    background: unset;
    cursor: pointer;
    font-size: 20px;
}

.dialog-close:hover {
    color: red;
    font-weight: bold;
}

.generate-meme {
    background-color: #0d163a;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 20px;
    cursor: pointer;
    color: white;
}

.generate-meme:hover {
    background-color: #f39c12;
    color: black;
}