/* ✅ Card Popup */
mark{
  color:blue;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: none;
  border-radius: 10px;
}
.popupP {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: none;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
}
#popup-cardP {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: none;
  border-radius: 10px;
}
.pupupP-content{
  align-content: center;
}
.popup-content {
  text-align: center;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

/* ✅ Comments Box */
#comment-box {
  width: 80%;
  height: 45%;
  border-radius: 10px;
  padding: 20px;
  margin-left:125px;
  font-size: 16px;
  border: 2px solid #ccc;
}
/* ✅ Comments List */
#comment-list {
  background: #f4f4f4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin-right: 180px;
}
#comment-section {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
figcaption{
  background-color: beige;
  margin-left: 80px;
  margin-right:80px;
  padding-top:15px;
  padding-bottom:15px;


}
.third-row{
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
  padding-top:0%;
  height:auto;
}
.after-third{
  margin-top: 80px;
}
.forth-row{
  margin-top: 100px;;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  height:1000px;
}
.col {
    max-width: 900px;
}
@media (max-width:720px){
  .pointers{
  max-height:60vw;
    object-fit: cover;
  }
}
@media (max-width:768){
  .pointers{
    max-height:60vw;
    object-fit:cover;
  }
}
@media (max-width:960){
  .pointers{
    max-height:60vw;
    object-fit:cover;
  }
}
@media (max-width:992){
  .pointers{
    max-height:60vw;
    object-fit:cover;
    
  }
}

.after-second{
  margin-top:80px;
}
.after-first{
  margin-top:50px;
  margin-bottom: 50px;
  display:flex;
  flex-wrap:wrap;
  text-align: center;
}

.imagesFront{
 width:280px;
 height:300px;

}
.card{
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 290px;
  max-height: 600px;
  text-align: start;
  align-items: center;
  padding-bottom: 20px;
  padding-top:10px;
 
}
.flip-card {
  background-color: transparent;
  width: 280px;
  height: 300px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}
.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}*/
button {
  margin:20px 0px 20px 35%;
  opacity: 90%;
}
.btn-primary{
  margin-left: 42%;
}
h5{
    text-align: center;
}

.btn:hover {
  color:red;
  background-color: aliceblue;
  box-shadow:  2px 2px 4px #e8e9ad33;
}
div .puzzledMan{
  height:70px;
  width:70px;
}
#iframe {
  margin: 20px 20px 0px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  height:475px;
  width:475px;
}
.video {
  position:relative;
  text-align:centre;
}
.approach{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
}
footer div{
  display:flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  height:200px;
  margin-top: 50px;
  padding-bottom: 80px;
}
/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
#laybys{
  font-weight: 700;
}
