* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    user-select:none;
}
@font-face {
    font-family: 'Open-Sans';
    src: url('../font/Open_Sans/OpenSans-Regular.ttf');
    font-weight: 900;
}
.head {
    width: 100%;
    height: 92px;
    border: 1px solid white;
}

.social-media {
    margin-top: 6px;
    position: absolute;
    top: 12px;
    right: 100px;
    transform: scale(1);
    transition: all 0.3s linear;

}

.name {
    width: 208px;
    margin-top: 15px;
    margin-left: 12px;
}
.name h1{
    font-weight:100;
    font-family: 'Ubuntu', sans-serif;
}
.name a{
    text-decoration:none;
}

.name .blue{
    color:#0984e3;
}
.name .tomato{
    color:#ff1050;
}
.advertisement {
    border: 1px solid red;
    width: 850px;
    height: 80px;
    min-width: 200px;
    top: 6px;
    right: 150px;
    position: absolute;
    display: none;
}

.main {
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 0 2px 0px 2px;
    background-color: #d2d1d1;
    top: 137px;
    bottom: 40px;
    position: absolute;
}

.navBtn {
    display: inline-block;
}

.nav {
    width: 100%;
    height: 45px;
    background-color: black;
    box-shadow: 2px 2px 10px black;
}

.nav a {
    border: none;
    padding-top: 18px;
    padding-bottom: 8px;
    padding-right: 15px;
    padding-left: 15px;
    cursor: pointer;
    color: rgb(255, 255, 255);
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-decoration: none;
}

#coderunner {
    background-color: #3ca33c;
    display: inline-block;
}

#run {
    font-size: 16px;
    top: -5px;
    position: relative;
}

#runin {
    top: -3px;
    margin-left: 5px;
    position: relative;
}

.nav a:focus {
    outline: none;
}

.nav a i {
    margin-top: 0px;
}

.fa-sync-alt {
    rotate: 0deg;
    transition: rotate 0.5s;
}

.rotate {
    rotate: 90deg;
}

.changeBackground {
    margin-right: 12px;
    float: right;
    width: 78px;
    height: 45px;
}

.bg {
    margin: 5px;
}
.bg div{
    cursor:pointer;
}
.fa-sun{
  color: white;
  font-size: 35px
}
.editor {
    width: calc(50% - 6px);
    min-width: 20%;
    max-width: calc(80% - 6px);
    height: 100%;
    float: left;
    overflow-y: auto;
    background-color: white;
    left: 0;
    position: absolute;
    outline: none;
}

.codemirror-textarea {
    display: none;
}

.editor:focus {
    border: none;
}

.bar {
    width: 8px;
    height: 100%;
    float: left;
    cursor: col-resize;
    left: calc(50% - 6px);
    position: absolute;
}

.window {
    width: 100%;
    height: 100%;
    float: right;
    background-color: white;
}

.change-background {
    margin-right: 40px;
}

.text-color {
    color: red;
}

.windowbox {
    width: 49.8%;
    height: 100%;
    background-color: white;
    float: right;
    padding-left: 20px;
    max-width: calc(80% - 6px);
    min-width: 20%;
}

.rotateE {
    min-width: 100% !important;
    height: calc(50% - 15px);
    float: none !important;
    max-height: 79%;
    min-height: 19%;
    position: unset;
}

.rotateB {
    width: 100%;
    height: 8px;
    float: none;
    position: unset;
    cursor: row-resize;
}

.rotatewindowbox {
    min-width: 100% !important;
    height: 52%;
    padding-left: 0 !important;
    padding-top: 20px;
    min-height: 16%;
    max-height: 76%;
}

.rotateEh {
    max-height: 80%;
    min-height: 20%;
}

.rotateWh {
    max-height: 80%;
    min-height: 20%;
}

.back_print {
    bottom: 2px;
    left: 0;
    right: 0;
    position: absolute;
    height: 38px;
    border-top: 1px solid #d7d5d5;
}

.back_print button {
    border: none;
    padding: 4px 6px;
    background-color: #dfe4ea;
    color: black;
    font-family:'Open-Sans';
    font-size:inherit;
    cursor: pointer;
    top:-4px;
    position:relative;
}

.back_printTstl {
    background-color: black;
}


.footer-media {
    margin-top: 0!important;
    margin-left: 50px!important;
    display: inline-block;
    top:-4px;
    position:relative;
}

@media only screen and (max-width:470px) {
    .footer-media{
       margin-left: 10px !important;
    }
}
@media only screen and (max-width:392px) {
    .back_print button{
        top:5px;
        left:26px;
        position:relative;
    }
    .footer-media{
       margin-left: 20px !important;
       top:5px;
    }
}


@media only screen and (max-width: 380px) {
    .nav a {
        padding-left: 2px;
    }
    #run {
        margin-left: 10px;
    }
    .changeBackground {
        margin-right: 0;
    }
    .head {
        height: 64px;
    }
    .main {
        top: 109px;
    }
}

@media only screen and (max-width:316px) {
    .nav,
    .head,
    .main,
    .back_print {
        width: 316px;
    }
}

@media only screen and (max-width:630px) {
    .social-media{
        right:20px;
        transform:scale(0.8);
    }
    .footer-media a span{
        display:none!important;
    }
    .footer-media a i{
       padding: 5px 20px !important;
    }
}

@media only screen and (max-width:530px) {
    .social-media{
           display:none;
    }
}
@media only screen and (max-width:600px) {
    .back_print {
        padding-left: 2px;
    }
}