* {
  font-family:
    Oxygen Mono,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen Mono,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  margin: 0;
  padding: 0;
  color: var(--white);
}
::-webkit-scrollbar {
  width: 8px; /* Set the width of the scrollbar */
}

/* Handle portion of the scrollbar */
::-webkit-scrollbar-thumb {
  background-color: var(--blue); /* Color of the scrollbar handle */
  border-radius: 4px; /* Rounded corners for the handle */
}

/* Track portion of the scrollbar */
::-webkit-scrollbar-track {
  background-color: var(--surface); /* Color of the scrollbar track */
  border-radius: 4px; /* Rounded corners for the track */
}

body {
  background: var(--base);
}


html {
  scroll-behavior: smooth;
}

:root {
  --base: #11111B;
  --blue: #89b4fa;
  --surface: #45475a;
  --sky: #89dceb;
  --white: #f5e0dc;
  --darkBlue: blue;
}

/* Light Mode */
/* :root { */
/*   --base: #f5f5f5;     /* Light gray as the base color */ */
/*   --blue: #007acc;     /* A shade of blue for accents */ */
/*   --surface: #ffffff;   /* White as the surface/background color */ */
/*   --sky: #87CEEB;      /* Light sky blue color */ */
/*   --white: #11111B;    /* Dark color for text or accents on light background */ */
/*   --darkBlue: #0000ff; /* Dark blue color */ */
/* } */


.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--base);
}

.mainBlock {
  margin-top: 50px;
}

/* #logo{ */
/* text-shadow: 0 0 5px var(--sky), 0 0 20px var(--sky), 0 0 30px var(--sky); */
/* } */

.logoContainer{
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo {
  width: 180px;
  position: relative;
  filter: drop-shadow(0 0 0.75rem var(--sky));
  /* animation: blink-animation 1s steps(5, start) infinite; */
  /* -webkit-animation: blink-animation 1s steps(5, start) infinite; */
}

/* @keyframes blink-animation { */
/*   to { */
/*     visibility: hidden; */
/*   } */
/* } */
/* @-webkit-keyframes blink-animation { */
/*   to { */
/*     visibility: hidden; */
/*   } */
/* } */

.name{
  text-align: center;
}

#nav-items {
  color: var(--white);
  margin-right: 30px;
}

.left {
  display: flex;
  flex-direction: row;
  width: 33vw;
}

.center {
  display: flex;
}

.right {
  width: 33vw;
}

.header {
  color: var(--white);
}

.menu_icon {
  color: var(--white);
  margin-right: 50px;
}

.main {
  margin: 0 5vw 0 5vw;
}
.positionLeft > div > h2 {
  font-family: Lobster;
  font-size: 3em;
  color: var(--base);
text-shadow: 0 0 5px var(--sky), 0 0 20px var(--sky), 0 0 30px var(--sky);
}

.nav{
  text-shadow: 0 0 5px var(--sky), 0 0 20px var(--sky), 0 0 30px var(--sky);
}

/*Intro Secttion*/
.containerIntro {
  display: flex;
  justify-content: space-between;
}

#About{
  font-size: 1em;
}

.introRight {
  margin-top: 60px;
  width: 65vw;
}

.introRight > h3 {
  text-align: center;
  margin-top: 30px;
  border-bottom: dashed var(--blue) 1px;
}

.section{
text-shadow: 0 0 5px var(--sky), 0 0 20px var(--sky), 0 0 30px var(--sky);
  font-size: 2em;
  color: var(--base);
  font-family: Lobster;
}

.blog {
  display: flex;
  margin-top: 40px;
  transition: all 0.3s ease-in;
  border: transparent solid 2px;
  box-sizing: border-box;
}

.blogContent > h4{
  font-size: medium;
  display: inline;
text-shadow: 0 0 1px var(--sky), 0 0 20px var(--sky), 0 0 30px var(--sky);
}


.blogContent > p {
  overflow: hidden;
  max-height: 60px;
  transition: all 0.3s;
}

.blog:hover {
  border: var(--sky) solid 2px;
  border-radius: 20px;
  cursor: pointer;
}

.blog:hover .blogContent > p {
  max-height: 150px;
}

.tagsContainer{
  
}

.tags {
  display: flex;
  flex-direction: row;
  list-style: none;
  font-size: small;
  margin: 7px 7px 7px 0;
}
.tags > li {
  background: var(--blue);
  font-weight: bold;
  padding: 0 5px 0 5px;
  max-height: 20px;
  border-radius: 10px;
  margin-right: 7px;
  color: var(--base);
  text-decoration: none;
  transition: text-decoration 0.3s ease-in;
  width: fit-content;
}

