/*
    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: #f5f7f3;
    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: 100%;
    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
   Adapted to match the ePortfolio's Oxygen font and green/blue
   color palette while retaining the assessment's drag/drop hooks.
   ========================================================== */

#dhtmlgoodies_dragDropContainer {
    width: 790px;
    max-width: 100%;
    min-height: 770px;
    border: 2px solid #81bc62;
    border-radius: 16px;
    background: #f7fbf5;
    padding: 12px;
    user-select: none;
    -moz-user-select: none;
}

#dhtmlgoodies_dragDropContainer ul {
    margin: 0;
    padding: 8px;
    list-style: none;
}

#dhtmlgoodies_dragDropContainer li,
#dragContent li,
li#indicateDestination {
    list-style-type: none;
    min-height: 24px;
    background-color: #ffffff;
    border: 1px solid #81bc62;
    border-radius: 6px;
    padding: 4px 7px;
    margin-bottom: 6px;
    cursor: pointer;
    font-family: 'Oxygen', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #000000;
}

li#indicateDestination {
    border: 2px dashed #368bc1;
    background-color: #eaf5fb;
}

#dhtmlgoodies_dragDropContainer ul li.correctAnswer {
    background-color: #81bc62;
    color: #ffffff;
    border-color: #5d9142;
}

#dhtmlgoodies_dragDropContainer ul li.wrongAnswer {
    background-color: #368bc1;
    color: #ffffff;
    border-color: #246a98;
}

/* Available-items column */
div#dhtmlgoodies_listOfItems {
    float: left;
    width: 180px;
    max-width: 100%;
    padding: 0 10px;
}

#dhtmlgoodies_listOfItems ul {
    min-height: 560px;
}

div#dhtmlgoodies_listOfItems div {
    border: 1px solid #81bc62;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

div#dhtmlgoodies_listOfItems div ul {
    margin-left: 8px;
}

#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 boxes */
#dhtmlgoodies_dragDropContainer .mouseover {
    background-color: #eaf5fb;
    border: 2px solid #368bc1;
    border-radius: 8px;
}

/* Main/right column */
div#dhtmlgoodies_mainContainer {
    width: calc(100% - 180px);
    float: left;
}

#dhtmlgoodies_mainContainer div {
    float: left;
    width: 170px;
    max-width: 100%;
    margin: 0 10px 10px 0;
    border: 1px solid #81bc62;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

#dhtmlgoodies_mainContainer div ul {
    margin-left: 8px;
}

#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;
    max-width: 100%;
    min-height: 80px;
    height: auto;
    border: 0;
    margin-bottom: 0;
    overflow: visible;
}

/* Dragged item and drop indicator (required by script) */
#dragContent {
    position: absolute;
    width: 150px;
    min-height: 24px;
    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;
}

/* Assessment layout on smaller screens */
@media screen and (max-width: 800px) {
    #dhtmlgoodies_dragDropContainer {
        width: 100%;
        min-height: 0;
        height: auto;
    }

    div#dhtmlgoodies_listOfItems,
    div#dhtmlgoodies_mainContainer {
        float: none;
        width: 100%;
    }

    #dhtmlgoodies_listOfItems ul {
        min-height: 120px;
    }

    #dhtmlgoodies_mainContainer div {
        float: none;
        display: inline-block;
        vertical-align: top;
        width: min(170px, 100%);
    }

    #dhtmlgoodies_mainContainer ul {
        width: auto;
    }
}

/* Restore original box sizing for drag-and-drop assessment */
#dhtmlgoodies_dragDropContainer,
#dhtmlgoodies_dragDropContainer *,
#dragContent,
#dragContent * {
    box-sizing: content-box;
}

#dhtmlgoodies_dragDropContainer {
    width: 790px;
    height: 770px;
}

div#dhtmlgoodies_listOfItems {
    float: left;
    width: 160px;
}

div#dhtmlgoodies_mainContainer {
    width: 590px;
    float: left;
}

#dhtmlgoodies_mainContainer div {
    width: 170px;
}

#dhtmlgoodies_mainContainer div ul {
    width: 152px;
    height: 80px;
    overflow: hidden;
}

/* =========================================
   DRAG-AND-DROP ASSESSMENT
   Preserve original layout for JavaScript
   ========================================= */

#dhtmlgoodies_dragDropContainer {
    width: 790px;
    height: 770px;
    border: 2px solid #81bc62;
    border-radius: 15px;
    background-color: #f5f8f2;
    font-family: 'Oxygen', sans-serif;
    box-sizing: content-box;
}

/* Preserve original column layout */
div#dhtmlgoodies_listOfItems {
    float: left;
    width: 160px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: content-box;
}

div#dhtmlgoodies_mainContainer {
    width: 590px;
    float: left;
    box-sizing: content-box;
}

#dhtmlgoodies_mainContainer div {
    width: 170px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #81bc62;
    border-radius: 10px;
    box-sizing: content-box;
}

/* Column headings */
#dhtmlgoodies_listOfItems div p,
#dhtmlgoodies_mainContainer div p {
    background-color: #81bc62;
    color: #000;
    font-weight: bold;
    padding: 8px 12px;
    margin: 0 0 5px 0;
    border-radius: 8px 8px 0 0;
}

/* Available landmark list and answer boxes */
#dhtmlgoodies_dragDropContainer ul {
    margin: 0;
    padding: 2px;
}

#dhtmlgoodies_listOfItems ul {
    height: 560px;
    margin-left: 10px;
}

#dhtmlgoodies_mainContainer div ul {
    width: 152px;
    height: 80px;
    margin-left: 10px;
    overflow: hidden;
    border: none;
}

/* Draggable landmark items */
#dhtmlgoodies_dragDropContainer li,
#dragContent li,
li#indicateDestination {
    list-style: none;
    height: 15px;
    line-height: 15px;
    padding: 2px;
    margin-bottom: 3px;
    border: 1px solid #81bc62;
    border-radius: 6px;
    background-color: #ffffff;
    color: #000000;
    font-family: 'Oxygen', sans-serif;
    font-size: 13px;
    cursor: pointer;
    box-sizing: content-box;
}

/* Hover over a destination */
#dhtmlgoodies_dragDropContainer .mouseover {
    background-color: #e6f2df;
    border: 2px solid #368bc1;
    border-radius: 10px;
}

/* Correct answers */
#dhtmlgoodies_dragDropContainer ul li.correctAnswer {
    background-color: #81bc62;
    color: #000;
    border-color: #4d8d32;
}

/* Incorrect answers */
#dhtmlgoodies_dragDropContainer ul li.wrongAnswer {
    background-color: #f2d6d6;
    color: #8b2222;
    border-color: #c65b5b;
}

/* Drop location indicator */
li#indicateDestination {
    background-color: #ffffff;
    border: 2px dashed #368bc1;
}

/* Floating dragged item */
#dragContent {
    position: absolute;
    width: 150px;
    height: 15px;
    display: none;
    margin: 0;
    padding: 0;
    z-index: 2000;
}

/* Drop arrow */
#dragDropIndicator {
    position: absolute;
    width: 7px;
    height: 10px;
    display: none;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

/* Keep the assessment from being affected by
   the website's global box-sizing rule */
#dhtmlgoodies_dragDropContainer,
#dhtmlgoodies_dragDropContainer *,
#dragContent,
#dragContent * {
    box-sizing: content-box;
}

/* Allow scrolling on narrow screens without
   shrinking the drag-and-drop layout */
#page {
    overflow-x: auto;
}

#dhtmlgoodies_dragDropContainer {
    max-width: none;
}