

body {
  font-family: monospace, sans-serif;
  font-weight: 500;
  margin: 0;
  padding: 0;
  cursor:progress;
  color: #333;
  background-color: #f2e8d500;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  transition: background-color 0.5s ease;

.animated-element {
  opacity: 0;
  transform: translateY(20px);
  animation: animateElement 1s forwards;
  animation-delay: calc(var(--order) * 100ms);
}

@keyframes animateElement {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  
  ::selection {
    background: rgb(201, 184, 163); /* color of the highlight */
    color: white; /* color of the text when highlighted */
  } 
}

h1, h2, h3 {
  font-family: "Syne Mono", monospace;
  width: fit-content;
}

header {
  background-color: #222; /* Dark mode default for header */
  color: #fff;
  padding: 5px 5px;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

header::after {
  content: "";
  display: table;
  clear: both;
}

.introduction {
  background-color: #ffffff8f;
  background-image: url("https://www.transparenttextures.com/patterns/shattered-dark.png");
  padding: 10px;
  margin: 0px;
  border-left: 5px solid #271e1e;
  border-bottom: 2px dashed #271e1e;
}

.avatar1{
  display: flex;
  position: absolute;
  max-width: 100px;
  width: 100%;
  margin: auto;
  max-width: 320px;
  border: 5px solid #8199b99a;
  box-shadow: 2px 2px 5px #ccc;
  border-radius: 5px;
  margin-top: 0px;
  top: 15%;
  left:74%
}

.avatar2{
  display: none;
}

@media screen and (max-width: 768px) {
  .introduction{
    display: block;
    flex-direction: column-reverse;
  }
  .introduction img {
    width: 80%;
    border-left: 0px;
    margin: auto;
  }

  .avatar1{
    display: none;
  }

  .avatar2{
    display: flex;
    width: 100%;
    border-radius: 5px;
    max-width: 500px;
    border: 3px solid #cccccc9a;
  }
}

.profile-band{
  width: fit-content;
  margin: auto;
  align-self: center;
}

.name-block{
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

.terminal {
  background-color: #111111;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
  max-height: 400px;
  overflow:hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.terminal p {
  margin: 0;
}

.terminal-code {
  background-color: #222;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

.control-buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.control-button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 5px;
}

.control-button.red {
  background-color: #ff5555;
}

.control-button.yellow {
  background-color: #ffd700;
}

.control-button.green {
  background-color: #00ff00;
}
.terminal-command {
  color: #50fa7b;
}

.terminal-output {
  color: #f8f8f2;
  background-color: #222;
}

pre {
  margin: 0;
  font-size:8px;
  width: fit-content;
  max-width: 800px;
}

.projects{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.project{
  background-color: #8f8f8f00;
  border: 1px solid #ccc;
  padding: 10px;
  margin: 3px;
  width: 260px;
}

.project:hover{
  background-color: #ffffff33;
  transition-duration: 200ms;
  box-shadow: 3px 4px #ccc;
}

.quote{
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-size: large;
  font-weight: 600;
  text-align: center;
}

nav {
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #fff;
  padding: 5px;
}

nav a:hover {
   text-decoration: dashed;
   text-decoration-color: #50fa7b;
   text-decoration-thickness: 2px;
   text-decoration-line: underline;
}


.sub-head{
  border-bottom: 1px solid #ccc;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.inside-header {
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.tagline {
  
  color: #ccc;
  font-weight: 700;
}

@media screen and (max-width: 800px) {
  .name-head, .tagline{
    display: none;

    float: right;
    width: 1px;
    height: 1px;
  }
  nav{
    float: left;
    margin: auto;
    display: flex;
    font-size: smaller;
  }
  header{

max-width: 1000px;
margin: 0 auto;
padding-top: 20px;
display: flex;
flex-direction: column;
}
.shrink{
  font-size: 0.2em;
  display: none;

}
}
  


h1 {
  font-size: 2em;
  margin-bottom: 0;
}








.tracks{
  display: flex;
  margin: 0 auto;
  padding: 5px 20px;   
}

.track{
  background-color: #ffffff41;
  padding: 5px;
  border-radius: 5px;
  margin: 5px;
  width: 90%;

}

@media screen and (max-width: 600px) {
  .less {
    display: none;
  }
  
}

.exception{
  margin-top: 1px solid;
  padding: 10px;
  border-radius: 5px;
  border-left: 2px solid #cccccc2d;
  border-bottom: 2px solid #cccccc2d;
  transition-duration: 300ms;

}

.exception:hover{
  background-color: #cccccc2d;
}

.mono{
  font-family: monospace;
}

/* code{
  background-color: #f5f5f5;
  padding: 2px 5px;
  border-radius: 5px;

} */

.toggle-container {
  display: flex;
  align-items: center;
  float: right;
  background-color: #f5f5f5;
  padding-right: 10px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 20px;
}

.toggle-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
  
}

.stack-list{
  display: flex;
  /* background-color: #008622; */
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px;

}
.stack-name{
  font-weight: 600;  
  font-size: smaller; 
  padding: 3px;
  color: #f5f5f500;
}

.stack-list div:hover .stack-name{

  background-color: #f5f5f542;
  transition-duration: 200ms;
  display: block;
  color: #111111;
}

.stack-list div{
  /* background-color: #271e1e; */
  margin: 2px;
  display: block;
  padding: 10px;
  width: 100px;
}

.skills{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .5s ease all;
  transition: .5s ease all;
}

.slider:before {
  position: absolute;
  content: "";
  height: 50%;
  left: 4px;
  bottom: 4px;
  width: 25px;
  background-color: #fff;
  -webkit-transition: .5s ease all;
  transition: .5s ease all;
}

input:checked + .slider {
  background-color: #b0ffca31;
}

input:focus + .slider {
  box-shadow: 0 0 1px #b0ffca31;
}

input:checked + .slider:before {
  transform: translateX(26px);
  }


  .block{
    box-shadow: 2px 2px #ccc;
    margin: 8px;
    transition-duration: 200ms;
    padding: 10px;
    height: 150px;
    width: 90%;
    max-width: 300px;
    border: 1px solid #ccc;

  }

  .block:hover{
    box-shadow: 4px 6px #ccc;
    border: 1px solid #ccc;
  }

  .block1{
    background-color: #ffffff;
    box-shadow: 2px 2px #ccc;
    transition-duration: 200ms;
    padding: 10px;
    height: 5px;
    width: 100px;
    border: 1px solid #ccc;

  }

  .block1:hover{
    box-shadow: 5px 140px 40px #ffed8677;
    border: 1px solid #ccc;
  }
  .experience{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
  }
  .exp{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
  
  }

  .duration{
    font-size: smaller;
    color: #74a3cf;
  }
  @media screen and (max-width: 800px) {
    .exp{
      display: block;
    }
  }

footer {
  background-color: #222;
  color: #fff;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
}

a{
  color: #5d00ffe1;
  font-weight: bold;
  font-size: smaller;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: #50fa7b9c;
  text-decoration-thickness: 2px;

}

/* setting the hover transistion duration for the page */

a:hover{
  transition-duration: 200ms;
  color: #aac0ff;
}


.nlp-block {
  display: flex;
  justify-content: center;
  align-content: center;
  background-color: #b8b8b8;
  align-items: center;
  margin-top: 20px;
  width: fit-content;
  padding-left: 10px;
  margin: auto;
  box-shadow: 2px 2px 5px #ccc;

}
.audio-button button{
  padding: 10px;
  border: none;
  position: relative;
  margin-left: 10px;
  cursor: pointer;
}
.nlp{
  color: #f1f1f1;
  width: 40px;
}

.grey-qo-regular {
  font-family: "Grey Qo", cursive;
  font-weight: 600;
  font-style: normal;
  font-size: 30px;
}



/* to link cdns and external links to my webpage */
@import url('https://fonts.gstatic.com');
@import url('https://fonts.googleapis.com');

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Syne+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne+Mono&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');
