.inline {
    width: fit-content;
    height: fit-content;
    margin: 0px;
    margin-inline: auto;
}
.windowwrap {
    display: inline-block;
    margin: 10px;
    background-image: linear-gradient(rgb(98, 142, 236),rgb(52, 92, 179),rgb(82, 130, 233));
    padding: 5px;
    padding-top: 0px;
    width: fit-content;
    height: fit-content;
    border-radius: 7px;
    vertical-align: top;
}

.windowcontent {
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    display: inline-block;
    background-image: linear-gradient(3turn, rgb(237, 237, 255), rgb(230, 230, 255), rgb(237, 246, 248));
    height: fit-content;
    width: 100%;
}

.windowheader {
    margin-left: auto;
    margin-right: auto;
    margin: 0px;
    padding: 0px;
    background-image: linear-gradient( rgb(82, 130, 233), rgb(52, 92, 179), rgb(82, 130, 233));
    border: 3px;
    margin-left: -5px;
    margin-right: -5px;
    border-color: rgb(98, 142, 236);
    border-style: solid;
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Distribute items evenly */
    max-height: fit-content;
    width: fit-content;
    min-width: 100%;
    border-radius: 7px;
}

.windowtitle {
    margin-left: auto;
    margin-right: auto;
    margin: 0px;
    padding: 0px;
    padding-right: 20px;
    display: inline-block;
    max-height: fit-content;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: whitesmoke;
    font-weight: bold;
    padding-left: 10px;
    font-size: 17px;
}

.windowbuttons
{
    display: inline-block;
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Distribute items evenly */
}
.header_ {
    display: inline-block;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: whitesmoke;
    margin: auto;
    margin-right: 5px;
    padding: 0px;
    height: 30px;
    width: 30px;
    max-height: fit-content;
    border-color: rgb(247, 247, 247);
    border-style: solid;
    border-width: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    background-image: radial-gradient(rgb(53, 96, 177), rgb(52, 92, 179), rgb(124, 158, 231));
    border-radius: 4px;
    margin-left: auto;
}

.header_:active {
    
    border-style: inset;
}

.header_:hover {
    cursor: pointer;
}

.headerbox {
    display: inline-block;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: whitesmoke;
    margin: auto;
    padding-bottom: -4px;
    margin-right: 5px;
    padding: 0px;
    height: 30px;
    width: 30px;
    max-height: fit-content;
    border-color: rgb(247, 247, 247);
    border-style: solid;
    border-width: 3px;
    text-align: center;
    font-weight: bold;
    line-height: 28px;
    font-size: 25px;
    background-image: radial-gradient(rgb(53, 96, 177), rgb(52, 92, 179), rgb(124, 158, 231));
    border-radius: 4px;
    margin-left: auto;
}

.headerbox:active {
    border-style: inset;
}

.headerbox:hover {
    cursor: pointer;
}

.headerX {
    display: inline-block;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: whitesmoke;
    margin: auto;
    margin-right: 0px;
    padding: 0px;
    height: 30px;
    width: 30px;
    max-height: fit-content;
    border-color: rgb(247, 247, 247);
    border-style: solid;
    border-width: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    background-image: radial-gradient(rgb(212, 77, 24), rgb(255, 117, 83), rgb(255, 146, 119));
    border-radius: 4px;
    line-height: 28px;
    margin-left: auto;

}

.content {
    display: inline-block;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0px;
    margin-top: auto;
    margin-bottom: auto;
    padding: 4px;
    max-height: fit-content;
    max-width: fit-content;
}
.headerX:active {
    border-style: inset;
}

.headerX:hover {
    cursor: pointer;
}
.spacer
{
    min-height: 40px;
}
.contentcenter
{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: auto;
    margin-top: auto;
    margin-bottom: auto;
    padding: 4px;
    max-height: fit-content;
    max-width: fit-content;
    text-align: center;
}

.header, .headerbox, .headerX, .header_ {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }

/*                     <div class="windowwrap">
                    <div class="windowheader">
                        <p class="windowtitle">Lorem Ipsum</p>
                        <div class="windowbuttons"> 
                                 <p class="header_">_ </p>
                                 <p class="headerbox">☐</p>
                                 <p class="headerX">X</p>
                        </div>
                    </div>
                
                    <div= class="windowcontent">
                        <p class="contentcenter">lorem ipsum </p>
                        </div=></div>
*/ 