/*
*::selection{
  outline: none;
}*/

/*MENU*/
.nav{
  text-align: right;
  height: 8	px;
  line-height: 70px;
  position: relative;
  z-index: 999; background:#20377D;
}

.menu{
  margin: 0 auto 0 auto;
  font-size:1rem; font-weight:600; padding-top:0.25rem;
}

.menu a{
  clear: right;
  text-decoration: none;
  color: #fff;
  margin: 0 10px;
  line-height: 60px;
  text-transform: uppercase;
  transition: all 250ms ease; width:100%;
}
.menu a:hover { color:#43fdb9; }
.logo a { line-height: normal; }
.logo{
  margin:0.5rem 0 0 0;
  float: left; text-align:left;
  position: relative;
  z-index: 999; line-height:normal;
}

@keyframes strike{
  0%   { width : 0; }
  100% { width: 100%; }
}

.strike {
  position: relative;
}

.strike:hover:after {
  content: ' ';
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FEFFFF;
  animation-name: strike;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}


.nav label{
  margin: 0 20px 0 0;
  font-size: 26px;
  line-height: 70px;
  display: none;
  width: 26px;
  float: right;
  color: #fff;
}

#toggle{
  display: none;
}

.fixed{
  background-color: #FEFFFF;
}



@media screen and (max-width: 950px){
  .portafolio-container{
    flex-flow: column wrap;
    align-items: center;
  }
  
  .portafolio-item{width: 80%; margin-top: 10px;}
}

@media screen and (max-width: 950px){
  .text{flex-direction: column;}
  .inner-content{flex-flow: column wrap;}
  .boxy:nth-child(1),.boxy:nth-child(2){width: 90%;}/*GENERA PROBLEMA*/
  .boxy:nth-child(1){padding: 10px;}
  #slider{margin-left: -55px;}
}

@media only screen and (max-width: 768px){
  .nav label{
    display: block;
    cursor: pointer;
  }
  .menu{
    text-align: center;
    width: 100%;
    display: none;
  }
  .menu a{
    display: block;
    border-bottom: 1px solid #EAEAEB;
    margin: 0;
    color: #253137;
  }
  #toggle:checked + .menu{display: flex; flex-wrap:wrap; background-color: #FEFFFF;}
}

@media screen and (max-width: 500px){
  #slider{margin-left: -55px;}
  .photo-text h4{font-size: 45px;}
  .inner-text{width: 80%;}
  
}

@keyframes slider{
  0%{left: 0; opacity: 0;}
  20%{left: 0; opacity: 1;}
  25%{left: -100%; opacity: .8;}
  45%{left: -100%; opacity: .8;}
  50%{left: -200%; opacity: .7;}
  70%{left: -200%; opacity: .7;}
  75%{left: -300%; opacity: .6;}
  95%{left: -400%; opacity: .6;}
  100%{left: -400%; opacity: 1;}
}