html,
body {
  margin: 0;
  z-index: -100;
  background-color: #f0f0f0;
}

* {
  font-family: "Montserrat", sans-serif;
  color: rgb(69, 69, 69);
  text-decoration: none;
  font-size: 20px;
}

h1.title {
  color: gray;
  right: 0;
  font-size: 40px;
}

h1 {
  font-size: 30px;
  margin: 0;
  font-weight: bold;
}

svg#logo path:nth-child(2) {
  stroke-dasharray: 507.99310302734375;
  stroke-dashoffset: 507.99310302734375;
  animation: line-anim 3s ease forwards 0.3s;
}
svg#logo path:nth-child(3) {
  stroke-dasharray: 415.94134521484375;
  stroke-dashoffset: 415.94134521484375;
  animation: line-anim 3s ease forwards 0.6s;
}
svg#logo path:nth-child(4) {
  stroke-dasharray: 241.34402465820312;
  stroke-dashoffset: 241.34402465820312;
  animation: line-anim 3s ease forwards 0.9s;
}
svg#logo path:nth-child(5) {
  stroke-dasharray: 342.05206298828125;
  stroke-dashoffset: 342.05206298828125;
  animation: line-anim 3s ease forwards 1.2s;
}
svg#logo path:nth-child(6) {
  stroke-dasharray: 482.4542236328125;
  stroke-dashoffset: 482.4542236328125;
  animation: line-anim 3s ease forwards 1.5s;
}
svg#logo path:nth-child(7) {
  stroke-dasharray: 61.62703323364258;
  stroke-dashoffset: 61.62703323364258;
  animation: line-anim 3s ease forwards 1.8s;
}
svg#logo path:nth-child(8) {
  stroke-dasharray: 230.4000244140625;
  stroke-dashoffset: 230.4000244140625;
  animation: line-anim 3s ease forwards 2.1s;
}
svg#logo path:nth-child(9) {
  stroke-dasharray: 322.00323486328125;
  stroke-dashoffset: 322.00323486328125;
  animation: line-anim 3s ease forwards 2.4s;
}

@keyframes line-anim {
  to {
    stroke-dashoffset: 0%;
  }
}

div.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  background-color: black;
}

.topHeader {
  top: 0;
  z-index: 100;
  background-color: transparent;
}

li a {
  text-decoration: none;
  color: gray;
}

li {
  padding: 10px;
}

ul.nav-links {
  display: flex;
}

.nav-links {
  display: inline-block;
  padding: 0px 20px;
  list-style: none;
}

.nav-links li a {
  transition: all ease 0.3s;
}

.nav-links li a:hover {
  color: #00a4c7;
}

.main-nav-active {
  color: #00a4c7;
}

p {
  text-decoration: none;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  margin: 0;
}

label {
  display: block;
}
nav {
  display: flex;
}

nav a:hover {
  transform: scale(1.2);
}

nav a {
  display: inline-block;
  margin: 1em;
  align-items: space-around;
}

/*--- Colors ---*/
.white {
  color: #ffffff;
}
.blue {
  color: #00a4c7;
}
.black {
  color: #000000;
}
.error {
  color: red;
}
h2.resolved-issue {
  font-size: 25px;
  color: green;
  padding-top: 25px;
}

.white-bg {
  background-color: #ffffff;
}
.blue-bg {
  background-color: #00a4c7;
}
.black-bg {
  background-color: #000000;
}

/*--- Fonts ---*/
h1,
h2,
h3,
h4 {
  margin: 0px;
}

/*--- Utility Classes ---*/
.flex {
  display: flex;
}

.box {
  padding: 10px;
  border-radius: 10px;
  margin-top: 25px;
  box-shadow: 1px 1px 5px #000000;
}

.btn {
  padding: 10px 25px;
  border: none;
  color: #ffffff;
  border-radius: 5px;
}

