html {
font-size: 16px;
font-family: "Poppins";
}
body {
background: white;
height: 100%;
}
* {
box-sizing: border-box;
}
.faq-container {
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 12em;
}
details {
font-size: 1rem;
margin: 0 auto;
width: 100%;
background: #F6FAFF;
border-radius: 8px;
position: relative;
max-width: 600px;
border: 1px solid #C3DEFF;
transition: all 0.3s ease-in-out;
}
details:hover {
border: 1px solid #A4A1FF;
}
summary {
user-select: none;
cursor: pointer;
font-weight: 600;
display: flex;
list-style: none;
padding: 1em;
align-items: center;
}
summary:hover .faq-title {
opacity: 1;
}
summary::-webkit-details-marker {
display: none;
}
summary:focus {
outline: none;
}
summary:hover .expand-icon {
opacity: 1;
}
.faq-title {
color: #1C2035;
width: 90%;
opacity: 0.65;
transition: all 250ms ease-in-out;
}
.faq-content {
color: #303651;
padding: 0.2em 1em 1em 1em;
font-weight: 300;
line-height: 1.5;
}
.expand-icon {
opacity: 0.65;
}
.expand-icon {
pointer-events: none;
position: absolute;
right: 1em;
transition: all 150ms ease-out;
}