* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: arial, sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  transition: none;
  scroll-behavior: smooth;
  color: white;
}

img {
  object-fit: contain;
}

a {
  color: unset;
  text-decoration: unset;
}

@view-transition {
  navigation: auto;
}

.link {
  color: #8ab4f8;
}

.background {
  width: 100vw;
  height: 100vh;
  background-image: url("../img/output.png");
  background-size: cover;
  position: fixed;
  z-index: -1;
}

#PriEco_follow {
  position: absolute;
  width: auto;
  height: 30px;
  pointer-events: none;
  z-index: 9999;
  left: 0;
  top: 0;

  will-change: transform;
}

section {
  margin-bottom: 7cm;
}

nav {
  width: 100vw;
  position: fixed;
  backdrop-filter: blur(20px);
  padding: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-evenly;
}

li {
  display: inline;
  margin-right: 10px;
}

nav div {
  display: flex;
  align-items: center;
  flex-direction: row;
}

nav img {
  height: 50px;
}

.nav-btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  padding: 10px;
  border-radius: 20px;
  font-size: 16px;
  background: #3edce2aa;
  color: #fff;
  cursor: pointer;
}

.hamburger {
  display: none;
}

.hamburger img {
  filter: brightness(0) invert(1);
  height: 30px;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  display: none;
  bottom: 0;
  z-index: 5;
  width: 100vw;
  border-radius: 10px 10px 0 0;
  padding: 25px;
  backdrop-filter: blur(20px);
  flex-wrap: nowrap;
  flex-direction: row;
  overflow-x: scroll;
}

#open-nav:checked~.mobile-nav {
  display: flex;
}

@media (max-width:890px) {

  nav ul,
  .nav-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }
}



.projects-menu {
  display: none;
  position: absolute;
  backdrop-filter: blur(20px);
  padding: 10px;
  margin-left: 42.5px;
  border-radius: 0 0 10px 10px;
}

.projects-menu a {
  padding: 5px;
}

.projects-show {
  cursor: default;
}

.projects-show:hover~.projects-menu,
.projects-menu:hover {
  display: block;
}

#img-prieco {
  view-transition-name: project-img-prieco;
}

#img-chat {
  view-transition-name: project-img-chat;
}

#img-games {
  view-transition-name: project-img-games;
}

#img-other {
  view-transition-name: project-img-other;
}
