body {
  margin: 0;
  padding: 0;
  height: 4000px;
  font-family: "Satisfy";
  font-size: 2em;
  background-color: #fafafa;
  color: #808080;
  cursor: none;
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 400%; /*sections*100*/
  height: 100vh;
  display: flex; /*horizontal*/
}

#container .section {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 100px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

#container .section:nth-child(1) {
  background-color: #fafafa;
  /*box-shadow: 1px 0px 100px grey;*/
}

#container .section:nth-child(2) {
  background-color: #141414;
  /*box-shadow: 1px 0px 100px grey;*/
}
#container .section:nth-child(3) {
  background-color: #141414;
  /*box-shadow: red;*/
  /*justify-content: all;*/
  /*align-items: none;*/
}
/*#container .section:nth-child(4){
	background-color: #141414;
}*/

#container .section:nth-child(4) {
  background-color: #fafafa;
  position: sticky;
  right: 0;
  z-index: -2;
}

.loader-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #141414;
  z-index: 1005;
  overflow-x: hidden;
  overflow-y: hidden;
}

.loading {
  left: 0%;
  top: 20%;
  opacity: 0.7;
  /*position: relative;*/
  font-family: futuraHv;
  font-size: 2em;
  color: #fafafa;
}

/* FONTS ==================*/

@font-face {
  font-family: futuraHv;
  src: url(FuturaHv.ttf);
}

@font-face {
  font-family: futuraLi;
  src: url(FuturaLi.ttf);
}

/* COMMON ================*/

.sidebar {
  position: fixed;
  top: 5%;
  z-index: 999;
  right: 6%;
}

.social {
  z-index: 3;
  position: fixed;
  opacity: 0.9;
  bottom: 5%;
  right: 3%;
  width: 3%;
  /*width: 12%; horizontal*/
  /*transition: .3s ease-out;*/
}

.social a {
  padding: 10px;
  transition: 0.2s;
  font-size: 20px;
}

.social a:hover {
  border-radius: 5px;
  background-color: #e0e0e0;
  cursor: pointer;
}

/* SECTION ONE ================*/

#psst:hover {
  background-color: #e0e0e0;
  border-radius: 10px;
  cursor: none;
}

#maintext {
  float: left;
  margin-left: 35%;
  margin-top: -2%;
}

#fronttext {
  font-family: futuraHv;
  text-transform: uppercase;
  font-size: 3.3em;
  margin-top: -3%;
}

#fronttext span {
  color: black;
  transition: 0.1s;
}

#fronttext span:hover {
  color: #fafafa;
  -webkit-text-stroke: 2px #000;
  cursor: none;
}

#picme {
  z-index: 4;
  position: absolute;
  bottom: 0vw;
  left: 0;
}

/*SVG FORMATTING*/
#Layer_0 {
  z-index: 1000;
  position: absolute;
  opacity: 0.8;
  width: 20vh;
  left: 45%;
}

#Layer_1 {
  z-index: 1000;
  position: absolute;
  opacity: 0.8;
  width: 3vw;
}

#Layer_2 {
  float: left;
  position: absolute;
  left: -3vw;
  bottom: -8vh;
  z-index: 1;
  width: 52vw;
  /*background-size: 70px;*/
}

#Layer_3 {
  float: right;
  position: absolute;
  right: 50vw;
  bottom: 25%;
  z-index: 200;
  width: 20vw;
  /*background-size: 70px;*/
}

#Layer_4 {
  position: absolute;
  width: 80vw;
  /*background-size: 70px;*/
}

/* SECTION TWO ================*/

#heading {
  color: #fafafa;
  z-index: 200;
  position: absolute;
  top: 6%;
  left: 12%;
  opacity: 0.6;
}

/* Add some padding inside the card container */
.content {
  padding: 2px 16px;
  font-size: 0.7em;
  color: #e0e0e0;
  font-family: futuraLi;
  width: 90%;
  justify-content: all;
  line-height: 1.5;
}

#viewBtn {
  height: 80%;
  width: 4%;
  background-color: #141414;
  border: 1px solid #c7c7c7;
  padding: 0.8%;
  transition: 0s;
}

#viewContent {
  /*padding: 20px; */
  transform: rotate(-90deg);
  position: absolute;
  bottom: 50%;
  right: 7%;
  /*left: 76%;*/
}

#viewBtn:hover #viewContent {
  bottom: 50%;
  right: -110%;
}

