body {
    font-family: Arial, sans-serif;
    background-color:light-dark( #aaa,#111);
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: auto;
    background:light-dark( white, #222);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #343a40;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="date"],
select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

input[type="file"] {
    margin-bottom: 15px;
}

button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.uploaded-image {
    margin-top: 15px;
    max-width: 100%;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

#diplomaStyleContainer span {
    font-weight: normal;
}

#diplomaStyleContainer .form-check-label {
    text-align: left;
}

#diplomaStyleContainer, #imageEditingOptions, #diplomaTypeContainer  {
    text-align: left;
}

#generatedDiploma {
    text-align: left;;
}

.disable-text-selection {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#imageEditingOptions label {
    font-weight: normal;
}

.toast {
    left: 50%;
    top:20%;
    position: fixed;
    transform: translate(-50%, -50%);
    z-index: 9999;
    filter: drop-shadow(0px 0px 4px #444444);
    border:1px solid #444;
    background-color:#fff;
}

.clickableThumbNail {
    cursor: pointer;
}

#overlayInfo {
    text-align: center;
    color:#000;
    border-radius: 10px;
    padding:10px;
}

#overlayContainer {
    position:fixed;
    top:0;
    left:0;
    z-index:10000;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.5);
}

#overlayInfo {
    background:#fff;
}

.centralize {
    border: 2px solid white;
    /*width: 50%;*/
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#diplomaPreviewOptions {
    color:#000;
}
a {
    text-decoration: underline;
}

#userInfo {
    top:0;
    right:0;
}

.invis {
    height:0px;
    width:0px;
    opacity:0.1%;
}


@media (max-width: 425px) {
    .btn-smmobile {
        font-size:  0.875rem;  /* Or any other desired smaller font size */
        padding: 0.375rem 0.25rem; /* Or other smaller padding values */
    }
}

#uploadedImage {
    overflow:hidden;
    border-radius:1rem;
    margin:1rem;
}
@font-face {
    font-family: EBGaramond;
    src: url(/fonts/EBGaramond-VariableFont_wght.ttf);
}
@font-face {
    font-family: Diplomata;
    src: url(/fonts/Diplomata-Regular.ttf);
}
@font-face {
    font-family: CedarvilleCursive;
    src: url(/fonts/CedarvilleCursive-Regular.ttf);
}

.fontGaramond {
    font-family:EBGaramond;
}
.fontDiplomata {
    font-family:Diplomata;
}
.fontCedarville {
    font-family:CedarvilleCursive;
}

.btnShowDiploma.active {
    pointer-events: auto !important;
    cursor: not-allowed !important;
}
