/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* SVG Container */
.svgrelative {
    position: relative;
}

.mainimagewrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 40px;
    overflow: visible;
}

.mainimagewrapper svg {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* Content Container */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Message Box */
.message {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.message p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.message p:last-child {
    margin-bottom: 0;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 65%;
    border-radius: 10px;
    animation: progress 2s ease-out;
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 65%;
    }
}

/* Contact Section */
.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.contact-info h2 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.contact-link {
    display: inline-block;
    background: linear-gradient(135deg, #4d5ec4 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        padding: 40px 25px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .mainimagewrapper {
        max-width: 90%;
    }

    .mainimagewrapper svg {
        max-width: 100%;
        width: 100%;
        margin: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .mainimagewrapper {
        max-width: 95%;
    }
}

/* Worker Animations */

  #XMLID_8953_ {
	transform-origin: 224px 139px;
	animation: 1s womanHlebalo infinite alternate ease-in-out;
  }

  #XMLID_8566_ {
	transform-origin: 211px 155px;
	animation: 1.5s womanMapHand infinite alternate ease-in-out;
  }

  #XMLID_9961_ {
	transform-origin: 226.30294799804688px 157.3000030517578px;
	animation: 1s womanPointHand infinite alternate ease-in-out;
  }

  #XMLID_1691_ {
	transform-origin: 483.5px 127.30000305175781px;
	animation: 1s painterTool infinite alternate ease-in-out;
  }

  #XMLID_1510_ {
	transform-origin: 424.3625183105469px 270.3000183105469px;
	animation: 1s painterTorso infinite alternate ease-in-out;
  }

  #XMLID_327_,
  #XMLID_1737_,
  #XMLID_1678_ {
	transform-origin: 155.88100677490235px 134.64999771118164px;
	animation: 1s painterRhand infinite alternate ease-in-out;
  }

  #XMLID_3327_ {
		transform-origin: 594.368225px 149.800003px;
	animation: 2s hammerWorkerleft infinite alternate ease-in-out;
  }

  #XMLID_1819_ {
	transform-origin: 560.059998px 153.600006px;
	animation: 2s hammerWorkerHandAndHammer infinite alternate ease-in-out;
  }

  #XMLID_2191_ {
	transform-origin: 614.362548828125px 201.1999969482422px;
	animation: 2s hammerWorkerTorso infinite alternate ease-in-out;
  }

  #worker2_level {
	transform-origin: 333px 143px;
	animation: 1s levelMove infinite alternate ease-in-out;
  }

  #worker4_hammer {
	transform-origin: 608.4356079101562px 173.29998779296875px;
	animation: 2s hammerHit infinite alternate ease-in-out;
  }



  @keyframes womanHlebalo {
	0% {
	  transform: scale(1, 1)
	}
	20% {
	  transform: scale(0.9, 0.2)
	}
	40% {
	  transform: scale(1.05, 1)
	}
	80% {
	  transform: scale(0.95, 0.2)
	}
	100% {
	  transform: scale(1.05, 1)
	}
  }

  @keyframes womanMapHand {
	0% {
	  transform: scale(1, 1) rotateZ(-28deg)
	}
	20% {
	  transform: scale(0.99, 1) rotateZ(0deg)
	}
	40% {
	  transform: scale(1.01, 1) rotateZ(-48deg)
	}
	80% {
	  transform: scale(0.98, 1) rotateZ(0deg)
	}
	100% {
	  transform: scale(1.01, 1) rotateZ(-28deg)
	}
  }

  @keyframes womanPointHand {
	0% {
	  transform: scale(1, 1)
	}
	20% {
	  transform: scale(0.9, 1)
	}
	40% {
	  transform: scale(1.05, 1)
	}
	80% {
	  transform: scale(0.95, 1)
	}
	100% {
	  transform: scale(1.05, 1)
	}
  }

  @keyframes painterTorso {
	0% {
	  transform: scaleY(1)
	}
	20% {
	  transform: scaleY(0.98)
	}
	40% {
	  transform: scaleY(0.99)
	}
	80% {
	  transform: scaleY(1.01)
	}
	100% {
	  transform: scaleY(1)
	}
  }

  @keyframes painterTool {
	0% {
	  transform: translateY(0)
	}
	20% {
	  transform: translateY(4px)
	}
	40% {
	  transform: translateY(2px)
	}
	80% {
	  transform: translateY(-2px)
	}
	100% {
	  transform: translateY(1px)
	}
  }

  @keyframes painterRhand {
	0% {
	  transform: translateY(0)
	}
	20% {
	  transform: translateY(4px)
	}
	40% {
	  transform: translateY(2px)
	}
	80% {
	  transform: translateY(-2px)
	}
	100% {
	  transform: translateY(1px)
	}
  }

  @keyframes hammerWorkerleft {
	0% {
	  transform: translate(-7px, -2px) rotateZ(-29deg) scaleX(0.99);
	}
	20% {
	  transform: translate(-7px, -2px) rotateZ(-29deg) scaleX(0.98);
	}
	40% {
	  transform: translate(-7px, -2px) rotateZ(-29deg) scaleX(0.99);
	}
	80% {
	  transform: translate(-7px, -2px) rotateZ(-29deg) scaleX(0.98);
	}
	100% {
	  transform: translate(-7px, -2px) rotateZ(-29deg) scaleX(0.99);
	}
  }

  @keyframes hammerWorkerHandAndHammer {
	0% {
	  transform: rotateZ(0deg);
	}
	25% {
	  transform: rotateZ(0deg);
	}
	50% {
	  transform: rotateZ(0deg);
	}
	80% {
	  transform: rotateZ(-30deg);
	}
	100% {
	  transform: rotateZ(0deg);
	}
  }

  @keyframes levelMove {
	0% {
	  transform: rotateZ(-2deg);
	}
	50% {
	  transform: rotateZ(0deg);
	}
	100% {
	  transform: rotateZ(2deg);
	}
  }

  @keyframes hammerWorkerTorso {
	0% {
	  transform: translateY(0px) translateX(0px) rotateZ(2deg);
	}
	25% {
	  transform: translateY(0px) translateX(0px) rotateZ(0deg);
	}
	50% {
	  transform: translateY(0px) translateX(0px) rotateZ(1deg);
	}
	80% {
	  transform: translateY(0px) translateX(0px) rotateZ(-7deg);
	}
	100% {
	  transform: translateY(0px) translateX(0px) rotateZ(1deg);
	}
  }

  @keyframes hammerHit {
	0% {
	  transform: translateY(1px) translateX(3px) rotateZ(0deg);
	}
	25% {
	  transform: translateY(1px) translateX(1px) rotateZ(20deg);
	}
	50% {
	  transform: translateY(1px) translateX(-1px) rotateZ(6deg);
	}
	80% {
	  transform: translateY(1px) translateX(-1px) rotateZ(-20deg);
	}
	100% {
	  transform: translateY(1px) translateX(-1px) rotateZ(10deg);
	}
  }