:root {
--white: #FFF;
--primary: #645DFF;
--secondary: #2A2649;
--secondary-light: #777777;
--body-background: #efeefa;
--border: #E6E8F0;
}
body {
font-family: 'Poppins';
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 16px;
background-color: var(--body-background);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.tabs-container {
width: 100%;
max-width: 800px;
display: flex;
margin: 10px;
overflow: hidden;
border-radius: 16px;
background-color: var(--white);
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.tab-content-wrapper {
overflow-y: hidden;
overflow-x: auto;
height: 540px;
min-width: 300px;
color: var(--secondary);
transition: all 0.45s ease-in-out;
padding: 12px 24px;
}
.tab-content h2 {
color: var(--secondary);
font-size: 1.3rem;
font-weight: 600;
margin-top: 0px;
margin-bottom: 8px;
}
.tab-content {
display: block;
font-size: 1rem;
padding: 24px 8px;
width: 400px;
height: 540px;
transition: all 0.45s ease-in-out;
}
.tab-content img {
max-width: 300px;
width: 80%;
flex-grow: 1;
}
.tabs {
position: relative;
display: flex;
flex-direction: column;
list-style-type: none;
}
.tabs a {
position: relative;
display: flex;
text-decoration: none;
width: 100%;
font-size: 18px;
font-weight: 600;
color: var(--secondary-light);
overflow: hidden;
text-align: left;
justify-content: start;
height: 90px;
padding: 0px 24px;
width: 350px;
align-items: center;
gap: 16px;
}
.tabs a img {
height: 20px;
width: 20px;
}
.tabs .active, .tabs a:hover {
font-weight: 700;
outline: none;
color: var(--primary);
border-right: 3px solid var(--primary);
}
.tabs a svg {
width: 36px;
height: 36px;
stroke: var(--secondary-light);
}
.tabs .active svg, .tabs a:hover svg {
stroke: var(--primary);
}