ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
}



/* for the banner ///////////////////////////////////////////////*/


.body-container {
  display: flex;
  flex-direction: column;
  margin: 0px;
  background-color: #ffffff9f;
  border-radius: 25px;
}

.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;
}



p {
  padding-left: 5%;
  padding-right: 5%;
  text-align: center;
}

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;
  /*position: absolute;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  width: 1000px;
  bottom: 0;
  */
}

head {
  font-family: Arial, Helvetica, sans-serif;
}

#sub1 {
  margin-right: 300px;
  margin-top: 0px;
  margin-bottom: 0px;
}

#sub2 {
  margin-left: 300px;
  margin-top: 0px;
  margin-bottom: 0px;
}



@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;
  }
}

footer {
  text-align: center;
  
  background-color: #ffffff9f;
  
  border-radius: 15px;
  margin: auto;
  
  margin-top: 20px;
  width: 250px;
  padding-top: 12px;
  padding-bottom: 1px;
  padding-left: 50px;
  padding-right: 50px;
}




.projects-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-weight: bold;
  color: #2b303a;
  max-width: 1600px;
}

.section-link {
  position: absolute;
  width: 100%;
  text-decoration: none;
  max-width: 1600px;
}







.desktop {
  color: #fef5e9;
}

.mobile {
  display: none;
  color: #eee5e9;
}



#Lego {
  background-color: #EE5a5f;
  clip-path: polygon(
      0 0,
      calc(33% + 10px) 0,
      calc(33% - 10px) 100%,
      0 100%
    );
    h2 {
      text-align: center;
      margin-right: 67%;
    }
    
}

#Electronics {
/*    width: 34%;*/
    background-color: #3a86ff;
    clip-path: polygon(
      calc(33% + 10px) 0,
      calc(66% + 10px) 0,
      calc(66% - 10px) 100%,
      calc(33% - 10px) 100%
    );
}

#Misc {
  background-color: #2b303a;
  clip-path: polygon(
    calc(66% + 10px) 0,
      100% 0,
      100% 100%,
      calc(66% - 10px) 100%
    );
    h2 {
      text-align: center;
      margin-left: 67%;
    }
}

.tldata {
  list-style-type: none;
}


h2 {
  text-align: center;
  opacity: 100%;
  margin-top: 10px;
  margin-bottom: 10px
}



#projects-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.projects {
  display: flex;
  width: 200px;
  justify-content: center;
  background-color: #40476d;
  color: #eee5e9;
  text-decoration: none;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 3px;
  border-radius: 6px 4px 15px 4px;

}


/* for the award winning ///////////////////*/
#main-award {
  margin: 50px 0 0 0;
}

.award-container {
  display: flex;
  flex-direction: row;
}

.award {
  width: 33%;
  text-align: center;
  margin: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee5e988;
  p {
    padding: 5px;
    margin: 5px;
    background-color: #ffffffbb;
    border-radius: 15px;
  }
  border-radius: 20px;
}

.tl-img {
  max-width: 95%;
  align-self: center;
  border-radius: 15px;
}

.lego-split {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  .lego-compilation {
    width: 50%;
    text-align: center;
    max-width: 90%;
  }
}

#first {
  background-color: #ffd70066;
  .tl-img {
    margin-top: 10%;
  }
}

#second {
  margin-top: 50px;
  background-color: #c0c0c099;
  .tl-img {
    margin-top: 10%;
  }
}

#third {
  margin-top: 100px;
  background-color: #cd7f3288;
}





@media only screen and (max-width: 850px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: flex;
    justify-content: center;
    font-size: 140%;
  }
  
  /* for the award winning ///////////////////*/
  .award-container {
    display: flex;
    flex-direction: column;
    margin: 0px;
    align-items: center;
  }

  .award {
    width: 80%;
    text-align: center;
    margin: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #eee5e988;
    p {
      padding: 5px;
      margin: 5px;
      background-color: #ffffffbb;
      border-radius: 15px;
    }
    border-radius: 20px;
  }

  .award-container :nth-child(2) {order: -1;}

  .tl-img {
    max-width: 95%;
    align-self: center;
    border-radius: 15px;
  }

  #first {
    margin-top: 0px;
    background-color: #ffd70066;
    .tl-img {
      margin-top: 10%;
    }
  }

  #second {
    margin-top: 0px;
    background-color: #c0c0c099;
    .tl-img {
      margin-top: 10%;
    }
  }

  #third {
    margin-top: 0px;
    background-color: #cd7f3288;
  }
}


@media only screen and (max-width: 600px) {
  #name {
    display: none;
  }
  .award {
    width: 90%;
  }
}

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

#all-projects {
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 50px;
  padding-top: 15px;
  padding-bottom: 65px;
  background-color: black;

  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  
  background-image: repeating-linear-gradient(90deg, #ff0 0 25px, #0000 0 55px);
  background-size: 100% 8px;
  background-repeat: no-repeat;
  background-position: center center;

  border-radius: 20px;
}

.legacy-img {
  width: 80%;
  border-radius: 10px;
}



.shortcut-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}


.legacy-container {
  columns: 3 200px;
  column-gap: 1%;
  margin: 1%;
  div {
    width: 150px;
    background: #FF45002B;
    color: white;
    margin: 0 1rem 1rem 0;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-family: system-ui;
    font-weight: 600;
    font-size: 1.3rem;
  } 

  .text-tl {
    background: #aa440088;
  }


  
  div {
    position: relative;
    overflow: hidden;
    clip-path: polygon(
      0 40px,
      40px 0,
      100% 0,
      100% calc(100% - 40px),
      calc(100% - 40px) 100%,
      0 100%
    );
  }
  .legacy:hover {
    background: #FFD7005B;
    div {
      background: #DD94005B;
    }
    .text-tl {
      background: #aa940098;
    }
  }
}

.digital-legacy {
  background: #FFD7005B;
  position: relative;
    overflow: hidden;
    clip-path: polygon(
      0 40px,
      40px 0,
      100% 0,
      100% calc(100% - 40px),
      calc(100% - 40px) 100%,
      0 100%
    );

    margin: 0 20% 0 20%;
}




@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%;
  }
  .body-container{
    align-items: center;
  }

  #logo {
    max-width: 300px;
  }

  .digital-legacy {
    margin: 0 20% 0 20%;
    clip-path: polygon(
      0 20px,
      20px 0,
      100% 0,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      0 100%
    );
  }

  .legacy-container {
    display: flex;
    flex-direction: column;
    columns: 1 100px;
    align-items: center;
    margin: 0;
    .legacy {
      max-width: 400px;
      margin: 0.5% 0.5% 0.5% 0.5%;
    }
  }
  
  .legacy-img {
    width: 80%px;
  }

  .shortcut-links {
    flex-direction: column;
  }
}