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

body {
  font-family: "Roboto", sans-serif;
  color: #202124;
  font-size: 24px;
  height: 100vh;

  text-align: center;
  font-weight: bold;

  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  grid-template-rows: 50px 1fr;
}

nav,
main,
aside {
  padding-top: 24px;
}

nav {
  background-color: #343a40;
  color: #fff;
  grid-row: 1 / -1;
}

menu {
  background-color: #343a40;
  color: #fff;
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  /* justify-content: space-between; */
}

.preview-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-height: 100vh;
}

.section-file-prop {
  background-color: #e9ecef;
  padding: 2 px;

  overflow: scroll;

  display: flex;
  gap: 1px;
  flex-direction: column;
}

.prop {
  height: 50%;
  /* background-color: #1c7ed6; */
  background-color: #868e96;
}

.prop-title {
  text-align: left;
  display: inline-block;
  width: 50%;
  font-size: 14px;
  font-weight: normal;
}

.input-region {
  padding: 2px;
  display: flex;
  gap: 1px;
  flex-direction: row;
}

.input-box {
  display: inline-block;
  width: 100%;
  text-align: left;
  padding: 5px;
  /* margin-right: 20px; */
}

.submit-box {
  display: inline-block;
  width: 100%;
  text-align: right;
  padding: 5px;
}

.layout-container {
  overflow: scroll;
  padding: 10px;

  overflow: scroll;

  display: flex;
  gap: 10px;
  flex-direction: column;
}

aside {
  background-color: #e9ecef;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  background-color: #212529;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
}

.btn-small {
  text-transform: uppercase;
  background: var(--clr-primary-5);
  color: var(--clr-primary-10);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  font-weight: 400;
  transition: var(--transition);
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  border-color: transparent;
}

button:last-child {
  background-color: #3498db;
  margin-left: auto;
  border-radius: 5px;
  color: #fff;
  margin-top: 5px;
}

.file {
  background-color: #adb5bd;
  height: 32px;
  font-size: 16px;

  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: left;
}

.tools-region {
  /* background-color: #e9ecef; */
  padding-top: 10px;

  /* overflow: scroll; */

  display: flex;
  gap: 5px;
  flex-direction: column;
}

.tool {
  /* background-color: #adb5bd; */
  /* height: 35px; */

  font-size: 2rem;
  font-weight: normal;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  /* justify-content: left; */
  flex-direction: column;
  /* height: 3.5rem; */
  padding: 1.2rem 0 1.2rem 0;
  column-gap: 1rem;
}

.tool:hover {
  background-color: #212529;
  cursor: copy;
}

.file:hover {
  background-color: #212529;
  cursor: pointer;
  color: #fff;
}

.file::selection {
  background-color: #212529;
  cursor: pointer;
  color: #fff;
}

.file-active {
  background-color: #3498db;
  color: #fff;
}

.tool:focus {
  border: 1px solid #3498db;
}

.tool-image {
  /* padding-right: 5px; */
}

.menu-image {
  padding-right: 5px;
  padding-left: 5px;
}

.toolbox {
  font-size: 16px;
}

.title-region {
  display: flex;
}

.title-region-item {
  flex-grow: 1;
  font-size: 16px;
}

.pagination {
  text-align: right;
}

.tool-text {
  /* text-align: left; */
  font-size: 14px;
}

.maxspace {
  height: 100%;
  width: 100%;
}

/* .comp {
  background-color: #adb5bd;
  font-size: 14px;
  color: #fff;
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: start;
  justify-content: left;
  border-radius: 4px;
  flex-direction: column;
} */

/* .comp-header {
  padding-left: 5px;
  text-align: left;
  height: 20px;
  width: 100%;
  background-color: #868e96;
  font-weight: 500;
  border-radius: 4px;
} */

.comp-small {
  height: 74px;
}

.comp-tiny {
  height: 32px;
}

.comp-medium {
  height: 100px;
}

.comp-free {
  min-height: 100px;
}

.comp-large {
  height: 200px;
}

.comp-value {
  font-size: 1rem;
  padding-left: 5px;
  padding: 5px;
  line-height: 1.5em;
  height: 3em;
  overflow: hidden;
  font-weight: 400;
  text-align: -webkit-auto;
}

.comp-xmark-icon {
  position: absolute;
  top: 4px;
  right: 6px;
  color: #fff;
}

.comp-tick-icon {
  position: absolute;
  top: 4px;
  right: 40px;
  color: #fff;
}

.comp-popup-icon {
  position: absolute;
  top: 4px;
  right: 40px;
  color: #fff;
}

.comp-icon2 {
  position: absolute;
  top: 0px;
  right: 20px;
}

.comp:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* .comp:focus-within {
            background-color:  #1c7ed6;
            cursor: pointer;
            border:2px solid grey;
        } */

.comp-value:focus {
  background-color: #1c7ed6;
  cursor: pointer;
  border: 2px solid grey;
}

label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

select,
textarea,
input {
  font-size: 16px;
  background-color: #eeeeee;
  color: #191715;
  border-color: #eeeeee;
  border: 1px solid #ccc;
  /* box-shadow: 0 1px 2px rgb(0 0 0 / 10%); */
  padding: 10px;
  border-radius: 5px;
  text-align: justify;

  /* width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease; */
}

