/* HOME */

 @font-face{ 
	font-family: 'Blocus';
	src: url('blocuswebfont.eot');
	src: url('blocuswebfont.eot?#iefix') format('embedded-opentype'),
	     url('blocuswebfont.woff') format('woff'),
	     url('blocuswebfont.ttf') format('truetype'),
	     url('blocuswebfont.svg#blocuswebfont') format('svg');
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #F50000;
  background-color: #FEF8F8;
}

::selection {
  background: #ffb7b7; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #ffb7b7; /* Gecko Browsers */
}

/* GENERAL */

h1{
  font-family: 'Blocus', Arial, sans-serif;
  font-size: 15rem;
}

h2{
  font-family: 'Blocus', Arial, sans-serif;
  letter-spacing: 0.07em;
  font-size: 4rem;
  /* line-height: 12vh; */
  /* font-weight: 600; */
}

h3{
  font-size: 1.3rem;
  font-weight: 400;
}

a {
  color: #F50000;
  text-decoration: none;
  transition: all .35s;
}

a:hover, a:focus {
  color: #F50000;
  opacity: 0.5;
  text-decoration: none;
  transition: all .35s;
}

.prj a:hover{
  opacity: 1;
}

/* svg{
  fill: #F50000;
  opacity: 1;
}

svg:hover{
  fill: black;
  opacity: 1;
} */

a h2{
  color: #F50000;
  text-decoration: none;
  transition: all .35s;
  -webkit-text-stroke: 1px #F50000;
  font-size: 70px;
  letter-spacing: 0.04em;
}

a h2:hover{
  color: #FEF8F8;
  text-decoration: none;
  -webkit-text-stroke: 1px #F50000;
  transition: all .35s;
}

.logo{
  margin-bottom: 1rem;
  margin-left: -18px;
}

button{
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
  outline: inherit;
  transition: none;
}

