/* * {
  outline: 1px solid red;
} */

* {
  line-height: normal !important;
}

body {
  background-color: #34495e;
  padding: 0;
  margin: 0;
  overflow: hidden !important;
}

.smallBoldCaps {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2vmin;
  padding: 0 1vw 0 1vw;
  user-select: none;
}

.holder {
  display: grid;
  background-color: #34495e;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  grid-template-columns: 5vw 45vw 45vw 5vw;
  grid-template-rows: 7vh 43vh 43vh 7vh;
  grid-template-rows: 7svh 43svh 43svh 7svh;
  transition: 0.2s;
  overflow: hidden;
}

.holder h1 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  font-size: 3vmin;
}

.holder .slide {
  display: grid;
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 4;
  justify-self: center;
  align-self: center;
  width: 90vw;
  height: 86vh;
  height: 86svh;
  background-color: var(--user-bg-color, #3498db);
  --fadeDir: 5vw;
  opacity: 1;
  transition: 0.2s;
}

.holder .slide.fade {
  opacity: 0;
  --fadeDir: 5vw;
  transform: translateX(var(--fadeDir));
}

.button {
  align-items: center;
  appearance: none;
  background-color: #fcfcfd;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395a;
  cursor: pointer;
  display: inline-flex;
  height: 5vh;
  height: 5svh;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 2vmin;
  font-family: 'Open Sans', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.userGuideButton {
  margin-top: 10vh;
  margin-top: 10svh;
}

.saveBtn {
  background-color: #16a085;
  width: 10vmin;
  margin-right: 0 !important;
}

.buttonLabel {
  margin-left: 1vw;
  font-size: 1.5vh;
}

.previewBtn {
  background-color: #3498db;
  width: 10vmin;
  margin-right: 2vmin;
}

.previewBtn > svg,
.saveBtn > svg {
  fill: #fff !important;
}

.deleteBtn {
  background-color: #ff5252;
  width: 10vmin;
  margin-right: 2vmin;
}

.newBtn {
  background-color: #ffda79;
  width: 10vmin;
  margin-right: 2vmin;
}

.button svg {
  width: 2vmin;
  height: 2vmin;
  fill: #36395a;
}

.button:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button:active {
  box-shadow: #d6d6e7 0 3px 7px inset;
  transform: translateY(2px);
}

.inactive {
  background-color: #999 !important;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
  color: #777;
  pointer-events: none;
}

.noSlides {
  background-color: rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.guidance {
  align-self: center;
  justify-self: center;
  font-size: 4vmin;
  text-align: center;
  padding-left: 30vw;
  padding-right: 30vw;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}

.largerText {
  font-size: 5vmin;
  margin-bottom: 6vh;
}

.yellowText {
  color: #ffda79 !important;
  font-weight: 600;
}

/* SELECTING NEW SLIDE TEMPLATE TO USE */

.templateSelect {
  display: none;
  grid-template-columns: 10vw 80vw 10vw;
  grid-template-rows: 10vh 80vh 10vh;
  grid-template-rows: 10svh 80svh 10svh;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background-color: #34495e;
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.templateHeading {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: center;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}

.cancelBtn {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
  align-self: center;
  justify-self: end;
  background-color: #ff5252;
  color: #eee;
}

.templateHolder {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: #2c3e50;
  border: 4px solid rgba(255, 255, 255, 0.3);
  grid-auto-rows: 40%;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  align-items: center;
  justify-items: center;
  overflow-y: scroll;
}

.templateHolder .imgHolder {
  display: flex;
  width: 50%;
  aspect-ratio: 1/1;
  /* background-color: #ffda79; */
  align-items: center;
  justify-content: center;
  /* border: 5px solid rgba(0, 0, 0, .1); */
}

.templateHolder img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.templateItem {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 80% 20%;
  width: 90%;
  height: 90%;
  background-color: #3498db;
  align-items: center;
  justify-items: center;
  cursor: pointer;
}

.bckBar {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
}

.templateItem:hover {
  background-color: #5dade2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: rgba(14, 30, 37, 0.32) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.64) 0px 2px 16px 0px;
  scale: 1.01;
}

.templateItem .smallBoldCaps {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
}

.holder .headerRight {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  justify-self: end;
  align-self: center;
  transition: 0.2s;
}

.holder .footerRight {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 4;
  grid-row-end: 5;
  justify-self: end;
  align-self: center;
  transition: 0.2s;
}

.holder .footerLeft {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 4;
  grid-row-end: 5;
  justify-self: start;
  align-self: center;
  transition: 0.2s;
  display: flex;
  column-gap: 1vw;
}

.littleAnimationUp {
  animation-name: slideUp;
  animation-duration: 0.4s;
}

@keyframes slideUp {
  from {
    transform: translateY(30vh);
    transform: translateY(30svh);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animateHorizontal_2 {
  transform: translateX(2vw);
}

.animateHorizontal_12 {
  transform: translateX(12vw);
}

.animateHorizontal_18 {
  transform: translateX(18vw);
}

/* SIMPLE FADE OUT EFFECT */

.fadeOut {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.25s, opacity 0.25s linear;
}

/* TOOLTIP */

.tippy-box[data-theme~='tooltipTheme'] {
  background-color: #fff;
  color: #333;
}

.tippy-box[data-theme~='tooltipTheme'][data-placement^='top']
  > .tippy-arrow::before {
  border-top-color: #fff;
}

.tippy-box[data-theme~='tooltipTheme'][data-placement^='bottom']
  > .tippy-arrow::before {
  border-bottom-color: #fff;
}

.tippy-box[data-theme~='tooltipTheme'][data-placement^='left']
  > .tippy-arrow::before {
  border-left-color: #fff;
}

.tippy-box[data-theme~='tooltipTheme'][data-placement^='right']
  > .tippy-arrow::before {
  border-right-color: #fff;
}

.tooltipText {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5vmin;
  font-weight: 700;
}

/* SLIDE THUMBNAIL PANEL */

.slidePanel {
  height: 100vh;
  height: 100svh;
  width: 20vw;
  position: fixed;
  border-width: 0;
  top: 0;
  left: -20vw;
  background-color: #ffda79;
  transition: 0.2s;
  overflow-y: scroll;
}

.openSlidePanelBtn {
  cursor: pointer;
  align-items: center;
  border-width: 0;
  background-color: #ffda79;
  color: #333;
  width: 2vw;
  height: 12vh;
  height: 12svh;
  border-radius: 0 1vmin 1vmin 0;
  box-shadow: none;
  position: absolute;
  left: 0;
  transition: 0.2s;
  box-shadow: rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
}

.openSlidePanelBtn svg {
  width: 2vmin;
  height: 2vmin;
  fill: #36395a;
}

.pageTitle {
  transition: 0.2s;
}

.openSlideBarBtnIcon {
  transform: unset !important;
  transition: none !important;
}

.vertical-center {
  position: absolute;
  top: 50vh;
  top: 50svh;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* Slide Thumbnails */

.thumbnails {
  padding: 5%;
  font-family: 'Oswald', sans-serif;
}

.thumb__child {
  width: 90%;
  align-self: center;
  margin-top: 5%;
  aspect-ratio: 1/0.67;
  cursor: pointer;
  opacity: 0.9;
}

.thumb__child p {
  color: #000;
  font-weight: bold;
  padding-top: 12.5%;
  margin-bottom: 1vh;
}

.thumb__child > img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.selected {
  opacity: 1;
}

.selected > img {
  box-shadow: rgba(255, 255, 255, 1) 0px 0px 0px 2px,
    rgba(0, 0, 0, 0.8) 0px 0px 16px 0px,
    rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.thumb__child:last-child {
  margin-bottom: 5%;
}

/* -------------------------------------------------------------------------- */
/*                                 TEXT EDITOR                                */
/* -------------------------------------------------------------------------- */

.textEditor {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background-color: #34495e;
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  font-weight: 400;
}

.editorButtons {
  display: flex;
  justify-content: space-around;
  width: 30vw;
}

.editorButtons > .button {
  width: 7.5vw;
  height: 7.5vh;
}

.editorButtons > .button:first-child {
  width: 17.5vw;
  background-color: #16a085;
  color: #fff;
}

.editable {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 30px;
  /* width: 30vw; */
  width: 80vw !important;
  height: 60vh;
  margin-bottom: 2vh;
  font-size: 4vmin;
  overflow-y: scroll;
}

.textEditor h1 {
  font-size: 4vmin;
  text-align: center;
}

/* Delete Dialogue */

#deleteDialog {
  font-family: 'Open Sans', sans-serif;
  color: #eee;
  display: flex;
  flex-direction: column;
  background-color: #b33939;
  width: fit-content;
  height: fit-content;
  padding: 3%;
  border: 2px solid #eee;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 4px 0px;
  align-items: center;
  border-radius: 12px;
}

.deleteDialogueButtons {
  margin-top: 10%;
}

.deleteDialogueButtons > button:last-child {
  background-color: #ff5252 !important;
  color: #fff;
}

#deleteDialog:not([open]) {
  display: none;
}

.tempResHolder {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  align-self: center;
  justify-self: center;
  padding: 5%;
}

.tempResHolder p {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 12vh;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0;
}

.tempResHolder > p:first-of-type {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: #ffda79;
  font-size: 7vh;
  margin: 0;
  padding: 0;
  text-transform: none;
  margin-top: 4vh;
}

.tempResHolder > button {
  width: 100%;
  margin-top: 4vh;
}

.smallPrint {
  font-size: 2.5vh !important;
  text-transform: none !important;
  margin-top: 2vh !important;
  color: #ddd;
}

.smallPrint a {
  color: #ddd;
}

.slide-name-input {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: #eee;
  font-size: 2.5vh;
  background-color: rgba(0, 0, 0, 0);
  width: 40vw;
  outline: none;
  border: none;
}

.slide-name-input:focus {
  color: #fff;
}

/* IMAGES */

/* To highlight drag over image drop zone */

.drag-over {
  border: 1px dashed #ffda79;
}

.image-container > img {
  object-fit: cover;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
}

.textImageSlide_image:hover {
  scale: 1 !important;
  cursor: auto !important;
}

.image-container {
  /* display: grid; Changed to flex 5/9/2023 as didn't display correctly on Chrome */
  /* justify-items: center; */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative; /* Add this line for positioning */
  /* background-color: rgba(255, 255, 255, 0.05); */
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  border-radius: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.delete-button {
  position: absolute;
  top: 1vmin;
  right: 1vmin;
  color: #fff;
  background-color: #c0392b;
}

/* JUST AN IMAGE ON SLIDE */

.justImage > .textImageSlide_addImage,
.imageReveal > .textImageSlide_addImage {
  grid-column-start: 1 !important;
  grid-row-start: 1 !important;
}

.addImagePasteText {
  width: 50%;
  text-align: center;
  margin-top: 2vh;
  font-size: 2vmin;
  font-family: 'Open Sans', sans-serif;
  color: #eee;
}

/* -------------------------------------------------------------------------- */
/*                                 SAVE PANEL                                 */
/* -------------------------------------------------------------------------- */

.savePanel {
  position: absolute;
  font-family: 'Open Sans', sans-serif;
  color: #eee;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.savePanel p {
  font-family: 'Open Sans', sans-serif;
}

.saveUI_Holder {
  width: 60vw;
  height: 90vh;
  background-color: #3498db;
  display: grid;
  gap: 1vh;
  grid-template-rows: 3fr 1fr 4fr 1fr 2fr;
  grid-template-columns: 1fr 10fr 1fr;
  align-items: center;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.save-section-1 {
  grid-column: 1/4;
  grid-row: 1/2;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.save-section-1 p {
  font-size: 2.5vmin !important;
  text-align: center;
  width: 80%;
}

.save-section-2 {
  grid-column: 2/3;
  grid-row: 2/3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.save-section-3 {
  grid-column: 2/3;
  grid-row: 3/4;
}

.save-section-4 {
  grid-column: 2/3;
  grid-row: 4/5;
}

.save-section-5 {
  grid-column: 2/3;
  grid-row: 5/6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.saveUI_Holder h1 {
  font-size: 2vmin;
}

.saveUI_Holder p {
  font-size: 1.5vmin;
}

.tagInput {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#save-panel-tag-text {
  width: 70%;
}

#save-panel-tag-add {
  width: 25%;
  background-color: #ffda79;
}

#save-panel-save-btn {
  background-color: #16a085;
  color: #fff;
  width: 80%;
  height: 7.5vh;
}

#save-panel-cancel-btn {
  background-color: #ff5252;
  color: #fff;
  width: 15%;
  height: 7.5vh;
  font-size: 1.5vmin;
}

.vertDiv {
  height: 8vh;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.save-panel-input {
  background: #eee;
  font-size: 2vmin;
  height: 5vh;
  font-family: 'Open Sans', sans-serif;
  border-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  box-sizing: border-box;
}

.tagHolder {
  width: 94%;
  height: 15vh;
  margin-top: 2vh;
  overflow: scroll;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5vmin;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(255, 255, 255, 0.2);
  padding: 1% 3% 1% 3%;
}

.switch-field {
  display: flex;
  margin-bottom: 2vh;
  align-items: center;
}

.switch-field p {
  margin-left: 1vw;
}

.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75vmin;
  width: 7.5vw;
  background-color: #2980b9;
  color: rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 1vmin;
  margin-right: -1px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.3);
  transition: all 0.1s ease-in-out;
  user-select: none;
}

.switch-field label:hover {
  cursor: pointer;
}

.switch-field input:checked + label {
  background-color: #218c74;
  color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

.tags {
  display: flex;
  align-items: center;
  height: 4vmin;
  width: fit-content;
  position: relative;
  margin: 0.25vmin 2vmin 1vmin 0.25vmin;
  padding: 0 1.5vmin 0 1.5vmin;
  background: #ffda79;
  -webkit-border-bottom-right-radius: 0.25vmin;
  border-bottom-right-radius: 0.25vmin;
  -webkit-border-top-right-radius: 0.25vmin;
  border-top-right-radius: 0.25vmin;
  color: #333;
  font-size: 1.75vmin;
  font-family: 'Open Sans', Verdana, sans-serif;
  font-weight: 300;
  text-decoration: none;
}

.tags:before {
  content: '';
  position: absolute;
  top: 0;
  left: -2vmin;
  width: 0;
  height: 0;
  border-color: transparent #ffda79 transparent transparent;
  border-style: solid;
  border-width: 2vmin 2vmin 2vmin 0;
}

.browsePanel {
  width: 100%;
  height: fit-content;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  row-gap: 2vh;
  align-items: center;
  justify-content: center;
  padding-top: 2vh;
  padding-bottom: 2vh;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  align-self: end;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.browsePanel p {
  font-family: 'Open Sans' !important;
  color: #eee;
  font-size: 1.75vmin !important;
  text-align: center;
  padding-left: 10vw;
  padding-right: 10vw;
}

.browsePanel p:first-child {
  font-size: 1.75vmin !important;
  color: #eee;
  font-weight: 700;
}

.browsePanel .button {
  scale: 0.8;
}

.loadProgress {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 3vmin;
  margin-top: -4vh;
  text-transform: uppercase;
  color: #34495e;
}

/* -------------------------------------------------------------------------- */
/*                                IMAGE SEARCH                                */
/* -------------------------------------------------------------------------- */

.background-cover {
  position: fixed;
  display: flex;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background-color: #3498db;
  overflow: auto;
}

.imSearchHeaderBck {
  width: 100vw;
  height: fit-content;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  margin-bottom: 4vh;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0.5vmin;
}

.imSearchHeader {
  height: 10vh;
  width: 80vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.imSearchHeader p {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  font-size: 2.5vmin;
  font-weight: 900;
  margin: 0;
  padding: 0;
}

.imSearchHeader img {
  height: 6vh;
  background-color: rgba(255, 255, 255, 0.05);
  width: auto;
  margin: 0;
  padding: 0;
  padding-right: 1vw;
  border-radius: 1vmin;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.search-container {
  width: 80vw;
  height: fit-content;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
}

#searchQuery {
  width: 100%;
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 2.25vmin;
  margin-bottom: 2vh;
  border-radius: 1vmin;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.image-results {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive columns */
  gap: 20px; /* Gap between the grid items */
  width: 100%;
  box-sizing: border-box;
  padding: 10px; /* Add padding to the container */
  overflow: visible;
}

.image-results p {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  text-align: center;
  font-size: 2.25vmin;
  width: 93%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1vmin;
  padding: 2vmin;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.image-result-container {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.image-result {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  border-radius: 1vmin;
}

.photographer-name {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  font-size: 1vmin;
  text-transform: uppercase;
}

.photographer-name a {
  text-decoration: underline;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  margin-top: 4vh;
}

.pagination-button {
  margin: 0 5px;
  padding: 10px 15px;
  border: none;
  background-color: #3498db;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.pagination-button.active {
  background-color: #2980b9;
}

.pagination-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.cancel-button {
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(192, 57, 43, 1);
  color: white;
  border: none;
  padding: 1.5vmin 3vmin;
  font-size: 1.75vmin;
  border-radius: 1vmin;
  cursor: pointer;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0.2vmin 0.4vmin,
    rgba(0, 0, 0, 0.3) 0px 0.7vmin 1.3vmin -3vmin,
    rgba(0, 0, 0, 0.2) 0px -0.3vmin 0px inset;
  margin-top: 5vh;
  margin-bottom: 2.5vh;
}

.cancel-button:hover {
  background-color: rgba(231, 76, 60, 1);
}

#interaction-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  text-align: center;
}

.interaction-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 73, 94, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 1.75vmin;
  text-align: center;
}
