/*
Q for Quesadilla Website CSS

Reference:
  templatemo - 536 Dream Pulse
  https://templatemo.com/tm-536-dream-pulse
-->
*/


/*
###########
# General #
###########
*/

body {
  font-family: chaparral-pro, serif;
  font-size: 18px;
  font-weight: 400;
  overflow-x: hidden;
  color: #FFFFFF;
  background-color: #313333;
}

p {
  line-height: 2;
}

a {
  transition: all 0.1s ease;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.small {
  font-size: 0.95rem;
}

/*
############
# Side Bar #
############
*/

.sidebar {
  position: fixed;
  top: 0;
  bottom: 100;
  left: 0;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-left: 25px;
  padding-right: 25px;
  width: 175px;
  background-color: #313333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hide scrollbar */
.sidebar {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.sidebar::-webkit-scrollbar {
  width: 0; /* WebKit */
  height: 0; /* WebKit */
  display: none; /* Chrome, Safari and Opera */
}

.sidebar-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.menu-root {
  margin-top: 25px;
  margin-bottom: 200px;
}

.menu {
  width: 25px;
  height: 25px;
  color: #FFFFFF;
  background-color: #313333;
  margin: 7.5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu:hover,
.menu:focus {
  background-color: #313333;
  color: #D7E646;
}

.menu-text {
  color: #FFFFFF;
  font-size: 0.85rem;
}

.menu-text-code:hover {
  color: #0AD113;
}

.menu-text-edit:hover {
  color: #F72300;
}

.menu-text-vfx:hover {
  color: #2E851D;
}

.menu-text-about:hover {
  color: #D7E646;
}

.menu-sep {
  color: #FFFFFF;
  font-size: 1rem;
  padding-bottom: 10px;
}


/*
###############
# Collapsible #
###############
*/

.collapsible {
  width: 100%;
  cursor: pointer;
  border: none;
  outline: none;
}

.collapsible-content {
  max-height: 0;
  width: 100%;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  background-color: #202222;
  align-items: center;
  justify-content: center;
}

/*
########
# Main #
########
*/

.main {
  background-color: #202222;
  border: 3px solid #2D2D2D;
  width: calc(100% - 215px);
  height: calc(100vh - 135px);
  margin-top: 45px;
  margin-bottom: 10px;
  margin-left: 175px;
  scroll-behavior: smooth;
  display: block;
  padding: 20px;
  opacity: 0;
  transition: 0.5s;
}

/* Hide scrollbar */
.main {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.main::-webkit-scrollbar {
  width: 0; /* WebKit */
  height: 0; /* WebKit */
  display: none; /* Chrome, Safari and Opera */
}

/*
###########
# Headers #
###########
*/

.header {
  overflow: hidden;
  position: relative;
  background-color: #202222;
  border: 1px solid #2D2D2D;
  width: 100%;
  height: 35px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-code {
  color: #0AD113;
}

.header-edit {
  color: #F72300;
}

.header-vfx {
  color: #2E851D;
}

.header-about {
  color: #D7E646;
}

/*
#####################
# Main - Components #
#####################
*/

.headline {
  overflow: hidden;
  position: relative;
  background-color: #202222;
  border: 1px solid #2D2D2D;
  width: 100%;
  height: 250px;
  margin-bottom: 25px;
}

.project {
  overflow: hidden;
  position: sticky;
  background-color: #202222;
  border: 1px solid #2D2D2D;
  width: 100%;
  height: 100px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.about {
  overflow: hidden;
  position: relative;
  background-color: #202222;
  width: 100%;
  height: auto;
}

/*
###########
# Project #
###########
*/

.project-logo {
  opacity: 1;
  width: 100%;
  height: 85%;
  margin-top: 9px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  object-fit: contain;
}

.project-image {
  opacity: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  transition: opacity 0.5s;
}

.project-video {
  opacity: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  transition: opacity 0.25s;
}


/*
#################
# About - Intro #
#################
*/

.about-image {
  opacity: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  background-repeat: repeat-x;
}

.about-intro {
  background-color: #2D2D2D;
  border: 1px solid #2D2D2D;
  height: auto;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  position: sticky;
}

.about-intro-text {
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
  transform: translate(0%, 5%);
}

.about-intro-link {
  color: #D7E646;
}

.about-intro-link:link,
.about-intro-link:visited,
.about-intro-link:hover,
.about-intro-link:active {
  color: #D7E646;
}

.about-intro-footnote {
  color: #FEE47D;
  font-size: 0.8rem;
}

/*
#######################
# About - Filmography #
#######################
*/

.about-filmography {
  overflow: hidden;
  position: sticky;
  background-color: #2D2D2D;
  border: 1px solid #2D2D2D;
  height: auto;
  margin-top: 5px;
  padding: 20px;
}

.about-filmography-buttons {
  display: flex;
  border: none;
  margin: auto;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}

.about-filmography-button {
  color: #2D2D2D;
  background-color: #FFFFFF;
  width: 75px;
  margin-right: 5px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.85rem;
}

.about-filmography-button:hover {
  border: none;
  outline: none;
  transition: 0.5s;
  background-color: #FEE47D;
}

.about-filmography-button.active {
  border: none;
  outline: none;
  color: #2D2D2D;
  background-color: #FEE47D;
}

.about-filmography-posters {
  display: flex;
  flex-direction: row;
  overflow-y: scroll;
  overflow-y: hidden;
  height: 240px;
  width: 100%;
}

/* For white horizontal scroll bar*/
::-webkit-scrollbar {
  height: 5px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 50px #202222;
}

::-webkit-scrollbar-thumb {
  background: #FFFFFF;
}

.about-filmography-poster {
  background-color: #2D2D2D;
  margin-right: 5px;
  margin-bottom: 15px; /*To exclude scroll bar from click area*/
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: rgba(0, 0, 0, 0);
  transition: 0.25s;
}

.about-filmography-poster:hover {
  color: #FFFFFF;
  transition: 0.5s;
}

/* "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the Image Used to Trigger the Modal */
.about-filmography-poster-image {
  width: 150px;
  height: 220px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.5s;
  position: relative;
  object-fit: cover;
}

.about-filmography-poster-image:hover {
  opacity: 0.5;
  transition: 0.5s;
}

.about-filmography-poster-text {
  font-size: 0.85rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: none;
}

.about-filmography-poster-credit {
  font-family: Arial;
  font-style: oblique;
  font-size: 0.75rem;
  position: absolute;
  top: 90%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: none;
}

/*
##########
# Footer #
##########
*/

.footer {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.footer-icon {
  font-size: 1.1rem;
  width: 25px;
  height: 25px;
  color: #FFFFFF;
  background-color: #313333;
  margin: 7.5px;
  border-radius: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon:hover,
.footer-icon:focus {
  background-color: #313333;
  text-decoration: none;
  color: #D7E646;
}

.footer-copyright {
  font-family: Arial;
  font-size: 0.5rem;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 150px;
  color: #FFFFFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/*
##############
# Smartphone #
##############
*/

@media (max-width: 991px) {

  .sidebar {
    width: 250px;
    left: -250px;
    padding: 15px;
  }
  
  .main {
    width: auto;
    height: calc(100vh - 85px);
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px;
  }

  .header {
    height: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 0.75rem;
  }

  .headline {
    height: 150px;
    margin-bottom: 10px;
  }

  .project {
    height: 50px;
    margin-bottom: 5px;
  }

  .project-logo {
    margin-top: 4px;
  }

  .about-intro-text{
    font-size: 0.75rem;
  }

  .about-intro-footnote {
    font-size: 0.6rem;
  }

  .about-filmography-posters {
    height: 125px;
  }

  .about-filmography-poster-image {
    width: 75px;
    height: 110px;
  }

  .filmography-button {
    font-size: 0.75rem;
  }

  .about-filmography-poster-text {
    font-size: 0.6rem;
    line-height: 15px;
  }

  .about-filmography-poster-credit {
    font-size: 0.6rem;
    line-height: 10px;
  }
    
  .footer {
    margin-left: 0px;
  }

  .footer-copyright {
    margin-left: 0px;
  }
}