:root {
  --primary-color: rgb(16, 63, 189);
  --border-color: rgb(112, 144, 231);
  --text-color: rgb(24, 24, 24);
  --bg-color: rgb(255, 255, 255);
  --heading-color: rgb(255, 255, 255);
}

body {
  font-family: "Tahoma";
  width: 100%;
  height: auto;
}

main {
  width: 100%;
  min-height: 100vh;
  background-image: url(../images/bg.jpg);
  position: relative;
  display: grid;
}
main:before {
  content: "";
  background-color: rgb(0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
.wrapper {
  width: 100%;
  height: 100%;
  padding: 100px 0;
  display: grid;
  /* place-content: center; */
  align-content: center;
  position: relative;
}
.Trim-vote {
  width: 75%;
  margin: 0 auto;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-color);
}
header {
  padding: 30px;
  display: grid;
  place-content: center;
  text-align: center;
  background-color: var(--primary-color);
}
.main-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.447;
  width: 70%;
  margin: 0 auto;
}
.step {
  width: 50%;
  margin: 0 auto;
  padding: 40px 0 25px 0;
}
.radioField {
  width: 100%;
  height: 80px;
  position: relative;
  margin-bottom: 12px;
  display: grid;
  align-content: center;
  padding: 0 20px 0 50px;
  border-radius: 10px;
  overflow: hidden;
}
.fill {
  content: "";
  width: 0%;
  height: 100%;
  background-color: rgb(255, 212, 158);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: 1.5s ease-in-out;
}
.radioField input {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: solid 2px rgb(229, 229, 229);
  background-color: var(--bg-color);
  border-radius: inherit;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
.radioField label {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 700;
  position: relative;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.radioField label span {
  font-size: 18px;
  visibility: hidden;
}
.radioField input:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0;
  position: absolute;
  top: 50%;
  right: 0px;
  font-size: 15px;
  color: var(--heading-color);
  display: grid;
  place-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.5s all cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10;
}
.radioField input:hover {
  border-color: rgb(112, 144, 231);
}
.radioField input:checked:before {
  opacity: 1;
  right: 40px;
}
.radioField input:checked {
  border-color: rgb(112, 144, 231);
}
.selected.radioField input:checked::before {
  right: 25%;
}
.disabled {
  pointer-events: none !important;
}
.voteBtn {
  width: 100%;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 10px;
  border: solid 2px transparent;
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 700;
  margin-top: 55px;
}
.hoverBtn {
  position: relative;
  overflow: hidden;
}
.hoverBtn::before {
  content: "";
  width: 100%;
  height: 100%;
  clip-path: circle(0% at 50% 50%);
  background-color: var(--heading-color);
  position: absolute;
  left: 0;
  top: 0;
  transition: 0.2s all ease-in-out;
}
.hoverBtn span {
  position: relative;
  z-index: 100;
  transition: 0.2s;
}
.hoverBtn:hover span {
  color: var(--primary-color);
}
.hoverBtn:hover {
  border-color: var(--primary-color);
}
.hoverBtn:hover::before {
  clip-path: circle(70.7% at 50% 50%);
}

/* thankyou Page */
.thankyouPage .wrapper {
  width: 100%;
  padding: 50px 0;
}
.thankyouInner {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  background-color: var(--bg-color);
  text-align: center;
  padding: 100px 0;
  border-radius: 10px;
}
/* thankyou Page */
.thankyouHeading {
  font-size: 76px;
  color: rgb(47, 49, 70);
  font-weight: 700;
}
.highlight {
  color: var(--primary-color);
  display: block;
}
.line {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 700;
}
.thanksDesc {
  margin: 0 auto;
  width: 65%;
  font-size: 18px;
  color: rgb(95, 95, 99);
  font-weight: bold;
  margin-top: 30px;
}
.socialBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}
.socialBtn a {
  color: rgb(0, 0, 0);
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
}
.socialBtn a i {
  font-size: 20px;
  margin-right: 10px;
}
