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

#Ex01 {
  font-family: "Open Sans", sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
}

#Ex01 .navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

#Ex01 .nav-list {
  display: flex;
  list-style: none;
  position: relative;
}

#Ex01 .nav-item {
  border: 1px solid #eee;
}

#Ex01 .nav-link {
  display: flex;
  text-decoration: none;
  color: #666;
  align-items: center;
  padding: 15px 25px;
  font-weight: 600;
  font-size: 14px;
}

#Ex01 .nav-link i {
  margin-right: 8px;
  margin-left: 8px;
  font-size: 16px;
}

#Ex01 .nav-item:hover > .nav-link {
  background-color: #2da5da;
  color: white;
}

#Ex01 .sub-menu {
  position: absolute;
  top: 100%;
  left: 257px;
  background-color: white;
  min-width: 172px;
  list-style: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  display: none;
}

#Ex01 .has-submenu:hover .sub-menu {
  display: block;
  opacity: 1;
}

#Ex01 .sub-menu li {
  border-bottom: 1px solid #f0f0f0;
}

#Ex01 .sub-menu li:last-child {
  border-bottom: none;
}

#Ex01 .sub-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  color: #666;
  font-size: 14px;
}

#Ex01 .sub-menu a:hover {
  background-color: #2da5da;
  color: white;
}

#Ex01 .sub-menu a i {
  margin-right: 10px;
  font-size: 12px;
}

#Ex01 .nav-item-contact {
  margin-left: auto;
  border-left: 1px solid #eee;
  border-right: none;
}

/* -------------
Bài 2
------------- */

#Ex02 {
  width: 100vw;
  height: 100vh;
  background-image: url("http://uiwebsoft.com/justlog/login-one/images/login-bg2.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: "Nunito", sans-serif;
}

#Ex02 .container {
  width: 700px;
  height: 400px;
  display: grid;
  grid-template-columns: 300px 400px;
  border-radius: 10px;
  box-shadow: rgba(100, 100, 111, 0.15) 0px 8px 24px;
}

#Ex02 .login-form-left {
  background: #eb6254;
  border-radius: 10px 0 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: white;
}

#Ex02 .login-form-right {
  background: white;
  border-radius: 0 10px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

#Ex02 .title > span {
  padding: 2px 7px;
  background: white;
  color: #eb6254;
  border-radius: 3px;
}

#Ex02 .introduce {
  font-size: 12px;
  text-align: center;
  padding: 1px 15px;
}

#Ex02 .btn {
  background: white;
  color: #eb6254;
  border: none;
  min-height: 30px;
  width: 120px;
  cursor: pointer;
  border-radius: 2px;
}

#Ex02 .btn:hover {
  transform: scale(1.1);
}

#Ex02 .infor {
  display: flex;
  gap: 20px;
}

#Ex02 .login-form-right > h2 > span {
  color: #eb6254;
}

#Ex02 .login-form-right > h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

#Ex02 .login-account > form > input {
  width: 300px;
  padding: 10px;
  border: none;
  box-shadow: rgba(100, 100, 111, 0.15) 0px 4px 24px;
  margin-bottom: 10px;
}

#Ex02 .checkbox {
  display: flex;
  justify-content: space-between;
  width: 300px;
  margin-top: 5px;
  font-size: 13px;
}

#Ex02 .checkbox-left {
  display: flex;
  gap: 5px;
  align-items: center;
}

#Ex02 .checkbox-right {
  display: flex;
  gap: 5px;
  align-items: center;
}

#Ex02 .login-form-right button {
  background: #eb6254;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 25px;
  margin-bottom: 15px;
  width: 300px;
}

#Ex02 .register {
  text-align: center;
  font-size: 12px;
  color: #666;
}

#Ex02 .login-form-right button:hover {
  background: #ca4b3d;
  transform: scale(1.1);
}
