@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600&display=swap");
:root {
  --main-color: #f5efe6;
  --primary-color: #ff923e;
  --detect-page-color: #091434;
  --button-color: #2e8de0;
  --background-box-color: #ffffff;
  --text-button-color: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Sora", sans-serif;
}
.max-width {
  max-width: 100%;
  padding: 0 80px;
  margin: auto;
}
/*-----Navbar styling----*/
.navbar {
  position: fixed;
  width: 100%;
  margin: 1%;
  z-index: 1;
  /* background-color: rgba(0, 0, 0, 0.2); */
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}
.navbar .menu {
  margin-right: 15vh;
  float: right;
}
.navbar .logo {
  float: left;
  margin-left: 5vh;
  width: 200px;
  height: 50px;
  background-image: url("../images/CS338_logo.png");
  background-size: cover;
}
.navbar .logo a {
  display: block;
  width: 200px;
  height: 50px;
}

.navbar .menu li {
  list-style: none;
  display: inline;
  margin-left: 50px;
}
.navbar .menu li a {
  font-size: 18px;
  color: var(--detect-page-color);
  font-weight: 600;
  padding: 5px;
}

.navbar .menu li a.active.active-button,
.navbar .menu li a.active-button,
.navbar .menu li a.active:hover,
.navbar .menu li a:hover {
  color: var(--primary-color);
}

.navbar .menu li a.active:hover,
.navbar .menu li a:hover {
  color: var(--primary-color);
}
.navbar .logo.active {
  background-image: url("../images/CS338_logo2.png");
}
.navbar .menu li a.active {
  color: var(--text-button-color);
} /* Màu chữ của navbar khi lướt trang

/* home section styling  */

.home {
  display: flex;
  background-color: var(--main-color);
  justify-content: space-between;
  height: 100vh;
  min-height: 500px;
}
.home .max-width {
  width: 50%;
}
.home .home-content {
  margin-top: 100px;
  margin-left: 10px;
}
.home .home-content .text-1 {
  font-size: 6vh;
  font-weight: 800;
  line-height: 1.2;
}
.home .home-content .text-2 {
  margin-top: 20px;
  font-size: 2vh;
  font-weight: 200;
  text-align: justify;
  display: block;
  width: 80%;
  opacity: 40%;
}
.home .home-content .button {
  display: inline-block;
  text-align: center;
  color: var(--text-button-color);
  background-color: var(--primary-color);
  border-radius: 50px;
  padding: 3vh 6vh;
  text-decoration: none;

  margin-top: 50px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
}

.home .home-content .button:hover {
  color: #000000;
  opacity: 0.7;
}
.home .home-picture {
  width: 50%;
  margin-right: 10%;
}
.home .home-picture img {
  margin: 25%;
  width: 90%;
  height: 60%;
}

/* demo section css */

.demo {
  display: flex;
  background-color: var(--detect-page-color);
  height: 100vh;
  font-family: "Ubuntu", sans-serif;
}
.demo .max-width {
  width: 50%;
  margin: 50px;
  margin-top: 150px;
  margin-left: 60px;
}
.demo .max-width .demo-content {
  font-size: 37px;
  height: 100%;
}

.demo .demo-content .container {
  padding: 20px;
  background-color: #ffffff;
  width: 60vh;
  height: 70vh;
}

.demo .demo-content .container .image-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0px;
}

.demo .demo-content .container {
  padding: 20px;
  background-color: #ffffff;
  width: 60vh;
  height: 70vh;
}

.demo .demo-content .container .image-preview {
  width: 50vh;
  height: 50vh;
  background-color: #6f6f6f;
  margin-bottom: 10px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.demo .demo-content .container .image-preview img {
  max-width: 100%;
  max-height: 100%;
}
.demo .demo-content .container .button {
  display: flex;
  justify-content: space-around;
}
.demo .demo-content .container .upload-button,
.demo .demo-content .container .check-button {
  margin: 4vh 4vh;
  margin-bottom: 0;
  display: inline-block;
  text-align: center;
  border: none;
  color: var(--text-button-color);
  background-color: var(--primary-color);
  border-radius: 50px;
  padding: 3vh 6vh;
  font-weight: 600;
  text-decoration: none;
  font-size: 20px;
  cursor: pointer;
}
.demo .demo-content .container .check-button {
  background-color: var(--button-color);
}
.demo .demo-content .container .upload-button:hover,
.demo .demo-content .container .check-button:hover {
  opacity: 0.9;
  color: #000000;
}

.demo .result {
  display: flex;
  width: 50%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0px 20px;
  margin-right: 20px;
}
.demo .result p {
  color: var(--text-button-color);
  font-weight: 500;
  font-size: 50px;
}
.demo .result h2 {
  color: var(--text-button-color);
  margin-top: 30px;
  font-size: 60px;
}

/* About scetion css */
.about {
  display: flex;
  background-color: var(--main-color);
  justify-content: space-between;
  height: 100vh;
  min-height: 500px;
}
.about .max-width {
  width: 100%;
}
.about .about-content {
  display: flex;
  margin-top: 100px;
  justify-content: center;
  flex-direction: column;
}
.about-content .start {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 0;
}
.start .sub-content {
  display: flex;
}
.sub-content .line {
  height: 5px;
  width: 100px;
  margin-top: 15px;
  background-color: var(--primary-color);
}

.sub-content p {
  color: var(--primary-color);
  margin-left: 20px;
  font-size: 30px;
  font-weight: 500;
}

.start .main-content {
  color: #000000;
  font-size: 70px;
  font-weight: 900;
}
.about .member-list {
  overflow: hidden;
  margin-top: 55px;
  margin-left: -8px;
  margin-right: -8px;
}
.about .member-list .member-items {
  display: block;
  float: left;
  margin-left: 5%;
  width: calc(100% / 3.8);
  padding: 10px 30px;
  border-radius: 30px;
  background-color: var(--background-box-color);
  align-items: center;
}

.about .member-list .member-items .member-content {
  align-items: center;
  padding: 16px;
  font-size: 15px;
}

.member-content .content-heading {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
}
.member-content .content-desc {
  margin-bottom: 20px;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
}

.about .end {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}
.about .end p {
  font-size: 20px;
  font-weight: 400;
  margin-top: 30px;
  letter-spacing: 2px;
}
