@import url('https://fonts.googleapis.com/css2?family=Silkscreen&display=swap');
@import "globals.css";
@import "hamburger.css";

.hidden {
  display: none;
}

html {
  scroll-behavior: smooth;
}

#outline {
  display: inline-block;
  position: fixed;
  left: 1rem;
  top: 1vh;
  z-index: 99999999;
}

video {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.3;
  z-index: -2;
}

.water-icon {
  position: fixed;
  display: inline;
  top: 0.5rem;
  left: 0.5rem;
  width: 1.5vw;
  height: 1.5vw;
  z-index: 9999;
}

/* ------------------- */
/* COLOR THEME PICKER */

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.color-picker>fieldset {
  z-index: 5;
  border: 0;
  position: fixed;
  right: -1rem;
  top: 3rem;
  transform: rotate(90deg);
  display: flex;
  gap: 1rem;
  width: fit-content;
  width: -moz-fit-content;
}

.color-picker input[type="radio"] {
  appearance: none;
  width: 0.5rem;
  height: 0.5rem;
  outline: 2px solid var(--radio-color, currentColor);
  outline-offset: 1px;
  border-radius: 50%;
}

.color-picker input[type="radio"]:checked {
  background-color: var(--radio-color);
}

.color-picker input[type="radio"]#pink {
  --radio-color: #bb83f0;
}

.color-picker input[type="radio"]#blue {
  --radio-color: blue;
}

.color-picker input[type="radio"]#green {
  --radio-color: green;
}

.color-picker input[type="radio"]#dark {
  --radio-color: red;
}

.pink {
  --alt-color: #bb83f0;
}

.blue {
  --alt-color: blue;
}

.green {
  --alt-color: green;
}

.dark {
  --alt-color: red;
}

:root:has(#pink:checked) {
  --alt-color: #bb83f0;
}

:root:has(#blue:checked) {
  --alt-color: blue;
}

:root:has(#green:checked) {
  --alt-color: green;
}

:root:has(#dark:checked) {
  --alt-color: red;
}

/* END OF COLOR THEME PICKER*/
/* ------------------------ */

/* -----------------------------------NAVBAR */

#nav-bar {
  display: none;
}

#nav__small {
  display: none;
}

#nav-bar>div {
  margin-top: .5rem;
}

#nav-bar div:nth-child(5) {
  margin-right: 1rem;
}

#nav-bar div:nth-child(6) {
  margin-right: 2rem;
}

#nav-bar img {
  width: 1.5rem;
}


/* --------------------------FRONTPAGE */

#front-section {
  position: relative;
  margin: 0 auto;
  height: 100vh;
  overflow-x: hidden;
}

#circle {
  position: absolute;
  left: -10px;
  top: 50vh;
  width: 12px;
  height: 12px;
  background-color: var(--alt-color);
  border-radius: 15px;
  opacity: 0;
}

#line {
  position: absolute;
  left: -10px;
  top: 50%;
  width: 1px;
  background-color: var(--alt-color);
  opacity: 0;
}

#hi-text {
  position: relative;
  margin-top: 37vh;
  font-family: "Silkscreen", "Arial";
  font-weight: bold;
}

#hi-text p:first-child {
  position: absolute;
  top: -95px;
  left: 4rem;
  display: inline-block;
  margin-left: 7rem;
  padding: 0.3rem;
  border: 3px solid #fff;
  background-color: rgb(0, 0, 0);
  color: var(--alt-color);
  font-size: 1.5rem;
  z-index: 99;
  opacity: 0;
  transition: all 0.8s;
  user-select: none;
  -webkit-user-select: none;
}

#hi-text p:last-child {
  display: inline-block;
  margin-left: 9rem;
  padding: 0.3rem;
  background-color: black;
  color: var(--alt-color);
  font-size: 3.5rem;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
}

#meet {
  margin: 6rem auto 0;
  width: 80%;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5em;
  font-family: "Alata", "Arial";
  opacity: 0;
  text-align: center;
}

#cta {
  position: relative;
  display: none;
  width: 14rem;
  height: 55px;
  margin-top: 9rem;
  transform: translateX(-7rem);
  opacity: 0;
}

#cta a {
  font-size: 1.3rem;
  letter-spacing: 1px;
  transform-style: preserve-3d;
  transform: translateZ(-25px);
  transition: transform 0.25s;
  font-family: Alata, sans-serif;
}

#cta a:before,
#cta a:after {
  display: flex;
  position: absolute;
  content: "See my work";
  height: 55px;
  width: 14rem;
  align-items: center;
  justify-content: center;
  border: 5px solid #000;
  box-sizing: border-box;
  border-radius: 7px;
}

#cta a:before {
  color: #fff;
  background: #000;
  transform: rotateY(0deg) translateZ(25px);
}

#cta a:after {
  color: #000;
  transform: rotateX(90deg) translateZ(25px);
}

#cta a:hover {
  transform: translateZ(-25px) rotateX(-90deg);
}

/* ******* */
/* ----------------------------------ABOUT ME */
/* ******* */

#about-section {
  margin-top: 5rem;
  scroll-margin-top: 2rem;
}

#about-me {
  font-size: 3rem;
  width: 100vw;
  text-align: center;
  margin: 1rem auto 1rem;
  display: block;
}

