/*@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');*/

/*===== CUSTOM FONTS =====*/

@font-face {
  font-family: "CustomFont";
  src: url("../css/fonts/earthwerk/pizzadude.dk_-_earthwerk-webfont.woff") format("woff");
  src: url("../css/fonts/earthwerk/pizzadude.dk_-_earthwerk-webfont.woff2") format("woff2");
  /*font-family: "akzidenz";
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff2") format("woff2");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff2") format("woff2");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff") format("woff");
    src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff2") format("woff2");
    font-family: "knockout";
    src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff") format("woff");
    src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff2") format("woff2");*/
}

@font-face {
  font-family: "akzidenz";
  src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff") format("woff");
  src: url("../css/fonts/akzidenz/akzidenz-grotesk-black-webfont.woff2") format("woff2");
  src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff") format("woff");
  src: url("../css/fonts/akzidenz/akzidenz-grotesk-bold-webfont.woff2") format("woff2");
  src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff") format("woff");
  src: url("../css/fonts/akzidenz/akzidenz-grotesk-light-webfont.woff2") format("woff2");
}

@font-face {
  font-family: "knockout";
  src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff") format("woff");
  src: url("../css/fonts/knockout/knockout-htf-69-full-liteweight-1361516723-webfont.woff2") format("woff2");
}

@font-face {
  font-family: "Impact";
  src: url("../css/custom-fonts/impact-webfont.woff") format("woff");
  src: url("../css/custom-fonts/impact-webfont.woff2") format("woff2");
}

/*===== VARIABLES =====*/

:root {
  --green-primary: #6d8d36;
  --indigo-secondary: #1c283e;
  --white-light: #eaebed;
  --text-color: rgb(33, 37, 41);
  --black-main: #000;
  --white-main: #fff;
  --gray: #97968e;
  --design-fonts: "CustomFont";
  --akzidenz-font-family: Helvetica, Arial, sans-serif;
  --knockout-font-family: "knockout";
  --heading-font: "CustomFont";
  --line-height: 1.5;
  --letter-spacing: 1;
  --font-size: 20px;
}

/*===== PRESETS =====*/

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--akzidenz-font-family);
  font-size: 18px;
}

.for-overflow {
  overflow-x: hidden;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

p {
  line-height: var(--line-height);
  font-size: var(--font-size);
  letter-spacing: var(--letter-spacing);
  font-family: Helvetica, Arial, sans-serif;
}

/*===== UTILITY CLASSES =====*/

.container {
  width: 85%;
  max-width: 1200px;
  margin-inline: auto;
}

.section-padding {
  padding-block: 3rem;
}

/*===== HEADER STYLES =====*/

.main-header {
  padding-block: 2rem;

  position: absolute;
  z-index: 2;
  width: 100%;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header .container .branding-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-header .container .branding-logo {
  /*background-color: var(--white-main);
    padding-block: 0.5rem;
    padding-inline: 1.5rem;
    border-radius: 20px;*/
}

.main-header .container .links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.main-header .container .links .socials {
  display: flex;
  gap: 1rem;
}

.main-header .container .links .socials a {
  text-decoration: none;
  color: white;
  font-size: 2rem;
}

.main-header .container .links .socials a:hover [class^="icon-"],
.main-header .container .links .socials a:hover [class*=" icon-"] {
  color: var(--green-primary);
}

.main-header .container .links .navigation {
  display: flex;
  gap: 1.5rem;
}

.main-header .container .links ul.navigation li {
  background-color: var(--white-main);
  padding: 0.5rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.main-header .container .links ul.navigation li a {
  font-family: var(--design-fonts);
  color: var(--green-primary);
  font-size: 18px;

  text-decoration: none;
  transition: all 0.3s ease;
}

.main-header .container .links ul.navigation li.current-menu-item {
  background-color: var(--green-primary);
}

.main-header .container .links ul.navigation li.current-menu-item a {
  color: white;
}

.main-header .container .links ul.navigation li:hover {
  background-color: var(--green-primary);
}

.main-header .container .links ul.navigation li:hover a {
  color: white;
}

/*===== ADOPT BANNER STYLES =====*/

section#adopt.banner {
  width: 100vw;
  height: auto;
  min-height: 0;
  position: relative;
  color: black;
  aspect-ratio: 1400 / 280;
  isolation: isolate;
}

section#adopt.banner img {
  object-fit: cover;
  width: 100%;
  height: auto;
  object-position: center;

  display: block;
}

section#adopt.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: black;
  opacity: 0.3;
}

