@keyframes flyin {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  
}

@keyframes flyInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  
}

@media (max-height: 649px) and (min-width: 751px) {
  #focus {
    flex-direction: row !important;
    justify-content: space-around !important;
    
  }
  .part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;

  }
}

@media (min-width: 700px) {
  .screenshot {
    display: flex;
    flex-direction: row;
  }
  
  .infos {
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
}
.box {
    max-width: 63vh;
}
}

@media (max-height: 615px) {
  #focus {
    height: 100vh !important;
  }
}

@media screen and (max-width: 768px) {
  .box {
      max-width: 90vw;
  }
  .infos {
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }
}

@keyframes bodyIntro {
  0% {
    backdrop-filter: blur(0px);
    
  }
  100% {
    backdrop-filter: blur(5px);
  }
  
}

body {
  animation: bodyIntro 1.5s ease-in-out;
}



p {
  margin: 1rem;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: var(--link-text-color);
  transition: text-shadow 0.3s, transform 0.3s;
  font-weight: bold;
}

a:hover {
  text-shadow: 0 0px 2px rgba(255, 255, 255, 0.874);
}


button {
  font-family: 'Overlock', 'Arial', sans-serif;
  background-color: var(--action-color);
  color: var(--link-text-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.4rem;
  font-size: 1rem;
}

section {
  /* min-height: 100vh; */
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

.section {
  min-height: 100vh;
  background-color: var(--primary-color);
  box-shadow: inset 0 0px 2px 0px rgba(255, 255, 255, 0.274);
  border-radius: 20px;
  margin: 2rem 2vw;
  padding: 5rem 2rem;
  display: block;
  text-align: left;
}

#about {
  scroll-margin-top: 50px;
}


header {
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  left: 50%;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
  transition: transform 0.3s ease-in-out;
}

header.hidden {
  transform: translateY(-100%);
}

header.visible {
  transform: translateY(0);
}

#headcontent {
  width: 95%;
  max-width: fit-content;
  text-align: left;
  display: flex;
  justify-content: start;
  overflow-x: scroll;
  background-color: #28323365;
  backdrop-filter: blur(10px);
  padding: 1rem 1rem;
  border-radius: 100px;
  box-shadow: 0 0px 2px 0px rgba(255, 255, 255, 0.274);
  scrollbar-width: none;
}



#headcontent::-webkit-scrollbar {
  display: none;
}

#headcontent nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

#headcontent nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s, padding 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

#headcontent nav ul li a.active {
  background-color: var(--action-hover-color);
  padding: 0.5rem 1rem; 
}

.flyin {
  animation: flyInUp 0.5s ease-out;
}

#focus {
  background-color: #03252100;
  color: #dcffff;
  padding: 2rem 1rem 0 1rem;
  height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.focus-image {
  width: 50%;
  max-width: 600px;
  height: auto;
  margin-bottom: 2rem;
  animation: flyInUp 1.5s ease-in-out;
}
.focus-image {
  width: 100%;
  height: auto;
}
.focus-image:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

.focus-image:active {
  transform: scale(0.95);
} 

#focus h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#focus p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

#focus .btn {
  width: 12rem;
}

.part {
  width: 50vh;
  margin: 0;
  padding: 0;
}

.CAT {
  margin: 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}




.btn {
  padding: 0.8rem 1.2rem;
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: bold;
  border: none;
  outline: none;
  transition: background-color 0.3s, scale 0.3s, translate 0.3s, box-shadow 0.3s;
  cursor: pointer;
  margin: 0.5rem;
}

.btn.action {
  background-color: var(--action-color);
  box-shadow: 0 0px 2px 0px rgba(255, 255, 255, 0.274);
}

.btn.action:hover {
  translate: 0 -4px;
  box-shadow: 0 4px 4px 0px rgba(255, 255, 255, 0.274);
}

.btn:hover {
  background-color: var(--action-hover-color);
}

section {
  padding: 2rem 1rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

section ul {
  list-style: none;
  padding: 0;
}

section ol {
  padding: 0;
}

section ul li {
  margin: 0.5rem 0;
}

section ol li {
  margin: 0.5rem 0;
}


.infos {
  display: flex;
  align-items: center;
}

.box {
  background-color: var(--box-color);
  padding: 1rem;
  border-radius: 31px;
  box-shadow: inset -1px -1px 3px 0px rgba(255, 255, 255, 0.274),
    inset 1px 1px 3px 0px rgba(255, 255, 255, 0.274);
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: translate 0.3s, box-shadow 0.3s;
}

.box:hover {
  translate: 0 -4px;
  /* box-shadow: 0 4px 4px 0px rgba(255, 255, 255, 0.274); */
}
.boxTxt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0.5rem;
  line-height: 1.5;
}

.techTxt {
  align-items: flex-start;
}

.boxTxt p {
  text-align: left;
  width: 100%;
}

#installTxt p {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}


.boximg {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  max-height: 90vh;
}

.boxTxt ul {
  list-style: circle;
  padding: 1rem 2.5rem;
}
.boxTxt ul li {
  margin: 0.7rem 0;
}

.boxTxt ol {
  padding: 0rem 2.5rem;
}
.boxTxt ol li {
  margin: 0.7rem 0;
}

::selection {
  background-color: var(--action-color);
}

.box span {
  font-size: 1rem;
  opacity: 0.9;
}

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 2rem auto 0 auto;
}
.roadmap-step {
  display: flex;
  align-items: flex-start;
  background: #16232a;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px 0 rgba(0,60,78,0.13);
  border-left: 6px solid #2196f3;
  transition: background 0.2s;
  }
  .roadmap-step.completed {
    border-left-color: #4caf50;
    background: #1e2e22;
    opacity: 0.92;
  }
  .roadmap-icon {
    margin-right: 1.2rem;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    min-width: 2.2rem;
    filter: drop-shadow(0 0 2px #0008);
  }
  .roadmap-content h3 {
    margin: 0 0 0.2rem 0;
    font-size: 1.15rem;
    color: #7fd7ff;
    letter-spacing: 0.01em;
  }
  .roadmap-content p {
    margin: 0;
    color: #b7c9d1;
    font-size: 1rem;
  }
  @media (max-width: 600px) {
    .roadmap {
      padding: 0 0.5rem;
    }
    .roadmap-step {
      padding: 0.8rem 1rem;
    }
  }
  @media (min-width: 500px) {
    .roadmap-step {
      min-width: 50vw;
      width: 50rem;
      max-width: 90%;
    }
  }

  .tempShow {
    position: sticky;
    top: calc(100vh - 5rem);
    left: 50%;
    height: 0;
    translate: -50% 0;
    width: fit-content;
    z-index: 101;
    animation: flyInUp 0.5s ease-out;
    
  }

  .show {
    background-color: #53535380;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    box-shadow: 0 0px 2px 0px rgba(255, 255, 255, 0.274);
    backdrop-filter: blur(10px);
    z-index: 1000;
    width: fit-content;
    height: fit-content;
    position: relative;

  }

  .show .close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #363636;
    border-radius: 20px;
    box-shadow: 0 0px 2px 0px rgba(255, 255, 255, 0.274);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background-color 0.3s, scale 0.3s, translate 0.3s, box-shadow 0.3s;
  }