/*
	CSS Updates - Summary of Changes
	by Josh Baldwin
	Date: 05/16/23 5:45 PM EDT

	- Added brand coloring consistent with the theme
	- Overriding conflicting jquery-ui styles
	- Adding media query with adjustments for medium, small, and extra-small screens
  - Theme: Cool colors, monochrome indigo theme with a pop of teal, ample white space for a roomy, airy feel

*/
@import url("https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&display=swap");
body {
  font-family: "Open Sans", "Arial", sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #f8f8f8; /* quicksilver */
}

header{
  position: relative;
}

#tabs {
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  box-shadow: none;
}

header{
  background-color: transparent; /* quicksilver 80% opacity */
}


header a {
  font-weight: bold;
  text-decoration: none;
}

.nav-header {
  font-size: 75px;
  margin: 0 20px;
  padding: 0;
  text-shadow: -5px 2px 0px rgba(0, 78, 146, 1); /* cool cyan */
}

.header-accent,
.text-accent {
  font-family: "Anonymous Pro", monospace;
  font-weight: bold;
  text-transform: uppercase;
}

.text-accent-light {
  font-family: "Anonymous Pro", monospace;
  font-weight: bold;
  margin-bottom: 0;
}

.brand-heading {
  margin-top: 0;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
}

.project-list figure {
  max-width: 300px;
  text-align: center;
  margin: 50px auto;
}

.project-list figure a {
  word-break: break-all;
}

.project-image {
  max-width: 80%;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

nav a {
  text-transform: uppercase;
}

footer {
  text-align: center;
}

.hero-text {
  font-size: 4.7rem;
  margin: 15px auto;
  color: #ffffff;
}

/* New Colors */
.brand-light {
  color: #004e92; /* cool cyan */
  fill: #004e92; 
}

.brand-dark {
  color: #000428; /* deep blue */
}

.brand-content {
  color: #002f63; /* dark indigo */
}

.brand-accent {
  color: #0abde3; /* light turquoise */
}

.menu-accent {
  color: #004e92; /* cool cyan */
}

.brand-accent-light {
  color: #0074d9; /* bright blue */
}

.text-white{
  color: #ffffff;
}



.hero-subtext {
  font-size: 4.7rem;
  margin: 15px auto;
  color: #add8e6;
}

.heading {
  font-size: 3rem;
  margin: 15px auto;
}

.sub-heading {
  font-size: 1.5rem;
  margin: 15px auto;
  position: relative;
  left: -15px;
}

main {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
}

.sub-heading,
.hero-text{
  display: block;
}

.content-container {
  width: 100%;
  margin: 0;
  padding: 0;
}
#about{
  height: 100vh;
}
.about-container{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.about-copy{
  width: 80%;
  max-width: 1200px;
}

.brand-list li {
  margin: 10px auto;
}

.fineprint {
  font-size: smaller;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
  text-decoration: underline;
  text-decoration-color: #0abde3; /* light turquoise */
}

#contactInformation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  word-break: break-all;
  text-align: center;
}

.contact-method {
  flex: 1;
  min-width: 220px;
  margin: 1em !important;
}

.give-space {
  margin-top: 40px;
}


.about-copy > p.brand-content{
  font-size: 1.15rem;
  line-height: 1.75rem;
}

@media screen and (max-width: 550px){
  .about-copy > p.brand-content{
    font-size: 1.25rem;
    line-height: 1.85rem;
  }
}


.accessible-contrast-indicator,
.dark-mode-status-indicator {
  font-weight: bold;
  color: #d3d3d3;
}

/* Contrast Button Styles */

/* Dark Mode Button Styles */

.dark-mode-button{
  cursor: pointer;
  fill: #d3d3d3;
}

.accessible-contrast-button:hover #accessible-contrast-button-icon,
.accessible-contrast-button:hover .accessible-contrast-indicator,
.dark-mode-button:hover svg,
.dark-mode-button:hover .dark-mode-status-indicator{
  color: #f0f0f0;
  fill: #f0f0f0;
}

.dark-mode-button svg{
  width: 1.5rem; 
  height: 1.5rem;
}

#accessible-contrast-button-icon{
  font-size: 1.5rem;
}

.dark-mode-button svg,
.dark-mode-button .dark-mode-status-indicator,
#accessible-contrast-button-icon,
.accessible-contrast-button .accessible-contrast-indicator{
  transition: fill .2s ease-in-out, color .2s ease-in-out;
}