#my-work,
#contact {
  display: block;
  width: 100vw;
  margin: 20rem auto 1rem;
  font-size: 3rem;
  text-align: center;
}

#about-container {
  position: relative;
  margin: 0rem auto 15rem;
}

#story-container {
  position: relative;
  height: 100vh;
}

#story-container p {
  position: relative;
  width: 70%;
  height: 30vh;
  margin: 0 auto;
  margin-top: 14rem;
  text-align: center;
  font-family: "Source Code Pro", "Arial";
  transition: opacity 1.5s,
    margin-top 1.5s;
  opacity: 0;
}

.home__yoo-link {
  text-decoration: underline;
}

#about-me,
#my-work,
#skills,
#contact {
  color: var(--alt-color);
}

#cv {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  margin-top: 12rem;
  justify-content: center;
  transition: opacity 1s, margin-top 1s;
  opacity: 0;
}

#cv a {
  padding: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(-135deg, transparent 10px, #000 0);
  background-repeat: no-repeat;
  z-index: 10;
}

#cv a:hover {
  color: var(--alt-color);
}

#skills {
  display: block;
  width: 100vw;
  margin: 20rem auto 1rem;
  font-size: 3rem;
  text-align: center;
}

.horizontal-line {
  display: block;
  width: 70vw;
  margin: 0rem auto 3rem;
  border: 1px solid var(--font-color);
  opacity: 0.5;
}

.skills-title {
  display: block;
  margin-top: 6rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1rem;
  color: #000;
}

.skills-title::first-letter {
  color: #000 !important;
}

.my-skills {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8rem;
  margin-bottom: 2rem;
  opacity: 0;
  transition: all 1s;
  width: 100vw;
}

.my-skills img {
  width: 13vw;
  height: 13vw;
  margin-left: .5rem;
  margin-right: .5rem;
  margin-bottom: 3rem;
}

#my-certs {
  margin: 0 auto 15rem;
}

#certs-mt {
  margin-top: 25rem;
}

#my-certs div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
  opacity: 0;
  transition: all 1s;
}

#my-certs div span {
  margin-bottom: 2rem;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

img[src*="Cert"] {
  height: auto;
  width: 70vw;
  margin: 0 auto;
  cursor: pointer;
  transition: 0.3s;
}


/* 
#long-story-btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 8rem;
  padding-right: 10rem;
}

#long-story-btn p {
  font-size: calc(0.7vw + 0.5rem);
  color: var(--alt-color);
  cursor: pointer;
  font-weight: bold;
  letter-spacing: -0.1rem;
} */



/* ****** */
/* ----------------MY-WORK */
/* ******* */

#work-section {
  margin-top: var(--section-margin-top);
  scroll-margin-top: 2rem;
}

#work-container {
  margin: 5rem auto 10rem;
}

.work-card {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5rem;
  padding: 1rem;
  border-left: 1px solid #80808085;
  border-bottom: 1px solid #80808085;
}

.work-card:last-child {
  margin-top: 5rem;
}

.work-card img {
  display: block;
  margin: 0 auto;
  width: 70vw;
  height: auto;
  border: 1px solid #0000007c;
  object-fit: cover;
}

.work-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-card-text h5 {
  margin: 1rem 0;
  font-size: 1.5rem;
}

.work-card-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.work-card-tech-tags {
  display: flex;
}

.work-card-tech-tags span {
  margin-right: 1rem;
  padding: 0.1rem 0.5rem;
  background-color: rgba(128, 128, 128, 0.253);
  border-radius: 0.5rem;
}

.work-card-btn-container {
  display: flex;
  width: 100%;
  margin-top: 1rem;
  justify-content: space-around;
}

.work-card-btn {
  display: inline-block;
  margin-right: 0rem;
  padding: .4rem .5rem;
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  background-color: #000;
  transition: color ease-in 0.2s;
}

.work-card-btn:hover {
  color: var(--alt-color);
}

#heatmap {
  width: 90vw;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ************ */
/* ------------------CONTACT */
/* ************* */

#contact-section {
  margin-top: var(--section-margin-top);
}

#contact-container {
  position: relative;
  width: 90%;
  height: 75vh;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
}

#contact-container h1 {
  margin-bottom: 3rem;
  text-align: center;
}

#contact-container p {
  margin-bottom: 5rem;
  text-align: center;
}

#contact-container input:not(:last-child) {
  width: 100%;
  height: 1.5rem;
}

#contact-container input,
#contact-container label,
#msg {
  font-size: calc(.5vw + .5rem);
}

#msg {
  width: 100%;
}

#contact-container input:last-child {
  display: inline;
  margin-top: 1rem;
  margin-bottom: 6rem;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  background-color: #000;
  font-size: calc(.7vw + .9rem);
  font-family: Alata, sans-serif;
  color: #fff;
  text-align: center;
}

.mobile-hidden {
  display: none;
}

.desktop-hidden {
  display: block;
}

footer {
  display: block;
  text-align: center;
}

/* ********** */
/* **************** MODAL */
/* ********** */

/* Style the Image Used to Trigger the Modal */


/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 500px;
}

/* Add Animation - Zoom in the Modal */
.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 50px;
  right: 80px;
  color: #f1f1f1;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}