@charset "UTF-8";
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  text-transform: uppercase;
  background: url("../images/rct7.png") left center no-repeat;
  background-size: cover;
  scrollbar-width: thin;
  scrollbar-color: yellow black;
  z-index: 10;
}

html.loading, body.loading {
  overflow: hidden;
}

section {
  scroll-margin-top: 80px;
}

.section-sluzby {
  scroll-margin-top: -15px;
}

.navbar-nav .nav-link {
  color: white;
  position: relative;
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  color: yellow;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: yellow;
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.scroll-button {
  background-color: transparent;
  border: none;
  font-size: 25px;
  color: white;
  cursor: pointer;
}

.scroll-button-container > button {
  border: none;
}

.scroll-button i {
  animation: bounce 6s ease-in-out infinite; 
}

@keyframes shake {
  0%, 100% {
    transform: translateY(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateY(-3px); 
  }
  20%, 40%, 60%, 80% {
    transform: translateY(3px); 
  }
}
.sipky {
  background: url("../images/sipky2.png");
}

.show {
  opacity: 1;
}

.xl-text {
  font-size: 65px;
}

.l-text {
  font-size: 45px;
}

.border {
  border: 2px solid #fff;
}

.section-sluzby a{
	text-decoration: none;
}

.section-sluzby i{
  text-decoration: none;
}

.header {
  background-size: cover;
  background-position: center center;
  height: 100vh;
  margin-top: 90px;
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
}

.btn-secondary {
  background-color: transparent;
  color: #e63946;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border: 2px solid #e63946;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #e63946;
  color: white;
  transform: translateY(-3px);
}

footer {
  background-color: yellow;
}

.navbar {
  transition: all 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.7);
}

.icon-background {
  background-color: yellow;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#loadingCircle {
  width: 40px;
  height: 40px;
  border: 5px solid #FFDB00;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 2s linear infinite;
}

#loadingText {
  margin-top: 20px;
  color: white;
  font-size: 20px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.textAboutMe {
  text-align: center;
}

.to-top-btn {
  position: fixed;
  z-index: 50;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  outline: none;
  background-color: #ff3b4b;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.to-top-btn:hover {
  background-color: #ff0015;
}

.to-top-btn img {
  margin-bottom: 0.25rem;
  width: 18px;
}

.close-btn i {
  color: yellow;
  transition: color 0.3s ease;
}

.close-btn i:hover {
  color: red;
}

@media (max-width: 992px) {
  .xl-text {
    font-size: 50px;
  }
  .header {
    text-align: center;
  }
  .fotka {
    width: 300px;
  }
  .footer > .container {
    text-align: center;
  }
}
/* Media query pro mobilní zařízení a tablety */
@media (max-width: 768px) {
  .navbar-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .navbar-nav .nav-link::after {
    content: none;
  }
  .fotka {
    margin-top: 20px;
    text-align: center;
  }
  .fotka img {
    width: 70%;
    margin: 0 auto;
  }
}
