@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
* {
  padding: 0;
  margin: 0;
    box-sizing: border-box;

}
body {
    font-family: Verdana, sans-serif; 
    margin: 0;
    padding: 0 5px;
}
.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

.sticky-container{
  font-family: "Sarabun", sans-serif;
  font-weight: 700;
  bottom: 0;
  flex-direction: row;
  justify-content: center;
  left: 0;
  margin: 0 auto;
  position: fixed;
  right: 0;
  text-align: center;
  transition: .4s;
  max-width: 768px;
  z-index: 1024;
  padding: 10px;
  
}
.btn-sticky{
  font-family: "Sarabun", sans-serif;
  font-weight: 700;
  font-size: 1.7em;
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background-image: linear-gradient(to right, limegreen , yellow);
  border-radius: 20px;
  border: 5px outset lime;
}

.container {
    max-width: 768px;
    margin: auto;
    h3{
      padding-top: 20px;
      font-family: "Poppins", sans-serif;
      font-weight: 900;
      background-color: #fff;
    }
  }
/* Slideshow container */
.slideshow-container {
  max-width: 768px;
  position: relative;
  margin: auto;

}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 47%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.pr{
  position: reletive;
  top: 50%;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* The dots/bullets/indicators */
.ontop{
  cursor: pointer;
  position: absolute;
  bottom: 0;
  right: 22%;
  width: auto;
  padding: 16px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgba (0 0 0 0.5);
  border-radius: 50%;
  border: 2px solid gray;
  display: inline-block;
  transition: background-color 0.6s ease;

}

.active, .dot:hover {
  background-color: gray;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.social-tree {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  text-align: center;
  /* flex-direction: column; */
  padding: 0 20px 80px 20px;
  /* justify-content: center; */
  height: 200px;
  align-items: center;
  background-color: #fff;
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

.pop-up{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  line-height: 2em;
  text-align: center;
  display: none;
  border-radius: 20px;
 a{
  font-size: 1.6em;
  display: flex;
  justify-content: center;
  text-decoration: none;
  padding: 10px;
  color: black;
  background-image: linear-gradient(to left, limegreen , yellow);
  border-radius: 20px;
  border: 5px outset lime;
 }
}

@media screen and (min-width: 575px) {
  .ontop{
    right: 35%;
  }
}