#historyPage .tab-buttons {
    display: inline-block;
    float: right;
    margin-top: 50px;
  }

#historyPage header {
    margin-bottom: 40px;
}

#historyPage .container {
    display: flex;
    flex-wrap: wrap;
}


#historyPage .tab-buttons a {
      padding: 10px 20px;
      display: block;
      font-family: 'Karla', sans-serif;
      font-size: 15px;
      font-weight: bold;
      text-align: center;
      display: inline-block;
      background: black;
      color: white;
      border: 2px solid transparent;
      transition: all 250ms;
  }
  
  #historyPage .tab-buttons a.active {
      background: linear-gradient(90deg, rgba(215, 172, 82,1) 0%, rgba(255, 227, 171,1) 50%, rgba(215, 172, 82,1) 100%);
      color: black;
  }
  
  #historyPage .tab-buttons a:hover {
      background: white;
      color: black;
      border: 2px solid #D2A446;
  }
  
  #historyPage .tab-buttons a:not(:first-child) {
      margin-left: 10px;
  }

  #historyPage .articles .content .title {
      font-family: 'Karla', sans-serif;
      font-weight: bold;
      font-size: 26px;
      margin-top: 40px;
  }
  
  #historyPage .articles .content .date {
      font-family: 'Karla', sans-serif;
      font-weight: bold;
      font-size: 16px;
      color: #C4942F;
      margin-top: 15px;
  }
  
  #historyPage .articles .content .intro-text {
      font-family: 'Karla', sans-serif;
      margin-top: 15px;
      margin-bottom: 15px;
  }
  
  #historyPage .articles .content .more {
      color: #C4942F;
  }
  
  #historyPage .articles .content .more img {
      margin-right: 5px;
  }

#historyPage .trophies {
    background-image: url('../img/bg-lopta.png'), url('../img/New Project (5).png');
    background-position: right bottom, left top;
    background-repeat: no-repeat, repeat;
    position: relative;
    padding: 70px;
}

#historyPage .trophies::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: white;
    top: 50px;
    left: 50px;
    height: calc(100% - 100px);
}

#historyPage .trophies .trophy {
    position: relative;
    margin-top: 50px;
}

#historyPage .trophies .trophy::after {
    position: absolute;
    content: "";
    background: linear-gradient(90deg, rgba(215, 172, 82,1) 0%, rgba(255, 227, 171,1) 50%, rgba(215, 172, 82,1) 100%);
    height: 12px;
    width: 11px;
    top: 25px;
    left: -24px;
    z-index: 1;
}

#historyPage .trophies .trophy h3 {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 50px;
    position: relative;
    width: fit-content;
    margin-bottom: 10px;
}

#historyPage .trophies .trophy h3::after {
    position: absolute;
    content: "";
    background: #C4942F;
    height: 2px;
    width: 100%;
    bottom: 0;
    left: 0;
}

/* #historyPage .boxes {
    display: flex;
} */

#historyPage .boxes.left,
#historyPage .boxes.right {
    width: 48%;
    display: inline-block;
}

#historyPage .boxes.left {
    margin-right: 2%;
}

#historyPage .box {
    border: 1px solid #C4942F;
    margin-top: 20px;
}

#historyPage .box h4 {
    background: white;
    text-align: center;
    font-family: 'Karla', sans-serif;
    font-size: 20px;
    padding: 5px 0;
}

#historyPage .box p {
    padding: 10px;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: white;
}

#historyPage .boxes .box.competitions p.left,
#historyPage .boxes .box.competitions p.right {
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
}

#historyPage .boxes .box.competitions p.left {
    float: left;
}

#historyPage .boxes .box.competitions p.right {
    float: right;
}

#historyPage .boxes .box.competitions div {
    display: flow-root;
    margin: 15px 0;
}

#historyPage .boxes .box.competitions div.with-bg {
    background: rgba(0, 0, 0,0.3)
}

/********timeline*********/

.timeline {
    background-image: url("../img/timeline-bcg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.timeline .timeline-wrapper {
    padding-top: 40px;
}

.timeline .timeline-wrapper .timeline-item {
    padding: 15px 0 5px;
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
    border-top: 2px solid #000000;
}

/*.timeline .timeline-wrapper .timeline-item:first-child {*/
/*    border-left: 2px solid #000000;*/
/*    border-top: 2px solid transparent;*/
/*    border-right: 2px solid transparent;*/
/*}*/


.timeline .timeline-wrapper .timeline-item:nth-child(odd) {
    border-right: 2px solid transparent;
}

.timeline .timeline-wrapper .timeline-item:nth-child(even ) {
    border-left: 2px solid transparent;
    border-right: 2px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.timeline .timeline-wrapper .timeline-item:nth-child(even ) h2 {
    justify-content: right;
    margin-right: 10px;
}

.timeline .timeline-wrapper .timeline-item:nth-child(even ) h2:after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 0;
    background: linear-gradient(0deg, #C4942F 0%, #FAD383 25%, #FFE6B1 49.3%, #FBD78D 74.48%, #C4942F 100%),
    linear-gradient(0deg, #C4942F 0%, #FAD383 25%, #FFE6B1 49.3%, #FBD78D 74.48%, #C4942F 100%);
    position: relative;
    right: -18px;
}

.timeline .timeline-wrapper .timeline-item:nth-child(odd) h2:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 0;
    background: linear-gradient(0deg, #C4942F 0%, #FAD383 25%, #FFE6B1 49.3%, #FBD78D 74.48%, #C4942F 100%),
    linear-gradient(0deg, #C4942F 0%, #FAD383 25%, #FFE6B1 49.3%, #FBD78D 74.48%, #C4942F 100%);
    position: relative;
    left: -18px;
}

.timeline .timeline-wrapper .timeline-item:nth-child(even ) p {
    text-align: right;
}

/*.timeline .timeline-wrapper .timeline-item:last-child {*/
/*    border-left: 2px solid #000000;*/
/*    border-top: 2px solid #000000;*/
/*    border-right: 2px solid transparent;*/
/*}*/

.timeline .timeline-wrapper .timeline-item h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    color: #C4942F;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #C4942F;
    width: fit-content;
    margin-left: 10px;
}

.timeline .timeline-wrapper .timeline-item:nth-child(odd) p {
    font-family: 'Karla';
    padding-left: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    text-align: left;
    color: #000000;
}

.timeline .timeline-wrapper .timeline-item:nth-child(even) p {
    font-family: 'Karla';
    padding-right: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    text-align: right;
    color: #000000;
}

.timeline .button {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}
.timeline .button a {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    color: #C4942F;

}

.timeline .button a img {
    margin-left: 15px;
}

@media (max-width: 680px) {
    #historyPage .trophies .trophy {
        display: flex;
        flex-wrap: wrap;
    }
    #historyPage .boxes.left, #historyPage .boxes.right {
        width: 100%;
    }

    #historyPage .tab-buttons {
        width: 100%;
    }

    #historyPage .tab-buttons a:not(:first-child) {
        margin-left: 0;
    }

    #historyPage .tab-buttons .tab-button {
        width: 100%;
        margin-bottom: 20px;
    }

    #historyPage .trophies::after {
        display: none;
    }

    #historyPage .trophies {
        padding: 40px;
    }
}


