@font-face{
  font-family: 'Font-Content';
  src: url('fonts/page fonts/Exo-ExtraLight.otf');
}

@font-face{
  font-family: 'Font-Second';
  src: url('fonts/page fonts/conthrax-sb.ttf');
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-color: #e1e1e1;
  overflow-x: hidden;
}

footer{
   background-color: #343434;
   color: white;
   padding:2%;
   float: left;
   margin-left: -1vw;
   width: 100vw;
   margin-top: 4vh;
}

#tpar{
text-align: center;
margin: 0;
}
#enlacex, #tpar{
    font-family: 'Font-Content';
    text-decoration: none;
}
#enlacex:hover{
    color: #ce2400;
}

#enlacex{
font-size: 0.9rem;
letter-spacing: 2px;
}


@font-face{
  font-family: 'Font-Content';
  src: url('fonts/page fonts/Exo-ExtraLight.otf');
}

[type="radio"]{
  display: none;
}
label{
  padding: 0.1rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: "Font-Content", "sans-serif";
  line-height: 2;
  margin: 0.3em;
}
[type="radio"]:checked + label{
	background: #a00;
	color: white;
}
[type="radio"]:nth-of-type(2):checked ~ aside .fichass:not(.Apiladores),
[type="radio"]:nth-of-type(3):checked ~ aside .fichass:not(.Estibadores),
[type="radio"]:nth-of-type(4):checked ~ aside .fichass:not(.Mesas),
[type="radio"]:nth-of-type(5):checked ~ aside .fichass:not(.trans)
{
  display: none;
}
aside{
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, 280px);
  grid-auto-rows: 1fr;
  grid-gap: 1rem;
  padding: 0.5rem;
  margin-top: 1rem;
}
.fichass{
  margin: 0;
  background: #c40000;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 0 1px silver;  

}
.fichass:hover{
  box-shadow: 0 0 25px #0009;
}
.fichass__image{
  width: 100%;
  object-fit: cover;
  margin-top: 0;
}
.fichass__caption{
  font-weight: bold;
  font-variant: small-caps;
  text-align: center;
  color: #fff;
  font-family: "Font-Content", "sans-serif";
  line-height: 1.5;
}

/*CODIGO*/

a {
  color: black;
}

a:hover {
  color: #1c1c1c;
}

.italic {
  font-style: italic;
}
.small {
  font-size: 0.8em;
}

/** zoom MARKUP **/

.zoom {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
  width: 100vw;
}

/* Unhide the zoom when it's the target */
.zoom:target {
  display: block;
}

.zoom span {
  display: block;
  height: 95%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  margin-top: 6vh;
}

/* [Object] mostrarph
 * =============================== */
.mostrarph {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgba(0,0,0, .9);

}

.mostrarph__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.mostrarph-state {
  display: none;
}

.mostrarph-state:checked + .mostrarph {
  opacity: 1;
  visibility: visible;
}

.mostrarph-state:checked + .mostrarph .mostrarph__inner {
  top: -13vh;
}

.mostrarph__inner {

  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 75%;
  margin: auto;
  /*! overflow: auto; */
  border-radius: 5px;
  padding: 1em 2em;
  height: 85%;
}

.mostrarph__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.mostrarph__close:after,
.mostrarph__close:before {
  content: '';
  position: absolute;
  width: 5px;
  height: 1.5em;
  background: white;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.mostrarph__close:hover:after,
.mostrarph__close:hover:before {
  background: #f00;
}

.mostrarph__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	
  .mostrarph__inner {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }
}


/* Other
 * =============================== */
body {
  padding: 1%;
  font: 1/1.5em sans-serif;
  text-align: center;
}

.btn {
  cursor: pointer;
  background: #202020;
  display: inline-block;
  padding: .3em 1em;
  color: #fff;
  border-radius: 3px;
  position: relative;
  top: -7vh;
}

.btn:hover,
.btn:focus {
  background: #ac0000;
}

.btn:active {
  background: #ca0202;
  box-shadow: 0 1px 2px rgba(0,0,0, .2) inset;
}

.btn--blue {
  background: #202020;
}

.btn--blue:hover,
.btn--blue:focus {
  background: #ac0000;
}

.btn--blue:active {
  background: #ac0000;
}