/* SECTION THREE ================*/

#card2:nth-child(2) {
  margin-left: -48%;
}

.content2 {
  /*padding: 10px;*/
  /*position: absolute;*/
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  position: relative;
  width: 40vw;
  margin-top: 0%;
  /*background-color: red;*/
}

.readingBox {
  width: 50%;
  height: 30%;
  z-index: 100;
  position: absolute;
  border-radius: 10px;
  background-color: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.readingContent {
  color: white;
  font-size: 1em;
}

.readingText {
  margin-top: 3%;
  text-align: center;
}

.readingContent form {
  margin-top: 8%;
  margin-bottom: 3%;
  display: flex;
  justify-content: center;
  align-items: center;
}

form #fname {
  border-radius: 5px 0 0 5px;
  height: 30px;
  border: none;
  padding: 2%;
}

form #submit {
  border-radius: 0 5px 5px 0;
  height: 40px;
  border: none;
  padding: 2%;
}

.content3 {
  /*padding: 10px;*/
  /*position: absolute;*/
  /*left: 57%;*/
  /*top: 20%;*/
  /*margin-left: 20%;*/
  /*width: 60%;*/
  max-height: 100vh;
  min-width: 40vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*position: relative;*/
  /*background-color: yellow;*/
}

.content3 .listenBox {
  margin-top: 5%;
  /*background-color: blue;*/
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*position: absolute;*/
}

.listenBox .podcastBox {
  min-width: 20%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 5%;
}

.content3 iframe {
  /*margin-left: 10%;*/
  /* min-height: 172px;
  max-height: 172px; */
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 5%;
}

#songlist {
  min-height: 252px;
}

/*
.content2 #item{
	font-size: .8em;
	color: #fafafa;
	line-height: 1.4;
	font-family: futuraHv;
	padding: 15px;
}

#item:hover{
	border-radius: 5px;
	border-left: 5px solid #f3bc86;
}
*/
.color {
  color: #f3bc86;
}

.smalltxt {
  font-family: futuraLi;
  opacity: 0.8;
  text-transform: uppercase;
  font-size: 0.5em;
  letter-spacing: 2px;
}

/* SECTION FOUR ================*/
#btn {
  border: none;
  background-color: #fafafa;
  border-radius: 5px;
  padding: 25%;
  margin-left: 20%;
  display: none;
}

.tooltip {
  position: relative;
  display: inline-block;
  border: none;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* 13" Screen ================*/
@media only screen and (max-width: 1350px) {
  #Layer_2 {
    left: -13vw;
    bottom: -2vh;
    width: 60vw;
  }

  .card {
    width: 28%;
    height: 85%;
    margin-right: 3%;
    border-bottom: 10px solid #fff;
  }

  .content {
    font-size: 0.7em;
  }

  .content2 {
    /*padding: 10px;*/
    /*position: absolute;
		left: -1%;
		margin-left: 5%;
		width: 35%;*/
  }

  .content3 {
    /*padding: 10px;*/
    /*position: absolute;*/
    /*left: 45%;*/
    /*top: 20%;*/
    /*margin-left: 20%;*/
    /*width: 78%;*/
  }

  .content3 iframe {
    /*margin-left: 3%;*/
  }

  #heading3 {
    /*color: #fafafa; 
		z-index: 200; 
		position: absolute; 
		top: 6%; 
		right: 45%;
		opacity: .6;*/
  }

  #viewBtn {
    height: 80%;
    width: 4%;
    background-color: #141414;
    border: 1px solid #c7c7c7;
    padding: 0.8%;
    transition: 0s;
  }

  #viewContent {
    bottom: 50%;
    right: 4%;
  }

  #viewBtn:hover #viewContent {
    bottom: 50%;
    right: -170%;
  }
}