.sticky .accessible-contrast-button #accessible-contrast-button-icon,
.sticky .accessible-contrast-button .accessible-contrast-indicator,
.sticky #constrastStatusIndicator,
.sticky .dark-mode-status-indicator{
  color: #606060;
}

.sticky .dark-mode-button,
.sticky #contrastStatusButton{
  fill: #606060;
}

.sticky .dark-mode-button:hover svg,
.sticky .dark-mode-button:hover .dark-mode-status-indicator{
  fill: #b0b0b0;
  color: #b0b0b0;
}


.sticky .accessible-contrast-button:hover #accessible-contrast-button-icon,
.sticky .accessible-contrast-button:hover .accessible-contrast-indicator{
  color: #6699cc;
}

.dark-mode-button.active svg,
.dark-mode-button.active .dark-mode-status-indicator{
  fill: #d3d3d3;
  color: #d3d3d3;
}

.dark-mode-button.active:hover svg,
.dark-mode-button.active:hover .dark-mode-status-indicator{
  color: white;
  fill: white;
}

/* Contrast Button Styles */
.accessible-contrast-button {
  cursor: pointer;
  color: #d3d3d3; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transition: text-shadow 0.2s ease-in-out, color 0.3s ease-in-out;
}

.accessible-contrast-button,
.dark-mode-button{
  width: fit-content;
  display: grid;
  grid-template-columns: auto 2rem;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  bottom: 100px;
  left: 100px;
  z-index: 1000; /* Ensure it stays above other content */
  gap: 5px;
}

#contact-menu-link{
  margin-right: 24px;
}

@media screen and (max-width: 991px){
  #contact-menu-link{
    margin-right: unset;
  }
}

@media screen and (max-width: 991px){
  #accessible-contrast{
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }

  .accessible-contrast-indicator,
  .dark-mode-status-indicator,
  #accessible-contrast-button-icon,
  .dark-mode-button svg,
  .accessible-contrast-button:hover .accessible-contrast-indicator,
  .dark-mode-button:hover .dark-mode-status-indicator,
  .accessible-contrast-button:hover #accessible-contrast-button-icon,
  .dark-mode-button:hover svg{
    color: #606060;
    fill: #606060;
  }
  .dark-mode-button,
  .accessible-contrast-button{
    padding: 10px 0;
  }
  .dark-mode .accessible-contrast-indicator,
  .dark-mode #accessible-contrast-button-icon{
    color: #d3d3d3 !important;
    fill: #d3d3d3 !important;
  }
}

#accessible-contrast i{
  margin: 0;
  left: 0;
}

footer p {
  margin: 10px;
}

@media screen and (max-width: 1200px) {
  .hero-text {
    font-size: 3.75rem;
  }

  .hero-subtext {
    font-size: 3.75rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding: 0;
  }

  #tabs {
    margin: 0;
    padding: 0;
  }

  main {
    min-height: 50vh;
    width: 100%;
    margin: 0 auto;
  }

  .ui-tabs-anchor {
    padding-left: 0 !important;
  }

  .hero-text {
    font-size: 3rem;
  }

  .hero-subtext {
    font-size: 2.5rem;
    margin: 15px auto;
  }

  .heading {
    font-size: 2rem;
  }

  .sub-heading {
    font-size: 1.5rem;
  }

  .nav-header {
    margin-left: 0;
  }

  .project-image {
    width: 95%;
    max-width: 500px;
    margin: 0 auto;
  }

  header {
    flex-flow: column;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .nav-header {
    padding: 0;
    margin: 0;
  }

  header ul {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    word-break: break-all;
  }
}

@media screen and (max-width: 520px) {
  main {
    min-height: 52vh;
  }
  .hero-text {
    font-size: 2.75rem;
  }

  .hero-subtext {
    font-size: 1.75rem;
    margin: 15px auto;
  }

  .heading {
    font-size: 1.5rem;
  }

  .subheading {
    font-size: 1.5rem;
  }

  .nav-header {
    display: inline-block;
  }

  header {
    flex-flow: row wrap;
    justify-content: space-evenly;
  }

  header ul {
    flex-flow: column nowrap;
  }
}

@media screen and (max-width: 350px) {
  main {
    min-height: none;
  }
  .hero-text {
    font-size: 2.5rem;
  }

  .hero-subtext {
    font-size: 1.75rem;
    margin: 15px auto;
  }
  .heading {
    font-size: 1.5rem;
  }
  .sub-heading {
    font-size: 1.5rem;
  }
}

