html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

body{
  background: rgb(32,58,109);
  background: -webkit-linear-gradient(57deg, rgba(32,58,109,1) 0%, rgba(62,99,170,1) 49%, rgba(32,58,109,1) 100%);
  background: -o-linear-gradient(57deg, rgba(32,58,109,1) 0%, rgba(62,99,170,1) 49%, rgba(32,58,109,1) 100%);
  background: linear-gradient(147deg, rgba(32,58,109,1) 0%, rgba(62,99,170,1) 49%, rgba(32,58,109,1) 100%); 
  min-height:100vh;
  color:#fff;
  font-family: 'Roboto', sans-serif;
}

.header{
  height:10vh;
  min-height:130px;
  background: url('top.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.header .logo{
  width: 300px;
  height: initial;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 70px);
}

.jars{
  margin: 50px 30px;
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.jars .tomatoes{
  width:30vw;
  height:28vw;
  background: url('pomodoru.png');
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
}
.jars .mayo{
  width:30vw;
  height:30vw;
  background: url('mayo.png');
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
}
.jars .beets{
  width:25vw;
  height:30vw;
  background: url('burokiukas.png');
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
}

.content{
  margin-top: 100px;
  text-align: center;
}
.content h1 {
  font-size: 2rem;
}
.content h3 {
  font-size: 1.3rem;
  margin-top:10px;
}

.footer{
  background: #1b2b42;
  padding: 0 2.5vw;
  position: relative;
  display:flex;
  align-items: center;
  bottom:0;
  height: 8vh;
  width:100%;
  min-height: 150px;
}
.footer .text {
  width: 70vw;
  position: relative;
}
.footer .text a{
  color: #fff;
  text-decoration: underline;
}
.footer .footer_bold{
  position: absolute;
  right: -10%;
  font-size: 2rem;
  top: 0.2rem;
}

.footer .flag {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 16vw;
  width: 25vw;
  background: url('flag.png');
  background-size:cover;
  background-position:left;
}

@media screen and (max-width: 1300px){
  .jars{
    justify-content: space-around;
  }
  .jars .tomatoes{
    width:33vw;
    height:34vw;
  }
  .jars .mayo{
    width:37vw;
    height:36vw;
  }
  .jars .beets{
    width:37vw;
    height:35vw;
    background-position: center -50px;
  }
}

@media screen and (max-width: 1150px){
  .footer{
    height: 11vh;
  }
  .footer .footer_bold{
    position: relative;
    margin: 10px 0;
    text-align: right;
  }
  .jars .beets{
    width:37vw;
    height:35vw;
    background-position: center;
  }
  .footer .flag{
    height: 19vw;
    width: 30vw;
  }  
}

@media screen and (max-width: 750px){
  body{
    height: 100%;
  }
  .jars{
    flex-direction: column;
  }
  .footer{
    min-height:150px;
    font-size:0.7rem;
  }
  .footer .footer_bold{
    font-size: 1.2rem;
  }
  .header .logo{
    width: 250px;
    transform: translate(-50%, 74px);
  }
}

@media screen and (max-width: 450px){
  body{
    min-height:850px;
  }
}
