/* -------------------------------- 

File#: _2_tabbed-features
Title: Tabbed Features 
Descr: A list of features filterable using a tabbed navigation
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
*,
*::after,
*::before {
    box-sizing: border-box;
}

* {
    font: inherit;
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background-color: hsl(0, 0%, 100%);
    font-family: system-ui, sans-serif;
    color: hsl(230, 7%, 23%);
    font-size: 1rem;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: hsl(230, 13%, 9%);
    font-weight: 700;
}

h1 {
    font-size: 2.0736rem;
}

h2 {
    font-size: 1.728rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.2rem;
}

ol,
ul,
menu {
    list-style: none;
}

button,
input,
textarea,
select {
    background-color: transparent;
    border-radius: 0;
    color: inherit;
    line-height: inherit;
    appearance: none;
}

textarea {
    resize: vertical;
    overflow: auto;
    vertical-align: top;
}



table {
    border-collapse: collapse;
    border-spacing: 0;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

@media (min-width: 64rem) {
    body {
        font-size: 1.25rem;
    }

    h1 {
        font-size: 3.051rem;
    }

    h2 {
        font-size: 2.44rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5625rem;
    }
}

/* variables */
:root {
    /* colors */
    --tx9-color-primary-hsl: 250, 84%, 54%;
    --tx9-color-contrast-low-hsl: 240, 4%, 65%;
    --tx9-color-contrast-high-hsl: 230, 7%, 23%;
    --tx9-color-contrast-higher-hsl: 230, 13%, 9%;
    --tx9-color-bg-hsl: 0, 0%, 100%;

    /* spacing */
    --tx9-space-xs: 0.5rem;
    --tx9-space-sm: 0.75rem;
    --tx9-space-md: 1.25rem;
    --tx9-space-xl: 3.25rem;

    /* typography */
    --tx9-text-xs: 0.694rem;
    --tx9-text-sm: 0.833rem;
}

@media (min-width: 64rem) {
    :root {
        /* spacing */
        --tx9-space-xs: 0.75rem;
        --tx9-space-sm: 1.125rem;
        --tx9-space-md: 2rem;
        --tx9-space-xl: 5.125rem;

        /* typography */
        --tx9-text-xs: 0.8rem;
        --tx9-text-sm: 1rem;
    }
}

/* component */
.tab-features {
}

.tab-features__controls-list {
    position: relative;
    display: flex;
    align-items: center;
    overflow: auto;
    counter-reset: tab-features-list;
    justify-content: center;
}

.tab-features__controls-list::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: hsla(var(--tx9-color-contrast-higher-hsl), 0.1);
}

.tab-features__control-wrapper {
    counter-increment: tab-features-list;
}

.tab-features__control {
    position: relative;
    display: block;
    padding: var(--tx9-space-sm) var(--tx9-space-xl) var(--tx9-space-sm)
        var(--tx9-space-sm);
    color: hsl(var(--tx9-color-contrast-higher-hsl));
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.tab-features__control::before {
    content: "0" counter(tab-features-list);
    font-size: var(--tx9-text-xs);
    display: block;
    color: hsl(var(--tx9-color-contrast-low-hsl));
    margin-bottom: var(--tx9-space-xxxxs);
}

.tab-features__control::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 1px;
    width: 100%;
}

.tab-features__control:hover {
    background-color: hsla(var(--tx9-color-contrast-higher-hsl), 0.025);
}

.tab-features__control[aria-selected="true"]::before {
    color: #4279bc;
}

.tab-features__control[aria-selected="true"]::after {
    background-color: #4279bc;
}

.tab-features__panels {
    position: relative;
}

.tab-features__panel {
    opacity: 0;
    padding-top: var(--tx9-space-md);
    min-height: 350px;
}

.tabs--no-interaction .tab-features__panel {
    animation-duration: 0s;
    animation-delay: 0s;
}

.tab-features__img {
    display: block;
}

.tab-features__caption {
    font-size: var(--tx9-text-sm);
    --tx9-color-o: 1;
    color: hsla(var(--tx9-color-contrast-low-hsl), var(--tx9-color-o, 1));
    margin-top: var(--tx9-space-xs);
}

.tab-features__panel--display {
    opacity: 0;
    -webkit-animation: tab-features-panel-entry-anim 0.5s 0.2s
        cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation: tab-features-panel-entry-anim 0.5s 0.2s
        cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.tab-features__panel--hide {
    position: absolute;
    visibility: hidden;
    top: 0;
    width: 100%;
    transition: position 0s 0.5s, visibility 0s 0.5s;
    -webkit-animation: tab-features-panel-exit-anim 0.5s
        cubic-bezier(0.215, 0.61, 0.355, 1);
    animation: tab-features-panel-exit-anim 0.5s
        cubic-bezier(0.215, 0.61, 0.355, 1);
}

@-webkit-keyframes tab-features-panel-entry-anim {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes tab-features-panel-entry-anim {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes tab-features-panel-exit-anim {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@keyframes tab-features-panel-exit-anim {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

.figure_center_h {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image_div_germany {
    width: auto;
    height: 300px;
    position: relative;
}

.germany_img_h {
    /* width: 476px; */
    /* height: 570px; */
}

.data_map_conatiner_outer {
    display: flex;
    gap: var(--sp-xx);
}

.data_map_text_container {
    max-width: 300px;
}

@media (max-width: 767px) {
    .tab-features__control {
        padding: var(--tx9-space-sm) var(--tx9-space-sm) var(--tx9-space-sm)
            var(--tx9-space-sm);
        font-size: var(--text-size-95);
    }

    .data_map_conatiner_outer {
        gap: var(--sp-m);
    }

    .data_map_text_container {
        max-width: 200px;
        margin-left: 10px;
    }
}
