* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* MODAL CSS START ---------------------- */
.modal {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100vw;
  height: 100vh;
}

.modal-content {
  position: relative;
  background-color: #070141;
  color: white;
  height: 250px;
  top: 15vh;
  padding: 2.5em;
  margin: auto;
  width: 50vw;
  height: auto;
  border-radius: 10px;
  z-index: 1000;
  animation: animatetop 0.6s;
}
.modal-content h2 {
    color:rgb(192, 123, 33)
}
.modal-content p {
  text-align: left;
  font-size: 1.3rem;
}

.close-btn {
  position: absolute;
  top: -0.5em; /* Align the close button to the top */
  right: 0.3em; /* Adjust the position from the right side */
  margin-right: 0; /* Remove margin-right */
  margin-top: 0.5em;
  color: rgb(212, 8, 8);
  font-size: 2.5rem;
  font-weight: bold;
}

.close-btn:hover {
  cursor: pointer;
  color: rgb(32, 230, 230, 0.8);
  animation: close-btn-change 0.5s linear both;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@keyframes close-btn-change {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

/* MODAL CSS FINISH  ------------------------*/

/*INDEX.HTML */
.databox {
  max-width: 100%;
}
header {
  margin: 0.5em;
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: black;
  font-weight: 800;
}
header img {
  width: 120px;
}

header a[href^="tel:"] {
  font-weight: bold;
  color: black;
  text-decoration: none;
}

header a[href^="mailto:"] {
  font-weight: bold;
  color: black;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  text-align: center;
  padding: 0.8em 2em;
  margin: 0 1em;
  font-size: 0.7rem;
  color: black;
  font-weight: 800;
  border: solid black 1px;
  border-radius: 40px;
}
nav a:hover {
  background-color: rgb(20, 20, 19);
  transition: all 0.8s ease 0s;
  color: beige;
}
.wrapper {
  width: 100vw;
  margin-left: auto;
  margin-right: auto;

  position: relative;
  overflow: hidden;
  clear: both;
}

.image-container {
  width: 100%;
  max-height: 50vh;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: auto;
}

.wrapper h1 {
  position: absolute;
  top: 25%;
  left: 59%;
  color: white;
  font-size: 1.6em;
  font-weight: 800;
  padding: 1em;
  border-right: solid white 3px;
  border-left: solid white 3px;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: left;
}
.empress {
  margin-left: auto;
  margin-right: auto;
  width: 95vw;
  padding: 1em;
  background: #d0c19d;
  display: flex;
  justify-content: center;
  border-bottom: lightgrey solid 1.5px;
  overflow: hidden;
  clear: both;
}
.first-line {
  font-size: 2rem;
  border-right: solid black 2px;
  padding-right: 2rem;
}

.second-line {
  padding-left: 2rem;
  font-size: 1.1rem;
}
.flex-container {
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
  margin: 1em;
}
.inspired {
  position: relative;
}
.inspired h2 {
  position: absolute;
  font-style: italic;
  font-size: 1.5rem;
}
.inspired p {
  margin-top: 30px;
  padding-right: 8rem;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.2rem;
}
.flex-container figcaption {
  background-color: white;
  border-bottom: none;
}
.portraits {
  width: 70vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 7em;
}

.portrait-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.portraits img {
  width: 200px;
  height: 250px;
  border-radius: 20px;
}
.portraits h3 {
  margin-bottom: 2rem;
  padding: 0.5rem;
  border-bottom: solid black 1px;
  text-align: center;
  font-style: italic;
  font-size: 1.6rem;
}
.portraits p {
  padding: 2rem 0 6rem 0;
  text-align: right;
  border-bottom: solid black 1px;
  font-style: italic;
  font-size: 1.2rem;
}

.p2 {
  margin-bottom: 4rem;
  text-align: center;
  font-size: 1.2rem;
}
.p2 a {
  color: black;
}

.footer {
  margin: 1em;
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.x1 {
  padding-right: 1rem;
  font-size: 1rem;
}
.x2 {
  border-left: solid black 1.8px;
  padding-left: 1rem;
  font-size: 0.8rem;
}

.socialmedia p {
  padding-left: 0.3rem;
  padding-bottom: 0.5rem;
}

/*GALLERY.HTML CSS CODE*/

.Contemporary h1 {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 1rem;
  font-style: italic;
  font-size: 2.3rem;
}
.Contemporary p {
  text-align: center;
  padding: 1rem;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
}
.gallery {
  font-size: 2.5rem;
  font-style: oblique;
  margin: 3rem auto;
  width: 70vw;
}
.gallery h2 {
  text-align: center;
}
.items {
  width: 70vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 7em;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  overflow: hidden;
  clear: both;
  border-top: black solid 1px;
  border-bottom: black solid 1px;
}
.artwork {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 2em;
  width: 300px;
  height: 400px;
  text-align: center;
  overflow: hidden;
  clear: both;
}

.artwork ul {
  list-style: none;
}
.artwork ul li {
  font-size: 1rem;
}

.artwork img {
  width: 150px;
  padding-bottom: 1em;
}
.artwork h2 {
  padding: 1rem;
}

.artwork figcaption {
  background: none;
}

/* FOOTER GALLERY  */

.p2 {
  margin-bottom: 4rem;
  text-align: center;
  font-size: 1.2rem;
}
.p2 a {
  color: black;
}

.footer {
  margin: 1em;
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer card {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/*ENQUIRY CSS*/

form {
  width: 60vw;
  display: block;
  margin-top: 4rem;
  margin-bottom: 3em;
  padding: 3em;
  padding-bottom: 7rem;
  margin-left: auto;
  margin-right: auto;
  border-bottom: solid black 1px;
}
form h1 {
  font-size: 2rem;
  padding-bottom: 0.5rem;
}
form {
  font-size: 1.3rem;
}

label {
  display: block;
  padding: 1rem;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  border: black solid 1px;
}

input,
textarea {
  padding: 1rem 1.25rem;
  border: none;

  cursor: pointer;
  border: black solid 1px;
}
input[type="submit"] {
  background-color: white;
  color: rgb(19, 13, 13);
  padding: 0.5rem 2rem;
  border: solid black 1px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  float: right;
}

input[type="submit"]:hover {
  background-color: black;
  color: white;
  transition: 0.5s ease;
}

section h4 {
  font-size: 1.5rem;
  margin-left: 15rem;
  padding-bottom: 4rem;
}
h5 {
  font-size: 1rem;
  line-height: 4rem;
  width: 15%;
  margin-left: auto;
  margin-right: auto;

  text-align: center;
  border-bottom: 1px solid black;
}

table {
  table-layout: fixed;
  font-family: arial, sans-serif;
  border-collapse: collapse;
  border: none;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 8em;
}

td,
th {
  text-align: center;
  padding: 1rem;
}

th {
  background-color: white;
}
tr:nth-child(odd) {
  background-color: #dddddd;
}
hr {
  width: 80vw;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1020px) {
  .databox {
    width: 100vw;
    margin: 0 auto;
    padding: 2.5em;
  }
  .wrapper {
    width: 100vw;

    position: relative;
    overflow: hidden;
    clear: both;
  }

  .image-container {
    width: 95vw;
    max-height: 80vh;
    overflow: hidden;
  }
  .image-container img {
    width: 100%;
    height: auto;
  }
  .wrapper h1 {
    position: absolute;
    top: 25%;
    left: 49%;
  }
  .empress {
    margin-left: auto;
    margin-right: auto;
  }

  .portraits {
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7em;
  }
}
@media (max-width: 1019px) {
  .databox {
    width: 100vw;
  }

  header {
    margin: 0.5em;
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: black;
    font-weight: 800;
    font-size: 0.8rem;
  }
  header img {
    width: 70px;
  }

  nav a {
    display: block;
    font-size: 0.6rem;
    margin: 0.8rem;
  }
  nav a:hover {
    background-color: rgb(20, 20, 19);
    transition: all 0.8s ease 0s;
    color: beige;
  }

  .wrapper {
    width: 100vw;

    position: relative;
    overflow: hidden;
    clear: both;
  }

  .image-container {
    width: 100vw;
    max-height: 80vh;
    overflow: hidden;
  }
  .image-container img {
    width: 100%;
    height: auto;
  }
  .wrapper h1 {
    font-size: 1rem;
    font-weight: 800;
  }
  .empress {
    width: 100vw;
  }

  .first-line {
    font-size: 1.2rem;
    border-right: solid black 2px;
    padding-right: 2rem;
  }
  .second-line {
    padding-left: 2rem;
    font-size: 0.8rem;
  }
  .inspired h2 {
    font-size: 1rem;
  }

  .inspired p {
    text-align: left;
    font-size: 1rem;
  }
  .flex-container figcaption {
    font-size: 0.8rem;
  }

  .portraits {
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7em;
  }

  .portrait-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .portraits img {
    width: 125px;
    height: 200px;
    border-radius: 20px;
  }
  .portraits h3 {
    margin-bottom: 2rem;
    padding: 0.5rem;
    border-bottom: solid black 1px;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
  }
  .portraits p {
    padding: 2rem 0 6rem 0;
    text-align: right;
    border-bottom: solid black 1px;
    font-style: italic;
    font-size: 1rem;
  }

  .p2 {
    margin-bottom: 4rem;
    text-align: center;
    font-size: 1.2rem;
  }
  .footer {
    display: flex;

    align-items: center;
    justify-content: space-between;
  }
  .footer img {
    width: 100px;
    margin-bottom: 1em;
    margin-right: 1.5em;
  }
  .card {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .x1 {
    font-size: 0.7rem;
    padding-left: 3rem;
  }
  .x2 {
    border-left: solid black 1.8px;
    padding-left: 1rem;
    font-size: 0.7rem;
    margin: 2rem;
  }

  .socialmedia p {
    text-align: center;
    font-size: 0.8rem;
  }
  form {
    max-width: 100vw;
  }
  form h1 {
    font-size: 1.5rem;
  }
  form p {
    font-size: 1rem;
  }
  section h4 {
    width: 100vw;
    font-size: 1rem;
    margin-left: 37%;
    padding-bottom: 2rem;
  }
  h5 {
    width: 100vw;
    font-size: 0.2rem;
  }
  table {
    width: 90%;
  }

  .box th {
    font-size: 0.7rem;
    text-align: center;
    padding: 1rem;
  }
}

@media (max-width: 532px) {
  /* .databox {
    width: 0vw;
    margin: 0 auto;
    padding: 40px;
  }*/

  header {
    margin: 1rem 0.5em;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    font-weight: 800;
    font-size: 0.8rem;
  }
  header img {
    width: 80px;
    margin-bottom: 1rem;
  }
  header a[href^="tel:"],
  header a[href^="mailto:"] {
    margin: 0.5rem; /* Adjust margin as needed */
  }
  nav a {
    display: block;
    font-size: 0.5rem;
    margin-top: 1rem;
  }
  nav a:hover {
    background-color: rgb(20, 20, 19);
    transition: all 0.8s ease 0s;
    color: beige;
  }
  .wrapper {
    width: 100vw;

    display: flex;
    position: relative;
    overflow: hidden;
    clear: both;
  }

  .image-container {
    width: 100vw;
    overflow: hidden;
  }
  .image-container img {
    width: 100vw;
    height: 35vh;
  }
  .wrapper h1 {
    font-size: 1rem;
    font-weight: 800;
  }
  .first-line {
    font-size: 1.3rem;
    border-right: solid black 2px;
    padding-right: 2rem;
  }
  .second-line {
    padding-left: 2rem;
    font-size: 0.8rem;
  }
  .flex-container {
    display: block;
  }
  .flex-container img {
    width: 100vw;
    margin-top: 1em;
  }
  .inspired {
    text-align: center;
    max-width: 100vw;
  }
  .inspired h2 {
    font-size: 1rem;
  }

  .inspired p {
    text-align: left;
    font-size: 1rem;
  }
  .flex-container figcaption {
    font-size: 0.7rem;
  }
  .portraits {
    width: 95vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7em;
  }

  .portrait-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .portraits img {
    width: 125px;
    height: 200px;
    border-radius: 20px;
  }
  .portraits h3 {
    margin-bottom: 2rem;
    padding: 0.5rem;
    border-bottom: solid black 1px;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
  }
  .portraits p {
    padding: 2rem 0 6rem 0;
    text-align: right;
    border-bottom: solid black 1px;
    font-style: italic;
    font-size: 1rem;
  }

  .p2 {
    margin-bottom: 4rem;
    text-align: center;
    font-size: 1.2rem;
  }
  .p2 a {
    color: black;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  .footer img {
    width: 150px;
    margin-bottom: 1em;
  }
  .card {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .x1 {
    font-size: 0.8rem;
  }
  .x2 {
    border-left: solid black 1.8px;
    padding-left: 1rem;
    font-size: 0.7rem;
    margin: 2rem;
  }

  .socialmedia p {
    text-align: center;
  }
}
@media (max-width: 540px) {
  form {
    width: 100vw;
    display: block;
    margin-top: 4rem;
    margin-bottom: 3em;
    padding: 3em;
    padding-bottom: 7rem;
    margin-left: auto;
    margin-right: auto;
    border-bottom: solid black 1px;
  }
  form h1 {
    font-size: 1rem;
    padding-bottom: 0.5rem;
  }
  form {
    font-size: 1rem;
  }

  label {
    display: block;
    padding-bottom: 1rem;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    width: 100%;
    border: black solid 1px;
  }

  input,
  textarea {
    padding: 1em 1.25em;
    border: none;

    cursor: pointer;
    border: black solid 1px;
  }
  input[type="submit"] {
    background-color: white;
    color: rgb(19, 13, 13);
    padding: 0.5rem 2rem;
    border: solid black 1px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    float: right;
  }

  input[type="submit"]:hover {
    background-color: black;
    color: white;
    transition: 0.5s ease;
  }

  section h4 {
    font-size: 1.5rem;
    margin-left: 11rem;
    padding-bottom: 4rem;
  }
  h5 {
    font-size: 0.8rem;
    line-height: 4rem;
    width: 30%;
    margin-left: auto;
    margin-right: auto;

    text-align: center;
    border-bottom: 1px solid black;
  }

  table {
    table-layout: fixed;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    border: none;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    margin-bottom: 8em;
  }

  td,
  th {
    text-align: center;
    padding: 1rem;
  }

  th {
    background-color: white;
  }
  tr:nth-child(odd) {
    background-color: #dddddd;
  }
  hr {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
}
/* breakpoint for modal */
@media (max-width: 500px) {
  .modal-content {
    margin: auto;
    width: 90vw;
  }
}
