@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

body {
  margin: 0;
  background-color: #FDFBF7;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

main {
  min-height: 70vh;
}

h1, h2, h3, h4 {
  font-family: "Comfortaa", sans-serif;
}

img {
  object-fit: cover;
}

button, .btn {
  padding: 10px;
  border-radius: 10px;
  margin: 5px;
  background-color: #EED1BE;
  transition: 0.2s;
  cursor: pointer;
  border: 1px solid #D76B5B;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-block;
  color: black;
}

button:hover, .btn:hover {
  background-color: #D76B5B;
}

button a, .btn a {
  color: black;
}

nav {
  display: flex;
}


nav ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-around;
  padding: 0;
  flex-direction: column;
}

nav a {
  text-decoration: none;
  color: black
}

nav .logo {
  border: 2px solid black;
  border-radius: 25%;
  padding: 10px;
  font-weight: bold;
  order: -1;
  display: block;
  font-family: "Comfortaa", sans-serif;
  
}

nav li {
  display: none;
  margin: 5px;
  border: 2px solid none;
  border-bottom: 2px solid #eee;
  /*transition: 2s all;*/
}

nav li.m-active {
  display: block;
}

nav li:not(:nth-child(3)) {
  width: 90%;
  padding: 20px;
}

nav li a {
  display: block;
}


nav li:not(:nth-child(3)):hover {
  border-bottom: 2px solid red;
  /*border-radius: 5px;*/
  /*font-weight: bold;*/
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    width: 30px;
    justify-content: center;
}

.hamburger.m-active {
  display: none;
}

.placer.m-active {
  display: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 30px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

.placer {
  width: 50px;
}

.menu-active {
  border-bottom: 2px solid red;
  border-radius: 5px;
  font-weight: bold;
}

.hero {
  width: 100%;
  position: relative;
  height: 100vh;
}

.hero img {
  width: 100%;
  height: 100%;
  /* Ez a kulcs: kitölti a területet torzítás nélkül */
  /* Meghatározza, melyik rész maradjon középen (pl. a macska arca) */
  object-position: center 30%;
}

.hero-text {
  font-family: "Comfortaa", sans-serif;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  background-color: #069d989e;
  border-radius: 20px;
  padding: 8px;
  width: 90%;
  max-width: 1000px;
}

.content {
  width: 90%;
  margin: auto;
  margin-top: 40px;
}

.card {
  min-width: 300px;
}


.wide-card {
  /*border: 1px solid rgb(124, 110, 110);*/
  display: flex;
  flex-direction: column;
  width: 85%;
  margin: auto;
  border-radius: 20px;
}

.wide-card .card-content {
  padding: 10px;
  margin: auto;
}

.wide-card img {
  width: 100%;
  border-radius: 20px;
}

.postCards, .clothCards {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  text-align: left;
}

.postCards .card, .clothCards .card {
  width: 100%;
  /*border: 2px solid red;*/
  border-radius: 20px;
  padding: 15px;
}

.postCards img, .clothCards img {
  width: 100%;
  height: 500px;
  border-radius: 20px;
}

.postCards button, .clothCards button {
  width: 100%;
}

section,
article {
  text-align: justify;
  width: 90%;
  margin: auto;
}

.blog_header {
  text-align: center;
}

.blog {
  width: 70%;
}

.blog p {
  margin-bottom: 40px;
}

.blog h2 {
  text-align: left;
}

.blog p {
  text-align: justify;
}

.video {
  border-radius: 20px;
}

ul,
ol {
  text-align: left;
}

hr {
  margin-top: 20px;
}

footer ul {
  list-style-type: none;
  text-align: center;
}

footer {
  background-color: antiquewhite;
  margin-bottom: 0;
  padding: 30px;
  margin-top: 20px;
}

.important {
  margin: 10px;
}

.blogImg {
  height: 80vh;
  border-radius: 20px;
  max-width: 100%;
}

.tipp {
  border: 3px solid #4300E0;
  border-radius: 20px;
  padding: 10px;
  width: 75%;
  margin: auto;
  margin-top: 30px;
}

.tipp h2 {
  color: #4300E0;
}

.tipp p {
  color: #7033FF;
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 0.8s all ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

#jump {
  display: none;
}

.center {
  text-align: center;
}


#anyagok {
  width: 90%;
  margin: auto;
}

#anyagok td {
  padding-left: 20px;
  text-align: left;
  border: 1px solid gray;
}

#anyagok th {
  text-align: center;
  border: 2px solid gray;
}

#anyagok caption {
  font: bold;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
input[type="file"] {
  border-radius: 10px;
  border: 1px solid gray;
  padding: 10px;
  margin: 3px;
  background-color: #FDFBF7;
  box-sizing: border-box;
  width: 100%;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #c58673;
    box-shadow: 0 0 5px rgba(197, 134, 115, 0.5);
}

textarea {
    resize: vertical;
}

.radios {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radios div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox {
  display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    margin-top: 10px;
}
.checkbox input {
  margin-top: 0px;
}

.checkbox label {
  margin-top: 0px;
}

label {
  display: block;
  margin-top: 10px;
}

form {
  margin: auto;
  background-color: #EED1BE;
  padding: 10px;
  border-radius: 10px;
}

fieldset {
  text-align: left;
  border: none;
  padding: 0;
}

.formBtns {
  text-align: center;
}

legend {
  text-align: center;
  font-weight: bold;
}

.blog-card {
  width: 80%;
  margin: auto;
  border: 1px solid gray;
  padding: 40px;
  border-radius: 20px;
  height: 50vh;
}

.blog-card img {
  border-radius: 20px;
  height: 80%;
}

.blog-card h3 {
  text-align: center;
  font-size: larger;
}

.blog-card button {
  width: 100%;
}

.blog-card {
  text-align: center;
}

details {
  cursor: pointer;
  user-select: none;
}

#honapsztarja li {
  margin-bottom: 20px;
}

#notfound {
  width: 100%;
  text-align: center;
}

#notfound img {
  max-width: 80%;
  margin: auto;
  border-radius: 20px;
}

@media (min-width: 600px) {


  .wide-card {
    flex-direction: row;
  }

  .wide-card img {
    width: 25%;
  }

  .hero-text {
    width: 80%;
  }

  .video {
    width: 560px;
    height: 315px;
  }
}

@media (min-width: 768px) {
  form {
    width: 50%;
  }
    
  nav ul {
    flex-direction: row;
  }

  nav li {
    display: block;
    width:fit-content;
  }

  nav li:not(:nth-child(3)) {
  width: fit-content;
}

  nav .logo {
    order: 0;
  } 

.hamburger, .placer {
  display: none;
}

  .hero-text {
    width: 70%;
  }

  .postCards, .clothCards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .postCards .card, .clothCards .card {
    width: 30%;

  }
}