* {
    font-family: 'Overpass Mono', monospace;
}

#profile-constructor, #contract-constructor {
    background-color: #f2f2f2;
    padding: 1em;
    margin-bottom: 1em;
}

textarea {
    margin-top: 1em;
}

.margin-top {
    margin-top: 1em;
}

.left-bordered {
    margin: 1em;
    border-left: 5px solid #262626;
}

h1 {
    padding-top: 1em;
    border-bottom: 5px solid #262626;
    overflow-y: hidden;
}

h2 {
    padding-top: 0.5em;
    overflow-y: hidden;
}

h4 {
    border-bottom: 5px solid #262626;
    overflow-y: hidden;
}
h5 {
    word-wrap: break-word;
}
p {
    font-size: 16px;
    white-space: pre-line;
    word-wrap: break-word;
}

code {
    white-space: pre-line;
}

.code {
    height: 400px;
    overflow-y: scroll;
    overflow-x: scroll;
    background-color: white;
    padding: 1em;
}

body {
    background-color: #262626;
    padding: 1em;
}

.main {
    background-color: #ffffff;
    position:relative;
}

.left-margin {
    margin-left: 1em;
    margin-bottom: 0.5em;
}

.corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 5em;
    height: 5em;
    background-color: #e6e7e8;
}
  
.corner .corner-trianlge {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5em 5em 0;
    border-color: transparent #262626 transparent transparent;
}

.img-bordered {
    width: 100%;
    border: 2px solid #262626;
}

.top-border {
    border-top: solid 5px #262626;
    padding-top: 1em;
    padding-bottom: 1em;
}

::selection {
    background: #262626; /* WebKit/Blink Browsers */
    color: #e6e7e8;
}
::-moz-selection {
    background: #262626; /* Gecko Browsers */
    color: #e6e7e8;
}
.bottom-margin {
    margin-bottom: 1em;
}


@media screen and (max-width: 485px) {
    body {
        padding: 0;
    }

    .corner {
        width: 3em;
        height: 3em;
    }
   .corner .corner-trianlge{
        border-width: 0 3em 3em 0;
    }

    .article_list {
        padding-left: 1.5em;
    }

      #profile-constructor, #contract-constructor {
        padding: 0;
      }

      #profile-constructor .container-fluid, #contract-constructor .container-fluid {
        padding-right: 0;
        padding-left: 0;
      }
      #contract-constructor .container-fluid .left-bordered {
        min-width: 250px;
      }
}