.mostrarph__inner img {
  width: 100%;
  margin-top: 5vh;
}
nav{

  height: 70px;
  width: 100%;
  padding: 14px 30px;
  background-color: #fff;
  overflow-y: hidden;
  position: static;
  margin-bottom: 4vh;

}
nav header{
  display: inline-flex;
  display:-webkit-inline-flex;
}
nav header section{
  position: relative;
  left: 1.5vw;
  margin-top: -2%;
}
nav .nav-links{
  display: flex;
  display:-webkit-inline-flex;
    position:-webkit-relative;
  float:right;
  margin-top: 0.3vh;
  font-size: 14px;
  margin-right: 5vw;
  
  /*! height: 70px; */
}
 
i{
  margin-right: 1vw;
  color: red;
}
nav .nav-links a {
  padding: 10px 12px 4vh;
  text-decoration: none;
    font-family: "Font-Content", "sans-serif";
  font-weight: 550;
  color: #222;
}
/* Hover effects */
  .nav-links a:hover{
  color: red;
}
 
/* responsive navbar toggle button */
nav #nav-check, nav article{
  display: none;
}

a {
  margin-right: 6.5vw;
}


@media (max-width:1176px) {
  
.mostrarph-state:checked + .mostrarph .mostrarph__inner {
  top: -9vh;
}
  nav article{
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0px;
    overflow-y: hidden;
    
  }
  nav article label {
    display: inline-block;
    width: 70px;
    height: 61px;
    padding: 25px;
    margin-top: 1vh;
  }
  nav article label span {
    display: block;
    height: 10px;
    width: 25px;
    border-top: 3px solid #1c1c1c;
    /*! overflow-y: hidden; */
    top: -0.5vh;
    position: relative;
  }
  nav article label:hover, nav #nav-check:checked ~ article label {
    background-color: rgb(244, 244, 244);
    overflow-y: hidden;
  }
 
  
  nav .nav-links{
    position: absolute;
    display: block;
    /*! text-align: center; */
    width: 100%;
    background-color: rgb(38, 38, 38);
    transition: all 0.3s ease-in;
 opacity: 0;
    top: 73px;
overflow-y: hidden;
    margin: 0;
  }
  nav .nav-links a {
    display: block;
  }
 
  /* when nav toggle button not checked */
  nav #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
    
  }
 
  /* when nav toggle button is checked */
  nav #nav-check:checked ~ .nav-links {
    height: calc(100vh - 450px);
    opacity: 1;
    display: block;
  }
  nav .nav-links {
    padding: 5vh 5px;
    margin: 0;
    font-size:  25px;
    font-weight: bold;
    color: rgb(9, 14, 90);
    text-align: center;
    display: none;
  }
  nav .nav-links a{
    color: white;
  }
  
  nav{
    padding: 0;
  }
  
  nav header section{
    display: flex;
    position: relative;
    justify-content: center;
    top: 1.3vh;
  }

}

@media (min-width:351px ) and (max-width:400px) {
  #social{
    display:none;
  }
 img{
  width: 70%;
   margin-left: 0;
  }
  
  nav .nav-links {
    font-size: 1.2em;
  }
   nav header section{
    left:-4vw;
  }
  
}

@media (min-width:300px ) and (max-width:350px) {
  
 img{
  width: 70%;
   margin-top: 0.4vh;
  }
  
   nav .nav-links {
    font-size: 1em;
  }
  nav header section{
    left:-7vw;
  }
    #social{
    display:none;
  }
}

@media (min-width:400px) and (max-width:450px) {
   
    #tpar{
        font-size: 0.6rem;
    }
    
}
@media (min-width:451px) and (max-width:500px) {
 
    #tpar{
        font-size: 0.5em;
    }
    
}
@media (min-width:501px) and (max-width:800px) {

#tpar{
        font-size: 0.6em;
    }   
}
@media (min-width:350px) and (max-width:399px) {

    #tpar{
        font-size: 0.5em;
    }
}

@media (min-width:300px) and (max-width:349px) {

    #tpar{
        font-size: 0.3em;
    }
}


@media (min-width:1176px) and (max-width:1920px) {

    #tpar{
        font-size: 0.9em;
    }
}
