:root{
  --fsize0: 3vw;
  --fsize1: 2vw;
  --fsize2: 1vw;
  --margin: 1vw;
  --border: solid black 0.1vw;
  --color: rgb(187, 190, 129)
}

::selection{
  background-color: blue;
}

body{
  font-family: helvetica, sans-serif;
  font-size: var(--fsize2);
}

a{
  text-decoration: underline;
}

img{
  width:100%;
}

h1{
  font-size: var(--fsize0);
  text-align: center;
  padding: var(--margin) 0;
}

nav{
  text-align: center;
  font-size: var(--fsize0);
  position: absolute;
  width:100vw;
  top:0;
  background-color: white;
  border-bottom: var(--border);
  padding: var(--margin) 0;
  box-sizing: border-box;
}

main{
  margin-top: 6vw;
}

main > figure{
  width:20vw;
  height: 25vw;
  float: left;
  padding: var(--margin);
  box-sizing: border-box;
}

main > figure div{
  width:100%;
  min-height:80%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

main > figure span{
  width:100%;
  text-align: center;
  display: block;
  font-size: var(--fsize2);
  margin-top: var(--margin);
}

.recepe article{
  text-align: center;
  font-size: var(--fsize1);
  margin-bottom: calc(var(--margin)*1);
}

footer{
  bottom: 0;
  position: fixed;
  font-size: var(--fsize0);
  width:100%;
}

footer a{
  background-color: white;
}

footer a:last-of-type{
  float: right;
}

.home footer{
  display: none;
}

@media screen and (max-width: 600px) {
  :root{
    --fsize0: 5vw;
    --fsize1: 3vw;
    --fsize2: 2vw;
  }

  main > figure{
    width:33.33vw;
    height: 33.33vw;
  }

  footer {
    width:100vw;
    text-align: center;
    border-top: var(--border)
  }

  footer a:last-of-type{
    float: none;
    padding-left: 2vw;
  }

}