html{
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/*default light mode*/
:root {
  --primary-color: #67636b;
  --card-bg: #fff;
  --card-text: #292639;
  --adoption-bg: rgba(255,255,255,0.75); /* Lower opacity for more visible SVG */
  --shadow-main: 0 10px 30px 0 rgba(122, 99, 206, 0.18), 0 2px 14px rgba(0,0,0,0.18);
  --shadow-hover: 0 12px 40px 0 rgba(122, 99, 206, 0.28), 0 4px 24px rgba(0,0,0,0.18);
}

/*dark mode*/
[theme="dark"] {
--primary-color:#7a63ce;
}

body.dark,
.dark body {
  --card-bg: #312449;
  --card-text: #eae4ff;
  --adoption-bg: rgba(49,36,73,0.92);
  /* Make shadows less visible in dark mode */
  --shadow-main: 0 10px 30px 0 rgba(122, 99, 206, 0.14), 0 2px 14px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px 0 rgba(122, 99, 206, 0.22), 0 4px 24px rgba(0,0,0,0.16);
}

/* For prefers-color-scheme: dark */
@media (prefers-color-scheme: dark) {
  body {
    --card-bg: #312449;
    --card-text: #eae4ff;
    --adoption-bg: rgba(49,36,73,0.92);
    --shadow-main: 0 10px 30px 0 rgba(122, 99, 206, 0.14), 0 2px 14px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px 0 rgba(122, 99, 206, 0.22), 0 4px 24px rgba(0,0,0,0.16);
  }
  .light body {
    --card-bg: #fff;
    --card-text: #292639;
    --adoption-bg: rgba(255,255,255,0.92);
  }
}

p{
color: var(--primary-color);
}

body{ 
  margin: 0;  
  padding: 0;
  font-family: "Baloo 2", sans-serif;
  font-weight: 400 ;
}
.article {
  background-image: url(https://odraz.umelecka.cz/wp-content/uploads/2025/06/Datovy-zdroj-4@6x.png);
  background-repeat: repeat-y;
  background-size: contain ;
  background-position: center center;
   box-shadow: 0px 0px 50px 50px var(--card-bg) inset;
   /*transition: background 0.2s, color 0.2s, box-shadow 0.1s;*/
   transition: var(--transition);
}

.wrapper{
  width: 100vw;
  overflow: hidden;

}
.baloo-2{
  
  font-optical-sizing: auto;
  font-weight: 400 ;
  font-style: normal;
}
h4, b{
  
  font-optical-sizing: auto;
  font-weight: 800 ;
  font-style: normal;
}


/*logo*/
.logo {
  width: 100%;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.logo img{
  
  width: auto;
  height: 100%;
  display: block;
}


/*menu*/
.navbar {
  width: 100%;
  overflow: visible; /* Allow shadows to show outside */
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: bold;
  padding-top: 1rem;    /* Add space for shadow above */
  padding-bottom: 1rem; /* Add space for shadow below */
}

/* Navigation links */
.navbar a {
  display: block;
  padding: 12px;
  margin-right: 2rem;
  color: var(--card-text); /* Responsive to dark mode */
  text-decoration: none;
  font-size: 17px;
  width: 25%;
  text-align: center;
  background-color: transparent;
  border-radius: 2rem;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-main);
}

.navbar a:hover {
  background-color: #7a63ce;
  color: #fff; /* Change text color on hover */
  box-shadow: var(--shadow-hover);
}


/*Tyna uvodní fotka*/
.Tyna_big {
  width: 60vw; 
  height: auto;
  display: block;
  margin: auto;
  position: relative;
}

.Tyna_big::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 99%;
  background: rgba(122, 99, 206, 0.35); /* semi-transparent purple */
  border-radius: 1rem; /* match image rounding */
  pointer-events: none; /* allow clicks through overlay */
  z-index: 1;
	mix-blend-mode: color;
}

.Tyna_big img{
  border-radius: 1rem; /* Adjust the value for more/less roundness */
  width: 100%; 
  height: auto;
  position: relative;
  z-index: 0;
}


.tyna-big-text {  
    background: none;
    color: #f6f3fa;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    max-width: 100%;
    box-shadow: none;
}
/*Our Cats titel*/
.Titel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  font-weight: bold; /* Make the text bold */
}

