/* 
Variables 
====================================================
*/

:root {
  --dark-color: #161f2d; /*#474747 #161f2d*/
  --light-color: #f2f2f2;
  --gray-color: #574d60;
  --button-color: #000000;
}

/* 
Reset CSS 
====================================================  
*/

* {
  margin: 0px;
  padding: 0px;
  border: 0px;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}
body {
  font-family: "Cedarville Cursive", cursive, Arial, Helvetica, sans-serif, monospace,
    "Times New Roman", "Open Sans", sans-serif, "Kalam", cursive;
  min-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

.hover-underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 2px;
  left: 0;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
}

a.hover-underline-animation::after {
  transform: scaleX(0);
}

a.hover-underline-animation:hover::after,
a.hover-underline-animation[scrolledOn="true"]::after {
  transform: scaleX(1);
}

h1.hover-underline-animation::after {
  opacity: 0.5;
  bottom: 15%;
  z-index: 2;
  height: 15%;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s ease-out;
}

h1.hover-underline-animation[scrolledOn="true"]::after {
  transform: scaleY(1.2);
}

/*text-wrap: balance is currently not supported on all browsers */
h1,
h2 {
  text-wrap: balance;
}

/* 
Animations 
====================================================
*/
@keyframes fadein {
  from {
    opacity: 0.1;
  }

  to {
    opacity: 1;
  }
}

@keyframes expandHeight {
  0% {
    transform: scaleY(0.4);
    transform-origin: 100% 0%;
  }

  100% {
    transform: scaleY(1);
    transform-origin: 100% 0%;
  }
}

/* 
Navigation
==================================================================
*/

.home-nav,
.nav,
.mobile-nav-screen {
  background: inherit;
  width: 100%;
  display: none;
  justify-content: space-evenly;
  font-family: "Open Sans", sans-serif;
  font-size: 1.8em;
  color: var(--dark-color);
  transition: 0.25s;
  font-weight: 300;
  z-index: 4;
}

.home-nav {
  top: 0;
  left: 0;
  background: transparent;
  position: absolute;
  align-items: flex-end;
  height: 100px;
}

.nav {
  background-image: url("../Images/background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  align-items: center;
  top: -100px;
  padding-bottom: 2.5px;
  padding-top: 2.5px;
  border-bottom: solid 1px rgb(138, 138, 138);
}

.mobile-nav {
  display: block;
  position: fixed;
  z-index: 3;
}

.home-nav > *,
.nav > *,
.mobile-nav-screen > * {
  color: inherit;
  text-decoration: none;
  padding: 5px 10px;
  transition: 0.15s;
}

.home-nav > *:hover,
.nav > *:hover,
.mobile-nav-screen > *:hover {
  /*background: rgb(255, 255, 255); */
  color: var(--gray-color);
  opacity: 0.7;
  cursor: pointer;
}
.home-nav > *::after,
.nav > *::after,
.mobile-nav-screen > *::after {
  background-color: var(--gray-color);
  opacity: 0.7;
}

.mobileNav-toggler {
  display: flex;
  background-color: #000000;
  padding: 10px;
  position: relative;
  top: 20px;
  left: 20px;
  height: 40px;
  width: 40px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  user-select: none;
  transition: background-color 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  z-index: 5;
}

.mobile-nav > input {
  height: 40px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  width: 40px;
  top: 20px;
  left: 20px;
  z-index: 6;
}

.mobileNav-toggler > span {
  z-index: 3;
  width: 29px;
  height: 2px;
  background-color: #f2f2f2;
  position: relative;
  display: block;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background-color 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

body:has(.mobile-nav:has(input:checked)) {
  overflow-y: hidden;
}

.mobileNav-toggler > span:first-child {
  transform-origin: 0% 0%;
}

input:checked ~ .mobileNav-toggler {
  background-color: transparent;
}

input:checked ~ .mobileNav-toggler > span {
  opacity: 1;
  transform: rotate(45deg) translate(-5px, -4px);
  background: #36383f;
}

input:checked ~ .mobileNav-toggler > span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

input:checked ~ .mobileNav-toggler > span:nth-last-child(2) {
  transform: rotate(-45deg) translate(-1px, 0px);
}

.mobile-nav-screen {
  background-color: #f2f2f2;
  transition: left 0.5s ease;
  position: absolute;
  width: 100vw;
  height: 100vh;
  left: -100vw;
  top: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-size: 2.25em;
  gap: max(30px, 5vh);
}

input:checked ~ .mobile-nav-screen {
  left: 0;
}

@media screen and (min-width: 625px) {
  .home-nav,
  .nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }
}

/*  
Site Setup 
=====================================================
*/

.site {
  display: flex;
  flex-direction: column;
  font-family: initial;
  z-index: -2;
  background-image: url("../Images/background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.site > * {
  width: 100vw;
  height: fit-content;
  font-family: inherit;
  display: flex;
}

/*
Home
============================================================
*/

.home {
  background: transparent;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  margin-top: 9vw;
  margin-bottom: min(4.5vw, 50px);
}

.home > * {
  width: 100%;
  display: flex;
}

#container_socials {
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 2vw;
}

#container_socials > * {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: auto;
  align-items: center;
  gap: inherit;
}

