/* ==================================================================

*   Ceevee Media Queries
*   url: styleshout.com
*   03-18-2014

/* ================================================================== */

/* @media only screen and (min-width: 1550px) {
   .draggableImage {
      transform: scale(1.1);
   }

} */

@media only screen and (min-height: 890px) and (min-width: 1350px) {
  /* header styles
  ------------------------------------------------------------------ */

  ul#nav {
    max-width: 1150px;
  }

  #about {
    padding-top: 50px;
    padding-bottom: 20px;
  }

  #nav-wrap {
    height: 100px;
    /* padding-top: 30px; */
  }

  header .banner {
    padding: 100px 0px 70px 0px;
  }

  #logo {
    font-size: 14px !important;
  }

  .draggableImage {
    transform: scale(0.87) !important;
    /* margin-left: 6% !important;
      margin-top: 5% !important; */
  }

  .draggableImage:hover {
    transform: scale(0.89) !important;
  }

  .folder {
    transform: scale(1.05) !important;
  }

  .top-left,
  .bottom-left {
    font-size: 18px;
  }

  #portfolio .row {
    width: 96%;
    margin: 0 auto;
  }
}

@media only screen and (min-height: 850px) {
  .draggableImage {
    transform: scale(0.66) !important;
    /* margin-top: 5%; */
  }

  .draggableImage:hover {
    transform: scale(0.68) !important;
  }
}

.draggableImage {
  transform: scale(0.6) !important;
  /* margin-top: 2.5%; */
}

.draggableImage:hover {
  transform: scale(0.62) !important;
}

/* screenwidth less than 1024px
--------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
  /* header styles
   ------------------------------------------------------------------ */
  header .banner-text h1 {
    font: 80px/1.1em "opensans-light", sans-serif;
    letter-spacing: -1px;
    margin: 0 auto 0px auto;
  }

  header#home {
    min-height: 500px;
  }
}

@media only screen and (max-width: 1324px) and (min-height: 850px) {
  .draggableImage {
    /* margin-top: 7.5% !important; */
  }
}

@media only screen and (max-width: 900px) and (min-height: 850px) {
  .draggableImage {
    /* margin-top: 15% !important; */
  }
}

@media only screen and (max-width: 600px) and (min-height: 850px) {
  .draggableImage {
    /* margin-top: 25% !important; */
  }
}

/* screenwidth less than 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) and (max-height: 850px) {
  /* header styles
   ------------------------------------------------------------------ */
  .bottom-left {
    display: none;
  }

  .bottom-left-2 {
    display: block !important;
  }

  header .banner {
    padding-bottom: 12px;
  }

  .draggableImage {
    /* margin-top: 9% !important; */
  }

  header .banner-text h1 {
    font: 78px/1.1em "opensans-light", sans-serif;
    letter-spacing: -1px;
  }

  header .banner-text h3 {
    font: 12px/1.9em "montserrat", sans-serif;
    width: 80%;
  }

  header .banner-text hr {
    width: 65%;
    margin: 0px auto;
  }

  /* nav-wrap */
  #nav-wrap {
    font: 11px "opensans-bold", sans-serif;
    letter-spacing: 1.5px;
  }

  #portfolio .row {
    border-left: none;
    border-right: none;
    /* border-top: 0.5px solid black;
    border-bottom: 0.5px solid black; */
  }

  .slider-frame {
    border: none;
  }

  header#home {
    min-height: 500px;
  }

  #logo {
    /* padding: 16px 20px 28px 20px !important; */
  }

  span.control {
    display: block;
    height: 28px;
    margin-top: -8px;
    letter-spacing: 2.5px;
    font-size: 12px;
  }
}

/* mobile wide/smaller tablets
---------------------------------------------------------------------- */

