@import url('https://fonts.googleapis.com/css2?family=Cookie&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/*img {pointer-events: none;}*/

:root {
  font-size: 16px;
  font-family: 'Open Sans';
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
  --t-bg-primary : #434347;
  --fa-p: #a47c4b;
  --fa-s: #d5c893;
  --transition-speed: 500ms;
  --shadow-color: #63431C;
  --stone-50: #fafaf9;
  --stone-800: #292524;
  --tab-btn-color: #7f5526;
}

.dark {
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
  --t-bg-primary : #808080;
  --stone-50: #fafaf9;
  --stone-800: #292524;
  --tab-btn-color: #7f5526;
}

.light {
  --text-primary: #5a5657;
  --text-secondary: #23232e;
  --bg-primary: #ffffff;
  --bg-secondary: #e4e4e4;
  --t-bg-primary : #efefef;
  --stone-50: #d5c893;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

body::-webkit-scrollbar {
  width: 0.25rem;
}

body::-webkit-scrollbar-track {
  background: #1e1e24;
}

body::-webkit-scrollbar-thumb {
  background: var(--fa-p);
}

main {
  margin-left: 5rem;
  background: var(--bg-secondary);
}

.navbar {
  z-index: 1000;
  position: fixed;
  background-color: var(--bg-primary);
  transition: width 600ms ease;
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.nav-item {
  width: 100%;
}

.nav-item:last-child {
  margin-top: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 4.5rem;
  color: var(--text-primary);
  text-decoration: none;
  filter: grayscale(100%) opacity(0.8);
  transition: var(--transition-speed);
}

.nav-link:hover {
  filter: grayscale(0%) opacity(1);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.link-text {
  display: none;
  margin-left: 1rem;
}

.nav-link svg {
  width: 2rem;
  min-width: 2rem;
  margin: 0 1.5rem;
}

.fa-primary{
  color: var(--fa-p);
}

.fa-secondary {
  color: var(--fa-s);
}

.fa-primary,
.fa-secondary {
  transition: var(--transition-speed);
}

.logo {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  font-size: 1.5rem;
  letter-spacing: 0.3ch;
  width: 100%;
}

.logo svg {
  transform: rotate(0deg);
  transition: var(--transition-speed);
}

.logo-text
{
  display: inline;
  position: absolute;
  left: -980px;
  transition: var(--transition-speed);
}

.navbar:hover .logo svg {
  transform: rotate(-360deg);
}

/* Small screens */
@media only screen and (max-width: 600px) {
  .navbar {
    bottom: 0;
    width: 100vw;
    height: 4.5rem;
  }

  .logo {
    display: none;
  }

  .navbar-nav {
    flex-direction: row;
  }

  .nav-link {
    justify-content: center;
  }

  main {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .navbar, .nav-link {
    height: 3.25em;
  }

  .nav-link svg {
    width: 1.5em;
    min-width: 1.5em;
    margin: 0.5em;
  }
}

/* Large screens */
@media only screen and (min-width: 600px) {
  .navbar {
    top: 0;
    width: 5rem;
    height: 100vh;
  }

  .navbar:hover {
    width: 16rem;
  }

  .navbar:hover .link-text {
    display: inline;
  }

  .navbar:hover .logo svg
  {
    margin-left: 11rem;
  }

  .navbar:hover .logo-text
  {
    left: 0px;
  }
}

.theme-icon {
  display: none;
}

.dark #darkIcon {
  display: block;
}

.light #lightIcon {
  display: block;
}

.active-menu {
  filter: grayscale(0%) opacity(1);
  color: var(--text-secondary);
}

h1 {
  font-family: 'Cookie';
  text-align: center;
  color: var(--text-primary);
}

/* Flex Boxes*/
.flex-boxes {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

/*Neo Brutalism Button Style*/
.tab-button {
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  line-height: 1;
  padding: 1px;
  transform: translate(-4px, -4px);
  outline: 2px solid transparent;
  outline-offset: 5px;
  border-radius: 9999px;
  background-color: var(--stone-800);
  color: #fff;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  text-align: center;
  box-shadow:
    0.5px 0.5px 0 0 var(--stone-800),
    1px 1px 0 0 var(--stone-800),
    1.5px 1.5px 0 0 var(--stone-800),
    2px 2px 0 0 var(--stone-800),
    2.5px 2.5px 0 0 var(--stone-800),
    3px 3px 0 0 var(--stone-800),
    0 0 0 2px var(--stone-50),
    0.5px 0.5px 0 2px var(--stone-50),
    1px 1px 0 2px var(--stone-50),
    1.5px 1.5px 0 2px var(--stone-50),
    2px 2px 0 2px var(--stone-50),
    2.5px 2.5px 0 2px var(--stone-50),
    3px 3px 0 2px var(--stone-50),
    3.5px 3.5px 0 2px var(--stone-50),
    4px 4px 0 2px var(--stone-50);

  &:hover {
    transform: translate(0, 0);
    box-shadow: 0 0 0 2px var(--stone-50);
  }

  &:active,
  &:focus-visible {
    outline-color: var(--tab-btn-color);
  }

  &:focus-visible {
    outline-style: dashed;
  }

  & > div {
    position: relative;
    pointer-events: none;
    background-color: var(--tab-btn-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 9999px;
      opacity: 0.5;
    }

    & > span {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.75rem 1.25rem;
      gap: 0.25rem;
      filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.25));

      &:active {
        transform: translateY(2px);
      }
    }
  }
}
.tab-button i { margin-right: .5em; }
.tab-button.active {
  transform: translate(0, 0);
  color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--stone-50);
}
.tab-button.active > div {
  background-color: var(--bg-primary);
}


/* Avatar 3D */
.avatar img{
  margin: 4em 0 2em 0;
  height: 75vh;
  animation: bounce 4s ease-in-out infinite alternate;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-1.5em); }
}


