* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  direction: ltr;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Navigation */
nav {
  height: 70px;
  display: flex;
  justify-content: end;
  align-items: right;
  background-color: #4192D9;
}

.nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-items a {
  color: rgb(3, 3, 3);
  text-decoration: none;
  padding: 0 1.5rem;
  font-size: 18px;
  transition: transform 0.3s;
}

.nav-items a:hover {
  transform: translateY(-5px);
}
.logo{
  position: relative;
  top: 50px;
  padding-left: 140px;
}
.logo img {
  width: 155px;
  cursor: pointer;
}

/* Homepage */
.HOMEPAGE {
  height: 650px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  background-image: url('image-3.png');
  background-size: cover;
}

.HOMEPAGE h1, .HOMEPAGE h2, .HOMEPAGE h3 {
  font-size: 3rem;
  color: #fff;
}

.A1{
  display:inline-flex;
  flex-direction: column;
  align-items: center;
  padding-top: 70px;
}

/* Login */
.A1-Container {
  position: relative;
  display: inline-table;
  top: -150px;
  left: 250px;
  padding: 20px;
  padding-left: 10px;
  padding-right: 70px;
  border-radius: 15px;
  background-color: #00A9FF;
  box-shadow: 0 0 10px rgba(43, 42, 42, 0.1);
}

.A1-Container h2 {
  right: 10px;
  top: 1px;
  color: black;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 150%;
  margin: 10px;
  padding-inline-start: 20px;
}

label { 
  display: block;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
select {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 70%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  position: relative;
  left: 50px;
  margin: 9px;
  padding: 7px;
  width: 30%;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.4s;
}

button:hover {
  transition-duration: 0.1s;
  background-color: #F3F8FF;
}

button:after {
  content: "";
  display: block;
  border-radius: 4em;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 10px 40px #00A9FF;
}

button:active:after {
  box-shadow: 0 0 0 0 #00A9FF;
  border-radius: 4em;
  left: 0;
  top: 0;
  opacity: 1;
  transition: 0s;
}

button:active {
  top: 1px;
}

/* About Us */
.US {
  
  height: 49rem;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  background-color: #4192D9;
}

.US p {
  width: fit-content;
  font-size: 2rem;
  color: #fff;
  padding: 2rem;
  line-height: 1.5;
}
.US p2 {
  width: fit-content;
  color: #fff;
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Responsive Styles */
@media screen and (max-width: 767px) {
  header, nav, section, article, footer {
      padding: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  section {
      padding: 15px;
  }
}

@media screen and (min-width: 992px) {
  section {
      padding: 30px;
  }
}
@media screen and (max-width: 767px) {
  .container {
      flex-direction: column;
  }

  .form-container {
      width: 100%;
      margin-top: 20px;
  }
}