* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;  /* of 16px usually, which gives 10px */
    /*height: 100%;*/
}

body {
    position: relative;
    background-color: #e3e3e3;
    font-family: Blender, Alef, sans-serif;
    font-size: 1.5em;
    /* 15 pixel */
    line-height: 1.5;
    /*height: 100%;*/
    width: 100%;

    /* add the following overflow only if you use scroll-improved.js */
    /*overflow-y: hidden;*/

}



h1,
h2,
h3,
h4,
h5 {
    color: rgb(3, 167,218);
    font-weight: normal;
}

h1 {
    padding-top: 50px;
    margin-bottom: 0px;
    font-style: italic;
}

h2 {
    margin-top: 0;
    font-size: 4em;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 0px;
    letter-spacing: -0em;
    line-height: 0.9;
}

h3 {
    font-size: 25px;
    margin-top: 30px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h1.h-3d,
h2.h-3d,
h3.h-3d {
    color: rgba(255, 255, 255, 1);
    text-shadow: #ccc 0 1px 0, #c9c9c9 0 2px 0, #bbb 0 3px 0, #b9b9b9 0 4px 0, #aaa 0 5px 0, rgba(0, 0, 0, .1) 0 6px 1px, rgba(0, 0, 0, .1) 0 0 5px, rgba(0, 0, 0, .3) 0 1px 3px, rgba(0, 0, 0, .15) 0 3px 5px, rgba(0, 0, 0, .2) 0 5px 10px, rgba(0, 0, 0, .2) 0 10px 10px, rgba(0, 0, 0, .1) 0 20px 20px;
}

pre {
    /*font-family: "comic sans ms";*/
    font-size: 0.8em;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}
pre:not(.code-show) {
    background: rgba(211, 211, 211, 0.4);
    border: 1px solid rgba(70, 66, 66, 0.34);
}

header {
    width: 80%;
    margin: 20px auto 20px;
    text-align: center;
}

.p-center-upcase {
    text-transform: uppercase;
    display: block;
    margin: 20px auto;
    margin-bottom: 20px;
    /*color: #2e2d2d;*/
    text-align: center;
    letter-spacing: 0.17em;
    line-height: 1.5;
    font-size: 0.8em;
    font-weight: normal;
}

.main-header-parallax {
    margin: 0;
    position: relative;
    width: 100%;
    height: 90%;

    background-color: lightblue;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

}


.main-header-center {
    position: absolute;
    background-color: rgba(238, 238, 238, 0.6);
    height: 300px;
    width: 400px;
    left: calc(50% - 400px / 2);
    top: calc(50% - 300px / 2);
    display: table;

}



.main-header-center .p-center-upcase {
    margin-bottom: 0;
    padding-bottom: 0;
}

.main-header-center h1 {
    padding-top: 0;
    margin-top: 0;
}

.main-header-center * {
    color: #020243;
}

.main-header-arrow {
    display: block;
    transform-origin: center;
    position: absolute;
    left: calc(50% - 43px /2);
    bottom: 10px;
    cursor: pointer;

}



main {
    width: 70%;

    margin: 0px auto 30px;
    position: relative;
}

p {
    width: 80%;
    -webkit-word-wrap: normal;
}

p.p-center {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

p.p-center-dark {
    color: #2e2d2d;
    background-color: #2e2d2d;
    color: #e7e5e5;
    text-align: left;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 50px;
}



hr {
    margin-top: 50px;
    margin-bottom: 50px;
}
/*
h2 {
text-stroke: 3px black;
color: white;
}
*/

small {
    font-size: 13px;
}

strong {
    font-weight: bolder;
}

.main-text {
    padding: 5px 10px;
    background-color: lightgray;
}
/*------------ Data list styles ---------*/

.syntax {
    text-align: left;
}

ul.syntax-details > li {
    font-style: normal;
}

a:active {
    position: relative;
    top: 2px;
}

a.example {
    font-size: 1.05em;
    color: #0014ff;
    transition: 0.3s;
}

a.example:hover {
    color: #9898ef;
}
/*------------ buttons ---------*/

.button1 {
    padding: 10px 20px;
    border: 1px solid #c7c7c7;
    background: linear-gradient(to top, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 1));
    box-shadow: 0px 7px 2px -5px #1a1a1a, inset 0px 0px 3px #9C0000;
    border-radius: 15px;
    text-shadow: #FF7A7A 1px 1px 0px;
    color: #8F0000;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
    cursor: pointer;
    outline: none;
}

.button1:hover {
    background-color: rgba(0, 255, 255, 1);
    box-shadow: 0px 0px 5px 0px #aaaaaa;
    border: 1px solid #ffffff;
    color: #470000;
}

.button1:active {
    top: 1px;
    position: relative;
}

.button2, .button2-black {
    text-decoration: none;
    width: 150px;
    height: 40px;
    cursor: pointer;
    overflow: visible;
    outline: 0;
    padding: 10px 12px;
    display: block;
    color: #0030fa;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid #0030fa;
    text-align: center;
    font-size: 13px;
    transition: 0.3s;
}

.button2:hover {
    color: #fff;
    background-color: #0030fa;
}

/*
.button2(~show-code-button):active {
    background-position: 0 top;
    position: relative;
    top: 1px;
    color: #fff;
    padding: 6px 12px 4px;
    background: #20282D;
}
*/
.button2-black {
    border: 2px solid #000000;
    color: #000000;
}
.button2-black:hover {
    color: #fff;
    background-color: #2e2d2d;
}

figure {
    mix-blend-mode: multiply;
    transition: 0s;
    margin: 20px;
}
/*------------ Radio ---------*/

.radio-text {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-left: 10%;
    margin-top: 20px;
}

.regular-radio {
    display: none;
}

.regular-radio + label {
    background-color: #e7e5e5;
    border: 2px solid #2e2d2d;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-left: 10%;
    margin-top: 20px;
}

.regular-radio:first-child + label {
    margin-left: 0%;
}

.regular-radio:checked + label:after {
    content: ' ';
    width: 12px;
    height: 12px;
    border-radius: 100%;
    position: absolute;
    top: 4px;
    background: #2e2d2d;
    left: 4px;
}

input[type="checkbox"] {
    display: none;
}
/*
input[type="checkbox"] + label span {
display: inline-block;
width: 19px;
height: 19px;
margin: -3px 5px 0 0;
vertical-align: middle;
background: url(../images/checkbox.png) left top no-repeat;
background-blend-mode: multiply;
}


input[type="checkbox"]:checked + label span {
background: url(../images/checked_checkbox.png) left top no-repeat;
}
*/

input[type="checkbox"] + label span {
    display: inline-block;
    width: 100px;
    margin-left: 25px;
    vertical-align: top;
    font-size: 0.8em;
}

input[type="checkbox"] + label {
    background-color: transparent;
    border: 2px solid #2e2d2d;
    width: 18px;
    height: 18px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-bottom: 5px;

}

input[type="checkbox"]:checked + label:after {
    content: '\2713';
    font-weight: bold;
    width: 6px;
    height: 6px;
    position: absolute;
    bottom: 12px;
    color: #2e2d2d;
    left: 1px;

}
/*------------ next page ---------*/
.go-back, .go-top {
    /*transform: rotate(180deg) scale(0.5);*/
    display: block;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
}

.go-down {
    /*transform: rotate(180deg) scale(0.5);*/
    display: block;
    position: fixed;
    bottom: 30px;
    left: 30px;
    cursor: pointer;
}

.page-start {
    padding-top: 30px;
}
.arrow {
    position: absolute;
    top: calc(50% - 64px / 2);
    width: 64px;
    height: 64px;
    mix-blend-mode: multiply;
    outline: none;
}

.arrow-left {
    left: 0;
    /*transform: rotate(180deg);*/
    transition: transform 0.3s ease;
}

.arrow:active {
    opacity: 0.2;
}

.arrow-left:hover {
    /*transform:  rotate(180deg) translateX(-10px);*/
    transform:  translateX(-10px);
}

.arrow-right {
    right: 0px;
    transition: transform 1s ease;
}

.arrow-right:hover {
    transform: translateX(10px);
}
/*------------ Full Screen button ---------*/

#change-fs {
    position: fixed;
    top: 70px;
    left: 20px;
    z-index: 100;
    transition: 1s;
}