#experience,
#work,
#work > .heading-container,
#contact{
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 0;
  width: 80%;
}

#work > .heading-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 15px 0;
  width: 80%;
}

#work > .heading-container:not(:first-child){
  padding: 50px 0 15px 0;
}

#work{
  max-width: unset;
  width: 100%;
}

header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1000; /* Ensure it stays above other content */
    background-color: transparent;
    transition: background-color .2s ease-in-out;
}

.site-nav{
  background-color: rgba(255,255,255,0);
  transition: background-color .2s ease-in-out, max-height 1.5s ease-in-out;
  overflow: hidden;
  padding: 0;
}

#main-nav.site-nav{
  display: none;
}

#hero-nav.hide{
  display: none;
}

.site-nav .navbar-brand{
  line-height: 5rem;
}

.site-nav.active{
  background-color: rgba(255,255,255,.55);
}

@media screen and (min-width: 991px){
  .site-nav.active{
    background-color: rgba(255,255,255,.55);
  }
}

header nav.navbar{
  width: 100%;
}

header nav.navbar > .container-fluid {
  padding: 15px 25px;
}

.site-nav .navbar-toggler {
  border: none;
  background: transparent;
}

.site-nav .icon-bar {
  width: 25px;
  height: 4px;
  background-color: #fff;
  margin: 4px 0;
  transition: all 0.4s ease-in-out;
}

.site-nav .navbar-toggler{
  background-color: transparent;
  transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.site-nav .navbar-toggler.collapsed{
  background-color: #cd5c5c;
}

.site-nav .navbar-toggler:focus{
  box-shadow: none;
}

.site-nav .navbar-toggler.collapsed .icon-bar:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 5px);
  background-color: white;
}

.site-nav .navbar-toggler.collapsed .icon-bar:nth-child(2) {
  opacity: 0;
}

.site-nav .navbar-toggler.collapsed .icon-bar:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -5px);
  background-color: white;
}

#main-nav.site-nav.sticky{
  display: block;
  position: fixed;
  top: 0;
  background-color: rgba(255,255,255,.4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 1000px;
}

.site-nav.sticky.rollup{
  max-height: 0;
}

.site-nav.sticky .icon-bar{
  background-color: #004e92;
}

#navTabs{
  margin-right: 50px;
}

.site-nav .nav-item.options-container{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 15px;
}


.nav-link{
  font-size: 1rem;
  font-weight: 600;
  position: relative;
}

.nav-link > span{
  cursor:pointer;
}

.nav-link::after{
  content: '';
  position: absolute;
  width: 90%;
  height: 2px;
  background-color: #0abde3;
  bottom: 20%;
  left: 5%;
  transform: scale(0);
  transform-origin: left;
  transition: transform .2s ease-in-out;
}

.nav-link.active::after{
  transform: scale(1);
}

.navbar-nav{
  align-items: center;
}

.navbar-nav .nav-link {
  cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 991px){
  .nav-link{
    display: inline-block;
  }
}

@media screen and (max-width: 991px){
  .nav-link::after{
    width: 100%;
    left: 0%;
  }
}

@media screen and (min-width: 991px){
  .nav-link .brand-light{
    color: #add8eb;
    fill: #add8eb;
  }
  .sticky .nav-link .brand-light{
    color: #004e92;
    fill: #004e92;
  }
  #navbarNav,
  #navbarHeroNav{
    justify-content: flex-end;
  }
}
.navbar-brand{
  transition: all .2s ease-in-out;
}

.navbar-brand:focus{
  color: #0abde3;
}

.navbar-brand:hover{
  color: #004e92;
  text-shadow: -5px 2px 0px rgba(10,189,227,1) !important;
}

#hero-nav{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#hero-nav:not(.active){
  background-color: transparent;
}


/* Dark Mode Styles */

body.dark-mode{
  background-color: #2c2c2c;;
}

.dark-mode h1, 
.dark-mode h3, 
.dark-mode h5, 
.dark-mode p, 
.dark-mode span,
.dark-mode .brand-content{
  color: white;
}

.dark-mode h2, .dark-mode h4, .dark-mode h6,
.dark-mode{
  color: #add8e6;
}

.dark-mode #main-nav.site-nav.sticky{
  background-color: rgba(0,0,0,.4);
}

.dark-mode .brand-light{
  color: #87CEEB !important;
  fill: #87ceeb !important;
}

.dark-mode .nav-link::after{
  background-color: #ffffff;
}