/* IPAD ================*/
@media only screen and (max-width: 1100px) and (orientation: landscape) {
  body {
    height: 2000px;
  }

  .sidebar {
    top: 2%;
    right: 8%;
    position: fixed;
  }

  .social {
    z-index: 3;
    position: fixed;
    opacity: 0.9;
    top: 2.2%;
    left: 5%;
    width: 60%;
    height: 10%;
  }

  #container .section {
    /*box-sizing: content-box;*/
    height: 100%;
    width: 99vw;
    padding: 5px;
  }

  #container .section:nth-child(2) {
    /*display: block;*/
    height: 80%;
  }

  #container .section:nth-child(3) {
    /*display: block;*/
    height: 160%;
    flex-direction: column;
  }

  #note {
    display: none;
  }

  #Layer_0 {
    width: 15vh;
    left: 40%;
  }

  /*#Layer_1{
		width: 13vw;
	}*/

  #Layer_2 {
    bottom: -3vw;
    left: -40vw;
    width: 70vw;
    transform: rotate(-105deg);
  }

  .card {
    z-index: 100;
    width: 75%;
    height: 70%;
    margin: 1%;
    margin-top: 5%;
  }

  #heading {
    left: 5%;
  }

  /*#heading:nth-child(1){
		margin-left: 10%;
	}*/

  #card2:nth-child(2) {
    margin-left: 1.6%;
  }

  .content2 {
    width: 100vw;
  }

  .content3 {
    margin-bottom: 10%;
    margin-top: 5%;
  }

  .content3 .listenBox {
    flex-direction: row;
  }

  #heading2 {
    position: relative;
    /*margin-top: 6%; */
    /*right: 16%;*/
    margin-left: 20%;
    margin-top: -50%;
    /*opacity: .6;*/
  }

  #viewBtn {
    height: 50%;
    /*width: 85%; */
  }

  #viewContent {
    /*transform: rotate(0deg);*/
    top: 50%;
    right: -6.8%;
  }

  #viewBtn:hover #viewContent {
    bottom: 20%;
    right: 10%;
  }
}

@media only screen and (max-width: 1100px) and (orientation: portrait) {
  body {
    height: 2000px;
  }

  .sidebar {
    top: 2%;
    right: 8%;
    position: fixed;
  }

  .social {
    z-index: 3;
    position: fixed;
    opacity: 0.9;
    top: 2.2%;
    left: 5%;
    width: 60%;
    height: 10%;
  }

  #container .section {
    /*box-sizing: content-box;*/
    height: 100%;
    width: 99vw;
    padding: 5px;
  }

  #container .section:nth-child(2) {
    /*display: block;*/
    height: 80%;
  }

  #container .section:nth-child(3) {
    /*display: block;*/
    height: 130%;
    flex-direction: column;
  }

  #note {
    display: none;
  }

  #Layer_0 {
    width: 15vh;
    left: 40%;
  }

  /*#Layer_1{
		width: 13vw;
	}*/

  #Layer_2 {
    bottom: -3vw;
    left: -40vw;
    width: 70vw;
    transform: rotate(-105deg);
  }

  .card {
    z-index: 100;
    width: 75%;
    height: 70%;
    margin: 1%;
    margin-top: 5%;
  }

  #heading {
    left: 5%;
  }

  /*#heading:nth-child(1){
		margin-left: 10%;
	}*/

  #card2:nth-child(2) {
    margin-left: 1.6%;
  }

  .content2 {
    width: 100vw;
  }

  .content3 {
    margin-bottom: 10%;
  }

  .content3 .listenBox {
    flex-direction: row;
  }

  #heading2 {
    position: relative;
    /*margin-top: 6%; */
    /*right: 16%;*/
    margin-left: 20%;
    margin-top: -50%;
    /*opacity: .6;*/
  }

  #viewBtn {
    height: 50%;
    /*width: 85%; */
  }

  #viewContent {
    /*transform: rotate(0deg);*/
    top: 50%;
    right: -6.8%;
  }

  #viewBtn:hover #viewContent {
    bottom: 20%;
    right: 10%;
  }
}

