/* yall can blame me for using ai code man */
/* I was THAT lazy I had to use fucking ai :pensive: */
/* also I wanted to learn JS and NodeJS using ai so stfu 3: */

@import "https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap";

:root {
  --primary-color: #008bff;
  --secondary-color: #00fff2;
  --accent-color: #005daa;
  --text-color: #e0e0e0;
  --page-background-color: #004e8e;
  --bg-color: #121212;
  --card-bg: rgba(30, 30, 30, 0.7);
  --border-radius: 15px;
  --transition: all 0.3s ease;
  --box-shadow: rgba(0, 139, 255, 0.5);
  --primary-color-transparent: rgba(0, 139, 255, 0.5);
  --secondary-color-transparent: rgba(0, 255, 242, 0.5);
}

html, body {
  height: 100%;

}

html {
  min-height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fredoka", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--primary-color-transparent), var(--secondary-color-transparent));
  background-color: var(--page-background-color);
  min-height: 100vh;

  background-image: url("../assets/main/checkers.png");
  background-repeat: infinite;
  animation: backdropillusion 4s infinite;
  animation-timing-function: linear;
}
@keyframes backdropillusion {
  to {background-position: top 118px left 118px;}
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); 
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.header {
  background: transparent;
  padding: 20px 0;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  z-index: 100;
}

.logo {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #008BFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
  background: rgba(30, 30, 30, 0.5);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.main {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: margin-top 0.3s ease-in-out;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero {
  text-align: center;
  padding: 50px 0;
  background: transparent;
  color: white;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.features {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(50, 50, 50, 0.7));
  border-radius: var(--border-radius);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature {
  flex: 1 1 200px;
  max-width: 250px;
  background: rgba(50, 50, 50, 0.9);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.feature p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content {
  padding: 40px 0;
  animation: fadeIn 0.8s ease-out;
  margin-top: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.7), rgba(70, 70, 70, 0.7));
  border-radius: var(--border-radius);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  box-shadow: 0 0 15px var(--box-shadow);
  transition: transform 0.5s ease;
}

.profile-img:hover {
  transform: scale(1.05) rotate(5deg);
}

.about-text {
  max-width: 800px;
  text-align: justify;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 15px;
}

.about-section h3 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--secondary-color);
}

.about-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.about-section .coding-logo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.about-section .coding-logo img {
  width: 50px;
  height: 50px;
  margin: 0;
  transition: transform 0.3s ease;
}

.about-section .coding-logo img:hover {
  transform: scale(1.25) rotate(2.5deg);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.7), rgba(70, 70, 70, 0.7));
  border-radius: var(--border-radius);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
  font-weight: bold;
  font-size: 1.1rem;
}

.link-item:hover {
  transition: background 1s ease;
  background: var(--primary-color);
  /* box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.3); */
}

.links-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.links-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.7), rgba(70, 70, 70, 0.7));
  border-radius: var(--border-radius);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.art-item {
  background: rgba(50, 50, 50, 0.9);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 15px;
}

.art-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.art-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-color);
} .art-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-color);
} .art-item .icon {
  width: 24px;
  height: 24px;
  border-bottom: 0px;
  margin-bottom: -6.5px;
}

.art-item p {
  /* font-weight: bold; */
  color: var(--text-color);
}

.fanarts-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.fanarts-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.7), rgba(70, 70, 70, 0.7));
  padding: 15px;
  border-radius: var(--border-radius);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2);
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  /* color: var(--primary-color); */
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--secondary-color);
  border-radius: var(--border-radius);
  background: rgba(30, 30, 30, 0.8);
  color: var(--text-color);
  transition: var(--transition);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 12px var(--box-shadow);
}

textarea#idea {
  min-height: 120px;
  resize: vertical;
}

.submit-section {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.submit-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

#message {
  margin-top: 25px;
  padding: 15px;
  border-radius: var(--border-radius);
  /* background: rgba(50, 50, 50, 0.8); */
  text-align: center;
  font-weight: bold;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
  background: rgba(0, 0, 0, 0);
}

#message p {
  margin: 0;
}

.footer {
  background: transparent;
  color: white;
  text-align: center;
  padding: 20px 0;
  border-radius: var(--border-radius);
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.container, .feature, .link-item, .art-item, .about-section, .about-text, .links-section, .fanarts-section, .submit-section {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@media (max-width: 768px) {
  .nav {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 0 15px;
    max-height: 0;
    overflow: hidden; 
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    z-index: 99;
    display: flex;
  }
  
  .nav.active {
    margin-top: 25px;
    max-height: 450px;
    padding: 15px;
  }
  
  body.nav-open .main {
    margin-top: 380px;
  }

  .nav-link {
    width: 100%;
    margin-bottom: 10px;
    /* max-width: 200px; */
  }

  .nav-link:last-child {
    margin-bottom: 0;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
  .hero h2 {
    font-size: 2rem;
  }
  .features {
    flex-direction: column;
  }

  .feature {
    flex-basis: 100%;
    max-width: 100%;
  }

  .main {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  .gallery, .links-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .logo {
    margin-right: 40px;
  }
}

@media (min-width: 769px) {
  .hamburger-menu {
    display: none;
  }
  .nav {
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}