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

:root {
  --first-color: #dfe0d4;
  --second-color: #353940;
  --third-color: #fff;
}
.dark-mode {
  --first-color: #202124;
  --second-color: #dfe0d4;
  --third-color: #585151;
}

html,
body {
  background-color: var(--first-color);
  font-size: 15px;
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* header section */
header {
  width: 101% !important;
  height: 100vh !important;
  padding: 0 10% !important;
  background-color: var(--first-color);
}

/* main intro text */
#text-area {
  margin-top: 250px;
  text-align: justify;
  color: var(--second-color);
}
#text-area h4 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #3e92a3;
  font-family: "Kanit", sans-serif;
}
#button {
  background-color: #ff5335;
  color: white;
}
#button:hover {
  background-color: #353940;
}

/* image sizing */
#user-area {
  margin-top: 250px;
}

/* logo */
.navbar-brand {
  font-weight: 500;
  color: #3e92a3;
  font-family: "Bruno Ace SC", cursive;
}
.navbar-brand:hover {
  color: var(--second-color);
}
.logo {
  width: 10%;
  height: 10%;
}

/* navbar */
.nav-link {
  font-family: "Poppins", sans-serif !important;
  color: var(--second-color) !important;
  font-size: 16px !important;
}
.nav-item {
  padding-left: 50px;
  padding-right: 50px;
}
.dropdown-item {
  font-family: "Poppins", sans-serif !important;
  color: #353940 !important;
  font-size: 13px;
}
#searchbar {
  font-family: "Poppins", sans-serif !important;
  width: auto;
  /* height: 30px; */
}
#searchbutton {
  color: white;
  font-size: 15px;
  text-align: center;
}
#searchbutton:hover {
  background-color: #353940 !important;
}

/* scroll bar style */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background-color: #d3d3d3;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

/* popular items margin and cards */
#pop-title {
  color: var(--second-color);
  margin-left: 30px;
  padding-top: 7vh;
  font-weight: bold;
  font-family: "Kanit", sans-serif;
}

#pop-items {
  height: 60vh;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.card {
  margin-top: 20vh;
  margin-left: 5%;
  margin-right: 5%;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card {
  margin-left: 20px;
  margin-top: 0;
}
.text {
  font-family: "Ubuntu", sans-serif;
}
.title-color {
  color: #3e92a3;
}

.underline {
  text-decoration: none;
  color: var(--second-color);
}

.typeD {
  margin-left: 63%;
}

/* feedback form */

.feedback-form {
  color: var(--second-color);
}
.feedback-container {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.feedback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 400px;
  margin: 0 15px;
  text-align: left;
  background-color: white;
  border-radius: 5%;
}

.feedback img {
  width: 50%;
  max-width: 70px;
  height: 70px;
  border-radius: 50%;
  padding-top: 0px;
  margin-bottom: 10px;
}

.feedback-text {
  margin: 10px;
  text-align: justify;
}

.feedback-text h3 {
  margin: 0;
  font-size: 18px;
  color: #ff5335;
  font-weight: bold;
  font-family: "Kanit", sans-serif;
}

.feedback-text p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
  max-height: calc(1.4rem * 6);
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
}

.feedback-form {
  width: 300px;
  margin: 0 auto;
  text-align: center;
}

.feedback-form input[type="text"],
.feedback-form textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid var(--first-color);
  border-radius: 4px;
}

.feedback-form input[type="submit"] {
  width: 100%;
  background-color: #ff5335;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.feedback-form input[type="submit"]:hover {
  background-color: #353940;
}

/* footer */
.container {
  max-width: 1170px;
  margin: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
ul {
  list-style: none;
}
.footer {
  background-color: #353940;
  padding: 10px 0;
}
.footer-col {
  width: 25%;
  padding: 0 15px;
}
.footer-col h4 {
  font-size: 17px;
  color: #bbbbbb;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}
.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #ff5335;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}
.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  text-transform: capitalize;
  color: var(--first-color);
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.3s ease;
}
.footer-col ul li a:hover {
  color: var(--first-color);
  padding-left: 8px;
}
.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: #353940;
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: var(--first-color);
  transition: all 0.5s ease;
}
.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

/*responsive*/
@media (max-width: 900px) {
  .text-area {
    display: block;
  }
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
  .logo {
    width: 7%;
    height: 7%;
  }
  #icon {
    width: 7% !important;
    height: 7% !important;
  }
  #pop-title {
    margin-top: 10vh;
  }
}
@media (max-width: 574px) {
  .text-area {
    display: block;
  }
  .footer-col {
    width: 100%;
  }
  .logo {
    width: 7%;
    height: 7%;
  }
  #icon {
    width: 7% !important;
    height: 7% !important;
  }
  #pop-title {
    margin-top: 10vh;
  }
}
/* DARK MODE */

#icon {
  margin-right: 15px;
  width: 30px;
  cursor: pointer;
}
.card-dk {
  background-color: var(--third-color);
  color: var(--second-color);
}
.card-logo {
  margin-bottom: 7px;
}
