body {
	font-family: "Gloria Hallelujah", "Nunito", system-ui, sans-serif;
	font-weight: 700;
	
	background-color: #292A2E;
	background-image: url('background.jpg');
	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
	text-align: center;

	color: #111111;
	
	-webkit-font-smoothing: antialiased;
	line-height: 1.55;
}

h1 {
	font-family: "Gloria Hallelujah", "Nunito", system-ui, sans-serif;
	font-weight: 800;
	letter-spacing: .5px;
	color: #f6c527;
	margin-top: 5px;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .45), 0 0 6px rgba(0, 0, 0, .28);
	
}


body>p {
	color: #f6c527;
	font-weight: 800;
	
	text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
	margin-top: -35px;
}

#footer {
	height: 30px;
	vertical-align: middle;
	text-align: right;
	clear: both;
	padding-right: 3px;
	background-color: #317082;
	margin-top: 2px;
	width: 790px;
}

#footer form {
	margin: 0px;
	margin-top: 2px;
}

#dhtmlgoodies_dragDropContainer {
	/* Main container for this script */
	margin-left: auto;  /* ✅ 自动靠右 */
	margin-right: 50px; /* ✅ 预留一点右边间距，可调 */
	width: 790px;
	height: 770px;
	border: 1px solid #317082;
	background-color: #FFF;
	-moz-user-select: none;
	display: flex;
	align-items: flex-start;
	
	justify-content: center;	
	gap: 16px;	
	padding: 12px;
	box-sizing: border-box;
	border: 1px solid #34497D;
	border-radius: 16px;	
	overflow: hidden;
	background:
		linear-gradient(to bottom, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)),
		rgba(255, 255, 255, .10);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(5px);
	box-shadow:
		0 8px 24px rgba(0, 0, 0, .18),
	
		0 1px 0 rgba(255, 255, 255, .15) inset;
}

#dhtmlgoodies_dragDropContainer ul {
	/* General rules for all <ul> */
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	padding: 2px;
}

#dhtmlgoodies_dragDropContainer li,
#dragContent li,
li#indicateDestination {
	/* Movable items, i.e. <LI> */
	list-style-type: none;
	height: 15px;
	background-color: rgba(255, 255, 153, .40);
	border: 1px solid #000;
	padding: 2px 6px;
	margin-bottom: 2px;
	cursor: grab;
	font-size: 13px;
	line-height: 15px;
	border-radius: 6px;
}

#allItems li:hover {
    outline: 1px solid #EDEBE4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    /* transition: box-shadow 0.15s ease; */
}

li#indicateDestination {
	/* Box indicating where content will be dropped - i.e. the one you use if you don't use arrow */
	border: 1px dotted #600;
	background-color: rgba(255, 255, 153, .40);
}

#dhtmlgoodies_dragDropContainer ul li.correctAnswer {
	background-color: #3f7f53;
	color: #fff;
	border-color: #2d5a3b;
}

#dhtmlgoodies_dragDropContainer ul li.wrongAnswer {
	background-color: #a04b4b;
	color: #fff;
	border-color: #7a3737;
}


/* LEFT COLUMN CSS */
div#dhtmlgoodies_listOfItems {
	float: none !important;
	width: 200px;
	
	flex: 0 0 200px;
}

#dhtmlgoodies_listOfItems ul {
	height: 620px;
	background-color: rgba(255, 255, 255, .60);
	border: 1px solid #34497D;
	border-radius: 6px;
	padding: 5px;

	color: #111217;
}

div#dhtmlgoodies_listOfItems div {
	border: 1px solid #999;
}

div#dhtmlgoodies_listOfItems div ul {
	/* Left column <ul> */
	margin-left: 10px;
	/* Space at the left of list - the arrow will be positioned there */
}

#dhtmlgoodies_listOfItems div p {
	/* Heading above left column */
	margin: 0px;
	font-weight: bold;
	padding-left: 12px;
	background-color: #317082;
	color: #999;
	margin-bottom: 5px;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
	border-radius: 8px;
}

/* END LEFT COLUMN CSS */

#dhtmlgoodies_dragDropContainer .mouseover {
	/* Mouse over effect DIV box in right column */
	background-color: #E2EBED;
	border: 1px solid #317082;
}

