.accessibility-button {
  background-color: white;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 10px;
  box-shadow: #64646f33 0px 7px 29px 0px;
  cursor: pointer;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 999;
  cursor: pointer;
}

.accessibility-button img {
  width: 80%;
}

.home-squares-wrapper {
  background-color: #f4f4f4;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.home-intro-text {
  background-color: #e0eecd;
  padding: 1.5rem;
  width: 100%;
  padding-bottom: 8rem;
}

.home-square {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: white;
  border-radius: 1rem;
  padding: 1rem;
  transition: 0.2s ease-in-out;
}

.home-square:hover {
  background-color: #397794;
  color: white;
}

.home-square:hover span {
  color: #91d0ec;
}

.home-square-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-square-inner > h3 {
  font-size: 20px;
}

.home-square-inner img {
  max-height: 2.2rem;
  max-width: 2.2rem;
}

.home-square-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-square-right > img {
  height: 1.3rem;
}

.home-square-right > span {
  display: none;
}

.home-banner {
  height: 20rem;
  background-size: cover;
}

.home-banner-overlay {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-direction: column;
  padding: 4rem;
  height: 100%;
  width: 100%;
  color: white;
}

.home-banner-overlay h3 {
  font-size: 20px;
}

.home-banner-overlay p {
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.home-banner-button {
  width: fit-content;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: #606060;
  background-color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 16px;
}

.home-banner-button img {
  width: 1rem;
}

.home-rss-content-wrapper {
  padding: 1rem;
  background-color: #f4f4f4;
}

.home-local-news-wrapper {
  width: 100%;
}

.home-events-wrapper {
  padding: 2rem;
}

.home-events {
  margin-top: 1rem;
}

.home-event {
  width: 100%;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-event h3 {
  font-size: 15px;
  line-height: 1.1rem;
  color: #606060;
}

.home-logos-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 2rem;
  gap: 1rem;
}

.home-logo-container:nth-child(odd) {
  border-right: 3px solid #f0f0f0;
}

.home-logos-wrapper img {
  width: 45%;
}

.home-logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-maps-events {
  width: 100%;
  background-color: #f4f4f4;
}

#zemljevid {
  scroll-margin-top: 180px;
}

@media screen and (min-width: 768px) {
  .home-banner-overlay {
    font-size: 25px;
  }

  .home-logos-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .home-logo-container:nth-child(odd) {
    border-right: none;
  }

  .home-logo-container:nth-child(1),
  .home-logo-container:nth-child(2),
  .home-logo-container:nth-child(4),
  .home-logo-container:nth-child(5) {
    border-right: 3px solid #f0f0f0;
  }
}

@media screen and (min-width: 1024px) {
  .home-intro-text {
    color: #606060;
  }

  .home-intro-text * {
    max-width: 1024px;
    margin: auto;
  }

  .home-intro-text h2 {
    font-size: 40px;
  }

  .home-intro-text p {
    font-size: 22px;
  }

  .home-squares-wrapper {
    flex-direction: row;
    padding: 0rem 4.5rem 6rem 4.5rem;
    gap: 1rem;
  }

  .home-square {
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
  }

  .home-square-inner {
    gap: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .home-square-inner > h3 {
    font-size: 20px;
  }

  .home-square-under-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }

  .home-square-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .home-square-right > span {
    display: block;
    text-transform: lowercase;
    font-size: 10px;
    color: #949494;
    font-weight: bold;
    text-align: end;
  }

  .home-square:hover > .home-square-under-wrapper img {
    filter: invert(100);
  }

  .home-banners-wrapper {
    display: flex;
    align-items: center;
  }

  .home-banner {
    width: 33.33%;
    height: 34rem;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .home-rss-content-wrapper {
    padding: 4rem 4rem;
    width: 100%;
    display: flex;
    gap: 1rem;
  }

  .home-local-news-wrapper {
    width: 50%;
  }

  .home-events-wrapper {
    width: 100%;
    padding: 4rem;
  }

  .home-events {
    margin-top: 2.8rem;
  }

  .home-event {
    display: inline-flex;
    width: 100;
  }

  .home-logos-wrapper {
    padding: 6rem 4rem;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }

  .home-logo-container:nth-child(odd) {
    border-right: 3px solid #f0f0f0;
  }

  .home-logo-container {
    border-right: 3px solid #f0f0f0;
  }

  .home-logo-container:last-child {
    border-right: none;
  }

  .home-maps-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-banner-overlay h3 {
    font-size: 40px;
  }
}

@media screen and (min-width: 1700px) {
  .home-squares-wrapper {
    gap: 1.5rem;
  }

  .home-events-wrapper {
    width: 70%;
    margin: auto;
  }

  .home-square {
    gap: 1rem;
  }

  .home-square-inner {
    gap: 1.5rem;
  }

  .home-square-right span {
    font-size: 18px;
  }

  .home-square-inner h3 {
    font-size: 30px;
    line-height: 1.9rem;
  }

  .home-rss-content-wrapper {
    padding: 4rem 12rem;
  }

  .home-logos-wrapper {
    padding: 8rem 12rem;
  }
}
