
/*-orange color: #e67e22 or rgb(230, 126, 34) */
/* gray color: #44546a or rgb(68, 84, 106) */

/*-------------------------------------*/
/*Basic*/
/*-------------------------------------*/

*{
  /* margin: 0;
  padding: 0; */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body{
  color: rgb(68, 84, 106);
  font-weight: 500;
  font-size: 20px;
  text-rendering: optimizeLegibility;
  /* overflow-x: hidden; */
  margin: 0px;
  height: 100%;
  /* smoths scroll between sections */
  scroll-behavior: smooth;
}


/*-------------------------------------*/
/*fonts*/
/*-------------------------------------*/


p{
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 22px;
}

h1{
  font-family: 'East Sea Dokdo', cursive;
  color: rgb(68, 84, 106);
  font-weight: normal;
  word-spacing: 4px;
  letter-spacing: 1px;
}

h2{
  font-size: 180%;
  word-spacing: 2px;
  text-align: center;
  letter-spacing: 1px;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: 'East Sea Dokdo', cursive;
  color: rgb(68, 84, 106);
  font-weight: 500;
  font-size: 20px;
}

h3{
  font-size: 110%;
  margin-bottom: 15px;
}


/*-------------------------------------*/
/*Structure components*/
/*-------------------------------------*/

/*-------------- Header */


.row-nav{
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  padding-left: 5%;
  padding-right: 5%;
}

.color-nav{
}

.header-back{
  position: fixed;
  top: 0;
  left: 0;
  /* height of the margin-top */
  height: 20vh;
  width: 100%;
  /* it ensures that navigation bar is above everything! */
  z-index: 9999;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  justify-content: space-between;
}

.logo {
    max-height: 18vh;
    float: right;
    margin-top: 1vh;
    margin-right: 10px;
}

/* Main navi*/

.main-nav{
    float: left;
    list-style: none;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    padding-left: 0px;
    /* margin-top: 15vh; */
    /* width: 80%; */
}

.main-nav li{
    display: inline-block;
    margin-left: 40px;
}

.main-nav li p{
  font-size: calc(8px + 0.3vw);
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: rgb(68, 84, 106);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;

}

.main-nav li a:hover,
.main-nav li a:active {
    /* border-bottom: 5px solid rgb(230, 126, 34); */
    color:  rgb(230, 126, 34);

}

/* Mobile navi*/
.mobile-nav-btn{
  z-index: 10;
  border: none;
  background: none;
  cursor: pointer;

  display: none;
  float: right
}

.mobile-nav-icon{
  z-index: 10;
  height: 1.8rem;
  width: 1.8rem;
  color: #44546a;
  margin-left: 0.5rem;
  margin-top: 1rem;
}

.mobile-nav-icon[name="close-outline"]{
  display: none;
}

/* Sticky navi*/
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}

.sticky .main-nav{ margin-top: 18px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}

.sticky .logo { display: none; }
.sticky .logo-black { display: block; }


/*-------------- section 1 - hero */

