@charset "utf-8";

/* Apply the "Roboto" font to the desired elements */
body {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
}

.image-with-rounded-corners {
  border-radius: 10px; /* Adjust the value to control the amount of curvature */
}

.rcorners1 {
  border-radius: 25px;
  background: #c8141c;
  padding: 20px;
  width: 95%;
  height: 200px;
  margin-right: 10px;
  margin-left: 10px;
  vertical-align: middle;
}

.rcorners1 h4,h5 {
    margin-bottom: 10px;
    font-size: 21px;
    color: white;
}

.rcorners2 {
  border-radius: 25px;
  background: #c8141c;
  padding: 20px;
  width: 95%;
  /*height: 200px; */
  overflow:auto;
  margin-right: 10px;
  margin-left: 10px;
  vertical-align: middle;
  font-size: 20px;
}

.rcorners2 h4,h5 {
    font-size: 20px;
    color: white;
}

/* CSS Document */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 50%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* The actual timeline (the vertical ruler) */
.timelineTimeLine {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 2s ease-in both;
}

/*
.timelineTimeLine img {
  width: 80px;
  height: auto;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -40px;
}
*/

.imgTimeLine {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10%;
  position: relative;
  /*top: 50%;
  transform: translateY(-50%);
  left: 40px;*/
}

.avatar {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  position: relative;
  /*top: 50%;
  transform: translateY(-50%);
  left: 40px;*/
}

/* The actual timeline (the vertical ruler) */
.timelineTimeLine::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #c8141c; /* Use the main color for the ruler */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.containerTimeLine {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add drop shadow */
}

/* The circles on the timeline */
.containerTimeLine::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: #c8141c; /* Use the main color for the circles */
  border: 4px solid white; /* Use white color for the circle border */
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

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

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

/* Add arrows to the left container (pointing right) */
.leftTimeLine::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #c8141c;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #c8141c;
}

/* Add arrows to the right container (pointing left) */
.rightTimeLine::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #c8141c;
  border-width: 10px 10px 10px 0;
  border-color: transparent #c8141c transparent transparent;
}

/* Fix the circle for containers on the right side */
.rightTimeLine::after {
  left: -12px;
}

/* The actual content */
.contentTimeLine {
  padding: 20px 30px;
  background-color: #c8141c;
  position: relative;
  border-radius: 6px;  
  color: white;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timelineTimeLine::after {
    left: 10px;
  }
  
  /* Full-width containers */
  .containerTimeLine {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .containerTimeLine::before {
    left: 60px;
    border: medium solid #c8141c;
    border-width: 10px 10px 10px 0;
    border-color: transparent #c8141c transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .leftTimeLine::after, .rightTimeLine::after {
    left: 0px;
  }
  
  /* Make all right containers behave like the left ones */
  .rightTimeLine {
    left: 0%;
  }
}

.embed-youtubeTimeLine {
  position: relative;
  padding-bottom: 56.25%; /* - 16:9 aspect ratio (most common) */
  /* padding-bottom: 62.5%; - 16:10 aspect ratio */
  /* padding-bottom: 75%; - 4:3 aspect ratio */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.embed-youtubeTimeLine iframe,
.embed-youtubeTimeLine object,
.embed-youtubeTimeLine embed {
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