.btn{
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.btn:hover{
  color: #F50000;
}

.btn:focus{
  box-shadow: none;
}

/* SIDENAV */

.b-menu{
  font-size:30px;
  cursor:pointer;
  position: absolute;
  top: 2rem;
  right: 2rem;
  /* display: none; */
}

.b-menu2{
  font-size:30px;
  cursor:pointer;
  position: absolute;
  top: 114vh;
  right: 2rem;
  display: none;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
  background-color: #ffa4a4;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 40px;
  text-decoration: none;
  /* font-size: 25px; */
  /* color: #818181; */
  display: block;
  transition: 0.3s;
  font-weight: 700;
}

/* .sidenav a:hover {
  color: #f1f1f1;
} */

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 34px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* ANIMATION */

.splash{
  /*animation-name: ardere;
  animation-duration: 3s;
  animation-delay: 4s;
  animation-fill-mode: forwards;
   position: absolute;
  z-index: 3; */
  width: 100%;
}

.sp{
  animation-name: ardere;
  animation-duration: 5s;
  animation-fill-mode: forwards;
  position: absolute;
  z-index: 2;
  width: 100%;
}

.sp2{
  position: relative;
  /* top: 0;
  left: 0; */
  width: 100%;
}

@keyframes ardere {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.divisp{
  background-image: url(../img/splash.jpg);
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100%;
  top: 0;
  position: absolute;
  z-index: 2;

  animation-name: ardere;
  animation-duration: 5s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

.divi{
  background-image: url(../img/splash-ardere2.jpg);
  background-position: center;
  background-size: cover;
  height: 100vh;
  top: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.container{
  /* z-index: 1; */
  padding-top: 15vh;
  padding-bottom: 16vh;
  min-height: 100vh;
  /* padding-left: 7rem;
  padding-right: 7rem; */
}

.scroll{
  position: absolute;
  right: 1.5rem;
  top: 2vh;
  z-index: 3;
  color: #FF8B8B;
}

/* PROJECT */

.col-lg-10{
  margin-top: -2rem;
  padding-left: 3rem;
}

.link-home{
  display: block;
}

.hpr{
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap; */
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.pr{
  margin-right: 2rem;
  /* margin-bottom: 2rem; */
}

.prj{
  /* width: 200px; */
  margin-bottom: 1.5rem;
}

.prj-content{
  display:none;
  background-color: #FEF8F8;
  padding: 0.2rem;
  transition: all .35s;
}

.prj-content{
  /* max-width: 400px; */
  margin-left: -100px;
}

.prj:hover .prj-content {
  display:block;
  position: absolute;
  transition: all .35s;
}

.pr-img-1{
  background-image: url(../img/unight.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 416px;
  height: 320px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
  /* background-blend-mode: normal;
  background-color: #FEF8F8; */
}

.pr-img-2{
  background-image: url(../img/educativa.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 453px;
  height: 251px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-3{
  background-image: url(../img/lingo.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 332px;
  height: 320px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-4{
  background-image: url(../img/pacto.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 489px;
  height: 275px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-5{
  background-image: url(../img/masc.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 413px;
  height: 284px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-6{
  background-image: url(../img/trabun.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 413px;
  height: 307px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-7{
  background-image: url(../img/otf.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 452px;
  height: 254px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-8{
  background-image: url(../img/barra.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 359px;
  height: 202px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-9{
  background-image: url(../img/revolucion.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 451px;
  height: 254px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-10{
  background-image: url(../img/puertoblest-dark.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 489px;
  height: 275px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.pr-img-11{
  background-image: url(../img/accenture.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 438.5px;
  height: 328.5px;
  position: absolute;
  top: 3px;

  animation-name: ardere;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

/* LINKS */

.links{
  font-weight: 500;
  font-size: 24px;
  margin-right: 1.5rem;
}

/* TAGS */

.tags{
  border: 1px solid #F50000;
  border-radius: 20px;
  font-size: 14px;
  padding: 0.2rem 0.7rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.tags:hover{
  opacity: 0.5;
}

/* HEADER */

header.masthead {
  position: relative;
  width: 100%;
  /* padding-top: 7vh; */
  /* padding-bottom: 100px;  */
}

header.masthead .header-content {
  /* max-width: 752px; */
  /* margin-bottom: 100px; */
  /* text-align: center; */
}

/* FILTERS */
.filterDiv{
  display: none;
  transition: all .35s;
}

.show {
  display: inline-block;
  transition: all .35s;
}

.btn.active {
  background-color: #F50000;
  color: #FEF8F8;
  transition: all .35s;
}

/* PROJECT PAGE 2 */

/* Scrollbar */

.p-img{
  overflow-y: scroll;
  scrollbar-color: rgb(252, 188, 188) #FEF8F8;
  scrollbar-width: thin;
}

.p-img-dark{
  display: none;
  position: relative;
  z-index: 2;
}

.p-text{
  overflow-y: scroll;
  scrollbar-color: rgb(252, 188, 188) #FEF8F8;
  scrollbar-width: thin;
}

.p-text p{
  color: rgba(0, 0, 0, 0.8);
  line-height: 22px;
}

.p-text .red-text{
  color: #F50000;
}

.p-text span{
  color: rgb(236, 84, 84);
}

.p-text h3{
  /* color: rgba(245, 0, 0, 0.8); */
  /* font-size: 1.3rem; */
  padding-top: .5rem;
  color: rgb(236, 84, 84);
}

.p-img::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.p-img::-webkit-scrollbar-track-piece  {
  background-color: #FEF8F8;
}

.p-img::-webkit-scrollbar-thumb:vertical {
  /* height: 30px; */
  background-color: rgb(252, 188, 188);
}

.p-text::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.p-text::-webkit-scrollbar-track-piece  {
  background-color: #FEF8F8;
}

.p-text::-webkit-scrollbar-thumb:vertical {
  /* height: 30px; */
  background-color: rgb(252, 188, 188);
}

/* End scrollbar */

section{
  display: flex;
  flex-direction: row-reverse;
}

section div{
  overflow: auto;
  height: 100vh;
}

section .p-text{
  padding: 2rem 6rem 4rem 4rem;
  width: 40vw;
}

section .p-img{
  /* height: 100vh; */
  width: 60vw;
}

section img{
  width: 60vw;
}

section a{
  font-weight: 700;
  /* margin-right: 1rem; */
}

.link-inside {
  font-weight: 700;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.p-menu{
  position: fixed;
  z-index: 3;
  width: 40vw;
  bottom: 0;
  background-color: #FEF8F8;
  height: 8vh;
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.p-link-n{
  margin-left: 4rem;
}

.p-logo-div{
  overflow: auto;
  height: auto;
}

.p-logo{
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 5rem;
  height: 5rem;
}

.p-logo2{
  display: none;
  justify-self: end;
  margin-right: 2vw;
}

.p-logo3{
  display: none;
  margin-left: -8px;
  margin-bottom: 1rem;
}

.p-logo-menu{
  position: absolute;
  top: 6.5rem;
  left: 2.5rem;
  display: none;
  height: 118px;
}

.p-logo-menu a{
  font-weight: 700;
}

.p-logo-div:hover .p-logo-menu{
  display: block;
  position: absolute;
}

.p-text h2{
  line-height: 4rem;
}

/* ABOUT */
.a-img{
  background-image: url(../img/merida-pic.jpg);
  background-size: contain;
  background-position: center;
  background-blend-mode: multiply;
  background-color: #FEF8F8;
  background-repeat: no-repeat;
  width: 426px;
  height: 537px;
  position: sticky;
  position: -webkit-sticky;
  top: 12vh;
  margin-left: 10vw;
}

.a-img2{
  background-image: url(../img/fire.png);
  background-size: contain;
  background-position: center;
  /* background-blend-mode: difference;
  background-color: red; */
  background-repeat: no-repeat;
  width: 426px;
  height: 537px;
  position: sticky;
  position: -webkit-sticky;
  top: 12vh;
}

.a-row{
  display: flex;
  flex-direction: row;
  /* max-width: 900px; */
}

.a-divi{
  width: 50%;
}

.a-container{
  padding-top: 16vh;
}

.a-row:nth-child(even){
  flex-direction: row-reverse;
}

.a-phrase{
  font-family: 'Blocus', Arial, sans-serif; 
  font-size: 10rem;
  line-height: 12rem;
}

.a-row p{
  color: rgba(0, 0, 0, 0.8);
  line-height: 22px;
}

.link-inside{
  color: #F50000;
  line-height: 2rem;
}

.a-row .red-text{
  color: #F50000;
}

.a-row span{
  color: rgba(245, 0, 0, 0.8);
}

/* .a-row h2{
  font-family: Inter, sans-serif;
  font-size: 2.5rem;
  letter-spacing: normal;
  font-weight: 400;
} */

.a-d{
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* IN PROGRESS */
.inp-phrase{
  font-family: 'Blocus', Arial, sans-serif; 
  font-size: 4rem;
  line-height: 5rem;
  letter-spacing: 0.02em;
  max-width: 55vw;
}

/* Dark mode */

.dm{
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
  outline: inherit;
  
  position: absolute;
  right: 2rem;
  transition: all .35s;
  width: 26px;
  /* margin-right: 2vw; */
  top: 2rem;
}

.dm:hover{
  cursor: pointer;
  color: black;
  transition: all .35s;
  border: none;
}

.dark-mode{
  background-color: black;
  color: #ffa4a4;
  transition: all .35s;
}

.dark-mode a{
  /* color: #ffa4a4; */
}

.dark-mode button{
  color: black;
  transition: all .35s;
}

.dark-mode a h2:hover{
  color: black;
  -webkit-text-stroke: 1px #ffa4a4;
}

.dark-mode h2{
  color: #ffa4a4;
  -webkit-text-stroke: 1px #ffa4a4;
}

.dark-mode .prj-content{
  background-color: black;
  padding: 0.2rem;
  transition: all .35s;
}

.dark-mode .tags{
  border: 1px solid #ffa4a4;
  color: #ffa4a4;
}

.dark-mode .btn.active {
  background-color: #ffa4a4;
  color: black;
  transition: all .35s;
}

.dark-mode .divi{
  background-image: url(../img/splash-ardere-invert.jpg);
}

.dark-mode .p-menu{
  background-color: black;
}

/* .dark-mode img{
  -webkit-filter: invert(100%);
  filter: invert(100%);
} */

.dark-mode .a-img{
  background-color: #ffa4a4;
  background-blend-mode: color-burn;
}

.dark-mode .p-img{
  display: none;
}

.dark-mode .p-img-dark{
  display: block;
}

.dark-mode .p-text p{
  color: #ffa4a4;
}

.dark-mode .a-row p{
  color: #ffa4a4;
}

/* .dark-mode .sidenav{
  background-color: ;
} */

/* Scrollbar dark mode*/

.dark-mode .p-img{
  overflow-y: scroll;
  scrollbar-color: rgb(121, 78, 78) black;
  scrollbar-width: thin;
}

.dark-mode .p-text{
  overflow-y: scroll;
  scrollbar-color: rgb(121, 78, 78) black;
  scrollbar-width: thin;
}

.dark-mode .p-img::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.dark-mode .p-img::-webkit-scrollbar-track-piece  {
  background-color: black;
}

.dark-mode .p-img::-webkit-scrollbar-thumb:vertical {
  /* height: 30px; */
  background-color: rgb(121, 78, 78);
}

.dark-mode .p-text::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.dark-mode .p-text::-webkit-scrollbar-track-piece  {
  background-color: black;
}

.dark-mode .p-text::-webkit-scrollbar-thumb:vertical {
  /* height: 30px; */
  background-color: rgb(121, 78, 78);
}

/* End scrollbar */

/* MEDIA QUERIES */

@media (max-width: 1200px) {
  section .p-text{
    padding: 2rem 6rem 4rem 4rem;
    width: 50vw;
  }
  
  section .p-img{
    /* height: 100vh; */
    width: 50vw;
  }

  section img{
    width: 50vw;
  }

  .p-menu{
    width: 50vw;
  }
  .a-phrase{
    font-size: 8rem;
    line-height: 9rem;
  }
  .dm{
    display: none;
  }
  .b-menu {
    display: block;
    z-index: 2;
  }
  .p-logo{
    display: none;
  }

  .col-lg-10{
    max-width: 70%;
    padding-left: 0rem;
    margin-top: 2rem;
  }
  .col-sm{
    margin-left: 2rem;
    margin-top: 2rem;
  }
  a h2{
    font-size: 60px;
  }
  .container {
    padding-top: 1vh;
    padding-bottom: 10vh;
    max-width: 100vw;
  }
  .a-container{
    padding-top: 3rem;
    padding-left: 3rem;
  }
  .prj{
    margin-bottom: 0;
  }
  /* .prj:hover .prj-content {
    display:none;
  } */
  .b-menu2 {
    display: block;
    top: 103vh;
    z-index: 2;
  }
}

@media (max-width: 920px) {
  section{
    display: block;
  }

  section div{
    overflow: auto;
    height: auto;
  }

  section .p-text{
    width: 100vw;
    padding: 1.5rem 4rem 2rem 2.5rem;
  }

  .p-text h2{
    font-size: 3.5rem;
    line-height: 9vh;
    max-width: 250px;
  }

  section .p-img{
    width: 100vw;
    margin-bottom: 10vh;
  }

  section img{
    width: 100vw;
  }

  .p-menu{
    width: 100vw;
  }

  .p-link-n{
    margin-left: 2.5rem;
  }

  .container{
    padding-top: 10vh;
  }
  
  .p-logo2{
    display: block;
    justify-self: end;
    margin-right: 5vw;
  }
  .p-logo3{
    display: block;
    width: 80px;
  }
  .a-divi{
    width: 100vw;
  }

  .a-row h2{
    font-size: 3.2rem;
  }

  .prj:hover .prj-content {
    display:none;
  }

  .prj:active .prj-content {
    display:none;
  }

  .prj:focus .prj-content {
    display:none;
  }

  .p-br{
    display: none;
  }

  a h2{
    font-size: 50px;
  }

  .col-lg-10{
    margin-top: 0;
    padding-left: 15px;
    max-width: 100%;
    margin-left: 2rem;
  }

  .col-sm{
    max-width: 100%;
    margin-top: 2rem;
    margin-left: 2rem;
  }

  .b-menu2 {
    display: block;
    top: 103vh;
    z-index: 2;
  }
  .link-home{
    display: none;
  }
}

@media (min-width: 992px) {
  .container {
    height: 100vh;
    min-height: 100vh;
    /* padding-top: 16vh; */
  }
  header.masthead .header-content {
    margin-bottom: 0;
    text-align: left;
  }
}

@media (max-width: 992px) {
  .container {
    padding-top: 1vh;
    padding-bottom: 10vh;
    max-width: 100vw;
  }
  .a-container{
    padding-top: 3rem;
    padding-left: 3rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 8vw;
    padding-bottom: 3vh;
    padding-top: 0;
    min-height: 100vh;
  }
  .a-container{
    padding-top: 3rem;
    padding-left: 2.5rem;
  }
  .inp-phrase{
    max-width: 100%;
  }
  .hpr{
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  h2{
    font-size: 2.2rem;
  }
  .pr{
    margin-right: 1rem;
  }
  .tags{
    margin-right: .5rem;
    font-size: .9rem;
  }
  .links{
    font-size: 1rem;
    margin-right: 1rem;
    margin-bottom: .5rem;
    font-weight: 700;
  }
  .logo{
    height: 100px;
    margin-bottom: .2rem;
  }
  .dm{
    margin-right: 10vw;
  }
  .a-img{
    width: 350px;
    margin-left: -15px;
  }
  .a-divi{
    padding-right: 55px;
  }
  .a-phrase{
    font-size: 5rem;
    line-height: 5rem;
  }
  .a-d{
    padding-right: 5vw;
  }
  .a-d2{
    margin-left: -9vw;
    padding-top: 5vh;
  }
  a h2{
    font-size: 40px;
  }
  .a-d{
    padding-top: 0rem;
    padding-bottom: 0rem;
  }  
  .pr{
    margin-bottom: 1rem;
  }
  .col-lg-10{
    max-width: 100vw;
    margin-left: 0;
  }
  .col-sm{
    max-width: 100vw;
    margin-top: 2rem;
    margin-left: 0;
  }
  .b-menu2 {
    display: block;
    top: 103vh;
    z-index: 2;
  }
  .link-home{
    display: none;
  }
}