* {
  margin: 0;
  padding: 0;
  font-family: 'Sakkal Majalla';
  direction: rtl;
}

body {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(1.jpg);
  background-position: center;
  background-size: cover;
  font-family: 'Sakkal Majalla';
}

.container {
  width: 300px;
  height: 484px;
  margin: 5% auto;
  background-color: white;
  */: center;
  background-size: contain;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

h3 {
  text-align: center;
  margin-bottom: 20px;
  color: rgba(38, 78, 171, 0.959);
}

h4 {
  text-align: center;
  margin-bottom: 20px;
  color: rgb(0, 0, 0);
}

.container form {
  width: 250px;
  position: absolute;
  top: 80px;
  left: 20px;
  transition: 0.5s;
}

form input {
  width: 100%;
  padding: 10px 5px;
  margin: 5px 0;
  border: 0;
  border-radius: 8px;
  outline: none;
  background-color: rgba(122, 157, 238, 0.483);
  text-align: center;
  cursor: pointer;
  font-size: 10pt;
}

table {
  border: 1px solid rgb(130, 128, 128);
  align: center;
  text-align: center;
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid rgb(130, 128, 128);
}

::placeholder {
  color: #777;
}

p {
  text-align: center;
  margin-bottom: 20px;
  color: rgb(0, 0, 0);
}

li {
  direction: rtl;
  text-align: right;
}

.btn-box {
  width: 100%;
  margin-inline: auto;
  margin-block-start: 1.5em;
  text-align: center;
  display: inline-block;
}
#intro .btn-box {
  margin-block-start: 2.8em;
}

form button {
  width: 100px;
  height: 35px;
  margin: 0 10px;
  background: linear-gradient(
    to right,
    rgba(38, 78, 171, 0.959),
    rgba(122, 157, 238, 0.483)
  );
  border-radius: 30px;
  border: 0;
  outline: none;
  color: #fff;
  cursor: pointer;
}

.nextp {
  width: 100px;
  height: 35px;
  margin: 0 10px;
  background: linear-gradient(
    to right,
    rgba(38, 78, 171, 0.959),
    rgba(122, 157, 238, 0.483)
  );
  border-radius: 30px;
  border: 0;
  outline: none;
  color: #fff;
  cursor: pointer;
}

#form1 {
  left: 450px;
}

#form2 {
  left: 450px;
}

#form3 {
  left: 450px;
}

#form4 {
  left: 450px;
}

#form5 {
  left: 450px;
}

#form6 {
  left: 450px;
}

#form7 {
  left: 450px;
}

#form8 {
  left: 450px;
}

#finish {
  left: 450px;
}

.close {
  background-color: grey;
}

.step-row {
  width: 300px;
  height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  box-shadow: 0 -1px 5px -1px #000;
  position: relative;
}

.step-col {
  width: 50px;
  text-align: center;
  color: #333;
  position: relative;
}

#progress {
  position: absolute;
  height: 100%;
  width: 40px;
  background: linear-gradient(
    to right,
    rgba(38, 78, 171, 0.959),
    rgba(122, 157, 238, 0.483)
  );
  transition: 1s;
}

#progress::after {
  content: '';
  height: 0;
  width: 0;
  border-top: 20px solid transparents;
  border-bottom: 20px solid transparents;
  position: absolute;
  right: -20px;
  top: 0;
  border-left: 20px solid #ffad06;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #b8c7e2; /* Fallback color */
  background-color: #b8c7e2ee; /* Fallback color */
}

/* Modal Content/Box */
.modal-content {
  /* background-image: url(1.jpg); */
  background-position: center;
  background-size: contain;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 300px; /* Could be more or less, depending on screen size */
  height: 484px;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
