ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  p{
    margin-top: 0px;
    margin-bottom: 5px;
  }
  
  /* for the banner ///////////////////////////////////////////////*/
  
  
  .body-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0px;
  }
  
  .banner-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #2b303a;
    max-width: 1600px;
  }
  
  .banner {
    text-decoration: none;
    background-color: #AFF;
    color: #2b303a;
    padding: 0.9%;
    border-radius: 6px 4px 15px 4px;
    font-size: 100%;
    margin: 1px;
    min-width: 55px;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
  
  }
  
  .banner:hover {
    text-decoration: none;
    background-color: #2ff;
  }
  
  .banner a:visited {
    text-decoration: none;
  }
  
  .banner a:link {
    text-decoration: none;
  }
  
  #name:hover {
    background-color: #aff;
  }
  
  



  #tlhead {
    width: 100%;
  }
  
  p {
    width: 100%;
    margin-left: 5%;
    margin-right: 5%;
  }
  
  h1 {
    text-align: center;
    font-weight: bold;
  
  }
  body {
    font-family: Arial, Helvetica, sans-serif;
    background-repeat: no-repeat;
    background-image: linear-gradient(205deg, cyan, #0088FFBB);
    background-image: url("../media/BackgroundTest.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin: auto;
    padding: 0;
    height: 100%;
    max-width: 1600px;
  }
  html {
    min-height: 100vh;
    overflow-y: scroll;
  }
  
  
  footer {
    text-align: center;
    
    background-color: #ffffff9f;
    
    border-radius: 15px;
    margin: auto;
    
    width: 250px;
    padding-top: 12px;
    padding-bottom: 1px;
    padding-left: 50px;
    padding-right: 50px;
  }
  
  head {
    font-family: Arial, Helvetica, sans-serif;
  }
  
  @media only screen and (max-width: 600px) {
    #name {
      display: none;
    }
    .banner {
      
    }
    #webtitle {
      font-size: 250%;
    }
    #sub1 {
      margin-right: 150px;
    }
    
    #sub2 {
      margin-left: 150px;
    }
    h1 {
      font-size: 150%;
    }
  }
  




  span {
    display: none;
  }
  ul {
    list-style-type: none;
  }
  
  footer {
    text-align: center;
    h4 {
      font-size: 80%;
      color: #35353b;
    }
  }
  
  
  h2 {
    text-align: center;
    opacity: 100%;
  }
  h3 {
    text-align: left;
  }
  
  
  






















  /* The actual timeline (the vertical ruler) */
  .timeline-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1600px;
    margin: 0;
    width: 100%;
    

    /*timeline ruler*/
    background-image: linear-gradient(#000, #000);
    background-size: 6px 100%;
    background-repeat: no-repeat;
    background-position: center center;
  }

  
  /* Container around content */
  .container {
    flex: 50%;
  }
  
  /* The circles on the timeline */
  /*
  .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #FF9F55;
    border-radius: 50%;
    z-index: 1;
  }
  */
  /* Place the container to the left */
  
  .left {
    align-self: flex-start;
    width: 50%;
  }
  
  /* Place the container to the right */
  
  .right {
    align-self: flex-end;
    width: 50%;
  }
  
  .center {
    align-self: flex-end;
    width: 50%;
    padding-right: 25%;
  }

  /* Add arrows to the left container (pointing right) */

  
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    margin: 20px -40px;
    width: 0;
    z-index: 1;
    left: 50%;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }

  

  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    margin: 20px -40px;
    width: 0;
    z-index: 1;
    right: 50%;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }


  .left::after, .right::after {
    content: " ";
    width: 25px;
    height: 25px;
    position: absolute;
    margin-top: 10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;

    border-radius: 50%;
    background-color: white;
    border: solid 5px;
    border-color: orange;
  }
  
  /* The actual content */
  .content {
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: white;
    position: relative;
    border-radius: 8px 6px 20px 6px;
    margin: 10px 40px;

    text-decoration: none;
    color: black;
  }

  .text-tl{
    width: 70%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .inside-content {
    min-width: 50%;
    max-width: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0;
  }
  .tl-img {
    width: 30%;
    align-self: center;
    border-radius: 15px;
  }
  /*
  .container:hover {
    text-decoration: none;
    background-color: #2ff;
  }
  
  .container a:visited {
    text-decoration: none;
  }
  
  .container a:link {
    text-decoration: none;
  }
  */
  
  /* Media queries - Responsive timeline on screens less than 600px wide */





  /*

  .clicker {
    width: 100px;
    height: 100px;
    background-color: blue;
    outline: none;
    cursor: pointer;
    color:#FFF;
    display:block;
  }
  
  .container {
    display: flex;
    background-color: green;
  }
  
  .clicker:focus+.right {
    display: none;
  }
  input#cmn-toggle-7:checked + label + div{
   display:block;
  }
  

  .container{display:none;}
  #hide:checked~.container{display:flex;}
  */


  /* Hide the left containers when the checkbox is checked */
input[type="checkbox"].hideLContainer {
  display: none;
}

/* Default state of the containers */
.container.left {
  display: none;
}

/* Hide the left containers when checkbox is checked */
input[type="checkbox"].hideLContainer:checked ~ .timeline-container .container.left {
  display: flex;
}
input[type="checkbox"].hideLContainer:checked ~ #left-label {
  background-color: lime;
}
#left-label::before {
  content: 'Show ';
}
input[type="checkbox"].hideLContainer:checked ~ #left-label::before {
  content: 'Hide ';
}