.hero{
  /* background-color: yellow; */
  margin-top: 20vh;
  height: 80vh;
  /* estabilish that a maximum height of 80% of 800 */
  max-height: 740px;
  width: 100%;
  /* center elemnts - image */
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-center{
  width: 95%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: flex-end
}


.hero_text{
  line-height: 1;
  font-size: calc(55px + 3.5vw);
}


.btn:link,
.btn:visited {
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    -webkit-transition: background-color 5s;
    transition: background-color 5s;
    box-shadow: 1px 4px 7px 0 rgb(230 126 34 / 75%);
    color: rgb(68, 84, 106);
    font-size: calc(8px + 1vw);
    text-align: center;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
  background-image: linear-gradient(to right, rgba(#e75516, 0.52), #e67e22, #e67e22, rgba(#e75516, 0.52));
  box-shadow: 0 4px 15px 0 rgba(230, 126, 34, 0.75);
  color: rgb(230, 126, 34);
}

/*-------------- section 2 and 3 */
.mobile{
  display: none;
}

.row{
  max-width: 90%;
  margin: 0 5%;
  /* total height of the screen */
  height: 100vh;
  /* estabilish that a maximum height of 800 */
  /* don't use  max-height: 800px because will ruin the format up a certain level */
}

.color{
  /* background-color: blue; */
  /* border: solid 1px red; */
}

.color1{
  background-color: red;
}

/*  */
.box-left,
.box-right {
  /* background-color: yellow; */
  margin-top: 20vh;
  height: 80vh;
  /* estabilish that a maximum height of 80% of 800 */
  max-height: 740px;
  width: 50%;
  float: left;
  /* center elemnts - image */
  display: flex;
  justify-content: center;
}

.box-left-img,
.box-right-img {
  /* automatic creates margin of 5% in each side */
  margin: auto;
  /* image size relative to div */
  width: 100%;
  z-index: 1;
}

.box-right-box-text,
.box-left-box-text {
  margin: 5% auto;
  width: auto;
  height: 70vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.box-right-text,
.box-left-text{
  margin: 5% 0% 5% 5%;
  /* background-color: grey; */
}

.box-right-box-text h1,
.box-left-box-text h1 {
  font-size: calc(51px + .5vw);
  height: 1%;
}

.box-right-box-text pre,
.box-left-box-text pre {
  font-family: monospace, monospace;
  font-size: calc(12px + .2vw);
  line-height: calc(4px + 1vw);
}

.box-right-text a:link,
.box-right-text a:visited,
.box-left-text a:link,
.box-left-text a:visited {
    color: #e67e22;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #e67e22;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

/* section 4 about gallery */
.c-gallery-about {
    float: left;
    grid-auto-rows: min-content;
    grid-template-columns: repeat (2, 1 fr);
    grid-template-rows: repeat (2, 1 fr);
    display: grid;
    grid-gap: 10px;
    grid-template-areas:
    "A B"
    "C B";
}

.c-gallery-about .grid-item:first-child {
    width: 100%;
    grid-area: A;
    position: relative;
    border-radius: 100px 0px 0px 0px;
}

.c-gallery-about .grid-item:nth-child(2) {
    width: 100%;
    grid-area: B;
    position: relative;
    border-radius: 0px 100px 100px 0px;
}
.c-gallery-about .grid-item:nth-child(3) {
    width: 100%;
    grid-area: C;
    position: relative;
    border-radius: 0px 0px 0px 100px;
}

.box-right-box-text a{
  width: 40%;
}


/* section 5 - work */

.container-work{
  margin-top: 20vh;
  height: 80vh;
  width: 100%;
  /* background-color: red; */
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.container-work1,
.container-work2 {
  position: relative;
  height: 65vh;
  width: 45%;
  /* background-color: yellow; */
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.box-work1 h1,
.box-work2 h1 {
  margin: 10px 0px 0px 0px;
}


.box-work-img{
  /* background-color: #44546a;
  height: 99.9%;
  width: 100%;
  object-fit: fill; */
}

.work-img{
  width:100%;
  height: 100%;
  object-fit: fill;
  opacity:1;
  visibility: visible;
  transition: All 0.5s;
  z-index: 1;
  position: absolute;
  bottom: 0px;
  background-color: white;
}

.work-img:hover{
  opacity:0;
  visibility: hidden;
}

.work-img:hover + .work-text {
  opacity:1;
  visibility: visible;
}

.work-text{
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgb(68, 84, 106);
  padding: 10%;
  /* opacity:0;
  visibility: hidden; */
  z-index: -1;
}

/* .work-text:hover{
  opacity:1;
  visibility: visible;
} */


.work-text h3,
.work-text h6,
.work-text p {
  color: white;
  line-height: calc(5px + 1.5vw);
  padding: 0px;
  margin: 0px;
}

.work-text h3,
.work-text h6{
  font-size: calc(12px + 1vw);
}

.work-text p{
  font-size: calc(9px + 0.3vw);
}



/* --------------Footer */


.row-footer{
  max-width: 100%;
  /* total height of the screen */
  height: 100vh;
}

.color-footer {
  background-color: rgb(68, 84, 106);
}

.box-center-footer{
  width: 95%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.box-center-footer1{
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin: auto;
}

/* teaser */
#title-footer{
  font-size: calc(35px + 3.5vw);
  color: white;
}

/* form */
.contact-form{
    font-family: 'Montserrat', sans-serif;
    min-width: 50%;
}

input[type=text],
input[type=email],
select,
textarea {
    font-family: 'Montserrat', sans-serif;
    width:100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin: 5px auto;
}

textarea{
    height: 100px;
}

.contact-form input[type=submit]{
    background-color: #44546a;
    border-color: #e67e22;
    float: right;

    padding: 20px auto;
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: calc(16px + 1vh);
    font-weight: 500;
    border: 1px solid white;
    border-radius: 100px;
    transition: background-color 5s;
    margin: 15px 0px;
}


.contact-form input[type=submit]:hover {
  border-color: #44546a;
  box-shadow: 0px 1px 15px 1px rgb(255 255 255);
}

.btn_submit{
  position: relative;
  padding-top: 10px;
}

*:focus{outline: none;}
.btn_submit:link, .btn_submit:visited, input[type=submit] {
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    -webkit-transition: background-color 5s;
    transition: background-color 5s;
    width: 40%;
}

/* second button -round  */

.box-btn1{
  height: 20%;
  width: 100%;
}

.btn1:link,
.btn1:visited {
    /* padding: 2vh 2vh; */
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    -webkit-transition: background-color 5s;
    transition: background-color 5s;
    box-shadow: 0px 0px 0px 3px rgb(230 126 34 / 75%);
    width: 10%;
    color: white;
    color: rgb(230, 126, 34);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    margin-bottom: 10vh;
    margin: auto;
    max-width: 70px;
    max-height: 70px;
}

.btn1-full:link,
.btn1-full:visited,
input[type=submit] {
  /* margin-right: 560px; */
  position: inherit;
  top: 570px;
  left: 900px;
  float: left;
}

.btn1-ghost:link,
.btn1-ghost:visited {
    border: 1px solid rgb(230, 126, 34);
}

.btn1:hover,
.btn1:active,
input[type=submit]:hover,
input[type=submit]:active {
  background-image: linear-gradient(to right, rgba(#e75516, 0.52), #e67e22, #e67e22, rgba(#e75516, 0.52));
  box-shadow: 0 4px 15px 0 rgba(230, 126, 34, 0.75);
    /* background-color: linear-gradient rgb(230, 126, 34, 0.6); */
}

.btn-full1:hover,
.btn-full1:active {
    border: 1px solid rgba(255, 255, 255, 0);
}

/* footer */

.line-footer{
  color: white;
  border-top: 0.1px dotted #8c8b8b;
  border-bottom: 0px;
}
.notes-footer{
  color: white;
  font-size: calc(8px + 1vh);
  font-weight: 100;
}


/* ********************************* */
/* shopify lab */
/* ********************************* */

.row-lab{
  max-width: 90%;
  /* margin center the folders */
  margin: 0 10%;
  /* total height of the screen because div are absolute!*/
  /* nav = 20 + white space 10vh + 25 intro + (30x3)+ (15x1) + 40ch post height + white space 10vh  */
  height: 290vh;
  /* estabilish that a maximum height of 800 */
  /* don't use  max-height: 800px because will ruin the format up a certain level */
  /* the div before absolute must be relative so the absolute stays inside of it! */
  position: relative;
}

.color-lab{
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid #fff;
  /* background-color: green; */
  /* border: solid 5px red; */
}

.box-center-lab,
.box-center-lab1,
.box-center-lab2,
.box-center-lab3,
.box-center-lab4,
.box-center-lab5,
.box-center-lab6,
.box-center-lab7  {
  /* is 100% because is inside of relative */
  width: 100%;
  height: 40vh;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 0;
}

/* description of the lab */
.box-center-lab{
  border-radius: 20px 20px 0px 0px;
  /* begining*/
  top: 30vh;
  background-color: rgba(68, 84, 106, 0.2);
  border: 3px solid rgba(68, 84, 106, 0.3);
  z-index: -1;
}

.box-center-lab1{
  /* post +15vh before*/
  top: 55vh;
  background-color: rgba(68, 84, 106, 0.6);
  border: 3px solid #44546a;
}

.box-center-lab2{
  /* category name +25vh */
  top: 70vh;
}

.box-center-lab3{
  /* post +30vh */
  top: 100vh;
}

.box-center-lab4{
  /* post +30vh */
  top: 130vh;
}

.box-center-lab5{
  /* post +30vh */
  top: 160vh;
}

.box-center-lab6{
  /* post +30vh */
  top: 190vh;
}

.box-center-lab7{
  /* post +50vh */
  top: 230vh;
}


.row-post{
  /* total height of the screen */
  /* nav = 20 + white space 10vh + 25 intro + (30x3)+ (15x1) + 40ch post height + white space 10vh  */
  /* height: 210vh; */
  /* margin auto size without overhead others */
  height: auto;
  max-width: 80%;
  /* margin center the folders */
  margin: 0vh auto 10vh auto;
}

.lab-hero-glass {
  /* backdrop-filter: blur(3px) saturate(100%) contrast(45%) brightness(130%); */
	box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.8);
  /* font-family: 'East Sea Dokdo', cursive;
  line-height: 1;
  font-size: 270%; */
}


.text-left-lab{
  position: absolute;
  top: 0%;
  left: 0%;
  padding: 3% 1% 1% 3%;
  color: black;
  z-index: 1;
}

.intro{
  width: 90%;
}

.chapter{
  width: 90%;
}

.intro-posts{
  width: 55%;
}

.text-left-lab h1{
  color: rgb(230, 126, 34);
  font-size: calc(16px + 1.5vw);
  margin: 0px;
}

.text-left-lab h2{
  text-align: left;
  color: rgb(68, 84, 106);
  font-size: calc(12px + 1vw);
  margin: 0px;
}

.text-left-lab p{
  color: rgb(68, 84, 106);
  font-size: calc(11px + 0.2vw);
  line-height: 1.2rem;
  margin: 0px;
}

.text-left-lab p.post-date{
  font-size: calc(8px + 0.1vw);
}

.text-left-lab.chapter h1{
  color: rgb(255 255 255);
}

.text-left-lab a{
  text-decoration: none;
}

.img-right-position{
  position: absolute;
  top: 5%;
  right: 2%;
  float: right;
  max-width: 40%;
}

.img-right-efects{
  box-shadow: 0px 0px 0px rgba(0,0,0,0.9);
  -webkit-filter:   contrast(100%) grayscale(0%) hue-rotate(0deg) invert(0%) opacity(100%) saturate(100%) sepia(10%);
          filter:   contrast(100%) grayscale(0%) hue-rotate(0deg) invert(0%) opacity(100%) saturate(100%) sepia(10%);
}
.img-right-efects1{
  box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
  -webkit-filter:   contrast(120%) grayscale(50%) hue-rotate(25deg) invert(0%) opacity(80%) saturate(100%) sepia(10%);
          filter:   contrast(120%) grayscale(50%) hue-rotate(25deg) invert(0%) opacity(80%) saturate(100%) sepia(10%);
}


.lab-img-notes{
  position: absolute;
  bottom: 30%;
  right: 15%;
  font-size: calc(8px + 0.1vw);
  text-decoration: none;
  color: rgba(68, 84, 106);
  font-family: 'Montserrat', sans-serif;
}

/* post page general sctruture */

.box-center-lab-post,
.box-center-lab-post1,
.box-center-lab-post2 {
  /* is 100% because is inside of relative */
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: flex-start;
  /* align-items: flex-start; */
  flex-direction: column;
  z-index: 0;
}


/* description of the lab */
.box-center-lab-post{
  border-radius: 20px 20px 0px 0px;
  /* begining*/
  /* top: 30vh; */
  margin-top: 30vh;
  height: 20vh;
  background-color: rgba(68, 84, 106, 0.2);
  border: 3px solid rgba(68, 84, 106, 0.3);
}

.box-center-lab-post1{
  /* post +15vh before*/
  /* top: 45vh; */
  height: 15vh;
  background-color: rgba(68, 84, 106, 0.6);
  border: 3px solid #44546a;
}

.box-center-lab-post2{
  /* category name +15vh */
  /* top: 60vh; */
  /* adjust paper post size */
  height: auto;
}

.text-left-lab-post{
  padding: 3% 1% 1% 3%;
  color: black;
  z-index: 1;
}

.post-box-center{
  margin: 2%;
  /* width: 90%; */
}

.color-text-post{
  /* border: solid 1px red; */
}

.text-post h1{
  color: rgb(230, 126, 34);
  font-size: calc(16px + 1.5vw);
  margin: 0px;
}

.text-post h2{
  text-align: left;
  color: rgb(68, 84, 106);
  font-size: calc(12px + 1vw);
  margin: 0px;
}

.text-post h3{
  text-align: left;
  color: rgb(68, 84, 106);
  font-size: calc(14px + 1vw);
  margin: 0px;
}

.post-list li,
.text-post p{
  font-family: 'Montserrat', sans-serif;
  color: rgb(68, 84, 106);
  font-size: calc(11px + 0.2vw);
  line-height: 2rem;
  margin: 0px;
}

.text-post.chapter h1{
  color: rgb(255 255 255);
}

.text-post a{
  text-decoration: none;
}

.post-table-legend li,
.post-table-legend p {
  color: rgb(68, 84, 106);
  font-size: calc(10px + 0.2vw);
  line-height: 2rem;
  margin: 0px;
}



/* horizontal list */
.post-table-legend li{
  float: left;
  margin: 0% 1%;
  padding: 0% 1%;
}

.post-table-legend{
  /* background-color: blue; */
  display: inline-block
}

.post-table td{
  vertical-align: top;
}

.post-box-center-inside{
  margin: 2% 2% 0% 2%;
  /* consider all div inside height */
  height: auto;
}

.post-box-center-inside-center{

}
/* left right boxes */
.post-box-center-inside-center1{
  display: flex;
}

.post-box-center-inside-center{
  height: auto;

}

.post-box-center-inside-right{
  width: 60%;
  /* float: right; */
}

.post-box-center-inside-left{
  width: 40%;
  /* float: left; */
}

.post-content-center{
  text-align: center;
}

.img-right-post{
  max-width: 40%;
}

.img-center-post{
  max-width: 80%;
}

.img-table-post{
  max-width: 80%;
  text-align: center;
}

.monitor_frame{
  display: block;
  margin-top: 2vh;
  margin-bottom: 2vh;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  border: solid 1.7em #333;
  border-radius:1.5em;
  background-color: #333;
}

pre code{
  font-family: monospace;
  font-size: calc(8px + 0.4vw);
  line-height: 1.5rem;
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.post-box-center-inside-center pre{
  padding: 2% !important;
  background-color: rgba(68, 84, 106, 0.1);
}


/* OSG scrollbar */

::-webkit-scrollbar {
  width: 20px;
}


::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #bbbbbb;
  background: var(--scrollbarBG);
}

::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  height: 30vh;
  border: 2% solid var(--scrollbarBG);
  background: #e67e22 ;
  border-radius: 10px;
}
