/*
    Amanda Mauldwin - ePortfolio Stylesheet
    Designing Integrated Media Environments | University of Florida
    Consolidated custom stylesheet based on the TEMPLATED design.
*/

/* -------------------- Base Styles -------------------- */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; background: #ffffff; font-family: 'Oxygen', sans-serif; font-size: 13px; color: #000000; }
h1, h2, h3 { margin: 0; padding: 0; text-transform: uppercase; font-weight: 300; color: #000000; line-height: 1.4; }
h1 { font-size: 2em; }
h2 { font-size: 2.8em; }
h3 { font-size: 1.6em; }
p, ul, ol { margin-top: 0; line-height: 1.8; }
a { text-decoration: none; color: #000000; }
a:hover { text-decoration: none; }
::selection { background: #81bc62; color: #ffffff; }
html { scroll-behavior: smooth; }

/* -------------------- Page Structure -------------------- */
#wrapper { overflow: hidden; background: #ffffff; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
#page { overflow: hidden; padding: 20px 20px 40px; }
#content { float: left; width: 752px; padding: 0; }


/* -------------------- Header and Logo -------------------- */
#header-wrapper { overflow: hidden; height: 600px; }
#header { width: 960px; max-width: 90%; height: 200px; margin: 0 auto; padding: 0 20px; }
#logo { overflow: hidden; height: 150px; }
#logo h1, #logo p { text-align: center; }
#logo h1 { padding: 5px 0 20px; letter-spacing: -6px; text-transform: capitalize; font-size: 80px; }
#logo p { margin-top: -20px; padding: 0 0 0 5px; font-size: 20px; font-weight: 300; color: #000000; }
#logo p a, #logo a { color: #000000; border: none; background: none; text-decoration: none; }


/* -------------------- Navigation -------------------- */
#menu-wrapper { overflow: hidden; min-height: 52px; margin-bottom: 2em; background: #81bc62; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12); position: relative; z-index: 10; }
#menu { overflow: hidden; min-height: 52px; }
#menu ul { margin: 0; padding: 0; list-style: none; line-height: normal; text-align: center; }
#menu li { display: inline-block; }
#menu a { display: block; padding: 0 30px; line-height: 52px; border: none; text-decoration: none; text-align: center; font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 300; color: #000000; border-radius: 20px; transition: background-color 0.3s ease, color 0.3s ease; }
#menu a:hover, #menu .current_page_item a { background: #368bc1; color: #ffffff; }


/* -------------------- Footer -------------------- */
#footer { min-height: 100px; margin: 0 auto; padding: 20px 0; background-color: #81bc62; }
#footer p { margin: 0; padding-top: 10px; line-height: normal; text-align: center; color: #000000; }
#footer a { text-decoration: underline; color: #000000; }
#footer a:hover { text-decoration: none; color: #246a98; }


/* -------------------- Decorative Banner/Box -------------------- */
.box1 { overflow: hidden; height: 300px; background: url(images/img04.jpg) no-repeat center bottom; }


/* -------------------- Three-Column Layout -------------------- */
#three-column { overflow: hidden; padding: 10px 0 50px; }
#three-column .tbox1 { float: left; width: 32%; margin-right: 2%; }
#three-column .tbox2 { float: left; width: 32%; }
#three-column .tbox3 { float: right; width: 32%; }


/* -------------------- Two-Column / Stacked Layout -------------------- */
#two-column { overflow: hidden; width: 90%; max-width: 1200px; margin: 0 auto; padding: 10px 0 50px; }
#two-column .tbox1, #two-column .tbox2 { display: block; float: none; width: 100%; margin-bottom: 30px; }
#two-column .box-style .content { width: auto; }


/* -------------------- Flexible Row Layout -------------------- */
#two-row { overflow: hidden; padding: 20px 0 50px; }
#two-row .row { display: flex; flex-wrap: nowrap; gap: 20px; width: 100%; margin-bottom: 30px; }
#two-row .box-style { flex: 1 1 0; min-width: 0; }
#two-row .box-style .content { width: auto; }


/* -------------------- Reusable Box/Card Style -------------------- */
.box-style { border: 2px solid #81bc62; border-radius: 20px; background: #ffffff; text-align: center; max-width: 100%; box-sizing: border-box; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.box-style:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22); }
.box-style h2 { position: relative; padding: 10px 0; margin-bottom: 20px; letter-spacing: -1px; font-size: 22px; color: #000000; }
.box-style h2::after { content: ""; display: block; width: 80px; height: 3px; background: #81bc62; margin: 12px auto 0; border-radius: 3px; }
.box-style .content { overflow: hidden; width: 100%; padding: 30px; }


/* -------------------- Buttons -------------------- */
.button { display: inline-block; margin: 1em 0; background: #368bc1; border-radius: 20px; padding: 1em 2em; color: #ffffff; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.button:hover { background: #246a98; color: #ffffff; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); }


/* -------------------- Images and Embedded Video -------------------- */
.box-style img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: transform 0.3s ease; }
.box-style img:hover { transform: scale(1.03); }
.box-style iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: none; border-radius: 10px; }


/* -------------------- Accessibility -------------------- */
a:focus-visible { outline: 3px solid #81bc62; outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .box-style, .button, .box-style img, #menu a { transition: none; } .box-style:hover, .button:hover, .box-style img:hover { transform: none; } }


/* -------------------- Tablet Layout -------------------- */
@media screen and (max-width: 1000px) {
    #header { width: 90%; }
    #content { float: none; width: 100%; }
    #three-column .tbox1, #three-column .tbox2, #three-column .tbox3 { display: inline-block; vertical-align: top; float: none; width: 48%; margin: 1%; }
}


/* -------------------- Mobile Layout -------------------- */
@media screen and (max-width: 768px) {
    #header-wrapper { height: auto; }
    #header { width: 100%; max-width: 100%; height: auto; padding: 0; }
    #logo { height: auto; padding: 20px 0; }
    #logo h1 { font-size: clamp(36px, 10vw, 45px); letter-spacing: -2px; padding-bottom: 15px; }
    #logo p { font-size: 16px; margin-top: 0; padding: 0 10px; }
    #menu-wrapper, #menu { height: auto; }
    #menu li { display: block; }
    #menu a { line-height: 45px; padding: 0 15px; }
    #three-column .tbox1, #three-column .tbox2, #three-column .tbox3 { display: block; float: none; width: 100%; margin: 0 0 25px; }
    #two-column { width: 100%; }
    #two-row .row { flex-direction: column; }
    #two-row .box-style { width: 100%; }
    #page { padding: 15px; }
    #footer { padding: 20px; }
    .box-style .content { padding: 20px; }
}


/* ==========================================================
   DRAG-AND-DROP ASSESSMENT
   Custom colors/typography only. Original geometry and script
   measurements are retained to keep drag-and-drop working.
   ========================================================== */

#dhtmlgoodies_dragDropContainer,
#dhtmlgoodies_dragDropContainer *,
#dragContent,
#dragContent *,
#dragDropIndicator {
    box-sizing: content-box;
}


#dhtmlgoodies_dragDropContainer {
    width: 790px;
    height: 770px;
    min-height: 0;
    max-width: none;
    border: 2px solid #81bc62;
    border-radius: 16px;
    background: #f7fbf5;
    padding: 0;
    user-select: none;
    -moz-user-select: none;
    overflow: visible;
}
#dhtmlgoodies_dragDropContainer ul { margin: 0; padding: 2px; list-style: none; }
#dhtmlgoodies_dragDropContainer li,
#dragContent li,
li#indicateDestination {
    list-style-type: none;
    height: 15px;
    min-height: 0;
    background-color: #ffffff;
    border: 1px solid #81bc62;
    border-radius: 6px;
    padding: 2px;
    margin-bottom: 3px;
    cursor: pointer;
    font-family: 'Oxygen', sans-serif;
    font-size: 13px;
    line-height: 15px;
    color: #000000;
}
li#indicateDestination { border: 2px dashed #368bc1; background-color: #eaf5fb; }
#dhtmlgoodies_dragDropContainer ul li.correctAnswer { background-color: #81bc62; color: #000000; border-color: #5d9142; }
#dhtmlgoodies_dragDropContainer ul li.wrongAnswer { background-color: #f2d6d6; color: #8b2222; border-color: #c65b5b; }

/* Source column: original width/padding retained */
div#dhtmlgoodies_listOfItems { float: left; width: 160px; padding-left: 10px; padding-right: 10px; }
#dhtmlgoodies_listOfItems ul { height: 560px; }
#dhtmlgoodies_listOfItems div { border: 1px solid #81bc62; border-radius: 8px; overflow: hidden; background: #ffffff; }
#dhtmlgoodies_listOfItems div ul { margin-left: 10px; }
#dhtmlgoodies_listOfItems div p { margin: 0 0 5px; padding: 8px 12px; font-weight: bold; background-color: #81bc62; color: #000000; line-height: 1.5; }
/* Drop-target hover */
#dhtmlgoodies_dragDropContainer .mouseover { background-color: #eaf5fb; border: 2px solid #368bc1; border-radius: 8px; }
/* Right column: original widths retained */
div#dhtmlgoodies_mainContainer { width: 590px; float: left; }
#dhtmlgoodies_mainContainer div { float: left; width: 170px; margin: 0 10px 10px 0; border: 1px solid #81bc62; border-radius: 8px; overflow: hidden; background: #ffffff; }
#dhtmlgoodies_mainContainer div ul { margin-left: 10px; }
#dhtmlgoodies_mainContainer div p { margin: 0 0 5px; padding: 8px 12px; font-weight: bold; background-color: #81bc62; color: #000000; line-height: 1.5; }
#dhtmlgoodies_mainContainer ul { width: 152px; height: 80px; border: 0; margin-bottom: 0; overflow: hidden; }
/* Dragged item and indicator: required script dimensions */
#dragContent { position: absolute; width: 150px; height: 15px; display: none; margin: 0; padding: 0; z-index: 2000; }
#dragDropIndicator { position: absolute; width: 7px; height: 10px; display: none; z-index: 1000; margin: 0; padding: 0; }
.style1 { color: #5f1715; }
/* Narrow screens: keep the original fixed layout; allow horizontal scrolling rather than reflowing it */
@media screen and (max-width: 800px) {
    body { overflow-x: auto; }
    #dhtmlgoodies_dragDropContainer { width: 790px; max-width: none; height: 770px; }
    div#dhtmlgoodies_listOfItems { float: left; width: 160px; }
    div#dhtmlgoodies_mainContainer { float: left; width: 590px; }
}
