@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald/Oswald-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #383838;
}

body {
  font-family: Oswald, sans-serif;
}

.site-header {
  background-color: #ffffff;
  color: white;
  padding: 15px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 2px;
  color: black;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  color: black;
}

.nav {
  position: relative;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 24px;
  color: black;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-links li a:hover {
  color: #31a2be;
  transform: scale(1.2) !important;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

.hero {
  height: 80vh;
  width: 100%;
  background-image: url('../images/1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  flex-direction: column;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.hero-content h1 {
  font-size: 46px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 20px;
}

.donations {
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.donations-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.menu-toggle {
  display: none;
}


.timerWrapper * {
  background-color: white;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.timerWrapper {
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  background-color: #fff;
}

.timer h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

.timebox {
  display: flex;
  gap: 90px;
}

.time {
  text-align: center;
}

.time h2 {
  font-size: 5rem;
  font-weight: 100;
}


footer {
  margin: 0 auto;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-family: 'Barlow', sans-serif;
  padding: 10px 0 10px 0;
  border-top: 1px solid #aaaaaa;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 60%;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  width: 20% !important;
}

.footer-section h2 {
  font-size: 23px;
  margin-bottom: 15px;
  color: #31a2be;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-section ul li i {
  margin-right: 10px;
  color: #489fb5;
}

.fpodaci {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #aaaaaa;
  padding-top: 10px;
  font-size: 14px;
  color: #000;
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.wister:hover {
  text-decoration: underline;
}

button {
  position: relative;
  margin: 0;
  padding: 17px 35px;
  outline: none;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-transform: uppercase;
  background-color: #fff;
  border: 1px solid rgba(22, 76, 167, 0.6);
  border-radius: 10px;
  color: #1d89ff;
  font-weight: 400;
  font-family: inherit;
  z-index: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

button span {
  color: #164ca7;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
}

button:hover {
  animation: rotate624 0.7s ease-in-out both;
}

button:hover span {
  animation: storm1261 0.7s ease-in-out both;
  animation-delay: 0.06s;
}

@keyframes rotate624 {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  25% {
    transform: rotate(3deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-3deg) translate3d(0, 0, 0);
  }

  75% {
    transform: rotate(1deg) translate3d(0, 0, 0);
  }

  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

@keyframes storm1261 {
  0% {
    transform: translate3d(0, 0, 0) translateZ(0);
  }

  25% {
    transform: translate3d(4px, 0, 0) translateZ(0);
  }

  50% {
    transform: translate3d(-3px, 0, 0) translateZ(0);
  }

  75% {
    transform: translate3d(2px, 0, 0) translateZ(0);
  }

  100% {
    transform: translate3d(0, 0, 0) translateZ(0);
  }
}

.btn-shine {
  z-index: 2;
  border: 1px solid;
  overflow: hidden;
  position: relative;
}

.btn-shine span {
  z-index: 20;
}

.btn-shine:after {
  background: #38ef7d;
  content: "";
  height: 155px;
  left: -75px;
  opacity: 0.4;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px;
  z-index: -10;
}

.btn-shine:hover:after {
  left: 120%;
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}


.top-donators-container {
  border-top: 1px solid #aaaaaa;
}

.top-donors {
  text-align: center;
  padding: 30px 20px 40px 20px;
  background: #f5f5f5;
}

.top-donors h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  margin-top: 0px;
  color: #222;
}

.donors-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.donors-table td {
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
  text-align: center;
}

.donors-table .icon {
  font-size: 1.5rem;
}

.donors-table .label {
  font-weight: bold;
}

.donors-table .name {
  font-style: italic;
}

.donors-table .amount {
  font-weight: bold;
  color: #222;
}

.donors-table tr.gold {
  background-color: #fff8dc;
  color: #b8860b;
}

.donors-table tr.silver {
  background-color: #f0f0f0;
  color: #6e6e6e;
}

.donors-table tr.bronze {
  background-color: #fce8d5;
  color: #8b4513;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 15px;
    border-radius: 5px;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li a:hover {
    color: black;
    transform: scale(1.0) !important;
  }


  .menu-toggle {
    display: block;
  }


  .footer {
    width: 90%;
    margin: 0 auto;
    padding: 0 !important;
  }

  .footer-container {
    flex-direction: column;
    gap: 0px;
    max-width: none;
    width: 90%;
    margin: 0 auto;
  }

  .footer-section {
    flex: 1;
    width: 100% !important;
  }

  .footer-section ul {
    margin: 0;
  }

  .wister {
    text-decoration: underline;
  }

  .wister:hover {
    text-decoration: none;
  }

  .footer-bottom-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .timerWrapper {
    height: 30vh;
  }

  .timer h1 {
    font-size: 2.5rem;
  }

  .timebox {
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .time h2 {
    font-size: 3rem;
  }

  .time p {
    font-size: 1.2rem;
  }

  .donors-table {
    font-size: 0.95rem;
  }

  .donors-table td {
    padding: 10px 5px;
  }

  .top-donors h2 {
    font-size: 2rem;
  }

  .donors-table .icon {
    font-size: 1.2rem;
  }
}


@media (max-width: 480px) {
  .timer h1 {
    font-size: 2rem;
  }

  .timebox {
    gap: 20px;
  }

  .time h2 {
    font-size: 2.2rem;
  }

  .time p {
    font-size: 1rem;
  }
}