.iframe-container {
  height: calc(70vh - 60px);
}

.iframe-button-container {
  position: relative;
  height: 100%;
}

.content-block-hidden {
  display: none;
}

.block-title {
  display: none;
}

.block-title-text {
  line-height: 0.5;
}

.block-subtitle-text {
  line-height: 0.5;
}

.block-wrapper {
  display: flex;
  flex-flow: row nowrap;
  min-height: 80vh;
}

.innerblocks-container {
  width: 100%;
  min-height: 20vh;
  padding-inline: 10px;
}

.innerblocks-wrapper {
  width: 100%;
}

#api-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.editor-annotation {
  font-size: 0.9rem;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
  padding: 5px;
}

.annotation-hotspot {
  font-weight: bold;
}

.annotation-info {
  color: grey;
}

.anim-buttons-container {
  width: 100%;
  order: 2;
  gap: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anim-buttons-container .title-anim-buttons {
  font-weight: bold;
}

.anim-buttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  pointer-events: none;
}

.anim-buttons .viewer-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.iframe-container hr {
  margin: 0;
  width: 80%;
  border: 1px solid;
  border-radius: 5px;
}

.viewer-button,
.viewer-anchor {
  border: none;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 30px;
  pointer-events: all;
  gap: 5px;
}

.viewer-button * {
  pointer-events: none;
}

.viewer-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-tabs .viewer-active-tab {
  background-color: #dbdbdb;
}

.viewer-tabs {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.anim-buttons-options-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.anim-button-options-urlinput .block-editor-url-input__input {
  width: 100% !important;
}

.circle-block-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
}

.viewer-button-index {
  display: none;
}

.texture-buttons-options-list .texture-button {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 10px;
  border: 1px solid #ccc;
}

.texture-buttons-options-list .texture-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.texture-buttons-options-list .texture-button-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.texture-buttons-options-list .texture-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1024px) {

  .viewer-button-index {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .viewer-button-text,
  .viewer-anchor .viewer-button-icon {
    display: none
  }

  .innerblocks-container {
    width: auto;
  }

  .anim-nav,
  .anim-menu {
    display: none;
  }

  .anim-buttons-container details {
    display: flex;
  }

  .iframe-container {
    height: calc(50vh - 60px);
  }

  .wp-block-ourplugin-viewer-content-block .wp-block-spacer {
    display: none;
  }

  .block-title {
    display: block;
  }

  .block-title-text {
    text-align: center;
  }

  .block-subtitle-text {
    text-align: center;
  }

  .block-title-window {
    display: none;
  }

  .block-wrapper {
    flex-direction: column;
  }

  .iframe-container {
    max-width: 100vw;
  }

  .iframe-button-container {
    display: flex;
    flex-direction: column;
  }

  .innerblocks-wrapper {
    padding-top: 1rem;
  }

  .viewer-frame {
    order: 2;
  }

  .anim-buttons-container {
    margin-top: 10px;
  }
}

@media only screen and (max-height: 750px) {
  .iframe-container {
    height: calc(80vh - 60px);
  }
}