@import url("https://fonts.googleapis.com/css2?family=Caprasimo&family=Sacramento&family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
body {
width: 100%;
min-height: 100vh;
position: relative;
}
body {
width: 100%;
height: auto;
font-family: "Urbanist";
}
main {
width: 100%;
min-height: 100vh;
background-image: url(../images/bg.png);
background-size: cover;
position: relative;
display: grid;
place-content: center;
padding: 40px 0;
}
.mainInner {
width: 100%;
min-height: 200px;
padding: 50px 30px 0 30px;
position: relative;
}
.mainInner::before {
content: "";
width: 100%;
height: 400px;
border: solid 3px rgb(34, 24, 23);
border-radius: 10px;
background-color: transparent;
position: absolute;
top: 0;
left: 0;
}
.mainInner h1 {
font-size: 42px;
color: rgb(20, 21, 21);
font-weight: bold;
text-align: center;
margin-bottom: 20px;
}
.question {
width: 100%;
position: relative;
top: 10px;
height: auto;
}
.question img {
width: 100%;
}
.inputField {
position: relative;
text-align: center;
margin-top: 50px;
}
.inputField .radio {
width: 140px;
height: 140px;
padding: 15px;
margin: 0 25px;
position: relative;
}
.radio input {
-webkit-appearance: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: solid 6px rgb(239, 239, 239);
border-radius: 50%;
background-color: rgb(255, 255, 255);
cursor: pointer;
transition: 0.5s;
}
.radio img {
width: 100%;
position: relative;
pointer-events: none;
}
.inputField label {
background-color: rgb(255, 227, 91);
width: 84px;
height: 30px;
border-radius: 15px;
display: grid;
place-content: center;
font-size: 18px;
color: rgb(0, 0, 0);
font-weight: bold;
width: max-content;
margin: 0 auto;
padding: 0 15px;
margin-top: -10px;
position: relative;
}
.totalvote {
border-radius: 50%;
background-color: rgb(255, 227, 91);
width: 41px;
height: 41px;
position: absolute;
right: -5px;
font-size: 15px;
color: rgb(0, 0, 0);
font-weight: 800;
display: grid;
place-content: center;
opacity: 0;
top: 50px;
transition: 0.5s;
}
.radio input:checked {
border-color: rgb(254, 209, 0);
}