#container_quote {
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  font-family: "Cedarville Cursive", cursive;
  font-size: clamp(25px, 3.75vw, 37px);
  margin-top: 5vw;
  text-align: center;
  padding-left: 25px;
  padding-right: 25px;
  color: var(--dark-color);
}

.end-quote {
  display: inline-flex;
  align-items: center;
  align-content: center;
}

.LianoPic {
  border-radius: 360px;
  height: min(180px, max(20vw, 145px));
}

.social-buttons {
  background: var(--button-color);
  height: clamp(60px, 5vw, 70px);
  width: clamp(60px, 5vw, 70px);
  line-height: clamp(60px, 5.2vw, 70px);
  border-radius: 50%;
  color: var(--light-color);
  text-align: center;
  font-size: 1.8em;
  transition: 0.25s;
}

.social-buttons > * {
  width: 100%;
  height: 100%;
}

#home .social-buttons:hover {
  height: 90px;
  width: 90px;
  line-height: 90px;
  opacity: 0.7;
  font-size: 3em;
}

.LianoName {
  height: clamp(110px, 15vw, 200px);
}

@media screen and (min-width: 625px) {
  #container_socials > * {
    flex-direction: column;
  }

  .home {
    justify-content: space-evenly;
    flex-wrap: nowrap;
    margin-left: 30px;
    margin-right: 10px;
    margin-top: 130px;
  }
  #container_socials {
    width: 25vw;
  }
  #container_quote {
    text-align: left;
    width: 60vw;
  }

  .home .social-buttons {
    font-size: 2em;
  }
}
/* 
About Me 
=======================================================================
*/

.about-me {
  box-shadow: inset 0 0 0 2000px rgba(22, 31, 45, 0.5);
  background-image: url("../Images/aboutMe.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  color: #f2f2f2;
  font-family: "Open Sans", sans-serif;
  padding: 30px;
  flex-direction: column;
  justify-content: center;
  transition: 1.5s;
  padding-bottom: 15px;
}

.about-me > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: center;
  align-items: center;
}

.about-me > div > div {
  width: max(45%, 400px);
  flex-direction: column;
  justify-content: space-evenly;
  align-content: center;
  gap: max(0.5vw, 10px);
}

.about-me > div > div:first-child {
  display: flex;
}

#heyo {
  width: clamp(80px, 25%, 110px);
  display: inline;
}

#header_aboutMe {
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: left;
  margin-bottom: 10px;
  width: fit-content;
}

#header_aboutMe::after {
  background-color: var(--light-color);
}

.about-me p {
  font-size: clamp(0.75em, 1.25vw, 1em);
  font-weight: 300;
}

.about-me p:last-child {
  margin-bottom: 0px;
}

@media screen and (min-width: 625px) {
  #heyo {
    display: inline-block;
  }
}

/* 
Music 
=========================================================================
*/

.music {
  font-family: "Open Sans", sans-serif;
  flex-direction: column;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 8vh;
}

.music > div:first-child {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: space-around;
}

#header_music {
  font-size: clamp(6rem, 15vw, 9rem);
  transition: 2s;
  color: rgb(22, 31, 45);
  height: auto;
}

#header_music::after {
  background-color: var(--dark-color);
}

.music > div > div {
  display: flex;
  flex-direction: row;
}

#video-filters {
  background: rgb(255, 255, 255);
  width: clamp(300px, 75%, 600px);
  align-content: center;
  border-radius: 50px;
  align-items: center;
  justify-content: center;
  padding-right: 0.8rem;
  padding-left: 0.8rem;
  gap: 20px;
  border: 1px solid var(--dark-color);
}