@media only screen and (max-width: 860px) {
  /* mobile navigation
   -------------------------------------------------------------------- */
  #logo {
    padding: 16px 20px 28px 20px !important;
    top: 0px !important;
  }

  #mobile-only {
    display: block !important;
  }

  #desktop-only {
    display: none !important;
  }

  a {
    color: inherit;
  }

  .bottom-left-2 {
    display: block !important;
  }

  #play-button,
  .bottom-leftt:hover,
  .bottom-right:hover {
    transform: none;
    font-size: 17px;
  }

  #nav-wrap {
    height: 80px !important;
  }

  span.control {
    display: block;
    height: 20px;
    letter-spacing: 2.5px;
  }

  .bottom-left {
    writing-mode: horizontal-tb;
    text-align: right;
    font-weight: 500;
  }

  .draggableImage {
    margin-right: 100% !important;
    /* margin-top: 25% !important; */
    transform: scale(0.6);
  }

  /* Hide solar orbit figure on mobile */
  .solar-orbit-container {
    display: none !important;
  }

  /* Hide sort/shuffle button and folders (globe/flower) on mobile */
  .sort-shuffle-container {
    display: none !important;
  }

  .folders-container {
    display: none !important;
  }

  .desktop-icons-container {
    display: none !important;
  }

  /* Show icons only when folders are open on mobile */
  .desktop-icons-container.folders-open {
    display: flex !important;
    position: fixed !important;
    top: 265px !important;
    left: 25% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 400px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000 !important;
    padding: 20px !important;
    padding-bottom: 150px !important;
  }

  /* Disable dragging on mobile and position icons statically */
  .desktop-icons-container.folders-open .react-draggable {
    position: static !important;
    transform: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  .desktop-icons-container.folders-open .react-draggable-dragging {
    transform: none !important;
  }

  .desktop-icons-container.folders-open .draggableImage {
    position: static !important;
    transform: none !important;
    margin: 0 auto !important;
    touch-action: none !important;
    user-select: none !important;
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3)) !important;
  }

  /* Target the actual img elements in folder content */
  .desktop-icons-container.folders-open img {
    width: 53px !important;
    height: 53px !important;
  }
  /* Position pixeltree icon specifically */
  .desktop-icons-container.folders-open img[src*="pixeltree"] {
    position: relative !important;
    top: 63px !important;
    right: 15px !important;
  }
  /* Move pixeltree label down below icon */
  .desktop-icons-container.folders-open img[src*="pixeltree"] + div {
    margin-top: 80px !important;
  }

  .desktop-icons-container.folders-open img[src*="pixeltree"] + div * {
    color: #0d5308 !important;
  }

  /* Position 3D tree icon specifically */
  .desktop-icons-container.folders-open img[src*="forest_spin"] {
    position: relative !important;
    left: 10px !important;
  
  }

  /* Move 3D tree label to the right */
  .desktop-icons-container.folders-open img[src*="forest_spin"] + div {
    margin-left: 15px !important;
    margin-top: 12px !important;
  }

  .desktop-icons-container.folders-open img[src*="forest_spin"] + div * {
    color: #0d5308 !important;
  }

  .desktop-icons-container.folders-open .react-draggable > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .menus-button-container {
    display: none !important;
  }

  .rwt__tablist {
    padding-left: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }

  .rwt__tab {
    font-size: 11px !important;
    width: 70px !important;
    height: 35px !important;
    padding: 0.3rem 0.2rem !important;
    margin-top: 3px !important;
    margin-right: 0px !important;
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .rwt__tabpanel {
    height: 85vh !important;
    padding: 10px 10px !important;
  }

  /* Mobile All page gallery scaling */
  .rwt__tabpanel > div > div {
    padding: 0px !important;
    overflow-x: hidden !important;
  }

  .rwt__tabpanel > div > div > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 10px !important;
    overflow-x: hidden !important;
  }

  .rwt__tabpanel img {
    max-width: 90% !important;
    height: auto !important;
  }

  /* Ensure project item containers don't overflow horizontally */
  .rwt__tabpanel > div > div > div > div {
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Mobile Fire tab - scale down signsfire image and position in corner */
  .rwt__tabpanel img[src*="signsfire"] {
    width: 120px !important;
    height: auto !important;
    bottom: 10px !important;
    right: 10px !important;
    position: fixed !important;
  }

  .projects-button-container {
    display: none !important;
  }

  /* Show mobile navigation icons only on mobile */
  .mobile-nav-icons {
    display: block !important;
  }

  /* Center BRAIN DUMP logo on mobile and keep on one line */
  .brain-dump-logo {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  /* Mobile About Me page styling */
  .about-me-container {
    flex-direction: column !important;
    padding: 20px 15px !important;
    gap: 25px !important;
    overflow-y: auto !important;
  }

  .about-me-left {
    flex-direction: row !important;
    gap: 15px !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .about-me-photo {
    width: 150px !important;
    height: 150px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  .about-me-links {
    gap: 12px !important;
    font-size: 0.9em !important;
    align-items: flex-start !important;
  }

  .about-me-right {
    gap: 20px !important;
    width: 100% !important;
  }

  .about-me-heading {
    font-size: 1.3em !important;
    margin-bottom: 8px !important;
  }

  .about-me-text {
    font-size: 0.95em !important;
    line-height: 1.5 !important;
  }

  /* Hide mobile attribution, show mobile attribution at bottom */
  .about-me-attribution-desktop {
    display: none !important;
  }

  .about-me-attribution-mobile {
    display: block !important;
  }

  /* Hide home attribution on mobile */
  .home-attribution {
    display: none !important;
  }

  /* .rwt__tab[aria-controls="three"] {
    display: none;
  } */

  /* Header Styles
   -------------------------------------------------------------------- */
  header .banner {
    padding-bottom: 20px;
    padding-top: 80px;
  }

  header .banner-text h1 {
    font: 68px/1.1em "opensans-light", sans-serif;
  }

  header .banner-text h3 {
    font: 11px/1.9em "montserrat", sans-serif;
    width: 85%;
  }

  header .banner-text hr {
    width: 80%;
    margin: 18px auto;
  }

  header#home {
    margin: 0px;
    min-height: 0px;
  }

  .bottom-left {
    top: 20px;
    font-weight: 600;
    display: none;
    /* top: 14px;
      right: 8px;
      font-size: 14px;
      letter-spacing: 2px;
      line-height: 12px;
      font-weight: 600; */
  }

  /* #portfolio {
      margin: 0 12px;
   } */

  /* .rwt__tabs {
      margin: 0 25px !important;
   } */

  /* header social links */
  header .social {
    margin: 18px 0 24px 0;
    font-size: 24px;
    line-height: 36px;
    padding: 0 4px;
  }

  /* header .social a li { margin: 0 10px; } */
  header .social a li {
    padding: 0 10px;
  }

  /* scrolldown link */
  header .scrolldown {
    display: none;
  }

  .social-right {
    display: none;
  }

  .logo-hide {
    display: none !important;
  }

  span.control {
    height: 38px !important;
    margin-top: -22px;
    font-size: 11.5px;
    letter-spacing: 2.5px;
  }

  /* .ham-menu {
      margin-left: 23px;
   } */

  /* About Section
   -------------------------------------------------------------------- */
  /* #about .profile-pic { display: none; } */
  #about .download .button {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
  }

  #about .main-col {
    padding-right: 30px;
  }

  .mobile-shrink {
    margin-bottom: 15px;
  }

  /* Resume Section
   --------------------------------------------------------------------- */
  #resume .header-col {
    padding-top: 0;
    margin-bottom: 48px;
    text-align: center;
  }

  #resume h1 {
    letter-spacing: 3px;
  }

  #resume .main-col {
    padding-right: 30px;
  }

  #resume h3,
  #resume .info {
    text-align: center;
  }

  #resume div.header-col {
    display: none;
  }

  #resume div.main-col {
    margin: 0;
    text-align: center;
    padding: 30px 30px 10px 30px;
  }

  #resume .row.skill {
    margin-top: 0px !important;
  }

  .bars {
    width: 100%;
  }

  /* Portfolio Section
   /* ----------------------------------------------------------------- */
  #portfolio-wrapper .columns {
    margin-bottom: 40px;
  }

  .popup-modal {
    max-width: 85%;
  }

  #portfolio h2 {
    margin-bottom: 5px;
  }

  /* .rwt__tablist { margin-left: 27px; } */
  .portfolio-item.columns {
    padding: 0px 30px !important;
  }

  .browsero {
    display: none;
  }

  #portfolio-wrapper {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 20px;
  }

  /* footer
   ------------------------------------------------------------------------ */

  /* copyright */
  footer .copyright li:before {
    content: none;
  }

  footer .copyright li {
    margin-right: 12px;
  }

  /* social links */
  footer .social-links {
    font-size: 14px;
  }

  footer .social-links a li {
    padding: 0 10px;
  }

  /* Go To Top Button */
  #go-top {
    margin-left: -22px;
  }

  #go-top a {
    width: 54px;
    height: 54px;
    font-size: 18px;
    line-height: 54px;
  }
}

/* mobile narrow
  -------------------------------------------------------------------------- */

@media only screen and (max-width: 480px) {
  /* mobile navigation
   -------------------------------------------------------------------- */
  #nav-wrap ul#nav {
    width: auto;
    float: none;
  }

  #mobile-only {
    display: block !important;
  }

  #desktop-only {
    display: none !important;
  }

  a {
    color: inherit;
  }

  /* header styles
   -------------------------------------------------------------------- */
  header .banner-text h1 {
    font: 46px/1.1em "Montserrat", sans-serif !important;
    margin: 0 auto 14px auto;
    letter-spacing: 1px;
  }

  header .banner-text h3 {
    font: 10px/1.9em "Montserrat", sans-serif;
    width: 90%;
  }

  /* header social links */
  header .social {
    font-size: 14px;
  }

  header .social a li {
    padding: 0 10px;
  }

  .ham-menu {
    margin-left: 23px;
  }

  #resume .profile-pic {
    display: "none" !important;
  }

  /* footer
   ------------------------------------------------------------------------ */

  /* social links */
  footer .social-links {
    font-size: 14px;
  }

  footer .social-links a li {
    padding: 0 10px;
  }
}