.Titel p#Our_Cats,
.Titel p#What_is_FIP, 
.Titel p#Adoption {
  color: #67636b; /* Light mode color */
  font-size: 2.2rem;
  font-weight: 800;
  margin: 1.5rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

body.dark .Titel p#Our_Cats,
.dark .Titel p#Our_Cats,
body.dark .Titel p#Adoption,
.dark .Titel p#Adoption,
body.dark .Titel p#What_is_FIP,
.dark .Titel p#What_is_FIP {
  color: #D4D1D1; /* Dark mode color */
}

.Titel p#Adoption {
  display: none;
}





/*Tyna*/
.container {
  width: 70%;
  display: block;
  margin: auto;
  padding-bottom: 4rem;
  padding-top: 4rem;
}

.cards :link{
 text-decoration: none;
 }
.cards :visited{
 text-decoration: none;
 }
 .container :hover{
 text-decoration: none;
 }

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #7a63ce;
}

.container:hover .overlay {
  opacity: 1;

}

.text {
  color:#D4D1D1  ;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/*cards*/
.card {
  width: 250px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 16px;
  box-shadow: var(--shadow-main);
  padding-top: 110px;
  padding-bottom: 1.5rem;
  margin-top: 60px;
  transition: 
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  transform: scale(1.12); /* More enlarging */
  box-shadow: var(--shadow-hover); /* Same color, just stronger */
}

.card-image {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  background: var(--card-bg);
  z-index: 2;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .container {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .container p {
  margin: 0.2rem 0; /* Much smaller vertical space */
  line-height: 1.05; /* Even tighter line spacing */
}

/* Add or update these styles for the cat cards */

.card {
  position: relative;
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 16px;
  box-shadow: var(--shadow-main);
  padding-top: 110px; /* increase space for the image */
  padding-bottom: 1.5rem;
  width: 250px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  margin-top: 60px;
  transition: 
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  transform: scale(1.12); /* More enlarging */
  box-shadow: var(--shadow-hover); /* Same color, just stronger */
}

.card-image {
  position: absolute;
  top: -90px; /* move up to keep centered above the card */
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  background: var(--card-bg);
  z-index: 2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
  cursor: pointer;
}

.card-image:hover img {
  transform: scale(1.08);
}

.container {
  text-align: center;
  margin-top: 0.5rem;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 0px solid #ccc; /* Gray border */
  border-radius: 2rem; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
  font-family: "Baloo 2", sans-serif;
    box-shadow: var(--switch-shadow);
  background-color: var(--b-bg-color);
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #D4D1D1;
  color: #67636b;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Baloo 2", sans-serif;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #7a63ce;
  color: #fff; /* Change text color on hover */
  font-family: "Baloo 2", sans-serif;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  padding: 20px;
}

.Adoption_form {
  border-radius: 1rem;
  padding: 20px;
  margin: 2rem auto;
  max-width: 700px;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--adoption-bg);
  
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60% auto;
  /* Optional: add a border for more contrast */
  /* border: 1px solid #e0e0e0; */
}

.Adoption_form:hover {
  box-shadow: var(--shadow-hover);
}

.fip-info-box {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: var(--card-bg);      /* Use variable for light/dark */
  color: var(--card-text);         /* Use variable for light/dark */
  border-radius: 1rem;
  box-shadow: var(--shadow-main);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  text-align: center;
  font-size: 1.1rem;
}
.fip-info-box a {
  margin-top: 1rem;
  display: inline-block;
  color: #7a63ce;
  font-weight: bold;
  text-decoration: underline;
}

.fip-info-box:hover {
  box-shadow: var(--shadow-hover);
}


 /*for pc version*/
 @media only screen and (min-width: 800px) and (max-width: 8000px) {
  nav {
  display: flex;
 justify-content: space-between;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        margin-right: 2rem;
    
  }
  .article {
  background-image: url(https://odraz.umelecka.cz/wp-content/uploads/2025/06/Datovy-zdroj-4@6x.png);
  background-repeat: no-repeat;
  background-size: 125rem;
  background-position: center center;
  
}
  .tyna-big-text {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  /* Remove the purple background */
  background: none;
  color: #f6f3fa;           /* Optional: keep text purple, or use #fff for white */
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  max-width: 90%;
  box-shadow: none;         /* Remove the box shadow if you want only text */
}
  .cards {
 display: flex;
  }
  .logo {
  width: 100%;
  height: 10rem;
  display: flex;
  justify-content: flex-start;
}

  .logo img{
  padding: 1rem;
  max-width: auto;
  height: 100%;
  display: block;
}

.card{
  margin-left: 2rem ;
  margin-right: 2rem;
}
  
 }

 *, ::after, ::before {
  box-sizing: border-box;
}



body{
  --bg-color: #fff;
  --text-color: #303030;
  --switch-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1) inset;
  --transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  --b-bg-color: #eae4ff;
}

.dark body {
  --bg-color: #251e46;
  --text-color: #7a63ce;
  --switch-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5) inset;
  --b-bg-color: #eae4ff;
}

@media (prefers-color-scheme: dark) {
  body {
    --bg-color: #292639; /*web backgound dark*/
    --text-color: #7a63ce; /*dot next to mon*/
    --switch-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5) inset;
     --b-bg-color: #312449;
  }
  .light body {
    --bg-color: #fff; /*web backgound light*/
    --text-color: #67636b; /*dot next to sun*/
    --switch-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1) inset;
    --b-bg-color: #acacac;
  }
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-color);
  transition: var(--transition);
}
h1{
color: var(--text-color);
  font-size: 1.2rem;
}
p{
  color: var(--card-text);
  font-size: 1.2rem;
 
}
.theme-switch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.theme-switch .checkbox {
  opacity: 0;
  position: absolute;
}

