* {
    font-family: 'Coming Soon', serif;
}


form {
    margin-left: 2rem;
}

.post {
    margin: 0.5rem;
    border-radius: 0.4rem;
    border: 0.1rem;
    font-size: large;
}

#drop-zone {
    display: flex;
    border: 2px dashed #ccc;
    width: 30em;
    min-height: 7rem;
    height: fit-content;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* Added to stack the items vertically */
}

#submit {
    margin-left: 0;
    margin-top: 1.5rem;
}

#image-label {
    display: block;
}

/* #previews {
    display: none;
} */

#previews {
    display: none;
    margin-bottom: 1rem;
}

.upload-preview {
    position: relative;
    border: 2px solid blue;
    height: 3rem;
    width: 3rem;
    margin-right: 0.5rem;
}

.upload-preview img {
    height: 100%;
    width: 100%;
    /* z-index: -5; */
}

/* =============== crosses start =============== */

.has-image .cross {
    display: block;
}

.cross {
    display: none;
    position: absolute;
    top: -0.2em;
    right: 0.1em;
    font-size: 16px;
    z-index: 100;
    cursor: pointer;
}
/* =============== crosses end =============== */

/* Add your preferred styles for the buttons here */
button {
    background-color: #808080;
    /* Default gray color */
    color: #ffffff;
    /* Text color */
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

/*=============== overlay start ===============*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure the overlay is on top of other elements */
}

.modal-content {
    width: 25em;
    height: 25em;
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.modal-content img{
    width: 100%;
    height: 100%;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

/*=============== overlay end ===============*/

/* button.clicked {
    /* Add the styles for the clicked state here *
} */

/*=============== buttons start ===============*/
#onlyMe.clicked {
    background-color: #FFEB00;
}

#onlyFriends.clicked {
    background-color: #9A58C6;
}

#everyone.clicked {
    background-color: #31B1EA;
}
/*=============== buttons end ===============*/