.tags > li::hover {
  text-decoration: underline;
}

.date {
  font-size: small;
  margin: 5px 20px 5px 20px;
  white-space: nowrap;
}

.positionLeft {
  position: fixed;
}

.introLeft {
  width: 30vw;
}

.introLeft > .positionLeft > div > p {
  width: 17vw;
  font-size: 0.9em;
  margin-bottom: 20px;
}
/* .introLeft>.positionLeft>div>ul{ */
/*   /* list-style: none; */
/* } */

.introLeft > .positionLeft > div > ul > li {
  text-align: center;
}
.introLeft > .positionLeft > div > ul > li > a {
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.introLeft > .positionLeft > div > ul > li > a:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--blue);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.introLeft > .positionLeft > div > ul > li > a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.social_cont {
  margin: 10px;
}

.social_cont > a {
  font-size: 1.2em;
}

.buttonContainer{
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact {
  background-color: transparent;
  font-size: 16px;
  font-family: 'Oxygen Mono';
  font-weight: bolder;
  border: 2px solid var(--sky);
  outline: none;
  border-radius: 20px;
  padding: 10px;
  transition: all 0.5s ease-in-out;
}

.contact:hover{
  letter-spacing: 4px;
  background-color: var(--sky);
  color: var(--base);
}

.ContactFormModal{
  height: 40vh;
  width: 40vw;
  display: none;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: var(--surface);
  position: fixed;
  opacity: 0;
  left: 50%;
  top: 50%;
 transform: translate(-50%, -50%);
  transition: all 1s ease-in-out;
  border-radius: 20px;
}
.ContactFormModal {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ContactFormModal.active {
  display: block;
  opacity: 1;
}

.ContactFormModal h1 {
  text-align: center;
  color: white;
}

.ContactForm {
  margin-top: 20px;
}

.ContactForm label {
  display: block;
  margin-bottom: 8px;
  color: white;
}

.ContactForm input,
.ContactForm textarea {
  width: 100%;
  padding: 8px;
  background-color: var(--surface);
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.ContactForm button {
  background-color: var(--blue);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.ContactForm button:hover {
  background-color: var(--darkBlue);
}

.gitTitle{
  text-align: center;
  border-bottom: solid 2px var(--sky);
  padding-bottom: 10px;
}

.gitList{
  border-top: solid 2px var(--sky);
  padding: 10px;
}

.gitRepo{
  margin: 5px;
  margin-top: 10px;
}

.gitRepo > a{
  text-decoration: none;
}

.gitRepo > a > h4{
  font-size: 1.2em;
  font-weight: bolder;
  color: var(--sky);

}

.gIcon {
  width: 30px;
  display: inline;
  fill: var(--blue);
  color: var(--blue);
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.gIcon:hover {
  fill: var(--sky);
  color: var(--sky);
}

.social_cont {
  display: flex;
  align-items: center;
}

.Projects {
  text-align: center;
}
.Projects > h3 {
  border-bottom: dashed var(--blue) 1px;
}
.slide > img {
  width: 800px;
}
.slides {
  display: flex;
  flex-direction: row;
  overflow-y: hidden;
  height: 700px;
}

.slides::-webkit-scrollbar {
  width: 3px; /* Set the width of the scrollbar */
  height: 8px;
}

/* Handle portion of the scrollbar */
.slides::-webkit-scrollbar-thumb {
  background-color: var(--blue); /* Color of the scrollbar handle */
  border-radius: 4px; /* Rounded corners for the handle */
}

/* Track portion of the scrollbar */
.slides::-webkit-scrollbar-track {
  background-color: var(--surface); /* Color of the scrollbar track */
  border-radius: 4px; /* Rounded corners for the track */
}

@media (max-width: 1150px) {
  .positionLeft {
    position: relative;
    width: 95vw;
    text-align: center;
  }

  .introLeft > .positionLeft > div > p {
    width: 95vw;
  }
  .containerIntro {
    display: block;
  }
  .introRight {
    width: 95vw;
  }
  .social {
    text-align: center;
    display: flex;
    flex-direction: row;
    margin-top: 8px;
  }
  .slide {
    width: 450px;
  }
  .tags {
    flex-direction: column;
  }
  .tags > li {
    width: fit-content;
  }
}
