body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #d2daae;
  font-family: 'Poppins', sans-serif;
}
.hide{
    display: none;
}
.deg-bar{
    height: 8px;
    width: 90%;
    border-radius: 6px;
    margin-top: 6px;
    background: #e0e0e0;
}
.deg-per{
    position: relative;
    display: block;
    height: 100%;
    width: 10%;
    border-radius: 6px;
    background: red;
    opacity: 1;
}
/* performance start  */
.progress-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  background: #1B263B;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.performance-container {
  font-weight: 700;
  color: #F4D35E;
  /* text-shadow: 0 0 9px rgba(232, 226, 204, 0.8); */
  font-size: 3.5rem;
  text-transform: capitalize;
  text-align: center;
}

.progress-circle {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(#4CAF50 0deg, #e0e0e0 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  transition: all 0.8s ease-in-out;
}

#percentage {
  position: absolute;
  font-size: 32px;
  font-weight: bold;
  color: #E0E1DD;
  z-index: 1;
}

.progress-circle::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background-color: #1B263B;
  border-radius: 50%;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

/* performance end  */

.subject_name{
  color: rgb(4, 0, 255);
}


.orange {
  color: #caf438;
}
.form-container {
  margin: 10px;
  max-width: 900px;
  background-color: #001925;
  padding: 60px;
  border-left: 5px solid #caf438;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%
  );
  min-width: 200px;
  /* display: flex; */
}

.form-container .marks {
  margin:-10px;
}
.form-container .marks .form2 .subject{
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* margin-left: 1rem; */
  gap: 50px;
  /* width: 100%; */
}
.form-container .marks .form2{
  display: inline;
}
.heading {
  display: block;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.c1 {
  /* display: block; */
  color: #d3f35f;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.c2 {
  /* display: block; */
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-container .marks .form2 .subject input,
.form-container .marks .form2 .subject select,
.form-container .form .input {
  /* color: #87a4b6; */
  color: white;
  width: 100%;
  margin-top: 10px;
  background-color: #002733;
  border: none;
  outline: none;
  padding: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  border-left: 1px solid transparent;
}

.form-container .marks .form2 .subject input:focus,
.form-container .form .input:focus {
  border-left: 5px solid #caf438;
}

.form-container .form .button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
  /* gap: 1rem; */
}

.form-container .form .button-container .send-button {
  flex-basis: 100%;
  background: #caf438;
  padding: 10px;
  color: #001925;
  text-align: center;
  font-weight: bold;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  /* margin: 0; */
}

.form-container .form .button-container .send-button:hover {
  background: transparent;
  border: 1px solid #ff7a01;
  color: #caf438;
}

/* first page end  */

/* The second page start  */
.contain{
  width: 100%;
}
.form-container .form2{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 20px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  /* background-color: #87a4b6; */
}
.form-container #button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 0rem;
  gap: 10px;
}
.form-container .button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 5rem;
  gap: 10px;
}

.form-container .button-container .send-button {
  flex-basis: 70%;
  background: #caf438;
  padding: 10px;
  color: #001925;
  text-align: center;
  font-weight: bold;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  
}

.form-container .button-container .send-button:hover {
  background: transparent;
  border: 1px solid #ff7a01;
  color: #caf438;
}

.form-container .button-container .reset-button-container {
  filter: drop-shadow(1px 1px 0px #ff7a01);
  flex-basis: 30%;
}

.form-container .button-container .reset-button-container .reset-button {
  position: relative;
  text-align: center;
  padding: 10px;
  color: #caf438;
  font-weight: bold;
  background: #001925;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%
  );
  transition: all 0.2s ease-in-out;
  padding-left:  60px;
  padding-right:  60px;
}

.form-container
  .button-container
  .reset-button-container
  .reset-button:hover {
  background: #caf438;
  color: #001925;
}