#video-filters > *:first-child {
  width: 35px;
  height: 100%;
  padding: 0;
  padding-right: 10px;
  border-right: solid #b3a7a7 1px;
  float: left;
}

#container_filterOptions {
  overflow-x: auto;
  gap: 30px;
  display: flex;
  height: 100%;
  padding: 1.1rem 20px;
  align-content: center;
}

#container_filterOptions > * {
  border: #f7f1f1 solid 1px;
  padding: clamp(5px, 1.25vw, 10px);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  white-space: nowrap;
  background: var(--light-color);
  box-shadow: 1px 2px 5px hsl(0deg 0% 0% / 0.4);
  -webkit-box-shadow: 1px 2px 5px hsl(0deg 0% 0% / 0.4);
  -moz-box-shadow: 1px 2px 5px hsl(0deg 0% 0% / 0.4);
  cursor: pointer;
  transition: 0.25s;
  /* color: #b3a7a7; */
}

#container_filterOptions > div::after {
  content: "Queries";
}

div:has(#queriesInput) {
  cursor: default;
}

#queriesInput {
  text-decoration: underline;
  background: transparent;
  text-align: center; 
  width:50px;
}

*:focus {
  outline: none;
}

#queriesInput::-webkit-outer-spin-button {
  opacity: 0;
}

#queriesInput::-webkit-inner-spin-button {
  opacity: 1;
  background: transparent !important;
}

#container_filterOptions > span[status="not-selected"]:hover {
  transform: scale(1.15);
}

#container_filterOptions > span[status="selected"]:hover {
  transform: scale(1.2);
}

#container_filterOptions > span[status="selected"] {
  color: var(--gray-color);
  transform: scale(1.15);
  text-shadow: rgba(87, 77, 96, 0.9) 0px 0px 20px;
}

.video_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 80%;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: auto;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 2.5%;
  box-shadow: inset 0 0 0 2000px rgba(22, 31, 45, 0.5);
  margin-top: 2.5em;
  margin-right: 10px;
}

.video_container > h1 {
  width: 100%;
  font-weight: 800;
  text-align: center;
  font-size: clamp(1em, 2.5vw, 2em);
}

.video_container > h1,
.video_container > h2,
.video_container > .description {
  font-family: "Open Sans", sans-serif;
  color: #f2f2f2;
  width: 100%;
}

.video_container > .video {
  width: max(50%, 300px);
  font-family: inherit;
  margin: 30px auto;
}

.video_container > .description {
  background-repeat: no-repeat;
  padding: 15px;
  font-size: clamp(0.75em, 1vw, 0.9em);
}

.description[toggled="false"],
.video_container:has(.description[displayed="false"]) > h2,
.video_container > .description[displayed="false"] {
  display: none;
}

.description[toggled="true"] {
  animation: expandHeight 1s ease 0s 1 normal forwards;
}

/* 
Footer 
=======================================================================
*/
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  display: grid;
  grid-template-columns: repeat(auto-fill, 50%);
  font-family: "Open Sans", sans-serif;
  padding: 1rem 2rem;
  gap: 10px 0;
  justify-items: center;
  align-items: center;

  & .footer_image {
    max-width: 100%;
    grid-column: span 2;
    grid-row: auto;
    align-self: center;
    height: 180px; 
    border-bottom: var(--gray-color) 1px solid;
  }
  & .footer_container {
    grid-area: span 1 / span 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: max(2vw, 8px);

    & a {
      color: var(--light-color);
      text-decoration: none;
      list-style: none;
      cursor: pointer;
      transition: 0.25s;
    }

    & .social-buttons {
      color: var(--button-color);
      background-color: var(--light-color);
      width: 50px;
      height: 50px;
      line-height: 50px;
    }

    & .social-buttons:hover {
      background-color: var(--button-color);
      color: var(--light-color);
    }
  }

  #footer_links a {
    font-size: clamp(1rem, 1.2vw, 1.5rem);
  }

  #footer_links a::after {
    background-color: var(--light-color);
  }
  @media screen and (max-width: 425px) {
    & {
      align-items: start;
      grid-template-columns: repeat(auto-fill, 50%);
    }

    & #footer_links {
      flex-direction: column;
    }
    .footer_container {
      & .social-buttons {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.5rem;
      }
    }
  }
}
