* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #fff;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
title {
  overflow: hidden;
  width: 100vw;
}
.mainDiv {
  display: flex;
  flex-direction: column;
  width: 30%;
  border: 2px solid #c2cdd8;
  padding: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.text-center {
  font-size: 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  border: 0px solid black;
  color: black;
  background: radial-gradient(circle, #44ef6c 0%, #ff6161 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: animatedGradient 2s infinite ease;
  animation-direction: alternate-reverse;
}

@keyframes animatedGradient {
  from {
    background-size: 100%;
  }
  to {
    background-size: 250%;
  }
}

.btn-block {
  width: 100%;
  background-color: #6559f5;
}
.btn-block:hover {
  background-color: #6659f5c7;
}
.submitButton > .row > * {
  padding-right: 0;
  padding-left: 0;
}
.mb-3 {
  margin-bottom: 1rem !important;
  position: relative;
}
.form-control,
.form-select {
  border: 2px solid #c2cdd8;
}
.form-control:focus,
.form-select:focus {
  outline: none;
}
.error-icon {
  display: none;
  position: absolute;
  top: 72%;
  right: 9px;
  transform: translateY(-50%);
  color: rgb(75, 92, 106);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  cursor: pointer;
}

.error-icon:hover::after {
  content: attr(title);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4c5d6b;
  color: whitesmoke;
  padding: 5px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 1;
}
.error-label {
  position: relative;
}

.error-label:hover .error-icons::after {
  content: attr(title);
  position: absolute;
  top: calc(100% + 4px);
  left: 99%;
  width: 120px;
  transform: translateX(-90%);
  background-color: #4c5d6b;
  color: white;
  font-size: 0.9rem;
  font-family: "Times New Roman", Times, serif;
  text-align: justify;
  padding: 5px;
  border-radius: 5px;
  white-space: wrap;
  z-index: 1;
}

.error-label .error-icons {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  background-color: whitesmoke;
  color: black;
  border: 1px solid #c4cfd9;
  padding: 2px;
  border-radius: 50%;
  text-align: justify;
  line-height: 1;
  padding: 0px 4px;
  position: relative;
}
.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"],
.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"] {
  background-position: right 2.35rem center, center right 0.45rem;
}
.modal-dialog.modal-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
}
.modal-fullscreen .modal-body {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}
.mainResultShow {
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 4.6rem 0px;
}
.recAngleDiv {
  width: 30%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 3px solid #becad6;
}
.horiAngleDiv {
  position: absolute;
  top: 25%;
  width: 40%;
  height: 50vh;
  border: 3px solid #becad6;
  z-index: 4;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}
.horiAngleDiv > h2 {
  font-size: 1.4rem;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #333f48;
}
.horiAngleDiv > h4 {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: Times, serif;
  color: #333f48;
}
.horiAngleDiv > p {
  font-size: 0.9rem;
  font-weight: 300;
  font-family: Times, serif;
  color: #090909;
}

/* For Table Views */
@media screen and (max-width: 799px) and (min-width: 440px) {
  body {
    align-items: start;
    margin-top: 3rem;
  }
  .mainDiv {
    width: 60%;
  }
  .recAngleDiv {
    width: 50%;
  }
  .horiAngleDiv {
    width: 65%;
  }
}
/* For Mobile Views */
@media screen and (max-width: 440px) {
  body {
    align-items: start;
    margin-top: 2rem;
  }
  .mainDiv {
    width: 80%;
  }
  .recAngleDiv {
    width: 60%;
  }
  .horiAngleDiv {
    width: 85%;
  }
  .horiAngleDiv > h2 {
    font-size: 1rem;
    font-weight: 500;
  }
  .horiAngleDiv > h4 {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: Times, serif;
    color: #333f48;
  }
  .horiAngleDiv > p {
    font-size: 0.7rem;
    font-weight: 300;
    font-family: Times, serif;
    color: #090909;
  }
  .horiAngleDiv > h6 {
    font-size: 0.83rem;
    font-weight: 550;
    font-family: Times, serif;
    color: #090909;
  }
}