/*Electronics button changing state*/
input[type="checkbox"].hideRContainer {
  display: none;
}
/* Default state of the containers */
.container.right {
  display: flex;
}
/* Hide the left containers when checkbox is checked */
input[type="checkbox"].hideRContainer:checked ~ .timeline-container .container.right {
  display: none;
}
input[type="checkbox"].hideRContainer:checked ~ #right-label {
  background-color: tomato;
}
/*change text in the container*/
#right-label::before {
  content: 'Hide ';
}
input[type="checkbox"].hideRContainer:checked ~ #right-label::before {
  content: 'Show ';
}
.hide-button::after {
  content: ' Projects';
}


.hide-button {
  margin: auto;
  min-width: 190px;
  padding: 8px;
  text-align: center;
  background-color: lime;
  border-radius: 50px;
}

#left-label {
  background-color: tomato;
}
.title-container {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.title-content {
  width: 50%;
}




/*mobile*/
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  #name {
    display: none;
  }
  .timeline-container {

  background-image: linear-gradient(#000, #000);
  background-size: 6px 100%;
  background-repeat: no-repeat;
  background-position: center left;
  margin-left: 20px;
  }
  
  /* Full-width containers */
  .container {
  width: 100%;
  }

  .content {
    margin: 10px 10px;
    margin-left: 30px;
    padding: 5px 10px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 80px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 0;
    right: 0;
    margin-left: 6px;
    margin-right: auto;
  }
  
  /* Make all right containers behave like the left ones */
  .right, .center {
  left: 0%;
  align-self: flex-start;
  }
  .date {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 5px;
    font-size: 18px;
  }
  .title {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 5px;
    margin-left: 5px;
    font-size: 16px;
  }
  .desc {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 0px;
    font-size: 14px;
  }
  .hide-button {
    font-size: 14px;
  }
  .hide-button {
    min-width: 130px;
  }
  .hide-button::after {
    content: '';
  }
  .text-tl{
    width: 60%;
  }
  .tl-img {
    width: 40%;
  }
}



@media only screen and (max-width: 850px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: flex;
    justify-content: center;
    font-size: 140%;
  }
}

@media only screen and (max-width: 400px) {
  .mobile {
    font-size: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
