*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;


  background-color: #f8f9fa;


}

/* تحسين الهيدر */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* توزيع العناصر بالتساوي */
  background-color: #0d6efd;
  color: white;
  padding: 15px;
  border-radius: 10px;
  width: 95%;

  margin: 20px auto;
  /* الهيدر سيكون قريبًا من الأعلى */
}

/* ضبط حجم الصور */
.logo-right,
.logo-left {
  width: 70px;
  height: 70px;
}

/* جعل العنوان في المنتصف */
.header-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  flex-grow: 1;
  /* ليبقى في المنتصف بين الصور */
}


.container {
  width: 100%;
  margin: 0.5rem auto 0 auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 1080px;
  }
}

h1,
p {
  text-align: center;
  margin-bottom: 10px;
}

form {
  background: #eaeaea;
  padding: 2rem;
  max-width: 70rem;
  margin: 0 auto;
  border-radius: 7px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.form-group {
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-div {
  display: flex;

}

.form-div .form-group:first-child {
  margin-right: auto;
}

.form-div .form-group:last-child {
  margin-left: auto;
}

.form-group input {
  display: block;
  width: 100%;
  height: 2.375rem;
  padding: 0.375rem 0.75rem;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control {
  display: block;
  width: 100%;
  height: 2.375rem;
  padding: 0.375rem 0.75rem;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

table,
th,
td {
  border: 1px solid #ced4da;
  border-collapse: collapse;
}

@media (max-width: 576px) {

  table,
  th,
  td {
    font-size: 0.8rem;
  }
}

td,
th {
  text-align: center;
  padding: 5px;
}

.question {
  text-align: left;
  margin: 0 5px;
}

.textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  min-height: 120px;
  width: 100%;
  padding: 0.625rem;
  resize: vertical;
}

.submit-button {
  margin: 1rem 0;
  background: #387ADF;
  border: none;
  padding: 0.7rem;
  font-size: 1rem;
  border-radius: 6px;
}

.submit-button:hover {
  background: #50C4ED;
}

.data {
  text-align: right;
  font-size: 25px;
  text-decoration: solid;
}

#title {
  font-weight: 10px;
  font-family: Verdana, sans-serif;
  color: rgb(0, 0, 0);
  text-align: center;
}

.divi {
  height: 35px;
}

.const {
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gender2 {
  background-color: #fff;
  border-radius: 3px;
}


.menu {
  display: flex;
  align-items: center;
  background-color: #387ADF;
  padding: 15px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: right;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #333A73;
}

.logo {
  width: 70px;
  height: 67px;
  margin-right: 20px;
  background-image: url(week2.png);
}