.input-field {
  align-items: center;
}
.input-field input {
  width: 100px;
  margin-bottom: 0px;
}

#search {
  width: 35vw;
}

/*--- Dashboard ---*/

.main-dashboard > button {
  margin-left: 0;
  margin-right: 20px;
}

.rejected {
  box-shadow: 1px 1px 2px 2px red;
  background-color: rgba(255, 0, 0, 0.5);
}
.issue-solution div {
  justify-content: space-between;
}

.issue-solution .btn {
  margin-left: 0px;
  margin-bottom: 5px;
}

.issue-solution h3 {
  margin-bottom: 10px;
}

div.issue {
  border-bottom: 1px solid gray;
  padding-bottom: 20px;
  padding-top: 10px;
  margin-bottom: 10px;
}

div.postIssue,
div.search {
  float: right;
  width: 50%;
  margin-bottom: 10px;
}

.insideStats {
  margin: 10px;
}

span {
  color: #00a4c7;
}

h1.prompt,
.searchTitle {
  font-size: 50px;
  color: #00a4c7;
  font-family: "Montserrat", sans-serif;
}

/* Buttons */
.searchbar,
button {
  margin: 20px;
}

button:hover {
  background-color: white;
  color: #00a4c7;
}

button.browseButton {
  background-color: #00a4c7;
  border-radius: 10px;
  width: 300px;
  height: 80px;
  color: white;
  font-size: 30px;
  border-color: none;
}

button.browseButton:hover {
  border: 1px solid black;
  background-color: white;
  border-radius: 10px;
  width: 300px;
  height: 80px;
  color: #00a4c7;
  font-size: 30px;
  border-color: none;
}

button.submitButton {
  background-color: #00a4c7;
  color: white;
  border-radius: 10px;
  width: 300px;
  height: 80px;
  font-size: 30px;
  border-color: none;
}

button.issueButton {
  background-color: #00a4c7;
  color: white;
  border-radius: 10px;
  width: 300px;
  height: 80px;
  font-size: 30px;
  border-color: none;
}

button.submitNewIssueButton {
  background-color: white;
  color: black;
  border-radius: 10px;
  width: 350px;
  height: 80px;
  font-size: 30px;
  border-color: none;
}
button.active {
  background-color: orange;
}

button.submitNewIssueButton:hover {
  border: 1px solid white;
  background-color: #00a4c7;
  color: white;
  border-radius: 10px;
  width: 350px;
  height: 80px;
  font-size: 30px;
  border-color: none;
}

button {
  background-color: #00a4c7;
  color: white;
  border-radius: 5px;
  border-color: transparent;
  box-shadow: 5px 5px 5px #9e9e9e;
}

.looking {
  color: black;
}

.need {
  color: white;
}

.searchbar {
  width: 610px;
  height: 50px;
  font-size: 20px;
  border-radius: 10px;
}

