.tabgroup{
    width: 50%;
    margin: 0 auto;
}

.tabgroup .tablist{
    display: flex;
    border-block-end: 1px solid gray;
    justify-content: center;
    align-items: center;
    margin-top: 75px;
}

.tabgroup .tab{
    padding: 0.1em 1em;
    flex: 1 1 auto;
    position: relative;
}

.tabgroup .tab:hover{
    background-color: rgb(250, 229, 189);
}

.tabgroup .tab.active::after{
    content: '';
    background-color: gray;
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 0px;
}

.tabgroup .contentlist{
    width: 100%;
    height: 70em;

    position: relative;
}

.tabgroup .content{
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    background-color: rgb(206, 208, 210);

    opacity: 0;

    pointer-events: none;
}

.tabgroup .content.active{
    opacity: 1;
    pointer-events: initial;

}

.tabgroup .content p{
    width: 100%
}