#full-screen,
#full-screen-exit {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}



#full-screen {
    opacity: 1;
}

#full-screen-exit {
    opacity: 0;
    transition: 0.2s;
}

.header-fs {
    position: fixed;
    display: block;
    top: 0;
    z-index: 50;
    width: 100%;
    margin-top: 50px;
}

.h1-fs {
    padding-top: 0;
}

.h3-fs {
    position: fixed;
    display: block;
    top: 0;
    z-index: 100;
    width: 100%;
    margin: 0 auto;
    top: 35%;
}

.res-fs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.but-fs {
    position: fixed;
    bottom: 0;
    left: -200px;
    display: block;
    width: 200px;
    height: 85% !important;
    margin: 0px !important;
    padding: 30px;
    z-index: 100;
    background-color: #eee;
    /* delay on going back */
    transition: transform 1.2s;
}

.but-fs:after, .text-fs:after  {
    display: table-cell;
    vertical-align: middle;
    content: '';
    position: absolute;
    width: auto;
    white-space: nowrap;

    background-color: #000000;

    color: #eee;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.but-fs:after {
    left: 100%;
    bottom: 100%;
    transform-origin: left bottom;
    transform: rotate(90deg);
}


.but-fs:hover {
    transform: translateX(200px);
    transition: transform 1.2s;
}


