@charset "utf-8";

* {
  box-sizing: border-box;
}

html, body {
  height:100%;
  margin: 0;
  font-family: Comfortaa, sans-serif;
  background-color: rgb(18, 25, 31);
  overflow: hidden;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

a, a:hover, a:focus, a:active {
  text-decoration: none;
  color: inherit;
}

#corner-logo {
  opacity: 80%;
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  width: 6%;
  max-width: 100%;
  height: auto;
  z-index: 5;
  cursor: pointer;
}

#corner-logo:hover {
  opacity: 100%;
}

.logo-orange {
  stroke: #ffffff;
  transition: stroke 1s ease;
}

#corner-logo:hover .logo-orange {
  stroke: #f17b3c;
}



footer {
  background-color: rgb(18, 25, 31);
  color: rgb(161, 161, 161);
  text-align: center;
  font-weight: 100;
  height: 1rem;
  /* padding: 1rem 1rem 1rem 1rem; */
  margin-top: 0;
}

footer p {
  position: relative;
  font-size: .5rem;
  top: -.5rem;
}


#grid-container {
  display: none;
}

.row {
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 0px;
  margin-right: -16px;
  margin-left: -16px;
  overflow: hidden;
  
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 8px;
  /* background-color: rgb(211, 55, 44); */
}

.column img {
  margin-bottom: 16px;
  vertical-align: middle;
  width: 100%;
}

/* Darkening images on hover */
.darkener {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.darkener img {
    display: block;
}


.darkener:hover {
    opacity: 0.9;
} 


#intro-menu {
  display: none;
  position: fixed;
  flex-direction: row;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  justify-content: center;
  background-color:rgb(18, 25, 31);
  /* pointer-events: none; */
}

#center-menu {
  position: relative;
  top: 0;
  width: 40%;
  height: 100%;
}

#top-menu{
  position: relative;
  top: 0;
  height: 50%;
}

.logo-wrapper {
  display: none;
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

#bottom-menu {
  position: relative;
  bottom: 0;
  height: 50%;
  align-content: center;
}

.menu-items {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;

  bottom: 0;
  height: 50%;
  width: 80%;
  
  color: rgb(196, 196, 196);
  font-family: Comfortaa, sans-serif;
  font-size: 2vw;
  letter-spacing: .15em;
  line-height: 13vh;
  text-decoration: none;
}

@keyframes text-reveal {
  100%{stroke-dashoffset:0;}
}

.contact-form-container {
  display: none;

  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: left;

  bottom: 0;
  height: 50%;
  width: 80%;

  color: rgb(196, 196, 196);
  font-family: helvetica,arial,sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: normal;
  /* line-height: 1.4em; */
  text-decoration: none;
}

input[type=text], select, textarea {
  font-family: helvetica,arial,sans-serif;
  font-size: 1rem;
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  background-color: #fbfbfb;
  border-radius: 4px;
  resize: none;
}

input:focus, textarea:focus {
  outline: none;
  /* border: 1px solid rgb(127, 127, 127); */
}

textarea {
  height: 4rem;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

.c-button {
  float: right;
  width: 25%;
  padding: 0.5rem;
  color: #13191E;
  background-color: #9e9e9e;
  border: 12px;
  border-color: #EEEFEF;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 12px;
  margin-left: 12px;
  text-align: center;
  font-family: helvetica,arial,sans-serif;
  font-size: 0.8rem;
}

.c-button:hover {
  background-color: white;
}

.c-button:focus {
  outline: none;
}


/* Full logo */
.path249 {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation-name: text-reveal;
  animation-duration: 2s;
  animation-delay: .2s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
  
}

.path168 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation-name: text-reveal;
  animation-duration: 3s;
  animation-delay: .6s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

/* Corner logo */
.path154 {
  stroke-dasharray: 154 156;
  stroke-dashoffset: 155;
  animation-name: text-reveal;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

@keyframes menu-reveal {
  from {opacity: 0%;}
    to {opacity: 100%;}
}

.fade-in {
  opacity: 0%;
  animation-name: menu-reveal;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

#portafolio {
  opacity: 0%;
  animation-name: menu-reveal;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

#contact-me {
  /* font-size: 1.5vw; */
  opacity: 0%;
  /* font-size: 1vw; */
  animation-name: menu-reveal;
  animation-duration: 1s;
  animation-delay: 1.25s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

.menu-item {
  cursor: pointer;
  transition: color .5s;
}

.menu-item:hover {
  color: rgb(255, 255, 255);
  font-weight:700;
}

@keyframes menu-fade-out {
  from {opacity: 100%;}
    to {opacity: 0%;}
}

.fade-out {
  opacity: 100%;
  animation-name: menu-fade-out;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

/* pview (background) */
.pview {
  display: none;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
  text-align: center;
  cursor: zoom-out;
}

/* pview Content/Box */
.pview-content {
  /*overflow: auto; /* Enable scroll if needed */
  height:100%;
  max-width: 920px;
  margin: 0 auto;
  margin-top: 60px;
  border-radius: 2px;
  cursor: default;
  font-size: 0;
  /* background-color: aliceblue; */
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* padding-top: 56.25%;  */
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe{
  border-style: none;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.insertContainer {
  font-family: helvetica,arial,sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: normal;
  /* line-height: 1.4em; */
  text-decoration: none;
  padding: 2rem;
}

.insertContainer a:hover {
  text-decoration: underline;
}

.lightText {
  background-color: white;
  color: #696969;
  
}

.darkText {
  background-color:#1b1b1b;
  color: white;
}

h1 {
  margin-top: 0px;
  margin-bottom: 0.5em;
}

.videoInsert {
  width: 100%    !important;
  height: auto   !important;
}

.projectImageContainer {
  cursor: zoom-in;
}

/* Light Box (background) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 12;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
  text-align: center;
}

/* Light Box Content */
.lightbox-content {
  /*overflow: auto; /* Enable scroll if needed */
  width: 100%;
  height: 100%;
  margin: 0 auto;
  cursor: default;
  /* position: relative; */
}

.lightboxPicContainer img{
  object-fit: contain;
  width:100%;
  height:100vh;
  /* position: relative; */
}
                   
.prev-panel,
.next-panel {
  z-index: 13;
  height: 100vh;
  opacity: 0%;
  top: 0;
  width: 30vw;
  cursor: pointer;
  position: absolute;
  text-align: center;
}

.prev-panel {
  left: 0;
}

.next-panel {
  right: 0;
}

.prev-arrow {
  left: 0;
}

.next-arrow {
  right: 0;
}

.prev-arrow,
.next-arrow{
  padding: 15px;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -50px;
}

.prev-panel:hover,
.next-panel:hover {
  opacity: 50%;
}


.nav-button {
  opacity: 50%;
  transition: 0.6s ease;
  cursor: pointer;
}

.nav-button:hover,
.nav-button:focus {
  opacity: 100%;
  cursor: pointer;
}

.closex {
  z-index: 14;
  position: fixed;
  height: 15px;
  width: 15px;
  right: 40px;
  top: 20px;
}










/* SELF NOTE: Media screen queries should be at the END!!!!! */

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
  #corner-logo {
    width: 12%;
  }
  #center-menu {
    width: 60%;
  }
  .menu-items {
    font-size: 3vw;
    /* line-height: 4em; */
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
  #corner-logo {
    width: 24%;
  }
  #center-menu {
    width: 80%;
  }
  .menu-items {
    font-size: 6vw;
    /* line-height: 6em; */
  }
}