.quizU{
    padding:40px;
    font-family:serif;
}

.box{
    max-width:700px;
    margin:auto;
    border:1px solid #333;
    padding:30px;
}

.step{
    color:var(--primary);
    margin-bottom:10px;
}

.q{
    font-size:28px;
    margin-bottom:20px;
}

.ans button{
    width:100%;
    margin:10px 0;
    padding:15px;
    background:none;
    border:1px solid #333;
    color:inherit;
    cursor:pointer;
}

.ans button.active{
    border-color:var(--primary);
}

.next{
    background:var(--primary);
    border:none;
    padding:10px 20px;
    color:#000;
    opacity:0.5;
    cursor:pointer;
}

.next.active{
    opacity:1;
}

.bar{
    height:3px;
    background:#222;
    margin-top:20px;
}

.fill{
    height:3px;
    background:var(--primary);
    width:0%;
}

.res{
    max-width:700px;
    margin:auto;
}

.box {
    max-width: 820px;
    padding: 56px 0px 0px;
	background : #171410;
	border: 1px solid #2a261e;
	   position: relative;
    overflow: hidden;

}

.custom-quiz .step {
	  padding : 0px 60px 0px;
    color: #a07d45;
    font-family: 'Jost';
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.custom-quiz .q
 {
	 padding : 0px 60px 0px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 300;
    color: #f2ece0;
    line-height: 1.3;
}

.ans button {
    padding: 18px 24px;
    border: 1px solid #2a261e;
    background: #111009;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #c8bfae;
    cursor: none;
	  transition: all .3s;
    text-align: left;
    letter-spacing: .02em;
	  position: relative;
    overflow: hidden;
	  border-radius : 0px;
	  margin-top: 0px;
}

.ans {
    padding: 0px 60px 0px;
}

.ans button:hover {
    border-color: #a07d45;
    color: #f2ece0;
}

.ans button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #c9a96e0f;
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ans button:hover::before {
    transform: translateX(0);
}

.ans button.active{
    border-color: #c9a96e;
    color: #f2ece0;
    background: rgba(201, 169, 110, 0.08);

}

.foot {
	padding : 0px 60px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
}

span.count {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    color: #504a3e;
    font-family: 'Jost';
}

button.next {
    background: #c9a96e !important;
    color: #060504;
    padding: 12px 28px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: none;
    transition: background .3s;
    opacity: .4;
}

.bar {
    height: 3px;
    background: #222;
    margin-top: 60px;
}

.fill{
    height: 100%;
    background: #c9a96e !important;
    transition: width .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.box::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
}

.res {
	 max-width: 820px;
    padding: 56px 60px;
		background : #171410;
	border: 1px solid #2a261e;
	   position: relative;
    overflow: hidden;
}

.res::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
}

p.rsubtitle {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 10px;
    font-family: 'Jost';
}

h2.rtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3vw;
    font-weight: 300;
    color: #f2ece0;
    line-height: 1.1;
	    margin-bottom: 40px;
}

p.rdesc {
    font-size: 15px;
    line-height: 1.8;
    color: #8a7f6e;
    margin-bottom: 36px;
}

.book-btn{
	background: #c9a96e;
    color: #060504;
    padding: 11px 32px;
	  margin-right : 15px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: none;
    transition: background .3s;
    text-decoration: none;
    display: inline-block;
}

.book-btn:hover{
		background: #dfc08a;
	color: #060504;
}

.restart {
    background: none;
    border: 1px solid #2a261e;
    color: #504a3e;
    padding: 14px 32px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: none;
    transition: all .3s;
	border-radius: 0px;
}

.restart:hover{
	border-color : #a07d45;
	color : #c9a96e;
	background: none;
}