/* MOBILE ================*/
@media only screen and (max-width: 600px) {
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  #picme {
    /*left: -15vw;*/
    /*bottom: 9vh;*/
    width: 90%;
  }

  #container .section {
    box-sizing: content-box;
    height: 150%;
    width: 99vw;
    padding: 5px;
  }

  #container .section:nth-child(1) {
    height: 195%;
  }

  #container .section:nth-child(2) {
    display: block;
    height: 195%;
  }

  #container .section:nth-child(3) {
    display: block;
    height: 220%;
  }

  #container .section:nth-child(4) {
    height: 100%;
  }

  #fronttext {
    font-size: 3em;
  }

  #maintext {
    font-size: 0.8em;
    margin-top: -90vh;
    margin-left: 5%;
  }

  .sidebar {
    top: 2%;
    right: 30%;
    position: fixed;
  }

  .social {
    z-index: 3;
    position: fixed;
    opacity: 0.9;
    top: 2.2%;
    left: 5%;
    width: 60%;
    height: 10%;
  }

  #Layer_0 {
    width: 15vh;
    left: 35%;
  }

  #Layer_1 {
    width: 13vw;
    /*right: -15%;*/
  }

  #Layer_2 {
    bottom: 45vw;
    left: -40vw;
    width: 130vw;
    /*transform: scaleY(-1);*/
  }

  #heading {
    position: relative;
    margin-top: 5%;
    top: 2%;
    left: 5%;
  }

  .content {
    font-size: 0.7em;
    margin-top: 8%;
  }

  .readingBox {
    width: 90%;
  }

  .content3 {
    margin-top: 20%;
  }

  .content3 .listenBox {
    width: 90vw;
    flex-direction: column;
  }

  .content3 iframe {
    /*margin-left: 10%;*/
    min-height: 172px;
    max-height: 172px;
    margin-bottom: 5%;
  }

  #viewBtn {
    height: 3%;
    width: 85%;
    align-items: center;
    text-align: center;
    margin-top: 10%;
  }

  #viewContent {
    transform: rotate(0deg);
    bottom: 3%;
    right: 18%;
  }

  #viewBtn:hover #viewContent {
    bottom: 20%;
    right: 10%;
  }

  #note {
    display: none;
  }

  .cursor {
    display: none;
  }

  .cursor-follower {
    display: none;
  }
}

/*===========================*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

::selection {
  background: #f2c69b;
}

::-moz-selection {
  /* Code for Firefox */
  background: #f2c69b;
}

/*======================================*/
/*
#photos {
   line-height: 0;
   
   -webkit-column-count: 5;
   -webkit-column-gap:   0px;
   -moz-column-count:    5;
   -moz-column-gap:      0px;
   column-count:         5;
   column-gap:           0px;
}

#photos img {
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 1200px) {
  #photos {
  -moz-column-count:    4;
  -webkit-column-count: 4;
  column-count:         4;
  }
}
@media (max-width: 1000px) {
  #photos {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }
}
@media (max-width: 800px) {
  #photos {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}
@media (max-width: 400px) {
  #photos {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }
}
*/

.infinite-photo-grid {
  width: 100%;
  min-height: 90vh;
  z-index: 0;
  /*max-height: 750px;*/
  /* background-image: url("../images/readingWallpaper.jpg"); */
  background-image: url("https://cdn.statically.io/gh/kkshitij-agrawal/personal-website/main/Assets/readingWallpaper.jpg");
  background-size: cover;
  background-repeat: repeat-x;
  animation: scroll 60s linear infinite;
  will-change: background-position;
}

@keyframes scroll {
  from {
    background-position: left calc(4.84 * min(100vh, 750px)) top 0px;
  }
  to {
    background-position: left 0px top 0px;
  }
}

.s1mpson {
  background: #222;
  border-radius: 6px;
  box-shadow: 0px 0px 0px 8px #222, 0 10px 30px rgba(65, 72, 86, 1);
}

.s1mpson-twitter-icon {
  fill: #fff;
}
.s1mpson-github-icon {
  fill: #fff;
}

/* =============================================== */

.cursor {
  position: fixed;
  background: #1c1c1c;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  z-index: 1;
  transition: 0.5s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
    0.2s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
  user-select: none;
  pointer-events: none;
  transform: scale(0.8);
}

.cursor::before {
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  background-image: url("../images/cursor_view2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 100%;
  opacity: 0;
}

.cursor.active {
  opacity: 1;
  transform: scale(12);
}

.cursor.active::before {
  opacity: 1;
}

.cursor-follower {
  position: fixed;
  background: rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 100%;
  z-index: 1;
  transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
    0.4s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
  user-select: none;
  pointer-events: none;
  transform: translate(4px, 4px);
}

.cursor-follower.active {
  opacity: 0.3;
  transform: scale(0);
}

.portfolio-thumb {
  overflow: hidden;
  transition: all 2s cubic-bezier(0.25, 1, 0.3, 1);
}

/* .portfolio-thumb img {
  max-width: 360px;
  opacity: 0.4;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
  transform-origin: 90% center;
} */

.portfolio-item:hover .portfolio-thumb {
  /* -webkit-text-stroke: 2px black; */
  /* transform: translateX(1.75rem); */
  /* letter-spacing: 15px; */
}
/* 
.portfolio-item:hover .portfolio-thumb img {
  opacity: 0.8;
  transform: scale(1.2);
} */