.theme-switch .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 50px;
  position: relative;
  height: 40px;
  width: 80px;
  cursor: pointer;
  background-color: #f6f3fa; /* Your custom light mode color */
  box-shadow: var(--switch-shadow);
  transition: var(--transition);
}

.theme-switch .label:hover .moon,
.theme-switch .label:hover .sun {
  transform: rotate(360deg);
}

.theme-switch .ball {
  transition: var(--transition);
  background-color: var(--text-color);
  position: absolute;
  border-radius: 50%;
  top: 5px;
  left: 5px;
  height: 30px;
  width: 30px;
 }

.theme-switch .moon {
  color: #7a63ce;
  transform-origin: center center;
  transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform: rotate(0);
}

.theme-switch .sun {
  color:#2C2C2C ;
  transform-origin: center center;
  transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform: rotate(0);
}

.theme-switch .ball {
  transform: translatex(0);
}

.dark .theme-switch .ball {
  transform: translatex(40px);
}

@media (prefers-color-scheme: dark) {
  .theme-switch .ball {
    transform: translatex(40px);
  }

  .light .theme-switch .ball {
    transform: translatex(0);
  }
}

.credits {
  font-family: Helvetica, Arial, Sans-Serif;
  color: var(--text-color);
  padding-top: 20px;
  font-size: 14px;
}

.credits a {
  color: var(--text-color);
}


/*thank you*/
.thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  font-weight: bold; /* Make the text bold */
}



