body {
    padding-top: 84px;
    background-color: #1d1d1d;
}

#draggable { width: 150px; height: 150px; padding: 1em; background-color: #1f1f1f; border: 1px solid rgba(244, 89, 80, 0.4); border-radius: 10px; transition: border-color 0.25s ease; display: flex; align-items: center; justify-content: center; text-align: center; }

#droppable { width: 400px; max-width: 400px; min-width: 400px; height: 270px; min-height: 270px; max-height: 270px; padding: 1em; background-color: #1f1f1f; border: 1px solid rgba(244, 89, 80, 0.4); border-radius: 12px; transition: border-color 0.25s ease, background-color 0.25s ease; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.ui-state-highlight {
    border: 2px solid #10b981 !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

#droppable p {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f45950;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Override JS-set inline background-color:#F45950 on the <p> */
#droppable.ui-state-highlight p {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.was-dropped p {
    color: #10b981 !important;
}

#draggable p {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #f45950;
    margin: 0;
}

#div-drag-drop-thumbnail {
    height: 300px;
    max-height: 300px;
    background-color: #181818;
}

h1 {
    color: #F45950;
    padding-bottom: 10px;
}

h1#main-header {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f45950;
    padding-bottom: 20px;
}

.div-double-click {
    background-color: #1f1f1f;
    color: #ededed;
    height: 86%;
    width: 100%;
    border: 1px solid rgba(244, 89, 80, 0.4);
    border-radius: 12px;
    margin-top: 20px;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.div-double-click h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f45950;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-top: 100px;
    transition: color 0.25s ease;
}

.double {
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.6);
}

.double h2 {
    color: #10b981;
}

.dropbtn {
    background-color: #2a2a2a;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    color: #ededed;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1f1f1f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    min-width: 160px;
    box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.5);
    z-index: 1;
}

.dropdown-content a {
    color: #ededed;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover { background-color: #2a2a2a; color: #f45950; }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #f45950;
    color: #0f0f0f;
    border-color: #f45950;
}

#div-hover {
    height: 110px;
    max-height: 110px;
    background-color: #181818;
    overflow: visible;
}

ol {
    color: #d5dae2;
    font-size: 20px;
}

.caption {
    height: 70px;
    overflow: hidden;
}

.section-title {
    min-height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(244, 89, 80, 0.2);
    padding-bottom: 12px;
}

.section-title h1 {
    text-align: center;
    margin: 0;
    padding: 0;
    color: #f45950;
}

.thumbnail {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.thumbnail .caption-full {
    padding: 9px;
    display: none;
}

body > .container {
    position: relative;
    min-height: calc(100vh - 84px);
    padding-bottom: 70px;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    margin: 0;
}

#click-box {
    height: 100px;
    background-color: #1f1f1f;
    border: 1px solid rgba(244, 89, 80, 0.4);
    border-radius: 12px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f0f0f;
}

#click-box p {
    color: #f45950;
}

#hover-box {
    height: 40px;
    background-color: green;
}

@media only screen and (max-width: 992px) {
    #droppable p {
        font-size: 32px;
    }
}

@media only screen and (max-width: 768px) {
    #div-drag-drop-thumbnail {
        height: 350px;
        max-height: 350px;
    }

    #div-hover {
        height: 130px;
        max-height: 130px;
    }

    #droppable {
        height: 150px;
        max-height: 150px;
        min-height: 150px;
        width: 80%;
        max-width: 80%;
        min-width: 80%;
    }
}

@media only screen and (max-width: 480px) {
    #div-drag-drop-thumbnail {
        height: 400px;
        max-height: 400px;
    }

    #div-hover {
        height: 190px;
        max-height: 190px;
    }

    #droppable {
        height: 180px;
        max-height: 180px;
        min-height: 180px;
        width: 80%;
        max-width: 80%;
        min-width: 80%;
    }

    #droppable p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 320px) {
    #div-drag-drop-thumbnail {
        height: 400px;
        max-height: 400px;
    }

    #div-hover {
        height: 190px;
        max-height: 190px;
    }

    #droppable {
        height: 150px;
        max-height: 150px;
        min-height: 150px;
        width: 80%;
        max-width: 80%;
        min-width: 80%;
    }

    #droppable p {
        font-size: 14px;
    }
}
