:root {
  --box-radius: 25px;
  --button-radius: 20px;
  --button-padding: 3px;

  --popup-height: auto;
  --popup-width: 500px;
}


#popup_container {
  background-color: black;
}

#popup-1-decline-x {
  box-sizing: content-box;
  position: absolute;
  top: 13px;
  right: 13px;
  height: 17px;
  padding: 5px;
}

#popup-1-decline-x:hover {
  cursor: pointer;
}

#age_popup {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  align-items: center !important;
  gap: 60px;
  border-radius: var(--box-radius);
  height: var(--popup-height);
  width: var(--popup-width);
  padding: 50px;
  margin-top: -30vh;
}

#age_popup * {
  direction: rtl !important;
  font-size: 25px;
  font-family: OpenSans-Regular, sans-serif;
}

#age_popup button {
  transition: all .2s;
  color: white;
  border-radius: var(--button-radius);
  padding: var(--button-padding);
  width: 160px;
  white-space: nowrap;
  border: 2px solid transparent;
}

#age_popup button:hover {
  cursor: pointer;
}

#age_popup span {
}

#popup-1-accept {
  background-color: #d31725;
}

#popup-1-accept:hover {
  background-color: white;
  border-color: #d31725;
  color: #d31725;
}

#popup-1-accept:active {
  background-color: var(--background-color);
  border-color: transparent;
  color: white;
}

#popup-1-decline {
  background-color: black;
}

#popup-1-decline:hover {
  background-color: white;
  border-color: black;
  color: black;
}

#popup-1-decline:active {
  background-color: black;
  border-color: transparent;
  color: white;
}

#popup-1-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

@media only screen and (max-width: 480px) {
  #age_popup * {
    font-size: 15px;
  }

  #age_popup {
    gap: 40px;
    border-radius: var(--box-radius);
    height: var(--popup-height);
    width: var(--popup-width);
    padding: 35px;
  }

  #popup_container {
    width: 20vw;
    min-width: unset !important;
  }

  #age_popup {
    width: 100%;
  }

  #popup-1-buttons {
    flex-direction: row;
  }

  #age_popup button {
    width: 100px;
  }
}