/* Reset and global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: 1s;
}

/* Body styles */
body {
  background-color: #f5f5f5;
  background-image: url("assets/");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Header styles */
header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.project-name {
  color: white;
  font-size: 1.5em;
}

.burger-menu {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  display: none;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: space-around;
  flex-grow: 1;
}

header li {
  margin: 0 10px;
}

header a {
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

header a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Article styles */
article {
  margin-top: 100px;
  margin-bottom: 50px;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 20px;
  font-size: 2em;
}

p.text {
  color: #666;
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: 1em;
}

img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  margin: 2em;
  border: none;
  background-color: #333;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #555;
}

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

nav {
    margin-top: 20px;
}

.folder-list {
    list-style-type: none;
    padding: 0;
}

.folder-list-item {
    margin-bottom: 10px;
}

.folder-link {
  text-decoration: none;
  color: #eee8e8;
  font-weight: bold;
  display: block;
  padding: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, #000000, #707070); /* Gradient background */
}

.folder-link:hover {
  background: linear-gradient(to right, #707070, #000000); /* Gradient change on hover */
}

.folder-link:active {
  transform: scale(0.98); /* Slight scale down on click */
}

/* Mobile Styles */
@media (max-width: 1000px) {
  .burger-menu {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 100%; /* Adjusted position */
    left: 0;
    width: 100%;
    z-index: 999;
  }

  .menu.active {
    display: flex;
  }
  
  header {
    padding: 5px;
    height: auto;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .project-name {
    font-size: 1.2em;
  }

  header li {
    margin: 0;
    width: 100%;
  }

  header a {
    padding: 10px;
    width: 100%;
    display: block;
  }

  article {
    margin-top: 190px;
    padding-top: 20px;
  }
}