body {
  color: #385a73;
  font-size: 17px;
  background: #f8f9fa;
  font-family: "Asap", serif;
}

@media (min-width: 768px) {
  .head-row {
    flex-direction: row;
  }
  .nav-col {
    text-align: right;
    margin-top: 0;
  }
}

.site-head {
  border-bottom: 1px solid #dee2e6 !important;

  img {
    height: clamp(4rem, 3.8rem + 1.067vi, 5rem);
  }
}

.hamburger-container {
  /* 👈 dopasowanie do headera */
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 1rem;

  span {
    display: block;
    width: 20px;
    height: 2px;
    background: black;
    transition: 0.3s;
  }

  &.active {
    span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    span:nth-child(2) {
      opacity: 0;
    }

    span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }
  }
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 90%;
  margin: auto;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  a {
    font-size: clamp(0.625rem, 0.5rem + 0.667vi, 1rem);
  }
}

.menu.active {
  max-height: 200px;
  padding-bottom: 1rem;
}

.site-main-content {
  margin-top: 20px;
  overflow-x: hidden;
}

.side-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 3rem;
}

footer {
  font-size: clamp(0.625rem, 0.575rem + 0.267vi, 0.875rem);
  padding: 20px 0;
  border-top: 1px solid #dee2e6 !important;
}

.container-aside {
  padding-top: 30px;
  width: 80%;
  margin: auto;
  display: flex;
}

h4 {
  font-size: clamp(0.625rem, 0.45rem + 0.933vi, 1.6rem);
  line-height: clamp(0.688rem, 0.475rem + 1.133vi, 1.85rem);
  color: #414141;
  margin-top: 20px;
  text-align: center;
}

.btn-outline-primary {
  color: #5e1d76;
  border-color: #5e1d76;
}
.btn-primary {
  background-color: #5e1d76;
  border-color: #5e1d76;
}
.btn-primary:hover {
  background-color: #5e1d76 !important;
  border-color: #a1e23b !important;
  color: #a1e23b !important;
}
.btn-primary:focus {
  background-color: #a1e23b !important;
  border-color: #a1e23b !important;
  color: #5e1d76 !important;
  font-weight: 500;
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-color: #5e1d76 !important;
  border-color: #5e1d76 !important;
}
.btn-outline-primary.active {
  background-color: #5e1d76 !important;
  border-color: #5e1d76 !important;
  color: #a1e23b !important;
}
.btn-outline-primary:focus {
  border-color: #5e1d76 !important;
  box-shadow: none !important;
  font-weight: 500;
  color: #5e1d76;
}
a.btn.disabled {
  filter: grayscale();
}

.violet {
  color: #6c0c80;
}

/* h2 {
  font-size: 1.5rem;
  margin: 30px 0 20px;
} */

.alert-danger {
  opacity: 1 !important;
}

.partners {
  min-height: 40px;
}

.partners > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners > div > img {
  width: 100%;
  margin: 15px 0;
}

