/* General styles
------------------------------------------------------------------ */

* {
  outline: none;
}

html,
body {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;

  margin: 0 auto;
  padding: 0;
  background-color: #fff6ed;
  font-family: Monterrat, Rubik, sans-serif;
  font-size: large;
}

main {
  flex: 1;
}

a {
  color: black;
}

a:hover,
a:active {
  color: rgb(58, 47, 47);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: Rubik;
}

h1 {
  margin-bottom: 30px;
}

label {
  display: block;
}

/* Header styles
------------------------------------------------------------------ */

#wrap {
  background-color: #b2c2a7;
  width: 100%;
  padding-bottom: 10px;
}

.logo {
  font-size: 2.2rem;
  line-height: 70px;
  font-family: karla;
}

/* utan mediaquery */
#menu-navbar {
  /*   background-color: rgb(255, 127, 159); */
  list-style: none; /* Ta bort punkter från listan */
  text-transform: uppercase;
  display: flex;
  flex-direction: row; /* Gör så att länkarna ligger på rad */
  align-items: center;
  justify-content: flex-start;
  gap: 20px; /* Mellanrum mellan länkar */
}
#menu-navbar a {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .logo {
    font-size: 2.2rem;
    line-height: 70px;
    font-family: Playfair Display;
  }
  #menu-navbar {
    list-style: none; /* Ta bort punkter från listan */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.1rem; /* Mellanrum mellan länkar */
  }
}

#menu-navbar > li {
  line-height: 40px;
  list-style: none;
  padding: 0 1px;
  text-decoration: none;
  font-family: Rubrik, Playfair Display;
  font-size: 1.3rem;
}

#menu-navbar > li.current-menu-item {
  /*  background-color: #E08253; */
  background-color: beige;
  border-radius: 3px;
}

#meny-navbar > li > a {
  padding: 0 15px;
  display: block;
}

a:link {
  text-decoration: none;
}

#menu-navbar li:hover {
  cursor: pointer;
  transform: scale(1.10);
  transition: transform 0.3s ease;
}


/* Main styles
------------------------------------------------------------------ */

/* Startsida
--------------- */

