* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
    /* Додаємо кастомний курсор для всієї сторінки */
    cursor: url('cursor.JPG'), auto; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #f39c12;
}

nav a.active {
    border-bottom: 2px solid #f39c12;
    padding-bottom: 2px;
}

.container {
    max-width: 900px;
    margin: 120px auto 50px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 0px;
}

.image-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    flex: 1 1 calc(50% - 15px);
    border: 0px solid red;
    width: 100%;
}

.img2 {
   width: 100%;
   object-fit: cover;
   height: 100%;
}

.card {
    border: 0px solid red;
    padding: 24px;
    border-radius: 8px;
    background-color: #dcdcdc;
    flex: 1 1 calc(45% - 16px);
    min-width: 250px;
}

.gallery {
    display: flex;
    flex-direction: row; 
    gap: 16px;
    flex-wrap: wrap;
}

.footer {
    position: fixed;
    background: #2c3e50;
    color: white;
    padding: 8px;
    width: 100%;
    bottom: 0px;
    text-align: center;
}

.colorad-print {
  width: 32px;
  height: 32px;
  background-image: url('cursor.JPG'); 
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute; 
  transform: translate(-50%, -50%);
  pointer-events: none; 
  z-index: 9999; 
  animation: fade-out 2s ease-out forwards;
}

@keyframes fade-out {
  0% {
    opacity: 1;     
    transform: translate(-50%, -50%) scale(0.9); 
  }
  60% {
    opacity: 0.6;  
  }
  100% {
    opacity: 0;     
    transform: translate(-50%, -50%) scale(0.5);
  }
}
 
@media screen and (max-width: 900px) {
  .card {
    width: 100%;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('cursor.JPG'), auto !important; 
}