@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

body {
  padding: 0;
  margin: 0;
  font-size: 16px;
  background-color: #fefefe;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
}


p,
h1,
h2,
h3,
h4,
h5,
b,
i {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
}

i,
em {
  font-style: italic;
}


.content-block {
  max-width: 1200px;
  margin: 50px auto;
}

b {
  font-weight: bold;
}

/* introduction */

.cf-left {
  padding-right: 50px;
}


.cf-right {
  padding-left: 50px;
}


/* transition to move viewer down the page */
.box-container {
  position: relative;
}

.box-container::before {
  content: '';
  position: absolute;
  top: -5px;
  /* Adjust to control how much the arrow overlaps the top edge */
  left: 50%;
  transform: translateX(-50%);
  /* Centers the triangle horizontally */

  /* Triangle creation using borders */
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  /* Half the width of the base */
  border-right: 20px solid transparent;
  /* Half the width of the base */
  border-top: 20px solid #fefefe;
  /* The color of the arrow itself and its height */
}

.hero-painting-transition {
  position: relative;
}

.hero-painting-transition::before {
  content: '';
  position: absolute;
  top: -5px;
  /* Adjust to control how much the arrow overlaps the top edge */
  left: 50%;
  transform: translateX(-50%);
  /* Centers the triangle horizontally */

  /* Triangle creation using borders */
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  /* Half the width of the base */
  border-right: 20px solid transparent;
  /* Half the width of the base */
  border-top: 20px solid rgb(218, 131, 145);
  /* The color of the arrow itself and its height */
}



/* artwork */


/* toggle for magnifier loop */
.magnifier-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: sans-serif;
  margin-bottom: 10px;
  cursor: pointer;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: rgb(218, 131, 145);
}

input:focus+.slider {
  box-shadow: 0 0 1px rgb(218, 131, 145);
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded slider */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* magnifier loop */
.magnifier-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
  border: 2px solid #454545;
  border-radius: 50%;
  pointer-events: none;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  visibility: hidden;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  backface-visibility: hidden;
  transform: translateZ(0);
}


/* Popup container */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 105%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* show the popup */
.popup .show {
  visibility: visible;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}





/* guild artwork */

#guild-overlay {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 10;
  background-size: cover;
  background-position: center;
  pointer-events: auto;
}

.art-right {
  margin: 2% 0 0 2%;
  float: right;
}

.guild-big-txt {
  font-size: 1rem;
}

.block-center {
  margin: 0 auto;
}

.w20 {
  width: 16%;
}

.w25 {
  width: 23%;
}

.w50 {
  width: 50%;
}

.w75 {
  width: 75%;
}

.guild-base {
  overflow: auto;
  width: 100%;
  position: relative;
}

/* .guild-divider {
  border-right: 1px dashed #eee;
} */

.guild-icn {
  vertical-align: middle;
  padding-left: 5px;
  cursor: pointer;
  user-select: none;
}

.guild-txt {
  width: 100%;
}

.guild-more-info {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.guild-img {
  width: 100%;
  height: auto;
}

.guild-img-txt {
  font-size: .8rem;
}

.guild-panel-close {
  cursor: pointer;
}

.hero {
  width: 100%;
  background-color: rgb(218, 131, 145);
}

.hero_bg {
  background-image: url(images/bg_hero.webp);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-txt {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1;
}

.p-txt {
  line-height: 1.6;
}

.panel-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.panel-container>div {
  margin: 1%;
  text-align: center;
}

.panel-images {
  width: 100%;
  height: auto;
  /* border: 4px solid #fff; */
}

.panel-images:hover {
  border: 1px solid #454545;
}


/* footer */
.footer-bg {
  font-size: .9rem;
  background-color: #efefef;
}

.footer-lab-logo {
  max-width: 150px;
  height: auto;
}

.footer-ul {
  margin: 0;
  padding: 0;

}

.footer-ul>li {
  list-style-type: none;
  padding: 5px 0;
}

.footer-ul>li a {
  text-decoration: none;
}

.mob-panels {
  display: none;
}

.mob-dots {
  display: none;
}

/* mobile */

@media (max-width: 600px) {

  .content-block {
    padding: 0 4%;
    font-size: 1.25rem;
  }

  .mob-block {
    padding: 50px 0;
  }

  .art-block {
    padding: 0 3%;
    font-size: 1.1rem;
    background-color: #f6f6f6;
    overflow: auto;
  }

  .content-block-art {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 1% 15px 15px 1%;
  }

  .mob-block-art {
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  /* Optional: hide scrollbar for cleaner UI */
  .content-block::-webkit-scrollbar {
    display: none;
  }

  .hero-txt {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
  }

  .cf-left {
    padding-right: 0;
  }

  .cf-right {
    padding-left: 0;
  }

  .no-show {
    display: none;
  }

  .footer-col {
    text-align: center;
    font-size: .9rem;
    padding: 0 0 40px 0;
  }

  .mob-panels {
    display: block;
  }

  .mob-image {
    width: 100%;
    height: auto;
  }

  .mob-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
  }

  .mob-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbb;
    transition: background 0.3s, transform 0.2s;
  }

  .mob-dots .dot.active {
    background: #333;
    transform: scale(1.2);
  }

}