@import url("https://fonts.googleapis.com/css2?family=Raleway+Dots&family=Roboto+Mono:ital,wght@0,200;1,200&display=swap");
:root {
  --blog-color: #3b5ed7;
  --bg-color: #2c2c30;
  --card-color1: #373944;
  --card-color2: #5b5d67;
  --font-color: white;
  --terminal-color: black;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 18px;
}
::-webkit-scrollbar {
  background: var(--card-color2);
}
::-webkit-scrollbar-thumb {
  background: var(--card-color1);
  border-radius: 5px;
}

h3,
h4,
a {
  font-family: "Roboto Mono", monospace;
  color: var(--font-color);
  display: block;
  text-decoration: none;
}

body {
  display: flex;
  justify-content: center;
  background: var(--bg-color);
  padding: 20px;
  min-height: 100vh;
  transition: 0.2s ease;
}
main {
  max-width: 1920px;
  /* background: lightsalmon; */
  width: 100%;
  height: 100%;
}

nav img {
  width: 40px;
  height: 40px;
}
.hamburger {
  display: none;
  z-index: 2;
}

nav {
  /* background-color: lightcoral; */
  display: flex;

  align-items: center;

  z-index: 2;
}
nav h3 {
  flex-grow: 2;
  color: var(--font-color);
}
.right-side {
  /* background: lightgray; */
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.right-side ul {
  /* background-color: lightgoldenrodyellow; */
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
}

ul li {
  list-style: none;
}

.blog {
  background: var(--blog-color);
  padding: 5px 20px;
  border-radius: 5px;
  color: white;
}
.home {
  /* background: lightpink; */
  height: 100vh;
  display: flex;
}
.window {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: lightsteelblue; */
  padding: 10px;
  perspective: 1000px;
  flex: 1;
}

.bio {
  flex: 1;
  /* background: lightseagreen; */
  display: flex;
  align-items: center;
}
.terminal {
  padding: 15px;
  min-width: 250px;
  min-height: 200px;
  height: 50%;
  width: 70%;

  background: var(--terminal-color);
  border-radius: 20px;

  transform: rotateY(30deg) rotateX(5deg);
}

.red,
.green,
.yellow {
  width: 10px;
  height: 10px;

  margin-right: 7px;
  border-radius: 50%;
}
.red {
  background: red;
}
.green {
  background: rgb(44, 243, 44);
}
.yellow {
  background: rgb(235, 235, 25);
}

.panel {
  display: flex;
}
.terminal h4 {
  display: inline-block;
  color: var(--font-color);
  margin: 20px 10px 0 0;
  font-size: 1rem;
}
.bio-quote {
  /* background: green; */
  margin: auto;
}
.bio-quote h3 {
  margin-bottom: 20px;
  color: var(--font-color);
  font-size: 2.5rem;
}
.and {
  /* background: lightseagreen; */
  width: fit-content;
  margin: auto;
}

.projects > h3,
.contact > h3 {
  /* background-color: lightgreen; */
  width: fit-content;
  width: -moz-fit-content;
  margin: auto;
  margin-bottom: 10px;
  font-size: 2rem;
}

.option-enable {
  /* display: none; */
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  transform: translate(0, -100vh);
  border-bottom: 1px solid var(--font-color);

  background-color: var(--bg-color);

  z-index: 1;
}
.options-mobile {
  height: 100vh;
  /* background-color: gainsboro; */

  display: flex;
  flex-direction: column;
  align-items: center;
}
.animateToBottomClass {
  animation: animateToBottom 0.3s ease forwards;
}
.animateToTopClass {
  animation: animateToTop 0.3s ease forwards;
}
.works {
  /* perspective: 1000px; */

  /* background: lightseagreen; */
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 50px;
}
.works a {
  transition: 0.2s ease;
  border-radius: 10px;
  display: flex;
  background: var(--card-color1);
  /* background: lightblue; */
  width: 300px;
  height: 300px;
  margin-bottom: 30px;
}
.animateCard {
  transform: rotateX(180deg);
  transition: 0.3s ease;
}

.works .super-link:nth-child(2n) a {
  background: var(--card-color2);
}

/* div containing anchor tag */
.super-link {
  perspective: 1000px;

  /* background: lightblue; */
  /* height: fit-content; */
}
.card {
  /* background: lightsalmon; */
  width: fit-content;
  margin: auto;
}
.projects {
  margin: 30px 0px;
}
.contact-links {
  /* background: lightsalmon; */
  max-width: 300px;
  margin: auto;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-around;
}
.contact-links > div {
  width: 100px;
  height: 100px;
  border: 1px solid var(--font-color);
  margin: 10px;
  border-radius: 10px;
  /* background: red; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-links a {
  /* background: lightseagreen; */
  width: fit-content;
}
.contact-links img {
  width: 50px;
  height: 50px;
}

@keyframes animateToBottom {
  from {
    transform: translate(0vw, -100vh);
  }
  to {
    transform: translate(0vw, 0vh);
  }
}
@keyframes animateToTop {
  from {
    transform: translate(0vw, 0vh);
  }
  to {
    transform: translate(0vw, -100vh);
  }
}
/* for smaller devices */
@media (max-width: 870px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 740px) {
  .home {
    display: flex;
    flex-direction: column;
  }
  .right-side > ul {
    display: none;
  }
  .hamburger {
    display: block;
    margin-left: auto;
  }
  .site {
    display: none;
  }
  .right-side {
    justify-content: space-between;
  }
}
@media (max-width: 375px) {
  html {
    font-size: 10px;
  }
}