.input-label {
  font-size: 16px;
  color: #202124;
  background-color: #fcfbfa;
  font-weight: 400;
}

.hide {
  display: none;
}

.show {
  display: inline;
}

.selected {
  /* border-style: dotted solid; */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.max-icon {
  display: inline-block;
  text-align: right;
  width: 50%;
}

.geeks {
  top: 50%;
  left: 50%;
  position: absolute;
  justify-content: center;
  text-align: center;
  align-items: center;
  height: 250px;
  width: 500px;
  background-color: rgb(36, 168, 36);
  transform: translate(-50%, -50%);
  padding: 10px;
}

.propDialog {
  top: 50%;
  left: 50%;
  position: absolute;
  justify-content: center;
  text-align: center;
  align-items: center;
  height: 250px;
  width: 500px;
  background-color: #adb5bd;
  transform: translate(-50%, -50%);
  padding: 10px;
  z-index: 1;
}

.hide_dialog {
  visibility: hidden;
}

.show-dialog {
  visibility: visible;
}

.gfg1 {
  margin-top: 80px;
  color: white;
  font-size: 40px;
  font-weight: bold;
}

.gfg2 {
  font-size: 20px;
}

.propTextArea {
  width: 100%;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  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 */
}

.scroll {
  overflow: scroll;
  padding-bottom: 10px;
}

.align-left {
  text-align: left;
}

.multi-button {
  text-align: right;
  width: 100%;
}

.messagemodal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  /* padding-top: 100px; */
  /* Location of the box */
  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 */
}
.mbox-text {
  font-size: 1rem;
  color: #fff;
}

.modal-show {
  display: block;
}

.modal-hide {
  display: none;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  box-shadow: 2px 2px #888;
  border-radius: 15px;
}

.msgmodal-content {
  /* background-color: #2f9e44; */
  width: 80px;
  margin: auto;
  padding: 5px;
  border: 1px solid #888;
  box-shadow: 2px 2px #888;
  float: right;
}

.msgmodal-success {
  background-color: #71b058;
}

.msgmodal-failure {
  background-color: #e46050;
}

.modal-large {
  width: 80%;
}

.modal-medium {
  width: 60%;
}

.modal-small {
  width: 25%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.fileRegion {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 10px;
  column-gap: 5px;
}

.file-box {
  display: flex;
  flex-direction: row;
  row-gap: 10px;
  align-items: center;
  background-color: #adb5bd;
  border-radius: 10px;
  padding: 20px;
}

.file-box:hover {
  background-color: #3498db;
  color: #fff;
  cursor: pointer;
}

.file-box div {
  font-weight: 400;
  font-size: 1rem;
}

.file-image {
  padding-right: 5px;
  /* color: #2f9e44; */
}

.comp {
  /* width: 100%; */
  overflow: hidden;
  /* margin: 20px; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: start;
  justify-content: left;
  border-radius: 4px;
  flex-direction: column;
}

.comp-header {
  font-size: 1rem;
  width: 100%;
  text-align: left;
  padding: 10px;
  color: #fff;
  background: linear-gradient(to right, #ffb6c1, #ff69b4);
}

.subsection {
  margin-left: 10px;
}

.subsubsection {
  margin-left: 20px;
}

.itemize-header {
  background: linear-gradient(to right, #1abc9c, #3498db);
}

.section-header {
  background: linear-gradient(to right, #1abc9c, #3498db);
}

.subsection-header {
  background: linear-gradient(to right, #3498db, #8e44ad);
}

.subsubsection-header {
  background: linear-gradient(to right, #f39c12, #e74c3c);
}

.paragraph-header {
  background: linear-gradient(to right, #2ecc71, #f1c40f);
}

.abstract-header {
  background: linear-gradient(to right, #e91e63, #9b59b6);
}

.enumerate-header {
  background: linear-gradient(to right, #e91e63, #9b59b6);
}

.newpage-header {
  background: linear-gradient(to right, #afafaf, #676767);
  text-align: center;
}

.comp-header h2 {
  font-size: 1.2rem;
  font-weight: 400;
}

.comp-content {
  padding: 20px;
}

.comp.active {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Dropdown menu Styles */
.dropdown {
  display: inline-block;
  position: relative;
}

.dropbtn {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  font-weight: 400;
  color: #202124;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  font-size: 1rem;
  width: 8rem;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.flex-parent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start; /* Align columns to the top */
  width: 100%; /* Set a specific width for the container or use any other value */
}

.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align columns to the top */
  width: 100%; /* Set a specific width for the container or use any other value */
}

.left-column {
  flex: 0 0 95%; /* Set the left column to take up 50% of the container width */
  padding: 5px;
  /* background-color: #f2f2f2; Background color for the left column */
  text-align: left;
}

.right-column {
  flex: 0 0 5%; /* Set the right column to take up 50% of the container width */
  padding: 5px;
  /* background-color: #e0e0e0; Background color for the right column */
}

.comp-plus-icon {
  position: absolute;
  top: 4px;
  right: 80px;
  color: #fff;
}

.itemize {
  overflow: visible;
}
