/* The Modal (background) */
#publication-winning-recipe {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 20; /* Sit on top */
  margin-inline: auto; /* centered */
  padding: 6rem 2rem 0 2rem; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  max-width: 58.75rem;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content (image) | image responsive */
.modal-image { 
  position: relative;
  max-width: 600px;
  margin-inline: auto;
}

/* Add Animation */
.modal-image {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* The scale() Method to create the zoom effect.*/
@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)} /* defined size */
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
#close-dialog {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 2rem;
  right: 2rem;
  transition-duration: 0.4s;
  cursor: pointer;
}

.btnStyling {
  border-radius: 50%;
  color: #aaaaaa;
  font-size: 30px;
  font-weight: bold;
  padding: 0 0 5px 0; /* centered text*/
}

#close-dialog:hover,
#close-dialog:focus {
  color: #fff; /* white */
  text-decoration: none;
  cursor: pointer;
}

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}