
/* :root {
  --primary-color: #212121;
  --background-color: #111;
  --font: sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background-color);
  font-family: var(--font);
  display: flex;
  justify-content: center;
} */

.button2 {
    text-align: center;
    padding: 5px;
    z-index: 999;
    background-color: #1e81b0;
    border-radius: 25px;
}
.buttonA {
    font-weight: 600;
}

/* Timeline Container */
.TLtimeline {
  background: var(--primary-color);
  /* margin: 20px auto; */
  padding: 60px;
  display: flex;
  background-color: #383838;
  justify-content: center;
  align-items: center;
  /* text-align: center; */
}

.TLphoto {
  display: block;
  filter: sepia(70%) opacity(80%);
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  position: relative;
  background-color: #1e1d1c;
  text-align: center;
  max-width: 50%;
  border-radius: 25%;
  /* text-align: center; */
}

/* Card container */
.TLcard {
  position: relative;
  max-width: 600px;
}

/* setting padding based on even or odd */
.TLcard:nth-child(odd) {
  padding: 30px 0 30px 30px;
}
.TLcard:nth-child(even) {
  padding: 30px 30px 30px 0;
}
/* Global ::before */
.TLcard::before {
  content: "";
  position: absolute;
  width: 50%;
  border: solid #1e81b0;
}

/* Setting the border of top, bottom, left */
.TLcard:nth-child(odd)::before {
  left: 0px;
  top: -5px;
  bottom: -5px;
  border-width: 5px 0 5px 5px;
  border-radius: 25px 0 0 25px;
}

/* Setting the border of top, bottom, right */
.TLcard:nth-child(even)::before {
  right: 0;
  top: 0;
  bottom: 0;
  border-width: 5px 5px 5px 0;
  border-radius: 0 25px 25px 0;
}

/* Removing the border if it is the first card */
.TLcard:first-child::before {
  border-top: 0;
  border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.TLcard:last-child:nth-child(odd)::before {
  border-bottom: 0;
  border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.TLcard:last-child:nth-child(even)::before {
  border-bottom: 0;
  border-bottom-right-radius: 0;
}

/* Information about the timeline */
.cssinfo {
  display: flex;
  flex-direction: column;
  background: #252323;
  color: gray;
  border-radius: 25px;
  padding: 20px;
}

/* Title of the card */
.TLtitle {
  color: #1e81b0;
  font-size: 1.5rem;
  position: relative;
}

/* Timeline dot  */
.TLtitle::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 999px;
  border: 3px solid #1e81b0;
}

/* text right if the card is even  */
.TLcard:nth-child(even) > .cssinfo > .TLtitle {
  text-align: right;
}

/* setting dot to the left if the card is odd */
.TLcard:nth-child(odd) > .cssinfo > .TLtitle::before {
  left: -55px;
}

/* setting dot to the right if the card is odd */
.TLcard:nth-child(even) > .cssinfo > .TLtitle::before {
  right: -55px;
}
