html {
    scroll-behavior: smooth;
}

body {
    background: #101010;
    color: #e6ffe6;
    letter-spacing: 0.4px;
    font-family: monospace;
}

/* i wanted the other titles different from create_pots.html */
.gl_h1 {
    color: #ddeadb;
    margin-bottom: 25px;
    padding-bottom: 10px;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.7);
    font-family: cursive;
}

/*register and log in form*/
#reform input {
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.7);
}

/* most of the form use this form style */
.formm {
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    background-color: #2c2c2c;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(2px);
    color: #fff;
}

.formm label {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    color: #bfff00;
}

.formm input, 
.formm textarea {
    outline: none;
    width: 90%;
    max-width: 600px;
    border-color: #39ff14;
    padding: 10px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 8px #39ff14;
    background-color: #2e2e2e;
}

.formm input::placeholder,
.formm textarea::placeholder {
    color: #cfffaa;
    text-align: center;
} 

.formm h1 {
    text-align: center;
    color: #cfffaa;
    margin-bottom: 30px;
}

.formm button, .case_btn, #btn {
    align-self: center;
    background-color: #111;
    width: 40%;
    color: #cfffaa;
    border: 1px solid #39ff14;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 0 8px #bfff00;
}

.formm button:hover,
.case_btn:hover,
#btn:hover {
    background-color: #ff1414;
    color: #000;
    box-shadow: 0 0 15px #86d04d;
}

/*preventing images from stretching and giving it a dark vibe */
.card-image-wrapper {
    max-width: 100%;
    height: 2380px;
    overflow: hidden;
    border-radius: 8px;
}

.post-carousel-img {
    height: 380px;
    width: 100%;
    object-fit: contain;
    box-shadow: 0 0 15px #86d04d;
    border: 1px solid #39ff14;
    padding: 10px;
}

/* making my own arrows*/

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
}

.carousel-control-prev::after,
.carousel-control-next::after {
    font-size: 3rem;
    color: #39ff14;
}
 
.carousel-control-prev::after {
    content: "<";
}

.carousel-control-next::after {
    content: ">";
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    text-shadow: 0 0 10px #bfff00;
}



/* i wanted to remove link lines*/
.card-title, .card-text, #nav-link {
    color: #ddeadb;
    text-decoration: none;
}

/*for images in homepage*/
.card-img-top {
    max-width: 100%;
    max-height: 300px;
    border: 2px solid #39ff14;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 10px auto;
}


/*for images in seperate post pages*/
.post-card-img {
    width: 100%;          
    max-height: 400px; 
    object-fit: contain; 
    border: 2px solid #39ff14;
    border-radius: 8px;
    display: block;
    margin-bottom: 15px;
}


.card.h-100 {
    
    box-shadow: 0 0 5px #39ff14, 0 0 7px #39ff14, 0 0 8px #39ff14;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card.h-100:hover {
    border: 3px solid #39ff14;
    transform: translateY(-5px);
    box-shadow: 0 0 6px #39ff14 0 0 10px #39ff14, 0 0 12px #39ff14;
}

/*board design*/
.board {
    width: 100%;
    height: 80vh;
    background-color: #101010;
    border: 2px solid #444;
    position: relative;
    overflow: hidden;
}


.note {
    padding: 10px;
    position: absolute;
    width: 500px;
    min-height: 70px;
    max-width: 340px;
    border: 1px solid #555;
    cursor: grab;
    background: #2c2c2c;
    color: #fff;
    border-radius: 6px;
}

.clue {
    background-color: yellow;
    color: #000;
    box-shadow: 0 0 15px #e1e86a;
}

.evidence {
    background-color: #86d04d;
    box-shadow: 0 0 15px #bcf590;
    color: #000;
}

.suspect {
    background-color: #c37e7e;
    box-shadow: 0 0 15px #da6060;
    color: #000;
}

.idea {
    background-color: #add8e6;
    box-shadow: 0 0 15px #67aee3;
    color: #000;
}

#btn_b {
    align-self: center;
    background-color: #111;
    width: 30%;
    color: #c7d1bf;
    padding: 6px;
    cursor: pointer;
    box-shadow: 0 0 8px #181717;
}

#btn_b:hover {
    background-color: #ff1414;
    color: #000;
    box-shadow: 0 0 15px #e46b6b;
}