.browseIssues,
.submitIssues {
  float: left;
  width: 50%;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

div.submitIssues {
  background-color: #00a4c7;
  color: white;
}

form.browseIssues {
  width: 700px;
}

form.browseIssues {
  width: 900px;
}

img.homeImg {
  z-index: 0;
  top: 0;
  height: 500px;
}

div.titleScreen {
  background-size: cover;
  background-position: 400px 50%;
  height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
  animation: bgfade 20s infinite;
}

@keyframes bgfade {
  0% {
    background-image: url("Images/computer.jpeg");
  }
  50% {
    background-image: url("Images/computer1.jpeg");
  }
  75% {
    background-image: url("Images/computer2.jpeg");
  }
  100% {
    background-image: url("Images/computer.jpeg");
  }
}

div.titleScreen:before {
  opacity: 0.3;
}

/*  */
.container {
  padding: 0 75px;
  display: grid;
}

div.slider {
  background-image: linear-gradient(
    to bottom,
    #808080,
    #9e9e9e,
    #bdbebd,
    #dedede,
    #ffffff
  );
}

.component {
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
}

.issue-price {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-right: 20px;
  margin-bottom: 20px;
  color: green;
}

button.btn.blue-bg.white {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-right: 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

button.btn.blue-bg.white:hover {
  background-color: white;
  color: #00a4c7;
  border: 1px solid black;
}

button.post-issue-button {
  padding: 10px;
  cursor: pointer;
}
.post input {
  width: auto;
}

div.insideAllIssues {
  margin: 20px;
}

.issueTitle {
  color: black !important;
}

@media screen and (max-width: 600px) {
  .post textarea {
    width: auto;
  }
}

.stats-section,
.issueStats {
  border: 1px solid #ededf5;
  background-color: #ededf5;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  padding: 10px;
}

.payment-stats {
  float: left;
  width: 25%;
  border: 1px solid #ededf5;
  background-color: #ededf5;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  padding: 10px;
  margin-right: 20px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.payment-stats p {
  margin: 0;
}

.insideStats {
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filterOptions {
  border: 1px solid gray;
  border-radius: 10px;
}

.custom-select {
  border-radius: 5px;
  margin-right: 20px;
  margin-top: 0;
}

form#login-form {
  display: grid;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  margin-top: 200px;
}

#login-form input {
  border: none;
  box-shadow: 1px 1px 5px #000000;
  padding: 10px;
  width: 100%;
}
#login-form button {
  padding: 10px;
}
#login-form label {
  font-weight: bold;
}

div.post-issue {
  display: grid;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  margin-top: 50px;
}

.all-issues-title {
  margin-left: 15px;
}

.issue {
  padding: 5px;
}

.issue-section {
  border: 1px solid #ededf5;
  background-color: #ededf5;
  border-radius: 10px;
  float: left;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  justify-content: center;
  height: 300px;
  padding: 10px;
  margin-right: 20px;
}

/*--- Code Environment ---*/
div.code-environment-container {
  display: flex;
  justify-content: space-between;
}

.output-box {
  background-color: #001628;
  height: 50vh;
  width: 24vw;
  color: white;
  margin-left: 5px;
}

textarea {
  width: 500px;
  height: 100px;
  border: 1px solid black;
  border-radius: 10px;
  background-color: #ededed;
  margin-bottom: 20px;
}

input,
select {
  border-radius: 5px;
  margin-bottom: 10px;
  width: 300px;
}

input.price-input,
select.language-input {
  width: 140px !important;
}

button.post-issue-submit {
  background-color: #00a4c7;
  border-radius: 10px;
  width: 100%;
  height: 60px;
  color: white;
  font-size: 20px;
  border-color: none;
  position: relative;
  margin: 10px 0px;
}

button.post-issue-submit:hover {
  background-color: white;
  color: #00a4c7;
  font-size: 20px;
}

div.component.post-issue,
form {
  display: flex;
  flex-direction: column;
}

div.component.post-issue {
  border-radius: 10px;
}

.post {
  display: flex;
  justify-content: center;
}

/* Payment */

.payment-div {
  border: 1px solid black;
  border-radius: 10px;
  width: 500px;
  height: 50px;
  margin: 10px;
}

.payment-title {
  color: #00a4c7;
}

textarea#issue-md {
  background-color: white;
  height: 250px;
}

/* STATS */
.stats-section,
.issue-section,
.payment-stats {
  background-color: #ffffff;
  box-shadow: 1px 1px 3px #000000;
}

div.stats-section {
  float: left;
  width: 25%;
  margin-right: 20px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stats-section > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 75%;
}
.stats-section > div p {
  margin: 0px;
}

