﻿* {
  margin : 0;
  padding : 0;
  outline : 0;
  box-sizing : border-box;
  }
  body {
  font-family : Arial, Verdana, sans-serif;
  font-size : 12px;
  }
  header {
  display : flex;
  flex-direction : column;
  justify-content : center;
  align-items : center;
  }
  nav {
  display : flex;
  max-width : 1000px;
  width : 100%;
  justify-content : flex-end;
  padding : 10px 0;
  }
  nav ul {
  display : flex;
  flex-wrap : wrap;
  list-style-type : none;
  }
  nav li {
  margin : 0 3px;
  width : 17px;
  }
  nav li a {
  text-decoration : none;
  color : gray;
  display : flex;
  flex-direction : column;
  align-items : center;
  }
  nav li a span {
  padding-top : 5px;
  }
  nav li:hover a {
  color : black;
  font-weight : 600;
  }
  .active {
  color : black;
  font-weight : 600;
  }
  .header_section {
  width : 100%;
  background-color : #f7f7f7;
  border : #ebebeb solid 1px;
  }
  .header_section > div {
  display : flex;
  margin : 0 auto;
  max-width : 1000px;
  justify-content : space-between;
  align-items : center;
  text-transform : uppercase;
  }
  .more_info {
  display : flex;
  flex-direction : column;
  align-items : flex-end;
  }
  .more_info span {
  font-size : 12px;
  color : rgb(129, 129, 129);
  }
  .more_info a {
  margin-top : 2px;
  text-transform : lowercase;
  font-size : 16px;
  text-decoration : none;
  color : #e31e24;
  font-weight : 600;
  }
  main {
  display : flex;
  flex-direction : column;
  }
  main h1 {
  color : rgb(54, 50, 50);
  background-color : #fbfbfb;
  text-align : center;
  padding : 10px 0;
  font-weight : 600;
  font-size : 18px;
  letter-spacing : 0.5px;
  }
  .slider {
  max-width : 1000px;
  margin : 0 auto;
  }
  main section {
  width : 100%;
  }
  main section div {
  padding : 0 10px;
  max-width : 1000px;
  margin : 0 auto;
  font-size : medium;
  text-align : justify;
  }
  section div p {
  margin : 10px 0;
  }
  h2 {
  padding : 10px 0;
  background-color : #fbfbfb;
  text-align : center;
  text-transform : uppercase;
  }
  .rslides {
  position : relative;
  list-style : none;
  overflow : hidden;
  width : 100%;
  max-height : 500px;
  padding : 0;
  margin : 0;
  }
  .rslides li {
  position : absolute;
  display : none;
  width : 100%;
  left : 0;
  top : 0;
  }
  .rslides li:first-child {
  position : relative;
  display : block;
  float : left;
  }
  .rslides img {
  display : block;
  height : auto;
  float : left;
  width : 100%;
  border : 0;
  object-fit : cover;
  }
  .offer {
  display : grid;
  grid-template-columns : repeat(2,minmax(0,1fr));
  gap : 30px;
  padding-bottom : 10px;
  padding-top : 10px;
  }
  .offer-item {
  display : flex;
  max-width : 465px;
  height : 284px;
  width : 100%;
  border-radius : 10px;
  background-position : center;
  background-size : cover !important ;
  margin : 0 auto;
  align-items : center;
  justify-content : center;
  text-align : center;
  text-decoration : none;
  transition : 0.3s ease-out;
  }
  .offer-item:hover {
  transform : scale(1.05);
  }
  .offer a span {
  color : white;
  font-weight : 600;
  font-size : 28px;
  }
  .grabo {
  display : grid;
  grid-template-columns : repeat(2,minmax(0,1fr));
  }
  .middle-text {
  display : flex;
  flex-direction : column;
  font-size : 20px;
  text-align : center;
  font-weight : 500;
  }
  .header_section img {
  order : 1;
  }
  .header_section .middle-text {
  order : 2;
  }
  .header_section .more_info {
  order : 3;
  }
  .grabo img {
  width : 100%;
  margin : 0 auto;
  max-height : 320px;
  object-fit : contain;
  }
  .grabo > p {
  margin : 0 auto;
  padding-top : 10px;
  }
  .buttonik {
  margin-top : 10px;
  background-color : #011a43;
  color : white;
  padding : 10px;
  border-radius : 10px;
  text-decoration : none;
  transition : all 0.3s ease-out;
  display : block;
  width : 170px;
  text-align : center;
  }
  .buttonik:hover {
  background-color : #0143b1;
  transform : scale(1.1);
  }
  .cols4 {
  grid-template-columns : repeat(4,minmax(0,1fr));
  }
  .item {
  display : flex;
  flex-direction : column;
  text-decoration : none;
  border : lightgray solid 1px;
  border-radius : 10px;
  background-color : #f7f7f7;
  padding : 10px;
  overflow : hidden;
  transition : 0.3s ease-out;
  }
  .item img {
  transition : 0.3s ease-out;
  max-width : 200px;
  min-height : 200px;
  object-fit : cover;
  margin : 0 auto;
  }
  .item:hover {
  background-color : #fbfbfb;
  }
  .item:hover img {
  transform : scale(1.1);
  }
  .offer .item span {
  color : black;
  font-size : 14px;
  font-weight : normal;
  text-align : center;
  padding-top : 5px;
  }
  .offer .item .name {
  font-size : 16px;
  font-weight : 600;
  }
  .kontakt {
  text-align : center;
  }
  @media (max-width: 940px) {
  .offer, .grabo {
  grid-template-columns : repeat(1,minmax(0,1fr));
  }
  section div {
  max-width : 700px !important ;
  }
  .grabo img {
  max-width : 465px;
  padding-left : 0;
  }
  .buttonik {
  margin : 0 auto;
  }
  .cols4 {
  grid-template-columns : repeat(2,minmax(0,1fr));
  }
  .item img {
  max-width : 300px;
  }
  }
  iframe {
  max-width : 1000px;
  width : 100%;
  }
  .kontakt a {
  text-decoration : none;
  color : black;
  }
  .kontakt span a {
  color : #e31e24;
  }
  @media (max-width: 450px) {
  nav {
  justify-content : center;
  }
  .cols4 {
  grid-template-columns : repeat(1,minmax(0,1fr));
  }
  .item img {
  max-width : 300px;
  }
  }
  #author {
  margin : 0 auto;
  text-align : center;
  padding : 10px 20px;
  font-size : 11px;
  color : #999;
  background-color : #eee;
  width : 100%;
  max-width : 100%;
  }
  #author img {
  border : none;
  vertical-align : middle;
  }
  #author a {
  color : #555;
  }
  .center {
  margin : 0 auto !important ;
  }
  .fb-cont {
  text-align : center;
  margin : 10px 0;
  }
  .inline {
  display : none;
  }
  @media (max-width: 780px) {
  .header_section > div {
  flex-direction : column;
  }
  .header_section .middle-text {
  order : 4;
  }
  .header_section .more_info {
  display : none;
  }
  .inline {
  display : flex !important ;
  }
  .inline_flex {
  width : 100%;
  display : flex;
  flex-direction : row;
  align-items : center;
  justify-content : space-between;
  }
  .middle-text {
  padding-bottom : 10px;
  }
  .middle-text span:last-of-type {
  display : none;
  }
  }
  @media (max-width: 360px) {
  ul {
  justify-content : center;
  }
  }