:root {
  --e-global-color-primary: #568F1F;
  --e-global-color-secondary: #8DC73F;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #222;
  text-align: center;
}

.page-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

footer {
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right, #568F1F, #8DC73F, #568F1F) 1;
  padding: 20px;
  width: 100%;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.btn {
  display: block;
  width: 480px;
  padding: 25px;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn.skola {
color: #FFFFFF;
background-image: radial-gradient(at right bottom, var( --e-global-color-secondary ) 70%, var( --e-global-color-primary ) 80%);
box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.5);
}

.btn.spc {
color: #FFFFFF;
background-image: radial-gradient(at top left, var( --e-global-color-secondary ) 70%, var( --e-global-color-primary ) 80%);
box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.5);
}

.btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

@media (min-width: 780px) {
  .skola {
    margin-right: 240px;
  }
  .spc {
    margin-left: 240px;
  }
}

@media (max-width: 780px) {
  .btn {
    width: 85%;
    padding: 15px;
}
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding: 20px;
  width: 100%;
}

footer a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

footer img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
}
