body {
  overflow-y: scroll; /* Hide scrollbars */
  overflow-x: hidden;
  font-family: 'Courier New', monospace;
  background: #f9eae1;
  color: #7d4f50;
}

/* .main{
  background-image: url("https://www.webuildvalue.com/wp-content/uploads/seoul-megacity-crescita-sostenibile.jpg");
  background-size: fill;
} */

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

h1 {
  text-align: center;
}


/* about page title */
.wrappera {
  height: 100vh;
  /*This part is important for centering*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  width: 100%;
}

.perspective-text {
  color: white;
  font-family: Arial;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.perspective-line {
  height: 50px;
  overflow: hidden;
  position: relative;
}

p {
  margin: 0;
  height: 50px;
  line-height: 50px;
  transition: all 0.5s ease-in-out;
}

.perspective-line:nth-child(odd) {
  transform: skew(60deg, -30deg) scaleY(0.667);
}

.perspective-line:nth-child(even) {
  transform: skew(0deg, -30deg) scaleY(1.337);
}

.perspective-text:hover p {
  transform: translate(0, -50px);
}

.perspective-line:nth-child(1) {
  left: 29px;
}

.perspective-line:nth-child(2) {
  left: 58px;
  background: #afcbff;
}

.perspective-line:nth-child(3) {
  left: 87px;
  background: #0e1c36;
}

.perspective-line:nth-child(4) {
  left: 116px;
  background: #7d4f50;
}

.perspective-line:nth-child(5) {
  left: 145px;
}


/*Typing animation at the top*/
.wrapper {
  height: 100vh;
  /*This part is important for centering*/
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .wrappera {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9eae1;
} */

.typing-demo {
  width: 22ch;
  animation: typing 2s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 2em;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}

/* background */

/*navbar*/
.navi {
  bottom: 0;
  width: 100%;
  overflow: auto;
}

.navi a {
  float: left;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #7d4f50;
  text-decoration: none;
  font-size: 17px;
  width: 33.33%; /* FourX Three equal-width links.*/
  text-align: center;
}

.navi a:hover {
  border-bottom: 3px solid #7d4f50;
  transition: 0.5s;
}

@media screen and (max-width: 500px) {
  .navi a {
    float: none;
    display: block;
    width: 100%;
    text-align: center; /* If you want the text to be left-aligned on small screens */
  }

}

/*timeline*/

/*line drawing*/

/* The progress container (grey background) */
.progress-container {
  position: absolute;
  display: inline-block;
  margin-left: 50%;
  margin-right: 50%;
  z-index: 1;
  width: 8px;
  height: 100%;
  /* background: #ccc; */
}

/* The progress bar (scroll indicator) */
.progress-bar {
  height: 0%;
  background: #7d4f50;
  width: 8px;
  transition: 0.1s;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* The actual content */
.content {
  padding: 10%; /* 20px 30px; */
  margin: 10%;
  /* background-color: rgba(0, 0, 0, .5); */
  position: relative;
  border-radius: 6px;
}

.content2 {
  /* background-color: rgba(0, 0, 0, .5); */
  border-top: medium solid #7d4f50;
  /* border: medium solid #7d4f50; */
  position: relative;
  border-radius: 6px;
}

#trips .content2 {
  border-top: transparent;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 650px) {
/* Place the timelime to the left */
  .progress-container {
    margin-left: 5%;
    margin-right: 0%;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 25px;
    padding-right: 70px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

/*footer*/

 body .footer {
  width: 100%;
  margin: 0;
  z-index: 1;
  --footer-background: #5a080f;
  display: grid;
  position: relative;
  grid-area: footer;
  min-height: 12rem;
  bottom: 0;
}


/*Trips page*/

#trips{
  background: #F2E9E4;
  color: #372549;
}

#trips .navi a:hover {
  border-bottom: 3px solid #372549;
}

#trips .navi a {
  color: #372549;
  font-weight: bold;
}

.passes {              /*container*/
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  /* flex-flow: row; */
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
  margin: 7%;
}

.flexitem {
  flex-grow: 1;
}

/*flex items*/
.boardingPass {       
  width: 29%;
  height: 29%;
  border-radius: 5px;
  margin: 1%;
}

.pass {
  margin-left: 5%;
  margin-bottom: 2%;
}

img.boardingPass:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: 0.8s;
}

.mapsy {
  /* width: 100%; */
  /* margin: auto auto; */
  /*This part is important for centering*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  width: 100vw;
  /*height: 100vh;*/
  position: absolute;
  z-index: 0;
}
path {fill: #bfd7ff; stroke: #788bff; opacity: 0.5;}
path:hover {fill: #372549; transition: 0.4s; opacity: 0.90;}