
/* title section */
#navigation-bar {
    text-align: right;
    background-color: #000000;
    padding: 3% 6% 1%;
    background-image: url("../rhetor5/image.png");
  }
  
  .logo {
    box-sizing: border-box;
    border-radius: 100%;
    width: 100%;
  }
  
  .logo:hover {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
  }
  
  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }
  
  .nav-item-style {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .canvas {
    
    position: fixed;
    top:200px;
    bottom:0;
    right:0px;
    left: 1100px;
    width: 100%;
    height: 150vh;
    max-width: 500px;
    max-height: 150vh;
    
  }
  
  .group {
    position: absolute;
    top: 0;
    left: 0; 
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  @-webkit-keyframes dot-elastic-x {
    0%, 100% {
      opacity: 0.5;
      transform: translateX(0) scale(0.75);
      -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
              animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    25% {
      opacity: 0.75;
      transform: translateX(600%) scale(1);
      -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
              animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
    50% {
      opacity: 1;
      transform: translateX(0) scale(1.5);
      -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
              animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    75% {
      opacity: 0.75;
      transform: translateX(-600%) scale(1);
      -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
              animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
  }
  
  @keyframes dot-elastic-x {
    0%, 100% {
      opacity: 0.5;
      transform: translateX(0) scale(0.75);
      -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
              animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    25% {
      opacity: 0.75;
      transform: translateX(600%) scale(1);
      -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
              animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
    50% {
      opacity: 1;
      transform: translateX(0) scale(1.5);
      -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
              animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    75% {
      opacity: 0.75;
      transform: translateX(-600%) scale(1);
      -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
              animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
  }

  
  /* Title section */
  #title {
    padding: 5% 9%;
    text-align: center;
  }
  
  .page-head {
    font-family: 'Brawler';
    font-size: 8rem;
  }
  
  .sub-head {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    padding: 2% 18% 2% 18%;
    text-align: center;
  }
  
  .highlights {
    font-family: 'Open-Sans',sans-serif;
    background-color: black;
    border: 2px solid black;
    opacity: 0.8;
    border-radius: 10px;
    margin: 12px 0;
    padding: 10px;
  }
  
  .iiser2_logo {
    width: 30%;
    display: block;
    margin: 20px auto;
  }
  
  .parallax {
      
      /* Full height of page */
      max-width: 100%;
      /* creating parallax effect */
      background-attachment: fixed;
      background-size: cover;
  }
  
  
  .main-timeline{ position: relative; }
  .main-timeline:before,
  .main-timeline:after{
      content: "";
      display: block;
      width: 100%;
      clear: both;
  }
  .main-timeline:before{
      content: "";
      width: 3px;
      height: 100%;
      background: #6d4580;
      position: absolute;
      top: 0;
      left: 50%;
  }
  .main-timeline .timeline{
      width: 50%;
      float: left;
      position: relative;
      z-index: 1;
  }
  .main-timeline .timeline:before,
  .main-timeline .timeline:after{
      content: "";
      display: block;
      width: 100%;
      clear: both;
  }
  .main-timeline .timeline:first-child:before,
  .main-timeline .timeline:last-child:before{
      content: "";
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: #fff;
      border: 4px solid #6d4580;
      position: absolute;
      top: 0;
      right: -14px;
      z-index: 1;
  }
  .main-timeline .timeline:last-child:before{
      top: auto;
      bottom: 0;
  }
  .main-timeline .timeline:last-child:nth-child(even):before{
      right: auto;
      left: -12px;
      bottom: -2px;
  }
  .main-timeline .timeline-content{
      text-align: center;
      margin-top: 8px;
      position: relative;
      transition: all 0.3s ease 0s;
  }
  .main-timeline .timeline-content:before{
      content: "";
      width: 100%;
      height: 5px;
      background: #6d4580;
      position: absolute;
      top: 88px;
      left: 0;
      z-index: -1;
  }
  .main-timeline .circle{
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: #fff;
      border: 8px solid #6d4580;
      float: left;
      margin-right: 25px;
      position: relative;
  }
  .main-timeline .circle:before{
      content: "";
      width: 26px;
      height: 30px;
      background: #6d4580;
      margin: auto;
      position: absolute;
      top: 0;
      right: -33px;
      bottom: 0;
      z-index: -1;
      box-shadow: inset 7px 0 9px -7px #6d4580;
  }
  .main-timeline .circle span{
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      line-height: 268px;
      font-size: 80px;
      color: #6d4580;
  }
  .main-timeline .circle span:before,
  .main-timeline .circle span:after{
      content: "";
      width: 28px;
      height: 50px;
      border-radius: 0 0 0 21px;
      margin: auto;
      position: absolute;
      top: -54px;
      right: -33px;
      bottom: 0;
      z-index: -1;
  }
  .main-timeline .circle span:after{
      border-radius: 21px 0 0 0;
      top: 0;
      bottom: -56px;
  }
  .main-timeline .circle .img{
      vertical-align:  1000px;
      border-radius: 200%;
  }
  .main-timeline .content{
      display: table;
      padding-right: 40px;
      position: relative;
  }
  .main-timeline .year{
      display: block;
      padding: 10px;
      margin: 10px 0 50px 0;
      background:#6d4580;
      border-radius: 7px;
      font-size: 25px;
      color: #fff;
  }
  .main-timeline .title{
      font-size: 19px;
      font-weight: bold;
      color: rgb(38, 38, 38);
      margin-top: 0;
  }
  .main-timeline .date{
      font-size: 17px;
      font-weight: bold;
      color: RGB(255, 0, 0);
      margin-top: 0;
  }
  .main-timeline .description{
       font-family: Arial, Helvetica, sans-serif;
      font-size: 16px;
      color: #333;
  
  }
  .main-timeline .icon{
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: #fff;
      border: 4px solid #6d4580;
      position: absolute;
      top: 78px;
      right: -14px;
  }
  .main-timeline .icon:before{
      content: "";
      width: 15px;
      height: 25px;
      background:#6d4580;
      margin: auto;
      position: absolute;
      top: -1px;
      left: -15px;
      bottom: 0;
      z-index: -1;
  }
  .main-timeline .icon span:before,
  .main-timeline .icon span:after{
      content: "";
      width: 21px;
      height: 25px;
      background: #fff;
      border-radius: 0 0 21px 0;
      margin: auto;
      position: absolute;
      top: -30px;
      left: -15px;
      bottom: 0;
      z-index: -1;
  }
  .main-timeline .icon span:after{
      border-radius: 0 21px 0 0;
      top: 0;
      left: -15px;
      bottom: -30px;
  }
  .main-timeline .timeline:nth-child(2n) .timeline-content,
  .main-timeline .timeline:nth-child(2n) .circle{
      float: right;
  }
  .main-timeline .timeline:nth-child(2n) .circle{
      margin: 0 0 0 25px;
  }
  .main-timeline .timeline:nth-child(2n) .circle:before{
      right: auto;
      left: -33px;
      box-shadow: -7px 0 9px -7px #444 inset;
  }
  .main-timeline .timeline:nth-child(2n) .circle span:before,
  .main-timeline .timeline:nth-child(2n) .circle span:after{
      right: auto;
      left: -33px;
      border-radius: 0 0 21px 0;
  }
  .main-timeline .timeline:nth-child(2n) .circle span:after{
      border-radius: 0 21px 0 0;
  }
  .main-timeline .timeline:nth-child(2n) .content{
      padding: 0 0 0 40px;
      margin-left: 2px;
  }
  .main-timeline .timeline:nth-child(2n) .icon{
      right: auto;
      left: -14px;
  }
  .main-timeline .timeline:nth-child(2n) .icon:before,
  .main-timeline .timeline:nth-child(2n) .icon span:before,
  .main-timeline .timeline:nth-child(2n) .icon span:after{
      left: auto;
      right: -15px;
  }
  .main-timeline .timeline:nth-child(2n) .icon span:before{
      border-radius: 0 0 0 21px;
  }
  .main-timeline .timeline:nth-child(2n) .icon span:after{
      border-radius: 21px 0 0 0;
  }
  .main-timeline .timeline:nth-child(2){
      margin-top: 180px;
  }
  .main-timeline .timeline:nth-child(odd){
      margin: -175px 0 0 0;
  }
  .main-timeline .timeline:nth-child(even){
      margin-bottom: 180px;
  }
  .main-timeline .timeline:first-child,
  .main-timeline .timeline:last-child:nth-child(even){
      margin: 0;
  }
  @media only screen and (max-width: 990px){
      .main-timeline:before{ left: 100%; }
      .main-timeline .timeline{
          width: 100%;
          float: none;
          margin-bottom: 20px !important;
      }
      .main-timeline .timeline:first-child:before,
      .main-timeline .timeline:last-child:before{
          left: auto !important;
          right: -13px !important;
      }
      .main-timeline .timeline:nth-child(2n) .circle{
          float: left;
          margin: 0 25px 0 0;
      }
      .main-timeline .timeline:nth-child(2n) .circle:before{
          right: -33px;
          left: auto;
          box-shadow: 7px 0 9px -7px #444 inset;
      }
      .main-timeline .timeline:nth-child(2n) .circle span:before,
      .main-timeline .timeline:nth-child(2n) .circle span:after{
          right: -33px;
          left: auto;
          border-radius: 0 0 0 21px;
      }
      .main-timeline .timeline:nth-child(2n) .circle span:after{
          border-radius: 21px 0 0 0;
      }
      .main-timeline .timeline:nth-child(2n) .content{
          padding: 0 40px 0 0;
          margin-left: 0;
      }
      .main-timeline .timeline:nth-child(2n) .icon{
          right: -14px;
          left: auto;
      }
      .main-timeline .timeline:nth-child(2n) .icon:before,
      .main-timeline .timeline:nth-child(2n) .icon span:before,
      .main-timeline .timeline:nth-child(2n) .icon span:after{
          left: -15px;
          right: auto;
      }
      .main-timeline .timeline:nth-child(2n) .icon span:before{
          border-radius: 0 0 21px 0;
      }
      .main-timeline .timeline:nth-child(2n) .icon span:after{
          border-radius: 0 21px 0 0;
      }
      .main-timeline .timeline:nth-child(2),
      .main-timeline .timeline:nth-child(odd),
      .main-timeline .timeline:nth-child(even){
          margin: 0;
      }
  }
  @media only screen and (max-width: 480px){
      .main-timeline:before{ left: 0; }
      .main-timeline .timeline:first-child:before,
      .main-timeline .timeline:last-child:before{
          left: -12px !important;
          right: auto !important;
      }
      .main-timeline .circle,
      .main-timeline .timeline:nth-child(2n) .circle{
          width: 130px;
          height: 130px;
          float: none;
          margin: 0 auto;
      }
      .main-timeline .timeline-content:before{
          width: 99.5%;
          top: 68px;
          left: 0.5%;
      }
      .main-timeline .circle span{
          line-height: 115px;
          font-size: 60px;
      }
      .main-timeline .circle:before,
      .main-timeline .circle span:before,
      .main-timeline .circle span:after,
      .main-timeline .icon{
          display: none;
      }
      .main-timeline .content,
      .main-timeline .timeline:nth-child(2n) .content{
          padding: 0 10px;
      }
      .main-timeline .year{
          margin-bottom: 15px;
      }
      .main-timeline .description{
          text-align: center;
      }
  }
  
  /* footer section */
  #footer {
    text-align: left;
    background-color: #6d4580;
    padding: 3% 8%;
  }
  
  .icon {
    color: #fff;
    font-size: 1.5rem;
  }
  
  .icon:hover {
    color: #81b214;
  }
  
  .footer-head {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    margin-top: 15px;
  }
  
  .terms {
    text-decoration: none;
    color: #ecf4f3;
    font-family: 'Open Sans', sans-serif;
  }
  
  .terms:hover {
    color: #81b214;
  }
  
  .iiser_logo {
    width: 40%;
    display: block;
    margin: 20px auto;
  }
  