/* select subject degree start  */
/* <input list="deg-sub" class="deg-full-sub input" style="width: 90%;">  */
select{
  /* width: 100%; */
  /* padding: 10px; */
  /* border: 2px solid #8e44ad; */
  /* border-radius: 8px; */
  /* background-color: #3aa3bd; */
  /* font-size: 16px; */
  appearance: none; /* Removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="yellow" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 25px;

  color: white;
  width: 100%;
  margin-top: 11px;
  background-color: #002733;
  border: none;
  outline: none;
  padding: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  border-left: 1px solid transparent;
}

select:focus {
  border-left: 5px solid #caf438;
}


/* select subject degree end  */

/* Table start  */
h1 {
  font-size:1.1em; 
  font-weight: 900;
  line-height:1em;
  text-align: center;
  color: #caf438;
}

.table td {
  font-weight: normal;
  font-size: 1.5em;
  -webkit-box-shadow: 0 2px 2px -2px #0E1119;
  -moz-box-shadow: 0 2px 2px -2px #0E1119;
  box-shadow: 0 2px 2px -2px #0E1119;
  color: white;
  font-weight: bolder;
  text-align: center;
}

.table {
  /* text-align: left; */
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  display: table;
  text-align: center;
  /* padding: 0 0 8em 0; */
}

.table td, .table th {
  padding-bottom: 2%;
  padding-top: 2%;
  padding-left:2%;  
}
.table th {
  padding-left:0;  
}

/* Background-color of the odd rows */
.table td:nth-child(1) {
  width: 10%;
}
.table td:nth-child(3) ,
.table td:nth-child(4){
  width: 15%;
  /* background-color: #3069dc; */
}
.table tr:nth-child(odd) {
  background-color: #323C50;
}

/* Background-color of the even rows */
.table tr:nth-child(even) {
  background-color: #2C3446;
}
/* Background-color of the even rows */
.table tr:nth-child(1) {
  background-color: #caf438;
  color: #000;
}

.table th {
  background-color: #1F2739;
}

.table td:first-child { color: #caf438; font-weight: bolder;}


.GPA{
  background-color: #87a4b6;
  margin: 3rem auto;
}

.hide{
  display: none;
}



.error-message {
  margin-top: 4px;
  color: red;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}



@media (max-width: 900px) {

.performance-container {
  font-size: 3rem;
}
#percentage {
  font-size: 2rem;
}


.form-container .button-container {
  margin-left: 1rem;
}

.table td{
  font-size:1.1em ;
}
h1 {
  font-size:.9em; 
  font-weight: 900;
}
}

@media (max-width: 750px) {
  .form-container {
    padding: 40px;
  }


.progress-circle {
  position: absolute;
  width: 110px;
  height: 110px;
  margin: 50px;
  right:  90px;
}
.progress-circle::before {
  width: 80px;
  height: 80px;
}
.performance-container {
  font-size: 2rem;
  margin-left: -130px;
}
.progress-container {
  padding: 3.5rem 40px;
  margin-left: 0;
}
#percentage {
  font-size: 20px;
}




.table td{
  font-size:.9em ;
}
h1 {
  font-size:.8em; 
  font-weight: 900;
}

.form-container .button-container {
  margin-left: 1.2rem;
}
}


@media (max-width: 600px) {
  .form-container {
    padding: 40px;
  }
  .form-container .marks .form2 .subject,
.form-container .form2,
.form-container .button-container {
  display: inline;
}
.form-container .marks .form2 .subject input{
  width: 95%;
}
.form-container .button-container .reset-button-container .reset-button {
  display: inline;
  width: 100%;
}
.form-container .button-container .send-button {
  width: 100%;
  margin: 10px -20px;
  padding:10px 40px;
}
.form-container #button-container {
  margin-left: 1.2rem;
}

.progress-circle {
  position: absolute;
  width: 110px;
  height: 110px;
  margin: 50px;
  right:  15px;
}
.progress-circle::before {
  width: 80px;
  height: 80px;
}
.performance-container {
  font-size: 1.6rem;
  margin-left: -130px;
}
.progress-container {
  padding: 3.5rem 40px;
  margin-left: 0;
}
#percentage {
  font-size: 20px;
}


.table td{
  font-size:0.9em ;
}
h1 {
  font-size:0.6em; 
  font-weight: 600;
}
}


@media (max-width: 400px) {
  .form-container {
    padding: 40px;
  }
  .form-container .marks .form2 .subject input,
  .form-container .form .input {
    width: 90%;
  }
  .progress-circle {
    position: absolute;
    width: 110px;
    height: 110px;
    margin: 50px;
    right:  15px;
  }
  .progress-circle::before {
    width: 80px;
    height: 80px;
  }
  .performance-container {
    font-size: 1rem;
    margin-left: -130px;
    text-align: center;
  }
  #percentage {
    font-size: 15px;
  }

  .progress-container {
    padding: 4rem 40px;
    margin-left: 0;
  }



  .GPA{
    background-color: #87a4b6;
    margin: 3rem -20px;
  }
  .table td {
    font-size: 0.8em;
  }
  
}
@media (max-width: 350px) {
  .progress-circle {
    position: absolute;
    width: 90px;
    height: 90px;
    margin: 50px;
    right:  15px;
  }
  .progress-circle::before {
    width: 70px;
    height: 70px;
  }
  .performance-container {
    font-size: 1rem;
    margin-left: -110px;
  }
  #percentage {
    font-size: 15px;
  }
 
}