/* Dark mode background for article */
body.dark .article,
.dark .article {
  background-image: url(https://odraz.umelecka.cz/wp-content/uploads/2025/06/Datovy-zdroj-4@6x.png);
  box-shadow: 0px 0px 50px 50px var(--bg-color) inset;
    
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 1rem 0;
  gap: 1rem;
}

.klubko {
  position: fixed;
  place-self: right bottom;
  width: 100rem;
}

.klubko-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.klubko-fixed img {
  width: 80px;
  height: 80px;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}

.klubko-fixed:hover img {
  opacity: 1;
  transform: scale(1.08) rotate(-10deg);
}

.social-icon img,
.instagram-icon img,
.umelecka-icon img {
  filter: invert(34%) sepia(54%) saturate(748%) hue-rotate(227deg) brightness(94%) contrast(92%);
  width: 40px;
  height: 40px;
  transition: transform 0.2s, filter 0.2s;
  cursor: pointer;
}

.social-icon img:hover,
.instagram-icon img:hover,
.umelecka-icon img:hover {
  transform: scale(1.15); /* Only scale, no rotation */
  filter: invert(40%) sepia(80%) saturate(900%) hue-rotate(227deg) brightness(110%) contrast(110%);
}

.card .container p {
  margin: 0.5rem 0; /* Much smaller vertical space */
  line-height: 1.05; /* Even tighter line spacing */
}

.card .container h4 {
  font-size: 2rem;           /* Make the title bigger */
  color: #7a63ce;            /* Change to your preferred color */
  margin: 0.5rem 0 0.2rem 0; /* Adjust spacing if needed */
  font-weight: 800;          /* Extra bold */
  letter-spacing: 1px;       /* Optional: add some spacing */
}

.cards {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* or center if you want vertical centering too */
  flex-wrap: wrap;
  gap: 2rem; /* space between cards */
  width: 100%;
  margin: 0 auto;
}

@media only screen and (max-width: 799px) {
  .article {
    background-image: url('https://odraz.umelecka.cz/wp-content/uploads/2025/06/packy-mobil2.png'); /* Use your preferred image */
    background-repeat: repeat-y;
    background-size: contain;
    background-position: center center;
    
  }
  body {
    background: var(--bg-color);
  }
  body.dark .article,
  .dark .article {
    background-image: url('https://odraz.umelecka.cz/wp-content/uploads/2025/06/packy-mobil2.png'); /* Same as light mode */
    background-repeat: repeat-y;
    background-size: contain;
    background-position: center center;
  }
  .tyna-big-text {
    background: rgba(255, 255, 255, 0.65); /* semi-transparent white box */
    color: #32303a; /* dark text for readability */
    border-radius: 1rem;
    font-size: 1.1rem;
    padding: 0.7rem 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  }
  .dark .tyna-big-text {
    background: rgba(49, 36, 73, 0.85); /* semi-transparent dark box */
    color: #f6f3fa;
  }
  .tyna-big-text {
    font-size: 1.1rem; /* Smaller text for mobile */
    padding: 0.7rem 1rem;
  }
  .dark .tyna-big-text {
    font-size: 1.1rem; /* Ensure same size in dark mode */
  }
}

body.dark .theme-switch .label,
.dark .theme-switch .label {
  background-color: #312449; /* Custom dark mode background for switch */
  
}

.Adoption_form,
.Adoption_form label,
.Adoption_form legend {
  color: #67636b; /* Light mode text color */
  font-weight: 700;
}

body.dark .Adoption_form,
.dark .Adoption_form,
body.dark .Adoption_form label,
.dark .Adoption_form label,
body.dark .Adoption_form legend,
.dark .Adoption_form legend {
  color: #eae4ff; /* Dark mode text color */
}

.Adoption_form input[type="submit"] {
  background-color: #eae4ff; /* Bubble color (same for both modes) */
  color: #312449;
  transition: background 0.2s, color 0.2s;
}

.Adoption_form input[type="submit"]:hover,
.Adoption_form input[type="submit"]:focus {
  background-color: #7a63ce; /* Accent color on hover (same for both modes) */
  color: #fff;
}

.Adoption_form input[type="text"],
.Adoption_form select,
.Adoption_form textarea {
  background-color: #eae4ff; /* Match the input button color in light mode */
  color: #312449;
  border: none;
  box-shadow: var(--switch-shadow);
  border-radius: 2rem;
  font-family: "Baloo 2", sans-serif;
}

@media only screen and (min-width: 800px) {
  .tyna-big-text {
    font-size: 2.7rem;
    padding: 2.5rem 3rem;
		line-height: 3rem;
  }
}
 /* odraz cheat*/
footer, .wpulike {
	display: none;
}