.text-fs {
    position: fixed !important;
    bottom: 0;
    right: -200px;
    width: 200px !important;
    height: 85% !important;
    margin: 0px !important;
    padding: 30px;
    z-index: 100;
    background-color: #eee;
    transition: transform 1.2s;

}

.text-fs:after {
    left: 0px;
    top: 0;
    transform-origin: left top;
    transform: rotate(90deg);
}

.text-fs:hover {
    transform: translateX(-200px);

}

/************* text area **************/
.text-input {
    display: table;
    table-layout: auto;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
}
.text-input span {
    background-color: #000000;
    color: #eee;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 0;
    display: table-cell;
}

.text-box {
    margin-top: 0;
    display: block;
    width: 100% !important;
    border-radius: 0px !important;
    margin-bottom: 20px;
    border: 1px solid black;
    box-shadow: none;
}

/************* SELECT ************************/

select {
    background: transparent;
}



.styled-select {
    position: relative;
    padding: 0;
    margin-top: 15px;
}

.styled-select-list option {
    width: 110px;
    background-color: transparent;
}


.styled-select-list select {
    font-family: Verdana;
    position: relative;
    width: 100%;
    background: transparent;
    padding: 0px;
    font-size: 0.7em;
    border: none;
    overflow: auto;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
}
.styled-select-list  option::selection,
.styled-select-list option:hover {
    background-color: lightgray;
}

.styled-select-list select option {
    padding-top: 0.6em;
    overflow: hidden;


}


.styled-select-list.slate {
    /*background: url(http://i62.tinypic.com/2e3ybe1.jpg) no-repeat right center;*/
    /*height: 34px;*/
    width: 180px;

}

.styled-select-list.slate select {
    border: 1px solid #ccc;
    font-size: 16px;
    height: 34px;
    width: 100%;
    text-transform: uppercase;
}