/* Start main container CSS */

div#dhtmlgoodies_mainContainer {
	float: none !important;
	width: auto;
	
	flex: 1 1 auto;
	
	max-width: 520px;
	
	display: grid;
	
	grid-template-columns: repeat(2, minmax(240px, 1fr));
	
	gap: 14px 16px;
}

#dhtmlgoodies_mainContainer div {
	width: auto !important;
	position: relative;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .38);
	border-radius: 14px;
	padding: 10px 10px 12px;
	box-shadow:
		0 6px 16px rgba(0, 0, 0, .18),
		0 1px 0 rgba(255, 255, 255, .15) inset;
}

#dhtmlgoodies_mainContainer div ul {
	margin: 8px 4px 0 4px;
	padding: 12px;
	min-height: 110px;
	border-radius: 10px;
}

#dhtmlgoodies_mainContainer div p {
	/* Heading above small boxes */
	margin: 0px;
	padding: 0px;
	padding-left: 12px;
	font-weight: bold;
	background-color: #317082;
	color: #FFF;
	margin-bottom: 5px;
}

#dhtmlgoodies_mainContainer>div:nth-child(1)>p {
	background:#34497D;
	color: #EDEBE4;
}

#dhtmlgoodies_mainContainer>div:nth-child(2)>p {
	background: #66A8B6;
	color: #0F1216;
}

#dhtmlgoodies_mainContainer>div:nth-child(3)>p {
	background: #D5BD66;
	color: #1a1a1a;
}

#dhtmlgoodies_mainContainer>div:nth-child(4)>p {
	background: #61c164;
	color: #0F1216;
}

#dhtmlgoodies_mainContainer>div:nth-child(5)>p {
	background: #C48649;
	color: #EDEBE4;
}

#dhtmlgoodies_mainContainer>div:hover {
    margin-top: -2px;  /* moves the card up */
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22),
                0 1px 0 rgba(255, 255, 255, .18) inset;
    /* transition: margin .15s ease, box-shadow .2s ease; */
}

@media (max-width: 560px) {
	#dhtmlgoodies_mainContainer {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}

@media (max-width: 380px) {
	#dhtmlgoodies_mainContainer {
		grid-template-columns: 1fr;
	}
}

#dhtmlgoodies_mainContainer ul {
	/* Small box in right column ,i.e <ul> */
	width: 152px;
	height: 80px;
	border: 0px;
	margin-bottom: 0px;
	overflow: hidden;

}

#dragContent {
	/* Drag container */
	position: absolute;
	width: 150px;
	height: 15px;
	display: none;
	margin: 0px;
	padding: 0px;
	z-index: 2000;
}

#dragDropIndicator {
	/* DIV for the small arrow */
	position: absolute;
	width: 7px;
	height: 10px;
	display: none;
	z-index: 1000;
	margin: 0px;
	padding: 0px;
}

#allItems li {
	font-family: "Gloria Hallelujah", "Nunito", system-ui, sans-serif;
	
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: grab;
	padding: 2px 6px;
	border: 1px dashed #8E8D87;
	margin-bottom: 4px;
	list-style: none;
	background-color: rgba(255, 255, 153, .40);
	border-radius: 6px;
	color: #101214;

}

.fi {
	width: 20px;
	height: 15px;
}

.container {
	float: left;
	margin-right: 20px;
}

h2 {
	margin: 0 0 5px 0;
	font-size: 16px;
}

#dhtmlgoodies_dragDropContainer:after {
	content: "";
	display: block;
	clear: both;
}

.style1 {
	color: #FF0000;
}


a {
	color: #8FD0DC;
	
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}

a:hover {
	color: #A8E2EC;
	background: linear-gradient(transparent 60%, rgba(255, 255, 255, .22) 0);
}

@media (max-width: 820px){
  #dhtmlgoodies_dragDropContainer{
    flex-direction: column;
    gap: 12px;
  }
  #dhtmlgoodies_listOfItems{
    width: 100%;
    flex: 0 0 auto;
  }
  #dhtmlgoodies_mainContainer{
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px){
  #dhtmlgoodies_mainContainer{
    grid-template-columns: 1fr; 
  }
}