/*
Theme Name: Refuge Canin Solidaire
Author: Clément Tutin & Romain Thibaud & Loïc Souêtre
Description: Thème pour un refuge canin solidaire
Version: 1.0
Text Domain: refuge_canin_solidaire
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yuji+Boku&display=swap');

:root {
  --Colors-Brand-Coussinet-100: #FCEDFD;
  --Colors-Brand-Coussinet-200: #F7DDF7;
  --Colors-Brand-Coussinet-400: #F3CDF3;
  --Colors-Brand-Coussinet-500: #CF74D2;
  --Colors-Brand-Coussinet-600: #914D93;
  --Colors-Brand-Canin-100: #FAEEE0;
  --Colors-Brand-Canin-200: #EBD6BC;
  --Colors-Brand-Canin-600: #A48346;
  --Colors-Brand-Canin-700: #856833;
  --Colors-Brand-Canin-800: #654D20;
  --Colors-Brand-Canin-900: #46320D;
  --Colors-Feedback-Error-100: #FEE2E2;
  --Colors-Feedback-Error-600: #B91C1C;
}

body {
  font-family: 'DM Sans';
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #46320D;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
  padding-block: clamp(2rem, 5vh, 4rem);
}

@media (max-width: 768px) {
  #content {
    padding-inline: 1rem;
  }
}

@media (min-width: 1600px) {
  #content {
    max-width: 1440px;
  }
}

h1 {
  color: var(--Colors-Brand-Canin-900);
  font-family: "Young Serif";
  font-size: 4.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  color: var(--Colors-Brand-Canin-900);
  font-family: "Young Serif";
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -2.56px;
  line-height: 1.2;
}

h3 {
  color: var(--Colors-Brand-Canin-900);
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  color: var(--Colors-Brand-Canin-900);
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.6px;
}

h6 {
  color: var(--Colors-Brand-Canin-900);
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.96px;
}

p {
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.4px;
}

section {
  padding: 7rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

section.full-width {
  width: 100vw;
  margin-inline: calc(-1 * (100vw - 100%) / 2);
}

section.full-width>div {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
  padding-block: clamp(2rem, 5vh, 4rem);
}

.cta-item {
  height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: "Young Serif";
  font-size: 1rem;
  font-weight: 400;
  line-height: normal;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-item span {
  white-space: pre;
}

.primary-cta {
  border: 2px solid var(--Colors-Brand-Canin-900);
  background: var(--Colors-Brand-Coussinet-100);
  color: #46320D;
}

.primary-cta:hover {
  background: var(--Colors-Brand-Coussinet-400);
}

.secondary-cta {
  background: var(--Colors-Brand-Canin-900);
  color: #fff;
}

.secondary-cta:hover {
  background: var(--Colors-Brand-Canin-800);
}

.text-bold {
  color: var(--Marron-principal, #46320D);
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -1.6px;
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.site-title a {
  color: #4a7b9d;
  text-decoration: none;
  transition: color 0.3s;
}

.site-title a:hover {
  color: #3a6080;
}

.site-description {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #f1f1f1;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/*** DOG CARD ***/

.dog-card {
  width: calc(25% - 1.125rem);
  flex-shrink: 0;
  box-sizing: border-box;
  height: 470px;
  border-radius: 20px;
  border: 2px solid #E4E4E4;
  box-shadow: 0px 4px 10.4px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.dog-card:hover {
  box-shadow: 0px 4px 10.4px 0px rgba(0, 0, 0, 0.05);
}

.dog-card-container {
  height: 100%;
  width: 100%;
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dog-card .dog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%);
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.dog-card:hover .dog-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 100%);
}

.dog-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dog-card-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.dog-card-content {
  height: 100%;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.dog-card-content .status {
  color: var(--Colors-Feedback-Error-600);
  background-color: var(--Colors-Feedback-Error-100);
  display: flex;
  padding: .25rem .5rem;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  border-radius: .5rem;
  width: fit-content;
}

.dog-card-content .infos {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.dog-card-content p {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 14px;
  font-weight: 400;
}

.dog-card-content .dog-name {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 20.4px;
}

.dog-card-cta {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 1rem;
  right: 1rem;
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1.5rem;
  border-radius: 1.5rem;
  padding: 1rem;
  background: var(--Colors-Brand-Canin-900)
}

.dog-card-cta:hover {
  background: var(--Colors-Brand-Canin-800)
}

.buttons-cta {
  display: flex;
  gap: 1rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-number-container {
  width: 100%;
  position: relative;
}

.step-number-container::after {
  content: "";
  display: block;
  width: calc(100% - 4rem);
  height: 1px;
  position: absolute;
  right: 0;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--Colors-Brand-Canin-900);
}

.step-number {
  width: 3rem;
  height: 3rem;
  display: flex;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: var(--Colors-Brand-Canin-100);
  color: var(--Colors-Brand-Canin-900);
  font-family: "Young Serif";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.square {
  height: 144px;
  width: 144px;
  background-color: var(--Colors-Brand-Canin-100);
  border-radius: 8px;
  margin: auto;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h6 {
    font-size: 1rem;
  }

  .cta-item {
    height: 56px;
    padding: 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  a {
    width: 100%;
  }

  .dog-card {
    width: calc(75% - 1.125rem);
  }
}