/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
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;
}

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html{
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
}

body{
  background-image: url("../images/udrzba-bcg.jpg");
  background-size: cover;
  background-repeat: repeat-y;
}

.contanier{
  max-width: 1314px;
  padding: 0px 15px 0px 15px;
  margin-left: auto;
  margin-right: auto;

}

h1{
  font-size: 5rem;
  font-weight: 800;
  color: #fff4d6;
  margin: 0rem 0rem 3rem 0rem;
}

p{
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 500;
  color: #1c1713;
  margin: 1rem 0rem 1rem 0rem;
}

.link_text{
  font-weight: 700;
  color: #1c1713;
  text-decoration: underline;
}

.flex{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 5rem;
}

.text{
  margin: 1rem;
  max-width: 400px;
  height: auto;
  width: 100%;
}

.image{
  margin: 1rem;
  max-width: 500px;
  height: auto;
  width: 100%;
}

.image img{
  width: 100%;
  height: auto;
  display: block;
}

/*mobile L*/

@media only screen and (max-width: 425px) {
  h1{
    font-size: 4rem;
  }
  p{
    font-size: 1rem;
  }
}

/*mobile M*/

@media only screen and (max-width: 375px) {
  h1{
    font-size: 3rem;
  }
  p{
    font-size: 1rem;
  }
}

/*mobile S*/

@media only screen and (max-width: 320px) {
  h1{
    font-size: 2.5rem;
  }
  p{
    font-size: 1rem;
  }
}