.dark-mode .text-accent,
.dark-mode .brand-accent,
.dark-mode .sticky .nav-item .brand-light{
  color: #0abde3 !important;
  fill: #0abde3 !important;
}

.dark-mode .text-accent.brand-accent-light{
  color: white !important;
}


.dark-mode .site-nav.sticky .icon-bar {
    background-color: #87ceeb;
}

@media screen and (max-width: 991px){
  .dark-mode .site-nav.active{
    background-color: rgba(0,0,0,.4);
  }
  .dark-mode .site-nav.sticky.active{
    background-color: rgba(0,0,0,.4);
  }
}

.copy-button svg,
.share-button svg{
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 15px;
  cursor: pointer;
}

.success-check{
  width: 1.25rem;
  height: 1.25rem;
  fill: #0abde3;
  margin-right: 7px;
}

.fail-x{
  width: 1.25rem;
  height: 1.25rem;
  fill: #cd5c5c;
  margin-right: 7px;
}

body.dark-mode .toast-header {
    background-color: rgba(51,51,51,.4); /* Dark background for toast */
    color: white; /* Light text for toast */
}

body.dark-mode .toast-body {
    background-color: #444; /* Slightly lighter dark background for toast header */
    color: white; /* Light text for toast header */
}

body.dark-mode .btn-close {
    --bs-btn-close-color: white !important;
    --bs-btn-close-bg: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23fff\'%3e%3cpath d=\'M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z\'/%3e%3c/svg%3e') !important;
    --bs-btn-close-opacity: 1 !important;
    --bs-btn-close-hover-opacity: 1 !important;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5) !important;
    --bs-btn-close-focus-opacity: 1 !important;
    --bs-btn-close-disabled-opacity: 0.5 !important;
    filter: none !important;
}

body.dark-mode .toast .toast-header .close:focus, 
body.dark-mode .toast .toast-header .close:hover {
    color: white; /* Ensure color remains white on focus and hover */
    opacity: 0.75; /* Optional: Adjust opacity on focus and hover for better UX */
}

.toast-body{
    background-color: #fff;
    color: rgba(33, 37, 41, 0.75); 
}

.toast-header{
    color: black;
    background-color: rgba(255,255,255,.55);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
}

.toast .toast-header button{
  background-color: #cd5c5c;
  padding: 6px 12px;  
}

.btn-close {
    --bs-btn-close-color: white !important;
    --bs-btn-close-bg: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' fill=\'%23fff\'%3e%3cpath d=\'M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z\'/%3e%3c/svg%3e') !important;
    --bs-btn-close-opacity: 1 !important;
    --bs-btn-close-hover-opacity: 1 !important;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0) !important;
    --bs-btn-close-focus-opacity: 1 !important;
    --bs-btn-close-disabled-opacity: 0.5 !important;
    filter: none !important;
}

.toast-container{
  z-index: 1000;
}

.site-nav.sticky,
.site-nav.active{
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
}

.site-nav.sticky::before,
.site-nav.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.6);
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
}

.dark-mode .site-nav.sticky::before,
.dark-mode .site-nav.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
}
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    background: none;
    z-index: 1;
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 30px;
    line-height: 1;
    color: black;
    content: '';
    display: inline-block;
    font-family: 'slick';
}

.slick-prev:before {
    content: '←';
}

.slick-next:before {
    content: '→';
}

.project-list .slick-slide{
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0 25px;
  width: 100%;
  max-width: 400px;
  transition: max-width .2s ease-in-out;
}

.project-list .slick-slide > div{
  width: 100%;
  height: 1000px;
  max-height: 310px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  border-radius: 5px;
  overflow: hidden;
  transition: max-height .2s ease-in-out;
}
/* 
.project-list .slick-slide.slick-current.slick-active.slick-center{
  max-width: 450px;
}

.project-list .slick-slide.slick-current.slick-active.slick-center > div{
  max-height: 350px;
} */

@media screen and (max-width: 455px){
  .project-list .slick-slide > div{
    border-radius: 0px;
  }
}

.project-list .slick-slide h4{
  font-size: 1rem;
  text-align: center;
  padding-top: 15px;
}
section#work button.slick-prev{
  left: 25px;
}
section#work button.slick-next{
  right: 25px;
}
.toast-container{
  bottom: 35px !important;
}
#liveToast{
  background-color: transparent;
  overflow: hidden;
}
@media screen and (min-width: 991px){

.navbar .navbar-nav .nav-link.contact-menu-link{
  margin-right: 25px;
}
}