@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@100,400,500,600&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --pm-color: rgb(173, 50, 72);
  --header-font: 'Exo 2', Verdana, sans-serif;
  --text-color: rgb(72, 72, 102);
  --text-color-box: rgb(247, 242, 241);
  font-size: 18px;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 400; /* 400 default for text */
  color: var(--text-color);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
  box-shadow: 3px 0 5px rgba(0, 0, 0, 0.2);
  border-bottom: 1.5px solid var(--pm-color);
  padding-block: 1rem;
}

.desktop-menu {
  display: grid;
  grid-template-areas:
    'logo lang'
    'logo links';
}

.langbar {
  grid-area: lang;
  justify-self: end;
  font-size: 0.7rem;
  font-weight: 100; /* override langbar */
  padding-top: 25px;
  text-transform: uppercase;
  
}
.langbar a {
  color: var(--pm-color);
  text-decoration: underline;
  font-weight: 100;
  

}

.logo-wrapper {
  grid-area: logo;
}
.flag {
  width: 38%;
}

.flagCB {
  width: 38%;
  filter: grayscale(1);
}

#menuToggle {
  grid-area: hamburger;
  align-self: center;
  justify-self: end;
}

.navbar {
  justify-self: end;
  align-self: flex-end;
  grid-area: links;
  display: flex;
  gap: 2rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
}

a {
  text-decoration:none;
  color: var(--text-color);
  font-weight: 500; /* <A> */
}

.logo {
  width: 250px;
}

.container {
  margin-inline: auto;
  max-width: 1000px;
  padding-left: 15px;
  padding-right: 15px;
}

.contact-layout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}

.section {
  margin-top: 3rem;
  margin-bottom: 5rem;
}
.section:last-child {
  margin-bottom: 2rem;
}


.section:last-child {
  margin-bottom: 2rem;
}



.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-box {
  padding: 1rem 1.5rem;
  background-color:rgb(248, 247, 247);
}

.box-shadow {
  box-shadow: 1px 1px 3px -1px var(--text-color), -1px -1px 5px -1px var(--text-color-box);
}

.feature-box-header {
  text-align: center;
  font-weight: 600; /* feautere box + header font */
  font-size: 1.1em;
  font-family: var(--header-font);
}


.feature-box-text {
  text-align: center;
 
}


.pricing-layout {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}

.team-layout {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5rem 1rem;
}
.team-pic {
  flex: 1 0 250px;
  aspect-ratio: 1/0.9;
}
.team-pic {
  background-image: url('/img/team.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.team-texts {
  flex: 2 1 400px;
}

.odkaz {
  text-decoration:underline;
  color: var(--text-color);
}
.odkaz:hover {
  text-decoration:underline;
  color: blue;
}

/*REGISTR PRASAT */
.notification {
  background-color: #eebbbb;
  color: #333; /* Tmavě šedý text */
  border: 2px solid #520307; 
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notification h2 {
  margin-top: 0;
}

.notification p {
  font-size: 18px;
}

.notification ul {
  list-style-type: none; /* Odstranění standardních odrážek */
  padding-left: 0; /* Odstranění levého odsazení */
}

.notification li {
  position: relative; /* Umožní pozicování pseudo-elementu */
  padding-left: 45px; /* Místo pro odrážku */
  margin-bottom: 5px; /* Mezery mezi položkami seznamu */
  /*color: var(--pm-color);
  font-weight: 700;*/
}

.notification li:before {
  content: ""; /* Prázdný obsah, vytváří kolečko */
  position: absolute;
  left: 0;
  top: 5px; /* Zarovnání kolečka vertikálně */
  width: 8px; /* Šířka kolečka */
  height: 8px; /* Výška kolečka */
  background-color: rgb(15, 15, 15); /* Červená barva */
  border-radius: 50%; /* Vytvoření kruhu */
  left: 25px;
}

/*REGISTR PRASAT */


@media screen and (max-width: 768px) {
  .pricing-layout {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

.pricing-layout .feature-box {
  padding: 2rem 3rem;
  align-items: normal;
  display: grid;
  text-align: center;
  flex-shrink: 0;
}

.pricing-bigger {
  font-size: 2rem;
  font-weight: 500; /* pricing bigger */
}

h2,
h3 {
  font-family: var(--header-font);
  font-weight: 600; /* h2, h3 */
  margin-block: 1em;
}
h2 {
  font-size: clamp(1.4rem, 8vw, 2.2rem);
}
h3 {
  font-size: clamp(1.2rem, 6vw, 1.5rem);
  margin-top: 0;
}

p,
li {
  text-align: left;
  line-height: 1.3;
}

p {
  margin-block: 10px;
}

[id] {
  scroll-margin-top: 150px;
}

.cervena,
a:hover {
  color: var(--pm-color);
}

div:has(> .bigImage) {
  text-align: center;
}
.bigImage {
  margin-inline: auto;
  width: 100%;
  max-width: 1000px;
  margin-top: 1rem;
}

.video {
  margin-top: 1rem;
  width: 100%;
  margin-bottom: 1em;
  position: relative;
  padding-bottom: 56.25%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

label {
  display: grid;
}
.form {
  display: flex;
  gap: 1rem 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-flow: row wrap;
 /* background-color:rgb(228, 210, 215)*/
  padding: 10px ;

}
form {
  flex: 3 1 300px;
  display: grid;
  gap: 1rem;
}
input,
textarea {
  padding: 0.5rem;
  font-family: inherit;
  border: 1.5px solid var(--text-color);
  font-size: 1rem;
}
button {
  padding: 0.5rem 1rem;
  background-color: var(--pm-color);
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.business-card {
  margin-top: 1rem;
  padding: 2rem;
  display: grid;
  gap: 0.75rem;
  justify-content: center;
  text-align: center;
}
.business-card > * {
  display: grid;
}
.business-card a {
  font-weight: 400; /* business card */
}

footer {
  border-top: 1.5px solid var(--pm-color);
  box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-block: 2rem;
}

.footer-layout {
  font-size: 0.9rem;
  display: flex;
  flex-flow: row wrap;
  gap: 1rem 3rem;
}

@media (max-width: 650px) {
  [id] {
    scroll-margin-top: 10px;
  }

  header {
    position: static;
  }

  .desktop-menu {
    grid-template-areas:
      'logo lang'
      'logo lang'
      'links links';
  }
  .navbar {
    display: flex;
    flex-flow: row wrap;
    justify-self: center;
    justify-content: space-evenly;
    margin-top: 1rem;
    gap: 0.75rem 1rem;
  }
}