.styled-select-title {
    border-top: 1px solid #2e2d2d;
    border-bottom: 1px solid #2e2d2d;
    /*margin-left: 25px;*/
    width: 65px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 0.7em;
    letter-spacing: 0.2em;
    line-height: 1.25;
    padding-top: 3px;
}

.styled-select-triangle {
    position: absolute;
    left: -10px;
    top: 60px;
    width: 0;
    height: 0;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    border-left: 8px solid #2e2d2d;
    z-index: 100;
}
/*

select
{
width: 200px;
height: 29px;
border-radius: 3px;
border: 1px solid #CCC;
font-weight: 200;
font-size: 15px;
font-family: Verdana;
box-shadow: 1px 1px 5px #CCC;
}
select: hover
{
width: 200px;
height: 29px;
border-radius: 3px;
border: 1px solid #CCC;
font-weight: 200;
font-size: 15px;
font-family: Verdana;
box-shadow: 1px 1px 5px #CCC;
}

*/





/*------------ Centering ---------*/

.center-wrapper {
    display: table;
}
.vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-bottom: 0;
    padding-top: 0;
}

.vertical-bottom {
    display: table-cell;
    text-align: center;
    vertical-align: bottom;
}




/*------------ Input boxes styles ---------*/



.input-box {
    box-sizing: content-box;
    display: inline-block;
    width: 250px;
    padding: 5px 20px;
    border-radius: 0px;
    color: rgb(7, 105, 144);
    text-overflow: clip;
    background: rgb(248, 248, 248);
    /*box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.2);*/
    transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
}

.input-box:focus {
    /*box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.2) inset;*/
    box-shadow: inset 0 0 0 5px rgba(48, 113, 169, 0.52);
    /*box-shadow: inset 0 0 0 5px rgba(128, 128, 128, 0.54);*/
}

input[type='text'] {
    width: 200px;
    height: 29px;
    border-radius: 3px;
    border: 1px solid #CCC;
    padding: 8px;
    font-weight: 200;
    font-size: 15px;
    /*box-shadow: 1px 1px 5px #CCC;*/
    border: 1px solid #2e2d2d;
    margin-bottom: 10px;
    background-color: transparent;
}

input[type='text']:hover {
    width: 200px;
    height: 29px;
    border-radius: 3px;
    border: 1px solid #aaa;
    padding: 8px;
    font-weight: 200;
    font-size: 15px;
    /*box-shadow: 1px 1px 5px #CCC;*/
}
/*CSS for textarea*/

textarea {
    width: 200px;
    height: 90px;
    border-radius: 3px;
    border: 1px solid #CCC;
    padding: 8px;
    font-weight: 200;
    font-size: 15px;
    box-shadow: 1px 1px 5px #CCC;
    background: transparent;
}

textarea:hover {
    width: 200px;
    height: 90px;
    border-radius: 0px;
    border: 1px solid #aaa;
    padding: 8px;
    font-weight: 200;
    font-size: 15px;
    box-shadow: 1px 1px 5px #CCC;
}
/**************** Scroll ********************/

body::-webkit-scrollbar {
    width: 1em;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
    outline: 1px solid slategrey;
}
/*------------ Colors ---------*/

.orange {
    color: #db3007;
    font-weight: bolder;
}

.blue {
    /* #3f3fff */
    color: #0030fa;
}

.gray {
    color: rgb(98, 98, 98);
}

.darkgray {
    color: #2e2d2d;
}

.lightgray {
    color: #808080;
}

.lightwhite {
    color: #e7e5e5;
    color: #eee;
}

.cyan {
    color: #20b2aa;
}

.yellow {
    color: #f2c018;
}

.green {
    color: #107b34;
}

.red {
    color: #d30b0b;
}

.purple {
    color: #710471;
}

.white {
    color: #ffffff;
}

.hebrew {
    direction: rtl;
    text-align: right;
    display: block;

    line-height: 1.3;
    font-size: 1.1em;
    font-family: Alef, sans-serif;
    letter-spacing: normal;
}
