/*
   Copyright (c) 2023 Capris Furniture. All rights reserved.
*/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: var(--z-index-level2); /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 6px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    border-width: 2px;
    border-color: var(--accent-color-2);
}

.modal-content img {
    width: 100%;
    height: auto;
}

.modal-buttons {
  align-self: flex-end;
}

.modal-buttons span {
  color: var(--primary-nav-title-color);
  font-size: 20px;
  font-weight: bold;
  padding-right: 10px;
}

.modal-buttons span:hover,
.modal-buttons span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .modal-content {
        width: 90%;
    }
}

@media (min-width: 1024px) {
    .modal-content {
        width: 80%;
    }
}
