<div class="med_container">

    @ChildContent
</div>


<style>
    .med_container {
        display: flex;
        gap: 16px;
        flex-direction: column;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
        border: 2px solid black;
    }

    @@media only screen and (max-width: 1025px) {
        .med_container {
            width: 85%;
        }
    }
</style>


@code {

    [Parameter]
    public RenderFragment? ChildContent { get; set; }

}