.inside-stats-text {
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.issue-question {
  font-size: 20px;
  text-align: center;
}

div.dashboard-info {
  float: right;
  width: 75%;
  margin-right: 10px;
}

div.issue-transactions {
  float: right;
  width: 75%;
  border-radius: 10px;
}

.parent-payment-div {
  display: flex;
}

.transaction-box {
  border: 1px solid white;
  border-radius: 10px;
  background-color: white;
  box-shadow: 1px 1px 2px 2px #999999;
  margin-bottom: 10px;
  display: grid;
}

.transaction-words {
  margin: 20px;
}

.transaction-title {
  margin: 5px;
}

.issue-date {
  float: left;
  width: 50%;
}

.price-status {
  float: right;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.parent-stats-section {
  display: flex;
}

.issue-section p {
  text-align: center;
}

@media screen and (max-width: 991px) {
  div.parent-issue,
  .parent-stats-section,
  .parent-payment-div {
    flex-direction: column;
  }
  div.stats-section,
  .issue-section,
  .payment-stats {
    width: calc(100% - 20px);
    margin-right: 0px;
    margin-bottom: 20px;
  }
  div.dashboard-info,
  div.issue-transactions {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
    margin-bottom: 20px;
  }
  div.parent-issue select {
    width: 100%;
  }
}

div.stats-text {
  margin: 10px;
}

div.text {
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  padding: 10px;
}

.stats-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

div.solution-box {
  border: 1px solid white;
  box-shadow: 1px 1px 2px 2px #999999;
  background-color: white;
  border-radius: 10px;
  display: flex;
  padding: 5px;
  margin-bottom: 10px;
}

.inside-solution {
  margin: 10px;
}
.inside-solution h3 {
  padding-bottom: 10px;
}

div.parent-issue {
  display: flex;
}

div.issue-solution.box {
  background-color: white;
  flex-direction: column;
}
div.issue-solution.box .btn {
  width: auto;
}
div.issue-solution.box code {
  display: block;
}

.react-confirm-alert-button-group > button {
  background-color: #00a4c7 !important;
}

/* .dashboard-issue-question-view {
  background-color: white;
  margin: 20px;
} */

.resolved-filter-and-question {
  display: flex;
}

.question-button {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  margin-left: 10px;
}

.question-button-active {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  margin-left: 10px;
  background-color: orange;
}

.question-button-active:hover {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  margin-left: 10px;
  background-color: orange;
}

.question-view {
  /* border: 1px solid white; */
  box-shadow: 1px 1px 2px 2px #999999;
  border-radius: 10px;
  padding: 10px;
  background-color: #ffffff;
}

.question-view p {
  margin: 0px 0px 10px 0px;
}
.question-view button {
  margin: 0px 0px 0px 10px;
}

.no-questions {
  padding: 20px 0px;
}

.issue-solution div.answer-field {
  display: flex;
  justify-content: left;
  align-items: flex-start;
}
.answer-field p {
  margin: 0px;
  padding-right: 10px;
}
.issue-solution div.answer-field > div {
  display: flex;
  flex-direction: column;
}
.issue-solution div.answer-field > div button {
  margin: 0px 0px 20px 0px;
  width: 200px;
}
/*--- All Issues ---*/

.inside-all-issues p::-webkit-scrollbar {
  display: none;
}

.allIssues {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  padding-top: 20px;
}
.all-issues-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
div.single-issue {
  position: relative;
  height: 300px;
  border: 1px solid black;
  border-radius: 10px;
  margin: 10px;
  overflow-wrap: break-word;
  display: inline-table;
  justify-content: center;
  align-items: center;
  background-color: white;
}
div.single-issue button.btn.blue-bg.white {
  left: 20px;
}
div.single-issue p {
  height: 125px;
  overflow-y: scroll;
}
button.post-issue-button {
  margin: 0px 0px 0px 10px;
}

@media screen and (max-width: 1250px) {
  .allIssues {
    grid-template-columns: 50% 50%;
  }
}

@media screen and (max-width: 767px) {
  .allIssues {
    grid-template-columns: 100%;
  }
  .contain-component {
    padding: 25px 10px !important;
  }
  .workspace textarea {
    width: 96% !important;
  }
}
@media screen and (max-width: 600px) {
  .all-issues-header {
    flex-direction: column;
    align-items: unset;
  }
  .all-issues-header button {
    margin-left: 15px !important;
  }
  .workspace textarea {
    width: 94.5% !important;
  }
  .single-issue-btns {
    flex-direction: column;
    align-items: unset !important;
  }
  .single-issue-btns a {
    padding-bottom: 15px;
  }
  .overview .question-section input {
    width: 95%;
  }
}

/*--- Navigaton ---*/
@media screen and (max-width: 991px) {
  .header {
    flex-direction: column;
  }
  ul.nav-links {
    margin: 0px;
  }
  svg {
    padding-top: 10px;
  }
}

/*--- Single Issue Overview ---*/
.active-btn {
  background-color: #ffffff;
  color: #00a4c7;
}
.active-btn:hover {
  background-color: #00a4c7;
  color: #ffffff;
}
.single-issue-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.single-issue-btns a {
  display: flex;
  align-items: center;
  position: relative;
}
i.fa-chevron-left {
  font-size: 15px;
  padding-right: 5px;
}
.contain-component {
  padding: 25px 50px 25px 50px;
}

.contain-component button {
  margin: 0px 25px 0px 0px;
  padding: 10px 20px;
}

.overview {
  padding-top: 25px;
}
.overview .info {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 20px;
}
.overview .info p {
  max-width: 75%;
}

.overview .question-section {
  background-color: #ffffff;
  border: 1px solid #00a4c7;
  margin-top: 25px;
  padding: 25px;
  border-radius: 20px;
}
.overview .question-section h2 {
  padding-bottom: 10px;
}
.overview .question-section input {
  border: 0px;
  padding: 10px;
  box-shadow: 1px 1px 5px #000000;
  margin-right: 10px;
}
.question-section > div {
  padding-top: 15px;
}
.overview .question-section button {
  padding: 10px;
}
.owner-edit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}
.owner-edit button {
  padding: 5px 15px;
  margin: 0px;
}
.edit-overview {
  display: flex;
  flex-direction: column;
}
.edit-overview textarea {
  background-color: #ffffff;
  padding: 10px;
  width: 75%;
}
.edit-overview input {
  border: 1px solid #000000;
  padding: 10px;
  font-weight: bold;
  font-size: 30px;
  width: 500px;
}
.edit-overview > div {
  display: flex;
  justify-content: space-between;
}
.edit-overview > div button {
  padding: 5px;
  height: 100%;
  margin: 0px;
}

/*--- Single Issue Workspace ---*/
.ide {
  padding-bottom: 25px;
}
.code-environment-container {
  padding: 25px 0px 10px 0px;
}

.workspace textarea {
  width: 98.5%;
  padding: 10px;
  background-color: #ffffff;
}
.submission-btns button {
  width: 40vw;
  margin: 0px;
}
.submission-btns {
  display: flex;
  justify-content: space-between;
}
.submission-btns button.white-bg {
  border: 1px solid #00a4c7;
}
.submission-btns button.white-bg:hover {
  background-color: #00a4c7;
  color: #ffffff;
}
button.accept {
  margin-top: 25px;
}
.back {
  cursor: pointer;
}

@media screen and (max-width: 1050px) {
  .code-environment-container {
    flex-direction: column;
  }
  .output-box {
    width: 100%;
    margin-left: 0px;
    margin-top: 5px;
    height: 250px;
  }
  .code-environment-container > section {
    width: 100% !important;
  }
}

/*--- Post Issue ---*/
.post input,
.post textarea {
  border: none;
  box-shadow: 1px 1px 5px #000000;
  padding: 10px;
}
.post label {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
}
.flex.input-field {
  padding-bottom: 10px;
}
.flex.input-field label {
  padding-right: 10px;
  padding-bottom: 0px;
}
.flex.input-field select {
  width: 100%;
  margin-bottom: 0px;
}
