﻿/* ====== GLOBAL STYLES ====== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.8;
  background-color: pink;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 40px 40px;
}
img {
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
}
p {
  max-width: 800px;
  margin: 15px auto;
}
h1 {
  text-align: center;
  font-size: 36px;
  color: hotpink;
  margin-bottom: 20px;
} /* ====== TOP MENU ====== */
.menu {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.menu ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.menu a {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
}
.menu a:hover {
  color: hotpink;
  transform: scale(1.1);
}
.menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  left: 0;
  bottom: -5px;
  background-color: hotpink;
  transition: 0.3s;
}
.menu a:hover::after {
  width: 100%;
} /* ====== PAGE CONTAINER ====== */
.container {
  background-color: white;
  margin: 50px auto;
  padding: 25px;
  max-width: 1200px;
  border-radius: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease forwards;
  box-sizing: border-box;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} /* ====== INTRO TEXT ====== */
.intro {
  font-size: 24px;
  font-weight: bold;
  color: hotpink;
  margin-bottom: 15px;
}
.container p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
} /* ====== PROFILE IMAGE ====== */
.profile {
  width: 200px;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  border: 4px solid hotpink;
  transition: 0.4s;
}
.profile:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 25px hotpink;
} /* ====== VIDEO SLIDER ====== */
.slider {
  width: 500px;
  height: 350px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
video {
  width: 500px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.slider button {
  background: hotpink;
  border: none;
  color: white;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.slider button:hover {
  transform: scale(1.1);
}
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
} /* ====== MAIN GALLERY ====== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.gallery img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.03);
} /* ====== ART FILES SECTION ====== */
.gallery-art {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.item {
  text-align: center;
}
.item img {
  width: 250px;
  height: auto;
  border-radius: 10px;
}
.item p {
  margin-top: 8px;
  color: white;
  font-size: 16px;
}
.small-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.small-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.3s;
}
.small-gallery img:hover {
  transform: scale(1.05);
} /* ====== CONTACT SECTION ====== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
}
.contact-info h1,
.contact-info h2 {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.contact-info h1 {
  margin-bottom: 30px;
  font-size: 2.6rem;
  color: #f42862;
}
.contact-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.contact-box .icon {
  font-size: 1.6rem;
  width: 35px;
}
.contact-box a {
  color: rgb(200, 64, 87);
  text-decoration: none;
  font-size: 1.1rem;
}
.contact-box a:hover {
  text-decoration: underline;
} /* ====== BACKGROUND STARS ====== */
.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}
.stars span {
  position: absolute;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  animation: float 10s linear infinite;
}
.stars span:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
}
.stars span:nth-child(2) {
  left: 20%;
  animation-duration: 12s;
}
.stars span:nth-child(3) {
  left: 30%;
  animation-duration: 10s;
}
.stars span:nth-child(4) {
  left: 50%;
  animation-duration: 14s;
}
.stars span:nth-child(5) {
  left: 70%;
  animation-duration: 9s;
}
.stars span:nth-child(6) {
  left: 80%;
  animation-duration: 11s;
}
.stars span:nth-child(7) {
  left: 90%;
  animation-duration: 13s;
}
.stars span:nth-child(8) {
  left: 60%;
  animation-duration: 7s;
}
@keyframes float {
  0% {
    top: 100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: -10%;
    opacity: 0;
  }
} /* ====== GRAFIKA PAGE ====== */
.grafika-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}
#sketch-container {
  width: 400px;
  flex: 0 0 400px;
}
.kods {
  width: 600px;
  max-width: 100%;
}
.kods h2 {
  color: hotpink;
  text-align: center;
}
.kods pre {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  white-space: pre-wrap;
  box-sizing: border-box;
} /* ====== MOBILE ====== */
@media (max-width: 900px) {
  .grafika-wrapper {
    flex-direction: column;
    align-items: center;
  }
  #sketch-container,
  .kods {
    width: 100%;
    max-width: 600px;
  }
  .slider {
    width: 100%;
    height: auto;
  }
  video {
    width: 100%;
  }
}
/* ===== ILUSTRĀCIJA + DZEJOLIS ===== */

.darbs {
  margin-top: 80px;
}

.darbs h2 {
  color: hotpink;
  margin-bottom: 30px;
}

.darbs-saturs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.darbs-attels img {
  width: 450px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.darbs-teksts {
  max-width: 450px;
  text-align: left;
}

.darbs-teksts h3 {
  color: hotpink;
  font-size: 28px;
  margin-bottom: 20px;
}

.darbs-teksts p {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.8;
}
/* ===== INTERAKTIVITĀTES GIF ===== */

.gif-galerija {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.gif-karte {
  width: 300px;
}

.gif-karte img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.gif-karte p {
  margin-top: 10px;
  font-weight: bold;
  color: hotpink;
}
/* ===== ATTĒLU SADAĻA ===== */

.attelu-galerija {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.attelu-galerija img {
  width: 450px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
/* ===== VIDEO SADAĻA ===== */

.container video {
  width: 800px;
  max-width: 100%;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.darbs {
  background-color: white;
  margin: 50px auto;
  padding: 25px;
  max-width: 1200px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .intro {
    font-size: 20px;
  }

  .container {
    margin: 15px;
    padding: 15px;
  }

  .menu a {
    font-size: 15px;
  }

  .menu ul {
    gap: 12px;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-box {
    width: 90%;
    justify-content: center;
  }

  .darbs-saturs {
    flex-direction: column;
    gap: 20px;
  }

  .darbs-teksts {
    text-align: center;
  }
}
.profile {
  width: 450 px;
  height: auto;
  border-radius: 15px;
  display: block;
  margin: 20px auto;
}
.lielie-atteli {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.lielie-atteli img {
  width: 1900 px;
  max-width: 40%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.music-section {
  margin: 40px 0;
  text-align: center;
}

.music-section h2 {
  margin-bottom: 15px;
  color: #fff;
}
/* ==================== TUMŠI ROZĀ KURSORS VISĀM LAPĀM ==================== */
* {
  cursor:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="11" fill="%23C71585" stroke="%23ffffff" stroke-width="4"/></svg>')
      16 16,
    auto;
}

/* Spilgtāks efekts uz saitēm, pogām un hover */
a:hover,
button:hover,
.music-control:hover {
  cursor:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="11" fill="%23FF1493" stroke="%23ffffff" stroke-width="4"/></svg>')
      16 16,
    pointer;
}
