@import url("https://use.typekit.net/jmk3xov.css");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* Variables */
:root {
  --text-color: black;
  --highlight-color: #6C0D88;
  --subtitle-color: #78688D;

  --selection-color: #86e2d675;

  --scrollProgress-color: #826ac585;

}

/* Necessary CSS */
::-moz-selection { /* Code for Firefox */
  background: var(--selection-color);
}

::selection {
  background: var(--selection-color);
}

html {
  font-family: "Open Sans", sans-serif;
  
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%
}
body::-webkit-scrollbar {
  width:0%;
}

canvas {
  z-index: -100;
  display: block;
  top: 0;
  position: fixed;
  height: 100%
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.NavBar {
  background-color: red;
  width: 100%;
  height: 20px;
  top: 0;
  position: fixed;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}


/* Styling CSS */
.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 2000px;
  height: 100vh;
}

.card {
  width: 75%;
  height:fit-content;
  max-height: 75%;
  border-radius: 2rem;
}

.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
}
.ProgressContainer {
  width: 100%;
  height: 8px;
}
.ProgressBar {
  height: 8px;
  background: var(--scrollProgress-color);
  width: 0%;
}

/* Text */
.title {
  font-weight: 800;
  font-size: 100px;
}
.cardTitle {
  font-weight: 800;
  font-size: 50px;
}

.highlight {
  color: var(--highlight-color);
}

.subtitle {
  font-weight: 500;
  font-size: 24px;
  color: var(--subtitle-color)
}

/* CSS to make containers slide in from the sides */

.reveal {
  position: relative;
  opacity: 0;
  transition: 1s all ease;
}

.left {
  transform: translateX(-100vw);
}

.right {
  transform: translateX(100vw);
}

.reveal.active {
  transform: translateX(0);
  opacity: 1;
}


#LandingSubtitle {
  text-align: center;
}

#AboutMe {
  display:grid;
  grid-template-columns: repeat(5, 20%[col-start]);
  grid-template-rows: repeat(5, 20%[row-start]);
}
#AboutMeImg {
  grid-column: 1 / 3;
  grid-row: 1 / 6;
}
#AboutMeTitle {
  grid-column: 3 / 6;
  grid-row: 1 / 2;

  display: flex;
  justify-content: center;
}
#AboutMeContent {
  grid-column: 3 / 6;
  grid-row: 2 / 6;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 20px;

  overflow-y:auto;
}

#AboutMeContent::-webkit-scrollbar {
  width: 4px;
}
 
#AboutMeContent::-webkit-scrollbar-track {
  display: none;
}
 
#AboutMeContent::-webkit-scrollbar-thumb {
  background-color: var(--scrollProgress-color);
  border-radius: 4px;
}
@media only screen and (max-aspect-ratio: 1) {
  #AboutMeImg {
    visibility: hidden;
  }
  #AboutMeTitle {
    grid-column: 1 / 6;
    grid-row: 1 / 2;
  }
  #AboutMeContent {
    grid-column: 1 / 6;
    grid-row: 2 / 6;
  }
}

.TableRow {
  display:grid;
  grid-template-columns: repeat(3, 33%);

  padding: 10px;
}
.InstituteCell {
  grid-column: 1 / 3;
}
.AcheivementCell {
  padding-left: 20px;
  grid-column: 3 / 4;
}

.JobCell {
  grid-column: 1 / 2;
}
.DescriptionCell {
  padding-left: 20px;
  grid-column: 2 / 4;
}

#AboutWebsiteTitle {
  display: flex;
  justify-content: center;
}

#AboutWebsiteDisclaimer {
  display: flex;
  justify-content: center;
}