@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
 
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins',sans-serif;
} 
 
body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url(./img/bg.png);
  background-attachment: fixed;
}
 
.container{
  position: relative;
  width: 1150px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
img{
    width: 100%;
     
}
 
.container .card{
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 10px;
  box-shadow: 0px 15px 25px rgba(0,0,0,.2);
  background-color: #fff;
  margin: 20px;
  overflow: hidden;
  transition: .5s;
}
 
.container:hover .card{
  filter: blur(1px);
  transform: scale(0.9);
  opacity: 0.5;
} 
 
.container .card:hover{
  filter: blur(0);
  transform: scale(1.1);
  opacity: 1;
} 
 
.container .card .circle{
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
  clip-path: circle(200px at center 0);
  text-align: center;
}
 
 
.container .card .content{
  position: absolute;
  bottom: 10px;
  page-break-after: 20px;
  text-align: center;
  padding: 20px;
}
 
.container .card .content p{
  color: #666;
  text-align: justify;
  font-size: 15px;
}
 
.container .card .content a{
  position: relative;
  display: inline-block;
  background-color: #000;
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  margin-top: 20px;
  text-decoration: none;
   
}
 
.container .card:nth-child(1) .circle,
.container .card:nth-child(1) .content a{
  background-color: #ffaf00;
}
 
.container .card:nth-child(2) .circle,
.container .card:nth-child(2) .content a{
  background-color: lightblue;
}
 
.container .card:nth-child(3) .circle,
.container .card:nth-child(3) .content a{
  background-color: lightgreen;
}

.container .card:nth-child(4) .circle,
.container .card:nth-child(4) .content a{
  background-color: pink;
}

.container .card:nth-child(5) .circle,
.container .card:nth-child(5) .content a{
  background-color: purple;
}

.container .card:nth-child(6) .circle,
.container .card:nth-child(6) .content a{
  background-color: purple;
}

.container .card:nth-child(7) .circle,
.container .card:nth-child(7) .content a{
  background-color: purple;
}

.container .card:nth-child(8) .circle,
.container .card:nth-child(8) .content a{
  background-color: purple;
}

.container .card:nth-child(9) .circle,
.container .card:nth-child(9) .content a{
  background-color: purple;
}

.container .card:nth-child(10) .circle,
.container .card:nth-child(10) .content a{
  background-color: purple;
}

.container .card:nth-child(11) .circle,
.container .card:nth-child(11) .content a{
  background-color: purple;
}

.container .card:nth-child(12) .circle,
.container .card:nth-child(12) .content a{
  background-color: purple;
}

.back-button {
  background-color: #ffcb3b;
  border: none;
  color: #333;
  padding: 10px 20px;
  font-size: 25px;
  cursor: pointer;
  margin: 50px
}

.back-button:hover {
  background-color: #ffcb3b;
}

body {
  display: flex;
  flex-direction: column;
  align-items: start;
}



/* Styles for the overlay and popup */
#videoPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Styles for the video container */
#videoContainer {
  position: relative;
  max-width: 70%; /* Adjust the maximum width as needed */
  max-height: 70vh; /* Adjust the maximum height as needed */
  overflow: hidden;
}

/* Styles for the close button */
#closeVideo {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  padding: 5px 10px;
  cursor: pointer;
}

/* Center the video inside the container */
video {
  width: 100%;
  height: 100%;
}

/* Styles for the button to open the video */
#openVideo {
  margin: 20px;
}

/* Hide scrollbar while the video popup is open */
body.video-open {
  overflow: hidden;
}