.partners > .img-smaller > img {
  width: 70%;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list__item:nth-child(1) {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

.list__item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.list__item .img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 580px) {
  .list__item {
    flex-direction: column-reverse;
  }

  .list__item .img {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .list__item .img img {
    display: flex;
    border-radius: 50%;
    border: 1px solid rgb(126, 126, 126);
    width: 30%;
    height: auto;
    margin-bottom: 1rem;
  }

  .list__item .img img:nth-child(2) {
    margin-left: 20px;
  }
}

@media (min-width: 581px) {
  li:nth-child(even) {
    flex-direction: row-reverse;
  }

  .list__item .img img {
    border-radius: 50%;
    border: 1px solid rgb(126, 126, 126);
    width: 80%;
    height: auto;
    margin-bottom: 1rem;
  }

  .list__item .img:nth-child(odd) {
    margin-right: 10px;
  }

  .list__item .img:nth-child(even) {
    margin-left: 10px;
  }
}

.list__item .content {
  flex: 0 0 70%;
}

.list__item h3 {
  font-size: 1.2rem;
}

.list__item p {
  margin: 0;
  color: #666;
  font-size: clamp(0.75rem, 0.6739rem + 0.3478vw, 1rem);
  line-height: initial;
}

.list__item p.lecturer {
  margin-top: 10px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  padding: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

section {
  width: 100%;
  flex: 3;
  background: white;
}

aside {
  flex: 1;
}

header,
footer {
  background: white;
}

.event {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  padding-top: 1rem;

  .event-line {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 70%;

    .square {
      width: clamp(0.5rem, 0.438rem + 0.333vi, 0.813rem);
      height: clamp(0.5rem, 0.438rem + 0.333vi, 0.813rem);
      background-color: #333;
      display: inline-block;
    }

    .line {
      width: 100%; /* Dopasuj długość linii */
      height: 1px;
      background-color: #333;
      display: inline-block;
    }
  }

  .event-location {
    font-size: clamp(0.625rem, 0.5rem + 0.667vi, 1.25rem);
    line-height: clamp(0.688rem, 0.537rem + 0.8vi, 1.438rem);
    color: #333;
    padding-left: 1rem;
  }

  .event-date {
    display: flex;
    justify-content: center;
    flex-grow: 2;
    gap: 4px;
    font-size: clamp(0.688rem, 0.525rem + 0.867vi, 1.5rem);
    line-height: clamp(0.75rem, 0.55rem + 1.067vi, 1.75rem);
    font-weight: 600;
    color: #333;
    text-align: right;
  }
}

h1 {
  font-family: "Biryani", serif;
  font-weight: 700;
  font-style: normal;
  color: #111111;
  white-space: nowrap;

  span {
    display: block;
  }

  .h1-wama {
    font-size: clamp(1rem, 0.263rem + 3.933vw, 4.688rem);
  }

  .h1-cyfrowa {
    font-size: clamp(1.5rem, 0.2rem + 6.933vw, 8rem);
  }

  .h1-forum {
    font-size: clamp(0.875rem, 0.362rem + 2.733vw, 3.438rem);
    font-weight: 600;
    color: #5f0b70;
  }
}

.section-eadmin {
  color: white;
  padding: 1rem 1rem;
  /* height: clamp(100px, 200px, 500px); */
  width: 100%;
  margin: 1.5rem 0;
  background: #2d0435;
  font-weight: 600;
  letter-spacing: 0%;
  position: relative;
}

.inner-image {
  position: absolute;
  bottom: 1rem;
  right: 2rem; /* Opcjonalnie */
  height: 150%;
  width: auto;
}

.container-h h2 {
  font-size: 60px;
  line-height: 0.8;
}

.section-eadmin p {
  font-size: 2rem;
  line-height: 28px;
}

.content {
  font-weight: 400;
  font-size: clamp(0.625rem, 0.55rem + 0.4vw, 1rem);
  line-height: clamp(0.688rem, 0.6rem + 0.467vw, 1.125rem);
  letter-spacing: 0%;
  text-align: justify;
  padding: 2rem 2rem;
  color: #2d2c2c;

  span {
    display: block;
  }

  .only-event {
    text-align: center;
    font-weight: 600;
    line-height: clamp(0.75rem, 0.463rem + 1.533vw, 2.188rem);
    letter-spacing: -1%;
    padding: 2rem 0;

    .oe-1 {
      font-size: clamp(0.625rem, 0.35rem + 1.467vw, 2rem);
    }

    .oe-2 {
      font-size: clamp(0.625rem, 0.412rem + 1.133vw, 1.688rem);
    }

    .oe-3 {
      font-size: clamp(0.625rem, 0.5rem + 0.667vw, 1.25rem);
      font-weight: 400;
    }
  }

  .workshops {
    position: relative;
    padding-bottom: 2rem;

    .ws-title {
      font-size: clamp(0.75rem, 0.6rem + 0.8vw, 1.5rem);
      line-height: clamp(0.75rem, 0.463rem + 1.533vw, 2.188rem);
      font-weight: 600;
      width: 100%;
    }

    .badge {
      position: absolute;
      top: 0;
      transform: translateY(-70%);
      right: 5vw;
      font-weight: 800;

      padding: 4px 10px;
      border-radius: 999px;
      width: 20%;
      color: #5f0b70;
      font-size: clamp(0.75rem, 0.55rem + 1.067vw, 1.75rem);

      .b-arrow {
        width: 80%;
        height: 80%;
        display: block;
      }

      .b-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(10%, 10%); /* wycentrowanie na ikonie */
        pointer-events: none; /* opcjonalnie */
      }
    }
  }
}

.content .novelty span {
  display: block;
}

.organizators {
  display: flex;
  align-items: center;
}

.organizators > div {
  flex: 1;
}

.organizator-wmcnt > img {
  width: 100%;
}

.organizator-woj {
  display: flex;
  justify-content: center;
  align-items: center;
}

.organizator-woj > img {
  width: 80%;
  padding: 1.5rem;
}

.sentences {
  display: flex;
  flex-basis: 50%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: clamp(0.625rem, 0.5rem + 0.667vw, 1.25rem);
  line-height: clamp(0.688rem, 0.563rem + 0.667vw, 1.313rem);
  margin: 2rem 0;
  padding: 2rem 0 7vh;
}

.sentences > div {
  padding: 0.5rem 2rem 0.5rem 2rem;
}

.sentences > div:nth-child(1) {
  width: 100%;
}

.highlight {
  background: #111111;
  color: #ffffff;
}

.bottom {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 5vh;

  div {
    position: absolute;
    background: white;
  }

  .line-1 {
    left: 20%;
    height: 80%;
    width: clamp(0.5rem, 0.425rem + 0.4vi, 0.875rem);
  }

  .line-2 {
    left: 40%;
    height: 100%;
    width: clamp(0.5rem, 0.425rem + 0.4vi, 0.875rem);
  }

  .line-3 {
    right: 25%;
    height: 55%;
    width: clamp(0.5rem, 0.425rem + 0.4vi, 0.875rem);
  }

  .line-4 {
    top: 80%;
    left: 0;
    width: 40%;
    height: clamp(0.5rem, 0.425rem + 0.4vi, 0.875rem);
  }

  .line-5 {
    top: 55%;
    right: 0;
    width: calc(60%);
    height: clamp(0.5rem, 0.425rem + 0.4vi, 0.875rem);
  }
}

.inner-image-2 {
  width: 80%;
  margin: auto;
}

.contact {
  display: flex;
  flex-direction: column;
  padding: 4rem 0;
  width: 50%;
  line-height: clamp(0.688rem, 0.6rem + 0.467vi, 1.125rem);
  font-size: clamp(0.625rem, 0.575rem + 0.267vi, 0.875rem);

  h2 {
    font-size: clamp(0.625rem, 0.55rem + 0.4vi, 1rem);
    color: #2d2c2c;
  }

  a {
    color: #6c0c80;
    text-decoration: none;
  }

  .event-line {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 100%;

    .square {
      width: clamp(0.5rem, 0.438rem + 0.333vi, 0.813rem);
      height: clamp(0.5rem, 0.438rem + 0.333vi, 0.813rem);
      background-color: #333;
      display: inline-block;
    }

    .line {
      width: 100%; /* Dopasuj długość linii */
      height: 1px;
      background-color: #333;
      display: inline-block;
    }
  }

  > :not(.event-line) {
    padding: 0 2rem;
  }
}

.h2-bottom {
  color: #2d2c2c;
  font-size: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid black;
}

@media screen and (max-width: 1400px) {
  .sentences {
    flex-direction: column;
    text-align: center;
  }

  .sentences > div {
  }

  .sentences > div:nth-child(6) {
    order: 2;
  }

  .sentences > div:nth-child(4) {
    order: 3;
  }
}

@media screen and (max-width: 1199px) {
  .hamburger-container {
    display: flex;
  }

  aside {
    display: none;
  }
  h1 {
    margin-top: 1rem;
    text-align: center;
  }
  .event-line {
    width: 100%;
  }
  .line {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .organizators {
    gap: 0;
  }

  .organizator-woj > img {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    margin-top: 1rem;
  }

  .inner-image {
    display: none;
  }
}

@media screen and (max-width: 413px) {
  .event {
    flex-direction: column;
    padding-left: 0;
  }
  .event-location {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}
