html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  font-size: 1.2rem;
}
body {
  color: whitesmoke !important;
  background-image: url(_files/backgroundMain.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
p{
  font-size: 1.2rem;
}
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: whitesmoke;
  background: rgba(0, 0, 0, 0.4);
  font-family: 'Nadpis';
}
.down-arrow {
  cursor: pointer;
  animation: bounce 2s infinite;
}
.down-arrow:hover {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  border-radius: 10px;
}
.home{
  height: 50px;
}
.row.padding {
  overflow: visible;
}
.padding .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center center;
}
.padding:hover .card {
  transform: scale(0.9);
}
.padding .card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.card-f1, .card-gt3, .card-wrc {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.card-f1 {
  background-color: #1c1c1c; 
  color: whitesmoke;
  border: 4px solid #e63946; 
  border-radius: 10px; 
  overflow: hidden;
  box-sizing: border-box; 
  min-height: 300px; 
  margin-top: 20px;
}
.card-f1 p, .card-f1 h4 {
  padding: 10px;
}
.card-f1 .btn{
  background-color: #e63946;
  color: whitesmoke;
}
.card-f1 .btn:hover{
  background-color: #c82333;
  color: whitesmoke;
  transition: 1s;
}
.card-gt3 {
  background-color: #1c1c1c; 
  color: whitesmoke;
  border: 4px solid #ff9900; 
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box; 
  min-height: 300px; 
  margin-top: 20px;
}
.card-gt3 p, .card-gt3 h4 {
  padding: 10px;
}
.card-gt3 .btn{
  background-color: #ff9900;
  color: whitesmoke;
}
.card-gt3 .btn:hover{
  background-color: #e67e00;
  color: whitesmoke;
  transition: 1s;
}
.card-wrc {
  background-color: #1c1c1c; 
  color: whitesmoke;
  border: 4px solid #007bff; 
  border-radius: 10px; 
  overflow: hidden;
  box-sizing: border-box;
  min-height: 300px;
  margin-top: 20px;
}
.card-wrc p, .card-wrc h4 {
  padding: 10px;
}
.card-wrc .btn{
  background-color: #007bff;
  color: whitesmoke;
}
.card-wrc .btn:hover{
  background-color: #1976e0;
  color: whitesmoke;
  transition: 1s;
}
.card-container:hover .card-f1:not(:hover),.card-container:hover .card-gt3:not(:hover),.card-container:hover .card-wrc:not(:hover) {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.card-f1:hover,.card-gt3:hover,.card-wrc:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}
.card-f1 .btn, .card-gt3 .btn, .card-wrc .btn {
  margin: 15px;
}
.container i {
  margin-right: 8px;
  color: #28a745;
}
iframe {
  border: 2px solid #32CD32 !important;
  border-radius: 5px;
}
.card-le {
  background-color: #343a40;
  border: 4px solid #343a40;
  color: whitesmoke;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-top: 20px;
}
.card-le:hover {
  transform: scale(1.02);
}
.card-le p,.card-le h4 {
  margin-bottom: 10px;
  margin-top: 5px;
}
.card-le img {
  border-radius: 10px;
}
.card-ksi {
  background-color: #343a40;
  border: 4px solid #343a40;
  color: whitesmoke;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-top: 20px;
}
.card-ksi:hover {
  transform: scale(1.02);
}
.card-ksi p,.card-ksi h4 {
  margin-bottom: 10px;
  margin-top: 5px;
}
.card-ksi img {
  border-radius: 10px;
}
.card-dvd {
  background-color: #343a40;
  border: 4px solid #343a40;
  color: whitesmoke;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-top: 20px;
}
.card-dvd:hover {
  transform: scale(1.02);
}
.card-dvd p,.card-dvd h4 {
  margin-bottom: 10px;
  margin-top: 5px;
}
.card-dvd img {
  border-radius: 10px;
}
.hodiny {
  font-size: 4rem; 
  font-weight: bold;
}
.cas-box h4 {
  font-size: 2rem; 
}
hr {
  border: none;
  height: 3px;
  background-color: #2df12d !important;
  border-radius: 10px;
}
.jump-left-right {
  display: inline-block;
  animation: leftRightBounce 4s infinite;
}
@font-face {
  font-family: 'Nadpis';
  src: url('Fonty/Montserrat/static/Montserrat-Regular.ttf');
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0); 
  }
  40% {
    transform: translateY(10px); 
  }
  60% {
    transform: translateY(5px); 
  }
}
@keyframes leftRightBounce {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-8px); 
  }
  30% {
    transform: translateX(8px); 
  }
  45% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}
@media (min-width: 3840px) {
  .hodiny{ 
    font-size: 2.5rem; 
  }
  .container h2{
    font-size: 8rem;
  }
  .card-f1 p, .card-gt3 p, .card-wrc p{ 
    font-size: 2.2rem; 
  }
  .card-f1 h4, .card-gt3 h4, .card-wrc h4{
    font-size: 3.6rem; 
  }
  p{
    font-size: 1.5rem;
  }
}
@media (min-width: 2560px) and (max-width: 3839px) {
  .hodiny{
    font-size: 2.5rem; 
  }
  .container h2{
    font-size: 5.3rem; 
  }
  .card-f1 p, .card-gt3 p, .card-wrc p{ 
    font-size: 1.46rem; 
  }
  .card-f1 h4, .card-gt3 h4, .card-wrc h4{ 
    font-size: 2.4rem; 
  }
  p{
    font-size: 1rem;
  }
}
@media (min-width: 1920px) and (max-width: 2559px) {
  .hodiny{ 
    font-size: 2.5rem; 
  }
  .container h2{
    font-size: 4rem; 
  }
  .card-f1 p, .card-gt3 p, .card-wrc p{ 
    font-size: 1.1rem; 
  }
  .card-f1 h4, .card-gt3 h4, .card-wrc h4{ 
    font-size: 1.8rem; 
  }
  p{
    font-size: 1rem;
  }
}
@media (min-width: 1441px) and (max-width: 1919px) {
  .hodiny{ 
    font-size: 2.8rem; 
  }
  .container h2{ 
    font-size: 3rem; 
  }
  .card-f1 p, .card-gt3 p, .card-wrc p{ 
    font-size: 0.83rem; 
  }
  .card-f1 h4, .card-gt3 h4, .card-wrc h4{ 
    font-size: 1.35rem; 
  }
}
@media (min-width: 1024px) and (max-width: 1440px) {
  .hodiny{ 
    font-size: 2rem; 
  }
  .cas-box h4{ 
    font-size: 1.2rem; 
  }
  p{
    font-size: 1rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hodiny{ 
    font-size: 2rem; 
  }
  .cas-box h4{ 
    font-size: 1.2rem; 
  }
  p{
    font-size: 0.8rem;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .hodiny{ 
    font-size: 2rem; 
  }
  .cas-box h4{ 
    font-size: 1.2rem; 
  }
  p{
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .hodiny{ 
    font-size: 0.8rem; 
  }
  .cas-box h4{ 
    font-size: 1.2rem; 
  }
  p{
    font-size: 1rem;
  }
  .navbar-brand img {
    width: 50%;
    height: auto;
  }
}