﻿@charset "utf-8";
/* CSS Document */


@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'open_sansbold';
    src: url('../fonts/OpenSans-Bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* {
  box-sizing: border-box;
}

body {
  font-family: 'open_sansregular';
  margin: 0;
}

h1, h2 {
  margin-top: 0;
font-family: 'open_sansbold';
	border-bottom:2px solid #f48024;
	display: inline-block;
	
}

h1 {margin-left: 25px;}

.code-panel {background: #eee;}
.code-box {width:96%; margin: 0px auto;}

.editor {
  display: flex;
  flex-wrap: wrap;
}

.html-editor, .css-editor {
  flex: 1 1 50%;
}

textarea {
font-family:monospace !important;
  width: 100%;
  height: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  resize: none;
color:#000;	
	font-size: 18px;
}

#html-code {
  border-right: none;
}

#css-code {
  border-left: none;
}

button {
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #f48024;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {background-color:#C96312}

.output {
  margin: 20px 0;
}

.output h2 {
  margin-bottom: 10px;
}

#output-frame {
  width: 100%;
  height: 400px;
  border: none;
}

#output-frame html, #output-frame body {font-size:24px !important;}

.html-syntax {
	color: #000;
	font-family: monospace;
}

.html-syntax .tag {
	color: blue;
}

.html-syntax .attribute {
	color: green;
}

.html-syntax .value {
	color: red;
}

/*::::::::::: BREADCRUMB START ::::::::::::: */
#breadcrumb {margin:0px 0px 10px 25px;  padding:0px 0px 0px 0px; clear:both; overflow:hidden; }
ul.crumbs {margin: 0px; padding: 0px;}
ul.crumbs li			{ list-style:none; float:left; padding:0px; margin:0px; background:none; }
ul.crumbs li			{  font-weight:normal; display:inline-block; }
.crumbs li a { text-decoration:none; padding:0px; font-size:14px; display:inline-block; text-transform:capitalize; color: #000; font-weight: bold;}
.crumbs li a:hover  {color:#a74800;}
.crumbs li:after {content: ">"; padding:0px 10px; font-weight: bold;}
.crumbs li:last-child:after {content: "";}
.crumbs li:last-child a {color: #a74800;}

/*:::::::::::::: BREADCRUMB END ::::::::::::: */


/* Shared editor refresh */
body{min-height:100vh;background:#f3f6fa;color:#18283a;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
h1,h2{font-family:inherit;color:#18283a;border:0;display:block}
h1{width:min(94%,1280px);margin:0 auto 14px;padding-top:34px;font-size:clamp(28px,4vw,38px);line-height:1.2}
#breadcrumb{width:min(94%,1280px);margin:0 auto 16px;padding:0;overflow:auto}
.crumbs li:after{color:#758397}
.crumbs li:last-child span{color:#873b00;font-weight:700}
.code-panel{padding:0 0 50px;background:transparent}
.code-box{width:min(94%,1280px);margin:0 auto;padding:24px;border:1px solid #d8e0e8;border-radius:14px;background:#fff;box-shadow:0 8px 26px rgba(20,38,60,.06)}
.editor{gap:16px;align-items:stretch}
.html-editor,.css-editor{min-width:0;padding:14px;border:1px solid #d8e0e8;border-radius:10px;background:#f8fafc}
.html-editor h2,.css-editor h2,.output h2{margin:0 0 10px;padding:0;border:0;font-size:15px}
textarea{display:block;height:320px;min-height:220px;resize:vertical;border:1px solid #26384b;border-radius:7px;background:#111c2a;color:#eef4f9;font:14px/1.6 Consolas,"SFMono-Regular",monospace;tab-size:2}
#html-code,#css-code{border:1px solid #26384b}
textarea:focus-visible,button:focus-visible{outline:3px solid rgba(167,72,0,.55);outline-offset:2px}
button{margin:0 0 16px;padding:11px 18px;border-radius:8px;background:#a74800;color:#fff;font:inherit;font-weight:700}
button:hover{background:#873b00}
.output{margin:20px 0 0;padding:14px;border:1px solid #d8e0e8;border-radius:10px;background:#f8fafc}
#output-frame{display:block;width:100%;height:400px;border:1px solid #d8e0e8;border-radius:7px;background:#fff}
@media(max-width:700px){h1{padding-top:24px}.code-box{padding:17px}.html-editor,.css-editor{flex-basis:100%;padding:11px}textarea{height:260px}#output-frame{height:320px}}
.code-editor-help{width:min(94%,1280px);margin:0 auto 18px;color:#526275;font-size:16px;line-height:1.65}