/*===== ADOPT INTRO STYELS =====*/
section.adopt-intro {
  background-color: #e3e9d8;
}

section.adopt-intro .container {
  width: 850px;
  text-align: center;
}

section.adopt-intro .container .intro-heading {
  font-size: 40px;
  font-family: var(--design-fonts);
  margin-bottom: 2rem;
}

section.adopt-intro .container .intro-heading strong {
  color: var(--green-primary);
  font-weight: 500;
}

section.adopt-intro .container .intro-content strong {
  font-weight: 500;
}

/*----- ADOPT INTRO RESPONSIVENESS -----*/
@media screen and (max-width: 859px) {
  section.adopt-intro .container {
    width: 95%;
  }

  section.adopt-intro .container .intro-heading {
    font-size: clamp(2rem, 1.64rem + 1.6vw, 2.5rem);
  }
}

/*===== ADOPT BODY STYLES =====*/
section.adopt-body {
  background: #e3e9d8;
}

section.adopt-body .animal-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-bottom: 6rem;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1190 / 460;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card .adopt-category-image {
  width: min(60vw, 718px);
}

section.adopt-body .animal-cards-wrapper .adopt-category-card:nth-child(even) .adopt-category-image {
  position: absolute;
  right: 0;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card .adopt-category-content {
  width: 560px;
  background: white;
  padding: 2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card:nth-child(even) .adopt-category-content {
  position: relative;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card .adopt-category-content .adopt-category-content-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card .adopt-category-content .adopt-category-content-heading h2 {
  font-family: var(--knockout-font-family);
  font-size: 42px;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card .adopt-category-content .adopt-category-content-heading h2 span.subheading {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #97968e;
  letter-spacing: 0;
  font-weight: bold;
}

section.adopt-body .animal-cards-wrapper .adopt-category-card .adopt-category-content a {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: var(--green-primary);
  color: white;
  display: flex;
  text-transform: uppercase;
  width: fit-content;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
}

section.adopt-body .animal-cards-wrapper .animal-card {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-self: center;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-number {
  font-family: var(--design-fonts);
  font-size: 40px;
  text-align: end;
  color: var(--gray);
}

section.adopt-body .animal-cards-wrapper h2 {
  font-family: var(--design-fonts);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--green-primary);
  font-weight: lighter;
  margin-bottom: 1rem;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-pic {
  width: 302px;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-pic img {
  display: block;
  width: 100%;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details {
  border: 1px solid var(--green-primary);
  border-top: none;
  padding-block: 1.25rem;
  padding-left: 1rem;
  flex-grow: 1;
  position: relative;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .animal-profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .animal-profile-info .animal-info-line {
  display: flex;

  gap: 0.25rem;
  align-items: baseline;
  color: var(--gray);
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .animal-profile-info .animal-info-line p.location-size {
  width: 150px;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .animal-profile-info .animal-info-line .what {
  font-family: var(--akzidenz-font-family);
  font-size: 18px;
  font-weight: 900;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .animal-profile-info .animal-info-line .what span {
  font-size: 24px;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details a.hide-this {
  display: none;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details a {
  text-decoration: none;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details button {
  margin-top: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: var(--green-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  visibility: hidden;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details button img {
  width: 16px;
  height: 16px;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .absolute-button {
  position: absolute;
  bottom: 6%;
  z-index: 10;
}

section.adopt-body .animal-cards-wrapper .animal-card .animal-profile-brief .animal-profile-details .absolute-button button {
  visibility: initial;
}

section.adopt-body .animal-cards-wrapper .animal-card:nth-child(8) .animal-profile-brief .animal-profile-details .what {
  display: flex;
  gap: 0.2rem;
  font-size: 16px;
  align-items: last baseline;
}

section.adopt-body .animal-cards-wrapper .animal-card:nth-child(8) .animal-profile-brief .animal-profile-details .what strong {
  font-size: 16px;
}

section.adopt-body .animal-cards-wrapper .animal-card:nth-child(8) .animal-profile-brief .animal-profile-details .what span {
  font-size: 24px;
}

/*----- ADOPT BODY RESPONSIVENESS -----*/
@media screen and (max-width: 1200px) {
  section.adopt-body .container {
    width: 95%;
  }
}

@media screen and (max-width: 1023px) {
  section.adopt-body .animal-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 679px) {
  section.adopt-body .animal-cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