/* Services */

#services {
  background: var(--bg-secondary);
  height: auto;
  padding: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s ease, transform 2s ease;
}

#services.active {
  opacity: 1;
  transform: translateY(0);
}

#services h1 {margin: 1em 0;}

.service-box {
  text-align: center;
  width: 20%;
  padding: 2em 1.25em;
  background: var(--bg-primary);
  border-radius: 1rem;
}

.service-box svg {
  height: 3em;
  margin-bottom: 1em;
  filter: grayscale(100%) opacity(0.8);
}

.service-box p {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: left;
}

.service-title {
  color: var(--text-primary);
}


/* Technologies */
#technologies {
  margin: 0 4em;
  margin-bottom: 6rem;
}

.logos {
  padding: 0 8rem;
  color: var(--text-primary);
}

.logos i {
  padding: 0.5rem 1rem;
  font-size: 3em;
  filter: grayscale(100%) opacity(0.4);
}

.logos i:hover {
  filter: grayscale(0) opacity(1);
  color: var(--fa-s);
  transform: scale(1.25);
  transition: 480ms;
}


/********* PORTFOLIO **********/
/* Paintings */

#paintings, #graphic_design, #video, #pricing {
  width: 85%;
  margin: auto;
  height: auto;
  padding: 1rem;
}

#paintings .heading {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.heading p {
  color: var(--text-secondary);
  text-align: justify;
  font-size: 15px;
}

.heading {
  padding: 1em;
  background-color: var(--bg-primary);
  border-radius: .5em;
}

#video .heading {
  background: var(--fa-p);
}

#video .heading h1 {
  color: var(--fa-s);
}

#video .heading p {
  color: #fff;
}

.heading h1 {
  margin: 0;
  margin-top: 0.25em;
}

#pricing .heading {
  margin-bottom: 2em;
  padding: 1em 2em;
}

#pricing h1 {text-align: center;}
#pricing p {margin-bottom: 2.5em;}

#pricing .button {
  width: 200px;
  margin: auto;
  margin-bottom: 1.5em;
}

#pricing .button a {
  color: #fff;
  text-decoration: none;
}

#pricing .button i {
  color: #fff;
  margin-right: 4px;
}

.content {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

.content .content-text {
  width: 75%;
  padding: 1em;
}

.content .content-text h1 {
  text-align: left;
}

.content .content-img {
  width: 25%;
}

.content .content-img i{
  text-align: center;
  font-size: 4em;
  line-height: 2em;
  width: 100%;
}


/* Video Gallery*/
#video .content .content-img {
  margin: -1em;
}

/********* DISCOVER **********/

#discover {
  width: 85%;
  margin: auto;
  margin-top: 2em;
  margin-bottom: 0.75em;
  padding: 1rem;
}
#discover .heading { padding: 2em;}

.card-slider {
  display: flex;
  flex-direction: column;
  width: 85%;
  margin: auto;
  padding: 1em;
}

.card-slider .card-slider-title {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 1em;
}

.card-slider .card-slider-title span {
  color: var(--text-primary);
  background: var(--bg-primary);
  padding: 0.5em 1em;
  border-radius: 2em;
  margin: 0.25em;
}

.card-slider .card-slider-title span:nth-child(2) {
  color: var(--fa-p);
  background: var(--bg-secondary);
  border: 2px solid var(--fa-p);
}

.card-slider .card-slider-title span:nth-child(3) {
  background: var(--bg-secondary);
  border: 2px solid var(--text-primary);
}


.neo-brutalism-style {
  border: 0.5vmin solid var(--shadow-color);
  border-radius: 0.6em;
  box-shadow: 0.4em 0.4em var(--shadow-color);
}

/* Content Responsive */
@media (max-width: 1024px) {
  .service-box {
    width: 28%;
    margin-bottom: 1em;
  }
  .tab-button {font-size: .9em;}
}

@media (max-width:960px) {
  .service-box {
    width: 40%;
    margin-bottom: 1.25rem;
  }

  #testimonials {
    padding: 0.75rem 2rem;
    padding-bottom: 0.5rem;
  }

  .t-box {
    width: 40%;
    padding: 0.5rem;
  }

  .content .content-text {
    width: 60%;
  }

  .content .content-img {
    width: 40%;
  }

}

@media (max-width:878px) {

  .content {
    flex-wrap: wrap;
  }

  .content .content-text {
    width: 100%;
  }

  .content .content-img {
    width: 100%;
  }

}

@media (max-width:560px) {
  .service-box {
    width: 80%;
  }

  .t-box {
    width: 80%;
    padding: 1em;
    margin-bottom: 2em;
  }

}

@media (max-width:480px) {
  #pricing .heading {
    margin-bottom: 5em;
  }
}