.page-content {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.page-inner {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.page-text {
  width: 70%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-image {
  width: 30%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-image img {
  border-radius: 6%;
  max-width: 100%;
  height: auto;
}



@media (max-width: 600px) {
  .page-content {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }


.page-inner {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

  .page-text {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-image {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-image img {
  border-radius: 6%;
  max-width: 50%;
  height: auto;
}

}
/* Startsida
--------------- */
/* BLOGG
------------------------------------------------------------------ */
#blog-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

#blog-container {
  width: 70%;
}

#hero-cloud {
  width: 30%;
  height: 30%;
  display: flex;
}

#cloud {
  margin-top: 20px;
  background-color: #e082537c;
  padding: 20px;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  width: 60%;
  height: 30%;
}

.blog-post {
  margin: 0 auto;
}

article.blogg-post {
  background-color: #cbcfb5;
  border: solid 1px #ccc;
  padding: 20px;
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 30px;
}

article + article {
  margin-top: 30px;
}

article img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}

article .title {
  margin-bottom: 10px;
}

.meta-data {
  display: flex;
  flex-wrap: wrap; /* Gör att det radbryts snyggt om det blir för långt */
  gap: 1rem; /* Avstånd mellan <li> */
  list-style: none; /* Ta bort prickarna */
  padding: 0;
  margin: 0;
}

.meta-data li {
  display: flex;
  align-items: center; /* Justera ikon och text snyggt på samma rad */
  gap: 0.3rem; /* Avstånd mellan ikon och text */
}

/* finns både i bloggen men också på tavlor */
.wp-thumbnail {
  margin-top: 1rem;
  width: 150px;
  height: auto;
}

/*------------------------------------------Tavel arkiv/Tavel-taggar/kategori */

.category-meny {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}


.category-meny li a {
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: Rubrik, Playfair Display;
  font-size: 1rem;
}

.category-meny li:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/*  */

.tavlor-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.tavlor-tagg-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.tavlor-wrapper {
  margin: 0 auto;
  width: 100%;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

article.tavla-archive {
  padding: 20px;
  position: relative;
  max-width: 90%;
  min-width: 290px;
  margin: 0 auto;
  margin-bottom: 30px;
}
article.tavla-archive:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}




article.tavla-archive img {

  margin-bottom: 30px;
  max-height: 225px;
  max-width: 250px;
}

article .title {
  margin-bottom: 10px;
}

.meta-data {
  display: flex;
  flex-wrap: wrap; /* Gör att det radbryts snyggt om det blir för långt */
  gap: 1rem; /* Avstånd mellan <li> */
  list-style: none; /* Ta bort prickarna */
  padding: 0;
  margin: 0;
}

.meta-data li {
  display: flex;
  align-items: center; /* Justera ikon och text snyggt på samma rad */
  gap: 0.3rem; /* Avstånd mellan ikon och text */
}
.wp-thumbnail {
  /*   margin-top: 1rem; */
  width: 150px;
  height: auto;
}


/* Tavla arkiv */

/*------------------------------------------Single Tavla */

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.red {
  color: red;
}

#link_category {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 20px;
}
#category-list {
 width: 100%;
}

.button-wrapper {
  margin: 0 auto;
  margin-top: 10px;
  display: flex;
  width: 100%;
  justify-content: center;
  background-color: #b2c2a7;
  border-radius: 5px;
  padding: 10px 20px;
}

.disabled-button-wrapper {
  margin: 0 auto;
  margin-top: 10px;
  display: flex;
  width: 100%;
  justify-content: center;
  pointer-events: none;
  background-color: #ccc;
  color: #666;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button-wrapper:hover {
  background-color: #e08253;
}

.btn-buy-tavla.btn-view-tavla {
  font-family: Abyssinica SIL;
  font-size: 1rem;
}

.btn-buy-tavla.btn-view-tavla > a {
  font-weight: bold;
}

.btn-buy-tavla:hover,
.btn-buy-tavla:active {
  color: white;
  background-color: #e08253;
}

.tavla-wrapper {
  margin: 0 auto;
  width: 80%;
  height: 100%;
  display: flex;
}

.rea-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

#section-left {
  width: 50%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#section-right {
  width: 50%;
  height: auto;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tavla {
  margin-top: auto;
  margin-bottom: auto;
  border: solid 1px #ccc;
  padding: 20px;
  position: relative;
  width: 90%;
}

#image {
  width: 100%;
  min-height: 225px;
}
#image-galleri  {
display: flex;
  justify-content: center; /* centrerar horisontellt */
  }
  
#image-galleri img {
  height: auto;
  display: block;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

#image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}
#section-right #content {
  margin-top: 20px;
  margin-bottom: 20px;
  border-bottom: solid #65635f67 2px;
}
@media (max-width: 600px) {
  .tavla-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  #section-left {
    width: 100%;
  }

  .tavla {
    width: 100%;
  }

  #image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    max-height: auto;
  }
  #section-right {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (min-width: 601px) and (max-width: 800px) {
  .tavla-wrapper {
    width: 90%;
  }

  #section-left {
    width: 50%;
    padding: 1%;
  }

  #section-right {
    width: 50%;
    padding: 1%;
  }
}
/* Döljer fälten som visar tavlans ID och title */
.hiddenForm {
  display: none;
}

/* Tavla

/* ----------------------------------------------------Contact */

.wpforms-132-field_6-container {
  display: none;
}

.contact-form {
  max-width: 80%;
  margin: 0 auto;
}

/*  */
.side-menu {
  margin: 0;
  padding: 0;
}

.side-menu > li {
  border-bottom: solid 1px #ccc;
  list-style: none;
  padding: 10px 0;
}

.pagination {
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.pagination h2 {
  display: none;
}

.page-numbers {
  display: inline-block;
  margin: 0 2px;
  margin: 1px 1px;
}

.page-numbers.current {
  background-color: #e082537c;
  font-weight: bold;
  padding: 3px 3px;
}

@media (max-width: 768px) {
  .pagination {
    margin-bottom: 30px;
  }
}

/* Footer styles
------------------------------------------------------------------ */
#footer {
  padding: 10px 0;
  background-color: #b2c2a7;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #555; /* valfri hoverfärg */
}

#copyright {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 600px) {
  .footer-contact {
    flex-direction: column;
    align-items: center;
  }
}
