@import "footer.css";
@import "header.css";
@import "form.css";
@import "popup.css";
@import "table.css";
@import "notification.css";

* {
  color: black;
}

html {
  font-size: 16px;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-color: white;
}

button {
  border: none;
}

main {
  width: 90vw;
  height: 100%;
  padding-top: 100px;
  padding-bottom: 80px;
  margin-right: 5vw;
  margin-left: 5vw;
  background-color: white;
}

#questions-content * {
  pointer-events: none;
}

textarea {
  width: 90%;
}

.function-button-area {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center
}

.function-button {
  width: 50%;
  height: 50px;
  background-color: #e5feff;
  margin-right: 10px;
  padding: 1px 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  white-space: nowrap;
  border: 1px solid black;
  cursor: pointer;
}

#selected-function-area {
  display: flex;
  width: 100%;
  height: 70%;
  border: none;
  padding: 10px;
}

#selection-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#selection-container > div {
  flex: 1; 
  margin-right: 10px;
}

#selection-container > div:last-child {
  margin-right: 0;
}


.submit-button {
  width: fit-content;
  color: black;
  background-color: #ededed;
  border: none;
  border-radius: 5px;
  margin: 10px;
  padding: 1px 7px;
  cursor: pointer;
}

.function-button:hover,
.submit-button:hover {
  background-color: aqua;
  cursor: pointer;
}

#alert-message {
  color: red;
  font-size: 20px;
}

button.function-name {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

button.operation-button {
  font-size: 16px;
  background-color: #e5feff;
  border: 1px solid black;
}

@media screen and (min-width: 450px) {
  body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
  }

  main {
    width: 70vw;
    height: 100%;
    padding-top: 100px;
    margin-left: 15vw;
    margin-right: 15vw;
    padding-bottom: 70px;
    align-items: center;
  }

  textarea {
    width: calc(100% - 40px);
  }

  .function-button-area {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center
  }

  .function-button {
    width: 50%;
    height: 50px;
    background-color: #e5feff;
    margin-right: 10px;
    padding: 1px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    white-space: nowrap;
    border: 1px solid black;
    cursor: pointer;
  }
  
  #selected-function-area {
    display: flex;
    width: 100%;
    height: 70%;
    border: none;
    padding: 10px;
  }

  #selection-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #selection-container > div {
    flex: 1; 
    margin-right: 10px;
  }

  #selection-container > div:last-child {
    margin-right: 0;
  }

  .submit-button {
    width: fit-content;
    color: black;
    background-color: #ededed;
    border: none;
    border-radius: 5px;
    margin: 10px;
    padding: 1px 7px;
    cursor: pointer;
  }

  .function-button:hover,
  .submit-button:hover {
    background-color: aqua;
    cursor: pointer;
  }
  #logout-button {
    margin-bottom: 10px;
  }
  
  #alert-message {
    color: red;
    font-size: 20px;
  }

  button.function-name {
    border: none;
    background-color: transparent;
    cursor: pointer;
  }

  button.operation-button {
    font-size: 16px;
    background-color: #e5feff;
    border: 1px solid black;
  }
}
#toggle_triger {
  text-decoration: underline;
  cursor: pointer;
}
#toggle_content {
  display: none;
  margin-left: 10px;
}

.container {
  position: relative;
    background-color: #ffffff;
    padding: 10px 50px;
    margin-bottom: 30px;
    border-radius: 15px; 
    box-shadow: 8px 8px 15px #ededed,-8px -8px 15px #ffffff;
    border: none;
    width: 100%;
}


