

@media (pointer: coarse) and (max-width: 576px) {
    .pointer-only {
        display: none !important;
    }
}
@media (pointer: fine) and (min-width: 576px) {
    .touch-only {
        display: none !important;
    }
}
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;  */ /* clicked show border type shadow */
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

#chatModal .modal-dialog {
    height: 80vh !important;
    margin: auto !important;
}

#chatModal .modal-content {
    height: 100% !important;
}

#chatModal .modal-body {
    overflow-y: auto !important;
}

#chatModal .textareacontainer {
    position: absolute;
    bottom: 10px;
    right: 0px;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

/* ANIMATION INTRO HI */

h1.ml8 {
    font-weight: 900;
    font-size: 4.5em;
    color: #fff;
    width: 3em;
    height: 3em;
}

.ml8 .letters-container {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    height: 1em;
}

.ml8 .letters {
    position: relative;
    z-index: 2;
    display: inline-block;
    line-height: 0.7em;
    right: -0.12em;
    top: -0.2em;
}

.ml8 .bang {
    font-size: 1.4em;
    top: auto;
    left: -0.06em;
}

.ml8 .circle {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
}

.ml8 .circle-white {
    width: 3em;
    height: 3em;
    border: 2px dashed white;
    border-radius: 2em;
}

.ml8 .circle-dark {
    width: 2.2em;
    height: 2.2em;
    background-color: #4f7b86;
    border-radius: 3em;
    z-index: 1;
}

.ml8 .circle-dark-dashed {
    border-radius: 2.4em;
    background-color: transparent;
    border: 2px dashed #4f7b86;
    width: 2.3em;
    height: 2.3em;
}

/* WAVE BUTTON */

.btn-animated {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Text Visibility - Before Animation */
.btn-animated .btn-text {
  position: relative;
  z-index: 2;
}

/* Animation Container - animation-rect-wave - as background */
.btn-animated .animation-rect-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;  /* Const - width */
  height: 40px; /* Const - height */
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;  /* After text */
  pointer-events: none; /* Prevent click problems */
}

/* Animacja prostokątów */
.btn-animated .animation-rect-wave > div {
  background-color: rgba(0, 0, 0, 0.2); /* Transparency adjustment ( 0.3 ) */
  width: 6px;
  height: 100%;
  display: inline-block;
  margin: 0 2px;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

/* Opóźnienia animacji dla poszczególnych prostokątów */
.btn-animated .animation-rect-wave .wave-p1 { animation-delay: -1.2s; }
.btn-animated .animation-rect-wave .wave-p2 { animation-delay: -1.1s; }
.btn-animated .animation-rect-wave .wave-p3 { animation-delay: -1.0s; }
.btn-animated .animation-rect-wave .wave-p4 { animation-delay: -0.9s; }
.btn-animated .animation-rect-wave .wave-p5 { animation-delay: -0.8s; }

/* Definicja animacji fali */
@keyframes sk-stretchdelay {
  0%, 40%, 100% { transform: scaleY(0.4); }
  20% { transform: scaleY(1.0); }
}