@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto:wght@700&display=swap");

html, body {
  font-family: "Montserrat", sans-serif;
  font-size: large;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  width: 100vw;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #08B2E3;
}

a:hover {
  text-decoration: underline;
  color: #077fa0;
}

.greeting {
  font-size: 80px;
  padding: 0;
  margin: 0;
  padding-top: 2vh;
  max-width: 60vw;
}

.container {
  padding: 5px 20px;
  width: 95vw;
  margin: auto;
}

.content {
  background-color: lightblue;
}

.container-middle {
  margin: 40px;
  padding-top: 100px;
  text-align: center;
}

.container-bottom {
  width: fit-content;
  margin: auto;
  text-align: center;
}

.row {
  display: flex;
  gap: 50px;
  flex-wrap: wrap-reverse;
  margin: auto;
  padding-bottom: 30vh;
}

.row-bottom {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.demo {
  margin: auto;
  max-width: 100vw;
}

.col {
  flex: 1;
  min-width: 450px;
}

.col-right {
  max-width: 40vw;
  margin-left: auto;
  position: absolute;
  top: 4vh;
  right: 2vw;
}

.col-left {
  margin-top: 7vh;
  max-width: 40vw;
}

.description {
  text-align: left;
  font-size: x-large;
}

h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
}

abbr {
  text-decoration: none;
}

footer {
  margin-top: 100px;
  text-align: center;
}

.definitions {
  background-color: #484d6d;
  padding: 8px;
  border-radius: 20px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.definitions:hover {
  background-color: #2f3246;
}

.dictionary {
  text-align: left;
  padding: 30px 50px;
  margin: 0px 10px 10px 30px;
  border-radius: 8px;
  background-color: #efe9f4;
  width: 30vw;
}

.selected {
  background-color: #57A773;
  font-weight: bolder;
}

.selected:hover {
  background-color: #349154;
}

.dictionary h1 {
  vertical-align: middle;
  display: inline-block;
}

.dictionary img {
  vertical-align: middle;
  cursor: pointer;
}

.divider {
  position: absolute;
  left: 0;
  width: 100vw;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.divider .divider-color {
  fill: lightblue;
}

.divider .divider-lower-color {
  fill: #ffffff;
}

.showcase-header {
  text-align: center;
  cursor: pointer;
  width: fit-content;
  margin: auto;
  padding-bottom: 25px;
}

.pointer {
  cursor: pointer;
}

.vl {
  display: inline-block;
  border-left: 3px solid #000000;
  border-right: 3px solid #000000;
  background-color: #000000;
  height: 90vh;
  margin: 0;
  padding: 0;
  opacity: 0.05;
  border-radius: 4px;
}

.up-arrow {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 999;
}

.up-arrow:hover {
  cursor: pointer;
}

.demo-img {
  border-radius: 5px;
  width: 80%;
  height: 80%;
  margin: auto;
}

.demo-img-right {
  margin-bottom: 12.5vh;
}

.demo p {
  margin-right: 80px;
  margin-left: 80px;
  text-align: left;
}

.form {
  padding: 0;
  margin: 5vh;
}

.form input {
  width: 20vw;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
}

.form textarea {
  resize: none;
  width: 20vw;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
}

.form textarea {
  border: none;
  cursor: not-allowed;
}

.form input {
  border: none;
  height: 20px;
  cursor: not-allowed;
}

.form button {
  width: 20vw;
  border-radius: 3px;
  border: none;
  padding: 6px;
}

.form button:hover {
  cursor: not-allowed;
}

/* .form button:active {
  background-color: #eae8eb;
} commented while switching serverless */

.suggestions {
  margin-top: 120px;
}

.error {
  color: #be1616;
}

.success {
  color: #57A773;
}

.success, .error {
  cursor:pointer;
}


/* @media only screen and (max-width: 1250px) {
  .description {
    max-width: 50%;
  }
}

@media only screen and (max-width: 650px) {
  .dictionary {
    width: 75%;
    border-radius: 4px;
    position: unset;
  }

  .content {
    height: 80vh;
  }

  .description {
    max-width: 80%;
    text-align: center;
  }
} */

.hidden {
  visibility: hidden;
}

@media only screen and (max-width: 1042px) {
  .vl {
    visibility: hidden;
  }
  .col-right {
    position: inherit;
  }
  .dictionary {
    height: auto;
    width: auto;
    margin-top: 4vh;
  }
  .container {
    margin: unset;
    width: unset;
  }
}

.suggestions-warning {
  color: red;
}