
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; 
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: 
      linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
      url('https://hyndzia.xyz/zdj.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
	user-select: none;
}


img {
	width: 400px;
	border-radius: 20px;
	margin-top: 130px;
	user-select: none;
}

.back-link {
  position: fixed;
  top: 15px;
  left: 15px;
  font-family: 'UnifrakturCook', cursive;
  font-size: 1.5rem;
  color: #A30000;
  text-decoration: none;
  background-color: rgba(18, 18, 18, 0);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
  text-shadow:
			 -2px -2px 0 black,
			  2px -2px 0 black,
			 -2px  2px 0 black,
			  2px  2px 0 black;
}

.back-link:hover {
  background-color: #A30000;
  color: #121212;
  text-shadow: none;
}


.container {
  position: relative; 
  z-index: 1;
  padding: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* content near bottom container */
  box-sizing: border-box;
  user-select: none;
}

.left-side, .right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  user-select: none;
}

.left-side {
  position: relative;
  text-align: center;
  align-items: center;
}

.left-side img {
  position: relative;
  border-radius: 15px;
  z-index: 1;
  user-select: none;
}

.glow-border {
  display: inline-block;
  position: relative;
  border-radius: 15px;
  overflow: visible;
}

.glow-border img {
  display: block;
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

/* Glow border hugging the image */
.glow-border::before {
  content: '';
  position: absolute;
  top: 100px;    /* small offset to keep glow outside */
  left: -10px;
  width: calc(100% + 18px);
  height: calc(100% - 110px);
  border-radius: 18px; /* image radius + offset */
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #ff0000, #ff5555, #ffaaaa, #ff5555, #ff0000);
  background-size: 300% 300%;
  animation: glowMove 4s linear infinite;
  box-shadow: 0 0 10px #ff0000, 0 0 10px #ff5555; /* subtle static glow */
  margin-top: 20px;
}

@keyframes glowMove {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes moveGradient {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}


.right-side {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 600px;
}

h1 {
  font-family: 'UnifrakturCook', cursive;
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #A30000;
  letter-spacing: 3px;
  text-shadow:
			 -2px -2px 0 black,
			  2px -2px 0 black,
			 -2px  2px 0 black,
			  2px  2px 0 black;
   user-select: none;
}

p {
  margin-bottom: 1.2em;
  color: #ddd;
  text-shadow:
			 -2px -2px 0 black,
			  2px -2px 0 black,
			 -2px  2px 0 black,
			  2px  2px 0 black;
  user-select: none;
}

.highlight-name {
  font-size: 2rem;              
  font-family: 'UnifrakturCook', cursive; 
  color: #A30000;     
  text-shadow:
			 -2px -2px 0 black,
			  2px -2px 0 black,
			 -2px  2px 0 black,
			  2px  2px 0 black;  
}

.highlight-name:hover {
	color: black;
	text-shadow: none;
	
}

.contact-links {
  margin-top: 30px;
  font-family: Arial, sans-serif;
}

.contact-links a {
  color: #A30000;
  text-decoration: none;
  margin-right: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #470000;
}

footer {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  backdrop-filter: blur(4px);
  margin-top: 40px;
}

#rain-canvas {
  position: absolute;      
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;           
  pointer-events: none; 
}


.gif-container,
.gif-container img {
  border-radius: 0 !important;
  margin-top: 15px;
}

.gif-container {
  width: 88px;
  height: 31px;       
}

.gif-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;       
  display: block;         
}

.gif-row {
  display: flex;
  gap: 5px; /* odstęp między GIF-ami */
}



@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    height: auto;
    padding-bottom: 80px;
  }
  .left-side, .right-side {
    max-width: 100%;
    width: 100%;
  }
  .left-side {
    margin-bottom: 30px;
  }
  .right-side {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

  @media (max-width: 480px) {
  .container {
    flex-direction: column;
    align-items: flex-start; 
    padding: 10px;
  }

  .left-side {
    margin-left: 30px; 
  }

  /* Hide image and glow on mobile */
  .left-side img,
  .glow-border {
    display: none;
  }
}

