/*
Theme Name: Modins Child
Theme URI: https://gaviaspreview.com/wp/modins/
Author URI: https://themeforest.net/user/gavias
Author: Gaviasthemes Team
Description: Child theme for the Modins theme.
Template: modins
*/

/* Popup-ul */
.post-one__meta {
    display: none;
}

.popup-overlay {
  display: none; /* Inițial, popup-ul este ascuns */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fundal semi-transparent */
  justify-content: center;
  align-items: center;
  z-index: 9999999; /* Asigură-te că popup-ul are un z-index mare pentru a fi în față */
}

.popup-container {
  position: relative;
  width: 90%;
  max-width: 1600px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #f44336;
  color: white;
  border: none;
    padding: 4px 9px;
	font-weight: 200;
  cursor: pointer;
  border-radius: 50%;
   transition: transform 0.3s ease;
}

.close-popup:hover {
  background-color: #e53935;
    transform: rotate(180deg); 
}

video {
  width: 100%;
  border-radius: 8px;
}

/* Stilizare pentru dispozitive mobile */
@media (max-width: 768px) {
  .popup-container {
    width: 90%;
  }
}

/* Afișarea popup-ului când se face clic pe link */
.popup-overlay.active {
  display: flex;
}

body {
  transition: overflow 0.3s ease;  /* Adaugă o tranziție ușoară la modificarea overflow */
}
