* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* padding:0;
  margin: 0; */
  font-family: Arial, Helvetica, sans-serif;
  background-color: #030342;
}

/* Hoved inneholder */
.container {
  width: 90%;
  height: 95%;
  margin: 0 auto;
  background-color: #bdccfa;
  justify-items: center;

/*    border: 10px solid rgb(47, 0, 255); 
 */}

.top {
  width: 100%;
  text-align: center;
/*   border: 3px solid rgb(25, 0, 255);
 */}

#image img {
  width: 130px;
  padding: 20px;
/*   border: 1px solid red;
 */}

h1 {
  font-size: 60px;
  color: #0d72ba;
}

h2 {
  color: #676767;
  padding-bottom: 10px;
}

/* Inneholder to div : div- Knapper /div- input */
.info {
  width: 100%;
  justify-content: center;
  
/* border: 5px solid rgb(35, 209, 12);
 */ }

/* inneholder div- input */
.input {
  display: flex;
  justify-content:center;
  align-items: center;
  width: 100%;
  margin: auto;
  gap: 8px;
 

/* border: 5px solid rgb(217, 255, 0); 
 */}

 input:focus {
  outline: none;
  border-color: #c834db;
  box-shadow: inset 0 0 5px rgba(205, 52, 219, 0.5);
}

.input .felt {

  width: 220px;
  height: 35px;
  font-size: 20px;
  font-weight: bold;
  color: #0d72ba;
  padding: 0 10px;

  border-radius: 5px;
  border: none;
}
/* Inneholder div- knapper */
.btn {
  display: flex;
  justify-content:center;
  align-items: center;
/* border: 5px solid rgb(225, 0, 255);
 */ }

.btn button {
  width: 200px;
  padding: 6px;
  font-size: 20px;
  margin: 10px 15px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  outline: none;
  color: #6688f6;
}

button:hover {
  color: white;
  background-color: #0000ff5a;
  border: 0.5px solid rgba(255, 255, 255, 0.815);
}

/* Inneholder tabel */
.content {
  width: 100%;
  overflow-x: auto; /* أهم سطر */
}

#tabel {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* يخلي الجدول ما ينضغط زيادة */
}

#tabel th{
  color: #0d72ba;
  font-size: 22px;

} 
#tabel td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
  color: #676767;
  font-weight:bold;
}



tr:nth-child(even) {
  background-color: hsl(0, 0%, 100%);
}

tr {
  width: 100%;
  justify-content: space-between;
  color: rgb(0, 0, 0);
  font-size: 19px;
/*   text-transform: uppercase;
 */}

#result {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  gap: 35px;
  font-size: 18px;
  color: darkblue;
  font-weight: 600;
  padding: 10px 5px;
  margin: 10px 0;

/*   border: 5px solid rgb(217, 255, 0);
 */}

#appen {
  color: white;
  font-size: 15px;
  text-align: center;
  padding: 10px 0px;
}
 .red{
    color: red;
  }



/* -------------- media query 768 px -----------------------*/
@media (max-width: 770px) {
  .container {
    
    width: 100%;
    height: 100%;

  }

  h1 {
    font-size: 40px;
    color: #0d72ba;
  }

  h2{
    font-size: 20px;
    padding-bottom: 10px;

  }

  .info {
    width: 100%;
    flex-wrap: wrap;
  }

  .input {
    display: flex;
    justify-content:center;
    gap: 5px;
    width: 100%;
  }

  .input .felt {

  width: 140px;
  height: 35px;
  font-size: 18px;
  font-weight: bold;
  color: #0d72ba;
  padding: 0 10px;
}

  #result {
    width: 100%;
    font-size: 14px;
    color: rgb(25, 0, 255);
  }

  .red{
    color: red;
  }

  #tabel {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px; /* يخلي الجدول ما ينضغط زيادة */
}

#tabel th{
  color: #0d72ba;
  font-size: 12px;
  font-weight: bolder;

} 
#tabel td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
  color: darkblue;
  font-size: 12px;
}

}
