/* General Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f4;
}

/* Container Styling */
.event-details {
  padding: 10px 0; 
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}

.event-title-text {
font-size: 1rem; 
color: #2c3e50; 
font-weight: bold; 
text-transform: none; 
margin-top: 120px;
margin-bottom: 30px; 
letter-spacing: 2px; 
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Ukuran untuk perangkat kecil (mobile) */
@media (max-width: 576px) {
.event-title-text {
    font-size: 1.5rem;
    margin-top: 80px; 
    margin-bottom: 20px; 
}
}

/* Ukuran untuk perangkat sedang (tablet) */
@media (min-width: 576px) and (max-width: 768px) {
.event-title-text {
    font-size: 1.8rem; 
    margin-top: 100px; 
}
}

/* Ukuran untuk perangkat besar (desktop) */
@media (min-width: 768px) and (max-width: 992px) {
.event-title-text {
    font-size: 2rem; 
    margin-top: 120px; 
}
}

/* Ukuran untuk perangkat ekstra besar (desktop besar) */
@media (min-width: 992px) {
.event-title-text {
    font-size: 2.2rem; 
    margin-top: 140px; 
}
}

/* Description Styling */
.event-description {
  font-size: 1.3rem;
  line-height: 1.9;
  color: #7f8c8d;
  margin-top: 20px;
  text-align: justify; 
}

/* Register Button Styling */
.event-register-btn, .home-btn {
margin: 0 10px; 
padding: 20px 20px; 
text-decoration: none; 
color: white; 
background-color: #007bff; 
border-radius: 5px; 
cursor: pointer;
}

.home-btn {
background-color: #6c757d;
}

.home-btn:hover {
background-color: #5a6268;
color: #fff;                        
cursor: pointer;                    
}

/* Modal for image */
.custom-modal {
display: none; 
position: fixed;
z-index: 1000; 
left: 0;
top: 0;
width: 100%; 
height: 100%; 
overflow: auto; 
background-color: rgba(0, 0, 0, 0.8); 
}

.custom-modal-content {
margin: 15% auto;
display: block;
max-width: 90%;
width: 100%;  
max-height: 80vh; 
object-fit: contain; 
border-radius: 8px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Efek hover pada card */
.card-container:hover img {
  transform: scale(1.02);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Animasi bayangan untuk card */
.card-container {
  transition: box-shadow 0.3s ease;
}

/* Style untuk Event Description */
.event-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  padding: 20px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

/* Style untuk Poster Event */
.webinar-image {
  width: 60%;
  height: auto;
  max-height: 600px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


@media (max-width: 768px) {
.modal-content {
  margin: 50% auto; 
  width: 90%; 
}
}

.close {
position: absolute;
top: 20px;
right: 30px;
color: white;
font-size: 30px;
font-weight: bold;
cursor: pointer;
}

.close:hover {
color: #006B98;
}