html,
body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

div.markdownDiv {
    background-color: white;
    text-align: justify;
}

div.markdowntext {
    width: 90%;
}

div.markdowntext textarea {
    width: 100%;
}

div.imageDiv {
    background-color: white;
    text-align: center;
}

div.labelContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    min-height: 40px;
    width: 100%;
    background-color: beige;
    margin-top: 3px;
    margin-bottom: 3px;
}

div.tag {
    margin: 5px;
    padding: 5px;
    border: 1px solid #aaa;
    border-radius: 15%;
    height: 30px;
    background-color: azure;
    color: rgb(3, 21, 189);
}

div.tag button {
    margin-left: 5px;
}

div.microboardstrip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    background-color: beige;
    margin-left: 1%;
    margin-right: 1%;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
}

div.mc {
    min-width: 50px;
    min-height: 50px;
    max-width: 150px;
    background-color: burlywood;
    margin: 5px;
    padding: 5px;
    text-align: center;
    color: rgb(0, 0, 0);
}

div.welcome {
    width: 100vw;
    height: 100dvh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px;

}

div.welcome button {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.welcome button:hover {
    background: rgb(255, 198, 42);
}

div.login {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px
}

div.login button {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.login button:hover {
    background: rgb(255, 198, 42);
}

div.focusboard {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px
}

div.focusboard button {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.focusboard button:hover {
    background: rgb(255, 198, 42);
}

div.microboard {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px
}

div.microboard button {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.microboard button:hover {
    background: rgb(255, 198, 42);
}

div.showMD {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: rgb(0, 0, 0);
    padding-top: 1px
}

div.showMD button {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.showMD button:hover {
    background: rgb(255, 198, 42);
}

div.showMD .container {
    background: #d5e3f8;
    padding-top: 10px;
    margin-top: 10px;
    margin-left: 3%;
    margin-right: 3%;
    color: rgb(0, 0, 0);
}

div.showMD .container .header {
    background: #f1b900;
}

div.showImage {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px
}

div.showImage button {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.showImage button:hover {
    background: rgb(255, 198, 42);
}

div.showImage .container {
    background: #d5e3f8;
    padding-top: 10px;
    margin-top: 10px;
    margin-left: 3%;
    margin-right: 3%;
    color: rgb(0, 0, 0);
}

div.showMD .container .header {
    background: #f1b900;
}

div.newMD {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px
}

div.newMD .container {
    background: #d5e3f8;
    padding-top: 10px;
    margin-top: 10px;
    margin-left: 3%;
    margin-right: 3%;
    color: rgb(0, 0, 0);
}

div.newMD .container .header {
    background: #f1b900;
}

div.newMD .previewcontainer {
    background: #f1b900;
    padding-top: 10px;
    margin-top: 10px;
    margin-left: 3%;
    margin-right: 3%;
    color: rgb(0, 0, 0);
}

div.newMD .previewcontainer #preview {
    background: #ffffff;
    text-align: justify;
}

div.newMD button.jump {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.newImage {
    height: 100vh;
    text-align: center;
    background: #314a6e;
    color: white;
    padding-top: 1px
}

div.newImage .container {
    background: #d5e3f8;
    padding-top: 10px;
    margin-top: 10px;
    margin-left: 3%;
    margin-right: 3%;
    color: rgb(0, 0, 0);
}

div.newImage .container .header {
    background: #f1b900;
    margin-bottom: 10px;
}

div.newImage .container form #previewDIV img {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    background: #ffe0d7;

}

div.newImage .container form #previewDIV {
    margin-bottom: 10px;
}

div.newImage button.jump {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}

div.newImage .container form div.title {
    margin-bottom: 10px;
}

div.newImage .container form div.tag-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

.tools {
    background-color: #ceb870;
}

.tools span form button {
    margin-top: 12px;
    padding: 6px 11px;
    font-size: 12px;
    border: none;
    background: rgb(255, 133, 19);
    border-radius: 8px;
    cursor: pointer;
}

div.backDIV,
div.showUnit {
    background: #314a6e;
    color: white;
    padding-top: 1px;
    text-align: center;
}

div.backDIV form div.microboard div.mc {
    filter: grayscale(50%);
    transition: transform 0.15s ease, box-shadow 0.25s ease;
}

div.backDIV form div.microboard div.mc:hover {
    filter: grayscale(0%);
    transform: scale(1.05) translateY(-5px);


}

div.unitstrip {
    display: flex;
    flex-direction: column;
    /* belső elemek egymás alatt */
    justify-content: center;
    /* függőleges közép */
    align-items: center;
    /* vízszintes közép */
    border: 1px solid #ccc;
    padding: 10px;
    height: 100%;
    gap: 5px;

}

div.unitmc {
    display: flex;
    align-items: center;
    gap: 20px;

}

div.mcData,
div.mcTools {
    display: flex;
    flex-direction: column;
    justify-content: center;


    border: 1px solid #ccc;
    padding: 10px;
}

div.mcData {
    width: 150px;
}

div.backDIV form div button.jump,
#saveUnit {
    margin-top: 20px;
    padding: 12px 22px;
    font-size: 18px;
    border: none;
    background: rgb(255, 226, 132);
    border-radius: 8px;
    cursor: pointer;
}


div.macrounitboardstrip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    background-color: beige;
    margin-left: 1%;
    margin-right: 1%;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
}

div.macrounit {
    min-width: 50px;
    min-height: 50px;
    max-width: 150px;
    background-color: burlywood;
    margin: 5px;
    padding: 5px;
    text-align: center;
    color: rgb(0, 0, 0);
}


