
/*profile box in about page*/
.profile-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0px 0px 5px #ccc;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: var(--min-width-profile-box, 0);
}
* {
  box-sizing: border-box;
}

.profile-box img {
  width: min(150px, 36vw);
  height: min(150px, 36vw);
  border-radius: 50%;
  margin-right: 1.5em;
  object-fit: cover;
}

.profile-box h2 {
  font-size: min(6vw, 24px);
  margin-bottom: 10px;
}

.profile-box p {
  font-size: min(3vw, 16px);
  text-align: center;
}
.profile-box-text {
  flex: 1;
  font-family: roboto;
}


/*links in about page*/
.links-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 100%;
}
.links-container > div > a:hover {
  border-radius: 0.3em;
}
.links-container > div {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 13em;
  font-size: 1.5rem;
}
.links-container > div > a {
  display: flex;
  margin: 0.3em;
  padding: 0.15em 0.6em;
  box-sizing: border-box;
  width: calc(100% - 1em);
  align-self: center;
  border-radius: 0.75em;
  background-color: hsl(215, 75%, 50%);;
  text-decoration: none;
  color: hsl(215, 100%, 95%);
  transition: border-radius 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 11em;
}
.links-container > div > a > img{
  height: 1.6em;
  width: 1.6em;
  padding: 0.2em;
  filter: invert(97%) sepia(96%) saturate(2553%) hue-rotate(178deg) brightness(105%) contrast(108%);
}
.links-container > div > a > span {
  display: block;
  margin: auto auto;
  font-family: Gantari;
  text-decoration: none;
}
.links-container > div > a.trello-link {
  background-color: hsl(202, 100%, 37%);
}
.links-container > div > a.discord-link {
  background-color: hsl(235, 83%, 59%);
}
.links-container > div > a.mcpedl-link {
  background-color: hsl(136, 99%, 33%);
}
.links-container > div > a.github-link {
  background-color: hsl(0, 10%, 10%);
}
.links-container > div > a.reddit-link {
  background-color: hsl(16, 100%, 50%);
}
.links-container > div > a.instagram-link {
  background-color: var(--ig-background-color, hsl(328, 60%, 49%));
}
.links-container > div > a.twitter-link {
  background-color: hsl(203, 79%, 53%);
}
.links-container > div > a.youtube-link {
  background-color: hsl(0, 100%, 50%);
}
.links-container > div > a.youtube-link > img {
  filter: none;
}
.links-container > div > a.linkedin-link {
  background-color:hsl(210, 90%, 40%); 
}
/*nicely done text*/
.center-part {
  width: 100%;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  padding: 16px;
  margin: 0 auto;
  align-items: center;
  width: 70%;
  font-family: Ubuntu;
  font-size: 2rem;
  font-weight: 750;
  text-align: center;
}

/*smooth hover animations*/
* {
  transition-duration: 0.2s;
  transition-property: background-color, color, border-color, text-shadow, box-shadow;
}
/*genral body (ubuntu is le best)*/
body {
  font-family: Ubuntu;
  font-size: 2rem;
  font-weight: 750;
  text-align: center;
}

/*navigation bar*/

.navbar div > a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  border-radius: 0.7em;
  text-decoration: none;
}
.navbar div > a:hover {
  background-color: #111;
}
.navbar {
  background-color: #333;
  border-radius: 2em;
  margin: 0.5em;

  display: flex;
  flex-wrap: wrap;

  justify-content: flex-start;
  align-items: center;
  padding: 10px;
}
.navbar .child-navbar {
  display: flex;
  flex-wrap: wrap;

  margin-left: -5rem; 
  justify-content: flex-start;
  align-items: center;

}
.navbar .empty-nav-div {
  flex: 1;
}
.nav-large {
  justify-content: center;
}
.nav-large .child-navbar {
  justify-content: center;
  margin:0;
}
.nav-large .empty-nav-div {
  display: none;
}
.navbar .home-Ico{
  background-image: url(/favicon.ico);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 0;
  height: 5rem;
  width: 5rem;
  margin: 0;
  padding: 0;
  border-radius: 42%;
}

.remove-margin {
  margin: 0 !important;
}
.navbar a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}


/*timeline lines and boxes*/
.vertical-line {
  /*height: 500vh; /* set height to fill the viewport */
  flex-grow: 1;
  /*make it curved only on top*/
  width: 0;
  border: min(20px, 3vw) solid black;
  border-top-left-radius: min(20px, 3vw);
  border-top-right-radius: min(20px, 3vw);
  --min-width-profile-box: 0;
  border-bottom-left-radius: min(20px,3vw);
  border-bottom-right-radius: min(20px,3vw);
}
.vertical-container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 50%;
  padding: 10px;
}
.main {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.simple-main{
  display: flex;
  flex-direction: column;
}
.branch-left {
  margin-top: 0.5em;
  margin-left: var(--distance-from-side, 5em);
  width: calc(100% - 30px - var(--distance-from-side, 5em));
  border: 20px solid black;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  height: 0;
}
.branch-right {
  margin-top: 0.5em;
  margin-right: var(--distance-from-side, 5em);
  width: calc(100%-10px);
  margin-left: -10px;
  border: 20px solid black;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  height: 0;
}
.empty-space {
  flex-basis: var(--empty-space-height, 100px);
  height: var(--empty-space-height, 100px);
}

/*vertical timeline box*/
.vertical-timeline-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0px 0px 5px #ccc;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: var(--min-width-profile-box, 0);
  justify-content: center;
}

.vertical-timeline-box img {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  object-fit: cover;
}

.vertical-timeline-box h2 {
  font-size: min(5.5vw, 24px);
  text-align: center;
  margin-bottom: 10px;
}

.vertical-timeline-box p {
  font-size: min(4vw, 16px);
  text-align: center;
}
.vertical-timeline-box-text {
  flex: 1;
  font-family: roboto;
}

.sidetoside {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}
.header-container{
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}
.header-container > a {
  display: inline-block;
  width: 3.3em;
  height: 3.3em;
}
.header-container > h2 {
  flex-grow: 1;
}
.header-container > a > img {
  object-fit: cover;
  width: 100%;
  height: auto;
}
.empty-header-container{
  width: 3.3em;
  height: 3.3em;
}
@media screen and (max-width: 768px) {
  .empty-header-container{
    width: 0;
    height: 0;
  }
  .header-container > a {
    margin-right: 0.5em;
    width: max(40%, 2.7em);
    height: auto;
  }
}
@media screen and (max-width: 550px) {
  .header-container{
    flex-direction: column;
    align-items: center;
  }
  .header-container > a {
    padding: 0.2em;
    margin-right: 0;
    width: 100%;
    height: 100%;
  }
  .vertical-timeline-box {
    padding: 0.1em;
  }
}