/* --- Styling for the index.html --- */
:root {
  --title-text: #699ed9;
  --orange: #fe6c6d;
  --cream: #fed8d7;
  --blue: #0066cb;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  overflow: hidden;
}

main {
  position: absolute;
  top: 0;
  box-sizing: border-box;
  left: 0;
  height: 100%;
  width: 100%;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 99vw;
}

#triangle1 {
  position: absolute;
  width: 0;
  height: 0;
  top: 10vw;
  left: 5vw;
  border-left: 15vw solid transparent;
  border-right: 15vw solid transparent;
  border-bottom: 15vw solid #FFD7D7;
  border-radius: 0;
  transform: rotate(-62.8deg);
  background: none;
}
#triangle2 {
  position: absolute;
  width: 0;
  height: 0;
  top: 30vw;
  left: 23vw;
  border-left: 20vw solid transparent;
  border-right: 15vw solid transparent;
  border-bottom: 15vw solid #FF6D6D;
  border-radius: 0;
  transform: rotate(110deg);
  background: none;
}
#triangle3 {
  position: absolute;
  width: 0;
  height: 0;
  top: 25vw;
  left: 45vw;
  border-left: 15vw solid transparent;
  border-right: 15vw solid transparent;
  border-bottom: 15vw solid #0066CC;
  border-radius: 0;
  transform: rotate(70.48deg);
  background: none;
}
#triangle4 {
  position: absolute;
  width: 0;
  height: 0;
  top: 15vw;
  left: 55vw;
  border-left: 10vw solid transparent;
  border-right: 10vw solid transparent;
  border-bottom: 10vw solid #1A4772;
  border-radius: 0;
  transform: rotate(25.48deg);
  background: none;
}
#triangle5 {
  position: absolute;
  width: 0;
  height: 0;
  top: 6vw;
  left: 47vw;
  border-left: 11vw solid transparent;
  border-right: 11vw solid transparent;
  border-bottom: 11vw solid #1A2E54;
  border-radius: 0;
  transform: rotate(205.96deg);
  background: none;
}
#triangle6 {
  position: absolute;
  width: 0;
  height: 0;
  top: -8vw;
  left: 50vw;
  border-left: 20vw solid transparent;
  border-right: 14vw solid transparent;
  border-bottom: 14vw solid #7A87A7;
  border-radius: 0;
  transform: rotate(25deg);
  background: none;
}
#triangle7 {
  position: absolute;
  width: 0;
  height: 0;
  left: 80vw;
  border-left: 8vw solid transparent;
  border-right: 8vw solid transparent;
  border-bottom: 8vw solid #D0E6FA;
  border-radius: 0;
  transform: rotate(-40deg);
  background: none;
}
#triangle8 {
  position: absolute;
  width: 0;
  height: 0;
  left: 85vw;
  top: 12vw;
  border-left: 11vw solid transparent;
  border-right: 11vw solid transparent;
  border-bottom: 11vw solid #D4E5F7;
  border-radius: 0;
  transform: rotate(-77.39deg);
  background: none;
}
#htl-logo {
  position: absolute;
  left: 2%;
  bottom: 2%;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}
#htl-logo > img {
  width: 100%;
  height: auto;
}


#gitLogo {
  position: absolute;
  top: 4%;
  left: 2%;
  width: 220px; /* 20%; */
  object-fit: contain;
  user-select: none;
  cursor: pointer;
}

#container #btn-box {
  display: flex;
  flex-direction: column;
}
#container #btn-box > a {
  cursor: pointer;
  margin-bottom: 3%;
  border-radius: 5em;
  border: none;
  padding: 5% 0;
  color: white;
  font-size: 1em;
  transition: 0.3s linear;
  text-decoration: none;
}
#container #btn-box > a > p {
  margin: 0;
  font-size: 1.5em;
  text-align: center;
}
#container #btn-box > a:nth-child(1) {
  width: 95%;
  background-color: var(--blue);
}
#container #btn-box > a:nth-child(2) {
  width: 85%;
  color: rgb(54, 54, 54);
  background-color: var(--orange);
}
#container #btn-box > a:nth-child(3) {
  width: 75%;
  background-color: var(--orange);
}
#container #btn-box > a:hover {
  transform: scaleX(105%) translateX(2.5%);
}

