* {
  margin: 0;
  padding: 0;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, Arial, sans-serif;
}

#top {
  position: relative;
  width: 100%;
  height: auto; /* Let it grow with image */
}

#profile-img {
  width: 100%;
  height: auto;
  display: block;
}

.his {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  font-size: clamp(1.5rem, 6vw, 12rem);
  color: white;
  z-index: 2;
  white-space: nowrap;
}

#witam {
  left: 18%;
  transform: translate(-50%, -50%);
}

#welcome {
  left: 82%;
  transform: translate(-50%, -50%);
}

.contacts_strap {
  display: block;
  width: 100%;
  background-color: #C0392B;
  padding-top: 2%;
  padding-bottom: 2%;
  font-size: x-large;
  font-weight: 400;
  line-height: 1.3;
  color: white;
}

.titles {
  font-size: xx-large;
  font-weight: 600;
  margin-bottom: 1%;
}

#title_kr {
  font-weight: 600;
}

#contacts_info {
  font-size: x-large;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #555;
  text-decoration: underline;
}

.mid {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #FDF6EC;
  line-height: 1.5;
  color: #483225;
}

#mid-a {
  padding-top: 2.5%;
}

#mid-b {
  padding-bottom: 1%;
}

.col-left, .col-right {
  width: 50%;
  font-size: xx-large;
  text-align: center;
  padding: 0 5%;
}

.col-right {
  width: 50%;
}

#gallery {
  width: 100%;
  background-color: #D9BDAC;
  padding-top: 2%;
  padding-bottom: 2%;
  font-size: clamp(0.75rem, 1.5vw, 1.3rem);
  color: #483225;
}

.gal_img {
  width: 70%;
  max-width: 70%;
}

#bot {
  width: 100%;
  background-color: #2C3E50;
}

.col-left h3, .col-right h3 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.col-left h4, .col-right h4 { font-size: 1.5rem; }
.col-left p,  .col-right p  { font-size: 1.3rem; }

#scroll-arrow {
  position: fixed;
  bottom: 5%;
  right: 20px; /* Adjust to sit near scrollbar */
  font-size: 7vh;
  color: #483225; /* #C0392B */
  cursor: pointer;
  z-index: 1000;
  animation: bounce 2s infinite;
  transition: transform 0.3s ease, opacity 0.4s ease;
}

#scroll-arrow:hover {
  transform: scale(1.2);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2vh);
  }
}

@media (max-width: 768px) {
  .col-left, .col-right { font-size: medium; }
  .titles { font-size: large; }
  #contacts_info { font-size: medium; }
  #bot { font-size: medium; }
  .col-left h3, .col-right h3 { font-size: medium; }
  .col-left h4, .col-right h4 { font-size: small;  }
  .col-left p, .col-right p { font-size: small;  }
}