@font-face {
  font-family: "lazydog";
  src: url("assets/fonts/lazydog-webfont.woff2") format("woff2"),
       url("assets/fonts/lazydog-webfont.woff") format("woff");
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "lazydog", system-ui;
  margin: 0;
  color: #026389;
  font-size: 20px;
}

.main {
  padding: 10px;
  background: #d8d7b3;
  padding: 15px 30px;
}

.navbar {
  background: #99c0d6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  gap: 1rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.navbar h1 {
  padding-left: 20px;
  font-size: clamp(20px, 2vw, 50px);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: 100%;
}

.logo-container {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  align-items: center;
}

.logo {
  width: 5%;
  min-width: 50px;
  max-height: 80px;
  box-shadow: none;
}

li {
  list-style: none;
  padding: 10px;
  margin: 6px;
  border-radius: 5px;
}

li:hover{
  background-color: #a9d2a9;
}

.name {
  font-size: 30px;
  font-weight: bold;
  color: #333;
}

h2 {
  color: #333;
  font-size: 50px;
  text-align: left;
  margin-left: 5%;
  font-size: clamp(25px, 5vw, 50px);
}

button {
  background: #99c0d6;
  border: none;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  font-family: "lazydog", system-ui;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin: 10px auto;
  max-width: 300px;
  border: #333 5px solid;
}

button:hover {
  background-color: #a9d2a9;
  box-shadow: #333 4px 4px 0px;
  border: #026389 5px solid;
  color: #026389;
}

.button-table {
  text-align: center;
  width: 300px;
  margin: 10px;

}

/* home page */
.hero {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
}

#hero-image {
  padding-top: 40px;
  width: 40%;
  min-width: 300px;
  flex: 1;
  height: auto;
  box-shadow: none;
}

#main-name {
  font-size: clamp(20px, 8vw, 120px);
  font-weight: bold;
  color: #333;
  background: #a9d2a9;
  border: #333 5px solid;
  border-radius: 30px;
  padding: 20px;
  text-shadow: #7a7979 6px 6px 1px;
  margin-bottom: 0;
}

.hero-text {
  font-size: 20px;
  color: #555;
  max-width: 700px;
  margin-left: 0;
  text-align: center;
  min-width: 300px;
  flex: 1;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.testimonials {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  width: auto;
  max-width: 350px;

  background: #a9d2a9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px auto;
}

.page-title {
  text-align: center;
}

.card {
  background: #a9d2a9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px;
  min-width: 300px;
  max-width: 400px;
  flex: 1;
  border: #333 5px solid;
}

.picture {
  background: #a9d2a9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin: 12px;
  width: auto;
  max-width: 300px;
  min-width: 50px;
  flex: 1;
  border: #333 5px solid;
}

footer {
  background: #7cb0ce;
  text-align: center;
  padding: 10px;
  color: #333;
}

header a {
  color: #333;
  text-decoration: none;
}

.main a {
  color: #333;
  text-decoration: underline wavy #333;
}
.main a:hover{
  color: #a9d2a9;
  text-decoration: none;
  text-shadow: #333 0px 0px 10px;
  text-decoration: underline wavy #a9d2a9;
}

#who-for-explanation {
  background: #99c0d6;
  margin: 20px auto;
  max-width: 900px;
  width: auto;
  text-align: center;
}

#rates-explanation {
  background: #99c0d6;
  margin: 20px auto;
  max-width: 900px;
  width:fit-content;
}

#rates-tables {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}


.rates-table {
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;
  margin: 0 auto;
  background: #a9d2a9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border: #333 5px solid;
  text-align: center;
}

h1 {
  color: #333;
  font-size: 40px;
  text-align: center;
}

.link-out {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#about-section {
  margin: 20px auto;
  max-width: 700px;
  width: fit-content;
  background: #a9d2a9;
}

#about-gek-nomi-section {
  margin: 20px auto;
  max-width: 700px;
  width: fit-content;
  background: #99c0d6;
  display: flex;
  flex-wrap: wrap;
}

.dog-type-image {
  width: 100%;
  min-width: 50px;
  height: auto;
  padding: 0;
  margin: 0;
}

img {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(86, 86, 86, 0.1);
  max-width: 100%;
  height: auto;
}

.additional {
  color: #013549;
}

th {
  color: #013549;
  text-decoration: wavy underline #013549;
}

#about-section {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: auto;
  max-width: 900px;
}

.about-image{
  width: auto;
  height: clamp(130px, 20vw, 300px);
  margin: 10px;
  /* border: #7a7979 5px solid; */
  /* box-shadow: #9b9a9a 7px 7px 0px; */
}

#fun-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto;
  max-width: 900px;
}

.step-card {
  background: #99c0d6;
  width: auto;
  max-width: 70%;
}

.step-card-alt {
  background: #a9d2a9;
  width: auto;
  max-width: 70%;
  margin: 10px 0px 10px auto;
}

.step-card-alt h2 {
  margin-left: 0;
  padding-left: 0;
}

.step-card h2 {
  margin-left: 0;
  padding-left: 0;
}

.step-text {
  margin: 35px;
}

th {
  padding: 15px 5px;
}

#about-justyce {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

@media (max-width: 950px) {
  .navbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
  }

  .logo-container {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .navbar h1 {
    padding-left: 0;
    margin: 8px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .testimonials {
    width: 100%;
    padding: 10px;
  }

  .testimonial {
    width: 100%;
    max-width: 360px;
    margin: 10px;
    padding: 10px;
  }

  .social-media-post {
    width: 100%;
    overflow: hidden;
  }

  .instagram-media {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


@media (max-width: 700px) {
  .social-media-post {
    width: 100%;
    overflow: hidden;
  }

  .instagram-media {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #about-justyce {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
  }

  .step-card,
  .step-card-alt {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
  }

  .step-text {
    margin: 20px;
  }

  .nav-links li {
    margin: 4px;
    padding: 8px;
  }

  .testimonial {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
  }

  .about-image {
    display: block;
    margin: 10px auto;
  }

  #about-justyce .about-image:nth-of-type(n + 2) {
    display: none;
  }

  #main-name {
    text-shadow: #7a7979 3px 3px 1px;
  }
}

.social-media-post {
  width: 100%;
  overflow: hidden;
}

.instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.link-out {
  text-align: center;
}

.link-out .instagram-media {
  margin-left: auto !important;
  margin-right: auto !important;
}
