/* your styles go here */
.container-tabs{
    border: 1px solid #ccc;
    width: 100%;
    margin: right;
    margin-top: 50px;
}
.custom-tabs{
    display:flex;
    justify-content: space-between;
}

.custom-tab{
    background: #ccc;
    flex: 1;
    padding: 10px;
    text-align: center;
    border: none;
    border-top: none;
    cursor: pointer;
    position: relative;
}

.custom-active-tab{
    border: auto;
    background: #fff;
}

.custom-active-tab::after{
    border-top: 2px solid #fff;
    content:'';
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    background:initial;
    animation: new 0.5s;
}

@keyframes new {
    from {
        top:50px;
        left:0;
        right:0;
        background:#ccc;
    }

    to{
        top:0px;
        left:0;
        right:0;
        border-top:1px solid #ccc;
    }
}

.contents{
    position: relative;
}

.content{
    display: none;
    position: relative;
}

.active-content{
    display: block;
    margin-left: 20px;
    margin-right: 20px;
    transition: all 1s ease-in-out;
    animation:example 0.3s;
}

@keyframes example {
    from {
        margin:0;
    }

    to{
        maring-left: 10px;
    }
}

.custom-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);

    display: flex;
    justify-content: center;
    align-items: center;
    
}

.custom-popup-inner {
    position: relative;
    padding: 32px;
    width: 100%;
    max-width: 640px;
    background-color: #fff;
}

.custom-popup-inner .custom-close-btn{
    position: absolute;
    top: 16px;
    right: 16px;
}