/*^----------------^*/

#containerRight {
  z-index: 2;
  position: absolute;
  top: 0;
  right: 2%;
  width: 29%;
  height: 105%;
  padding: 0 0 5% 4%;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-end;
}
#containerRight #btn-box {
  display: flex;
  align-items: end;
  flex-direction: column;
}
#containerRight #btn-box > a {
  cursor: pointer;
  margin-bottom: 3%;
  border-radius: 5em;
  border: none;
  padding: 0;
  height: 8vh;
  color: white;
  font-size: 1em;
  transition: 0.3s linear;
  text-decoration: none;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
#containerRight #btn-box > a > p {
  margin: 0;
  font-size: 1.5em;
  text-align: center;
}
#containerRight #btn-box > a:nth-child(1) {
  width: 95%;
  background-color: var(--blue);
}
#containerRight #btn-box > a:nth-child(2) {
  width: 85%;
  color: white;
  background-color: var(--orange);
}
#containerRight #btn-box > a:hover {
  transform: scaleX(105%) translateX(-2.5%);
}


/* Download-Button styling */
.download-button {
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}

.button-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20vw;
    height: 20vw;
    max-width: 200px;
    max-height: 200px;
    /* background-color: rgba(128, 128, 128, 0.68); */
    background-color:#1a2e54e1;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
    user-select: none;
}

.button-text {
  text-align: center;
    color: white;
    font-size: 1.8vw;
    text-transform: lowercase;
    font-weight: 800;
    z-index: 2;
    -webkit-text-stroke: 1px #1A2E54;
    /* 1px var(--blue); */
    
}

.button-circle:hover {
    transform: scale(1.05);
}

#button-logo {
    position: absolute;
    z-index: 1;
    width: 5vw;
    transition: 0.3s;
}
/* ANIMATION */

.placeholder-boxes-container-dynamic {
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    z-index: 40;
    pointer-events: none;
    z-index: -10;
    transition: 0.3s ease-out;
}

.placeholder-box-dynamic {
    position: absolute;
    z-index: 10;
    /* background-color: #7f7f7f; */
    background-color:#1a2e54;
    color: white;
    /* padding: 15px 15px; */
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transform: translate(-50%, -50%) scale(0.1);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    cursor: pointer;
    width: 156px;
    height: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    transition: 0.3s;
    padding: 0.3vh;
    user-select: none;
}
.placeholder-box-dynamic:hover {
    /* width: 170px;
    height: 60px; */
    padding: 1vh;
}

.placeholder-boxes-container-dynamic.expanded, .placeholder-boxes-container-dynamic.expanded .placeholder-box-dynamic {
    z-index: 20;
}

.button-circle.pressed {
    transform: scale(0.98);
    transition: transform 0.3s ease-out;
}
.content {
    position: relative;
    z-index: -100;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (width < 1000px) {

  .button-text {
    font-size: 3vw;
  }

  .content {
    width: 100vw;
    height: 60vh;
    max-height: 480px;
  }

  .download-button {
    top: 42vh;
  }

  .placeholder-boxes-container-dynamic {
    top: 42vh;
    scale: 0.8
  }


  #containerRight {
    width: 80%;
    height: 24vh;
    top: auto;
    bottom: 0px;
    margin: 0;
    padding: 0;
  }

  #containerRight #btn-box {
    max-height: 100%;
    box-sizing: border-box;
  }

  #containerRight #btn-box a {
    max-height: 40%;
  }

}


@media (width < 600px) {

  #gitLogo {
    width: 178px;
  }

  .placeholder-boxes-container-dynamic {
    scale: 0.6;
  }

}

@media (width < 450px) {

  #gitLogo {
    width: 170px;
  }
  .placeholder-boxes-container-dynamic {
    scale: 0.5;
  }

}