html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; } body {line-height: 1; } ol, ul {list-style: none; } blockquote, q {quotes: none; } blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none; } table {border-collapse: collapse; border-spacing: 0; }
#size{
  position: fixed;
  color: red;
  z-index: 100;
  top: 30px;
  left: 30px;
  display: none;
}


@font-face {
	font-family: 'Conv_Berthold Akzidenz Grotesk Extended';
	src: url('fonts/Berthold Akzidenz Grotesk Extended.eot');
	src: local('☺'), url('fonts/Berthold Akzidenz Grotesk Extended.woff') format('woff'), url('fonts/Berthold Akzidenz Grotesk Extended.ttf') format('truetype'), url('fonts/Berthold Akzidenz Grotesk Extended.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
a{
  color: #ffffff;
  text-decoration: none;
}
html, body{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  font-family: 'Conv_Berthold Akzidenz Grotesk Extended' !important;
}
#main{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  //*background-image: url('../imgPotet/fondo-web-potet.jpg');*//
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#main > img{
  position: absolute;
  top: calc(30% - 125px);
  left: calc(50% - 125px);
}
#main >h1{
  font-weight: bold;
  display: block;
  font-size: 1.8rem;
  position: absolute;
  width: 300px;
  text-align: center;
  top:  calc(30% + 180px);
  left: calc(50% - 150px);
  line-height: 30px;
  letter-spacing: 1px;
}
#main >h2{
  font-size: 1.6rem;
  letter-spacing: 1px;
  font-weight: bold;
  display: block;
  position: absolute;
  top: calc(30% + 220px);
  left: calc(50% - 150px);
  width: 300px;
  line-height: 50px;
  text-align: center;
    color:#ffffff;
}
#main > div{
  position: absolute;
  width: 60%;
  height: 50px;
  top: calc(40% + 300px);
  left: 15%;
  text-align: center;
  display: block;

  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-flex-direction:row;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  align-items: center;
  -webkit-align-items: center;
}

#main > ul{
  position: absolute;
  left: 25%;
  top: calc(70% + 50px);
  width: 50%;
  height: 80px;
}
#main > ul > li{
  width: 50%;
  height: 100%;
  display: inline-block;
  float: left;
  text-align: center;
}
#main > ul > li > a>img{
  height: 48px;
}
#main > ul > li > a:hover>img{
  opacity: 0.6;
}
footer{
  position: absolute;
  bottom: 1%;
  left: 2%;
  width: 96%;
  height: 40px;
  color: #ffffff;
  text-align: center;
  font-size: 0.8em;
  line-height: 1.3;
}



@media screen and (min-width:710px){
    #main > img{
    width: 400px;
    top: calc(20% - 150px);
    left: calc(50% - 200px);
  }
  #main > div{
    width: 50%;
    left: 25%;
  }
}
@media screen and (min-width:1000px){
  #main > div{
    width: 40%;
    left: 30%;
  }
}
@media screen and (min-width:1300px){
  #main > div{
    width: 30%;
    left: 35%;
  }
  #main > ul{
    left: 30%;
    width: 40%;
  }
}
@media screen and (min-width:1500px){
  #main > div{
    width: 20%;
    left: 40%;
  }
  #main > ul{
    left: 37.5%;
    width: 25%;
  }
}

/* Height */

@media screen and (max-height:700px){
#main > img{
    width: 400px;
    top: calc(20% - 150px);
    left: calc(50% - 200px);
  }

  #main >h1{
    top:  calc(20% + 180px);
  }
  #main >h2{
    top: calc(20% + 220px);
  }
  #main > div{
    top: calc(20% + 300px);
  }
  #main > ul{
    top: calc(73% + 50px);
  }
}
@media screen and (max-height:620px){
  #main > img{
    width: 400px;
    top: calc(20% - 150px);
    left: calc(50% - 200px);
  }
  #main >h1{
    top:  calc(15% + 180px);
  }
  #main >h2{
    top: calc(15% + 220px);
  }
  #main > div{
    top: calc(15% + 300px);
  }
  #main > ul{
    top: calc(70% + 50px);
  }
}
@media screen and (max-height:580px){
  #main >h1{
    font-size: 1.5rem;
    top:  calc(15% + 160px);
  }
  #main >h2{
    font-size: 1.3rem;
    top: calc(20% + 160px);
  }
  #main > div{
    top: calc(8% + 270px);
  }
  #main > ul{
    top: calc(68% + 50px);
  }
  #main > ul > li > a>img{
    height: 35px;
  }
  footer{
    font-size: 0.65rem;
  }
  #main > div >a{
    height: 35px;
    line-height: 35px;
  }
}
@media screen and (max-height:450px){
  #main > img{
    width: 150px;
    top: calc(20% - 75px);
    left: calc(50% - 75px);
  }
  #main >h1{
    top:  calc(8% + 160px);
  }
  #main >h2{
    top: calc(12% + 160px);
  }
  #main > div{
    top: calc(4% + 250px);
  }
  #main > ul{
    top: calc(64% + 50px);
  }
}


@media screen and (max-height:413px){
  #main > img{
    width: 100px;
    top: calc(20% - 50px);
    left: calc(50% - 50px);
  }
  #main >h1{
    font-size: 1.2rem;
    top:  calc(3% + 160px);
  }
  #main >h2{
    font-size: 1rem;
    top: calc(8% + 160px);
  }
  #main > div{
    top: calc(0% + 250px);
  }
  #main > ul > li > a>img{
    height: 25px;
  }
}
