body {
    font-family: sans-serif;
    margin: 10px;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
}

main {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 650px;
    padding: 1em;
    background-color: wheat;
    border-radius:10px;
}

table {
    width: 100%;
}

.copy { cursor:pointer; }

.wrapper img {
    width:100%;
    max-width: 650px;
}

img, iframe {
    height: auto;
}

h1 {
    font-size: 1.5em;
}




.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.link-buttons a {
    flex: 1 1 40%;
    text-align: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.link-buttons a:hover {
    background-color: #0056b3;
}

#mediaLink { 
    width: calc(100% - 140px); 
    margin-right: 5px;
    padding: 5px;
    box-sizing: border-box;
}
button {
    padding: 5px 8px;
    cursor: pointer;
    background-color: wheat;
    border-style: none;
}

button:hover {
    opacity: 0.7;
    transform: rotateX(10deg) skewX(30deg);
    transition: all 0.2s ease;
    color:red;
    font-weight:bold;
}

#main {
    margin-top: 10px;
    border: 1px solid black;
    padding: 5px;
    
    max-width: 100%; 
    box-sizing: border-box;
    display: none; 

}
#odeslink {
    margin-bottom: 5px;
    word-break: break-all;
}

#odeslinkMarkdown {
    font-family: courrier;
    fpnt-size: smaller;
}

#odeslinkHtml {
    font-family: courrier;
    fpnt-size: smaller;
}

.gray {
    background-color: lightGray;
}

#iframeWrapper {
    width: 100%;
    resize:both;
    height: 400px; 
    overflow: hidden; 

}

#frame {
    width: 100%;
    height: 100%; 
    border: none;
    display: block;
    overflow: hidden; 
}
.dashicons {
    vertical-align: middle;
}

#title {
    font-weight: bold;
    text-align:center;
    background-color: lightGray;
}

footer {

}
#footer {
    list-style: none;
    padding: 0;
    padding-top: 2px;
    margin: 0;
    display: flex;
    font-size: smaller;
    gap: 5px;
    perspective: 300px;
    align-items: center;
    
}

#footer li {
    display: inline;
    cursor: pointer;
}

#footer li:hover {
    opacity: 0.7;
    transform: rotateY(10deg) skewX(30deg);
    transition: all 0.2s ease;
}
#footer li {
    transition: all 0.2s ease;
}
#qrcodeWrapper {
    padding: 100px;
}

#toggler { text-align: right;
	   cursor: pointer;

	 }


#settings {
    margin-top: 0px;
    padding-top: 0px;
    text-align:right;
}

#editTitle {
    cursor: pointer;
}


#tplEditorModal {
    position: absolute;
    top: 100px;
    background: white;
    width: 75%;
    max-width: 650px;
    border-style: solid;
    padding:5px;
    z-index:1000;
}
#tplTitle {
    font-weight: bold;
    text-align:center;
}
