* {
  box-sizing: border-box;
}

body {
  background-color: #5c6a88;
  font-family:"Times New Roman",Helvetica,Arial,sans-serif;
}

/* The actual timeline (the vertical ruler) */
.portifoliotimeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 20px 0;
}

/* The actual timeline (the vertical ruler) */
.portifoliotimeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color:#004566;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}
/*portifolio image size*/
.portifoliotimeline .portifoliocontainer .portifolioconten .poortifolio-preview .portifolioimagesize {
  float: left;
  margin: -30px 0 0 -38px;
  height: 290px;
  width: 200px;
  padding:10px;
  border-radius: 10%;
}
 .poortifolio-preview .text-view{
  margin-top: -60px;
}
/* Container around content */
.portifoliocontainer {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  height: auto;
}


/* The circles on the timeline */
.portifoliocontainer::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-image:url(image/slide1.png);	
  border: 2px solid #FF9F55;
  top: 15px;
  border-radius: 100%;
  z-index: 1;
}

/* Place the container to the left */
.portifolioleft {
  left: 0;
}

/* Place the container to the right */
.portifolioright {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.portifolioleft::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.portifolioright::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.portifolioright::after {
  left: -16px;
}

/* The actual content */
.portifoliocontent {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  min-height:305px;
  border-radius: 6px;
  box-shadow: 4px 4px 8px 8px rgba(3, 12, 150, 0.432);
}
.portifoliocontent h2{
	margin-top:-15px;
}
/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 800px) {
  /* Place the timelime to the left */
  .portifoliotimeline::after {
  left: 31px;
  }
  
  /* Full-width containers */
  .portifoliocontainer {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .portifoliocontainer::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 */
  .portifolioleft::after, .portifolioright::after {
  left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .portifolioright {
  left: 0%;
  }
  .poortifolio-preview .portifolioimagesize{
    height: auto;
    width: 280px;
    border-radius: 5%;
    } 
}



