@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Righteous&display=swap");
/* COLORS - BARVY */
:root {
  --main-bg-color: #f2f2f2;
  --secondary-color: #393e46;
  --decoration-color: #f96d00;
  --decoration-light: #f89040;
  --text-color-white: #ffffff;
  --text-color-black: #000000;
}

/* Utility */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: var(--main-bg-color);
  line-height: 1.5;
  margin: 0 2rem;
}

p {
  margin: 0.5rem 0;
}

a {
  text-decoration: none;
  color: var(--text-color-black);
  cursor: pointer;
}

img {
  width: 100%;
}

.icon {
  margin-bottom: 2.25rem;
}

.icon-service {
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.25rem;
}

/* .current {
  text-decoration-line: underline;
  text-decoration-color: var(--decoration-color);
  text-decoration-style: solid;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
} */
.p-main {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2rem;
  font-size: 1.4rem;
}

label {
  margin: 0.25rem;
}

input {
  /* border-radius: 1rem; */
  line-height: 2.25rem;
  border: 3px solid var(--secondary-color);
  padding: 0.5rem;
  font-size: 1.2rem;
  outline: none;
}
input:hover {
  border: 3px solid var(--decoration-color);
  transition: 0.5s;
  outline: none;
}
input:focus {
  border: 3px solid var(--decoration-color);
  transition: 0.5s;
  outline: none;
}

textarea {
  width: 100%;
  resize: none;
  font-size: 1.2rem;
  padding: 0.75rem;
  /* border-radius: 1rem; */
  margin-bottom: 2rem;
  outline: none;
  border: 3px solid var(--secondary-color);
  overflow: auto;
}
textarea:focus {
  border: 3px solid var(--decoration-color);
  transition: 0.5s;
}
textarea:hover {
  border: 3px solid var(--decoration-color);
  transition: 0.5s;
}

/* NAVIGACNI MENU */
nav {
  background-color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 1rem;
}
nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin-top: 1rem;
}
nav li {
  padding-bottom: 0.5rem;
  font-size: 1.4rem;
  margin: 0.75rem 0;
}

/* LOGO */
#logo {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 1rem;
}
#logo a {
  font-family: "Righteous", sans-serif;
  color: var(--secondary-color);
}

/* Button - utilities */
.btn {
  background-color: var(--secondary-color);
  /* border-radius: 1rem; */
  color: var(--text-color-white);
  padding: 1.5rem;
  margin: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: ease-in-out 0.5s;
}
.btn:hover {
  color: var(--text-color-white);
  background-color: var(--decoration-color);
  transition: ease-in-out 0.5s;
}

.btn-form {
  background-color: var(--main-bg-color);
  /* border-radius: 1rem; */
  color: var(--text-color-black);
  border: 3px solid var(--decoration-color);
  padding: 1.5rem;
  margin: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  transition: ease-in-out 0.5s;
  text-align: center;
  cursor: pointer;
}
.btn-form:hover {
  color: var(--text-color-white);
  background-color: var(--decoration-color);
  transition: ease-in-out 0.5s;
  cursor: pointer;
}
.btn-form:focus {
  color: var(--text-color-white);
  background-color: var(--decoration-color);
  transition: ease-in-out 0.5s;
  cursor: pointer;
}

/* .btn-menu {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.btn-menu:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: var(--decoration-color);
  height: 3px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.btn-menu:hover:before,
.btn-menu:focus:before,
.btn-menu:active:before {
  left: 0;
  right: 0;
} */
.btn-menu {
  position: relative;
  padding: 1em 1.5em;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  font-size: 18px;
  margin: 1em 0.8em;
  font-weight: 700;
}

.type-1 {
  color: var(--text-color-black);
}
.type-1::after, .type-1::before {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid;
  transition: all 0.6s ease;
  border-radius: 2px;
}
.type-1::after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: var(--decoration-color);
  border-right-color: var(--decoration-color);
}
.type-1::before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: var(--decoration-color);
  border-left-color: var(--decoration-color);
}
.type-1:hover:after, .type-1:hover:before {
  width: 100%;
  height: 100%;
}

.btn-return {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0;
}

/* FLEX mixin */
/* Reference - sekce, galerie */
.picture {
  width: -moz-max-content;
  width: max-content;
  padding: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  flex-wrap: wrap;
}

.pa-1 {
  padding: 1rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
}

/* Formuláře */
form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

/* KEYFRAM ANIMACE */
.slogan {
  animation: fadeIN1 2s forwards;
}

@keyframes fadeIN1 {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.miniGalerie {
  animation: fadeIN2 2s forwards;
}

@keyframes fadeIN2 {
  from {
    opacity: 0;
    transform: translateY(-2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.oNas {
  animation: fadeIN3 2s forwards;
}

@keyframes fadeIN3 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.poptavka {
  animation: fadeIN4 2s forwards;
}

@keyframes fadeIN4 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.watermark {
  animation: fadeIN5 2s forwards;
}

@keyframes fadeIN5 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 0.075;
    transform: translateZ(0);
  }
}
.reference-item {
  animation: fadeIN6 2s forwards;
}

@keyframes fadeIN6 {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.reference-item-area {
  animation: fadeIN7 2s forwards;
}

@keyframes fadeIN7 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.contact-area {
  animation: fadeIN8 2s forwards;
}

@keyframes fadeIN8 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.contact-form {
  animation: fadeIN9 2s forwards;
}

@keyframes fadeIN9 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.services-section {
  animation: fadeIN10 2s forwards;
}

@keyframes fadeIN10 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
.services-popis {
  animation: fadeIN11 2s forwards;
}

@keyframes fadeIN11 {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.services-picture {
  animation: fadeIN12 2s forwards;
}

@keyframes fadeIN12 {
  from {
    opacity: 0;
    transform: translateZ(-2rem);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}
@media only screen and (min-width: 600px) {
  .span-2 {
    grid-column: auto/span 2;
  }
  nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  nav ul {
    display: flex;
    flex-direction: row;
    flex: 1 1 40rem;
    justify-content: space-around;
    align-items: center;
  }
  #logo {
    flex: 2 1 40rem;
  }
  .hero-section {
    grid-template-areas: "slogan" "onas" "poptavka";
  }
  .galerie {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
  }
  .reference-item {
    display: flex;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .reference-item-area {
    display: flex;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-form {
    width: 90%;
  }
  .services-service {
    flex-direction: column;
    align-items: center;
  }
}
@media only screen and (max-width: 600px) {
  .hidden {
    display: none;
  }
  .hero-section {
    grid-template-areas: "slogan" "onas" "poptavka";
  }
  .galerie {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
  }
  .reference-item {
    display: flex;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .reference-item-area {
    display: flex;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .services-service {
    flex-direction: column;
    align-items: center;
  }
  .services-picture {
    /* width: 80%; */
    display: flex;
    align-items: center;
  }
  .picture {
    width: 15rem;
  }
}
@media only screen and (min-width: 768px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  nav ul {
    display: flex;
    flex-direction: row;
    flex: 1 1 40rem;
    justify-content: space-around;
    align-items: center;
  }
  #logo {
    flex: 2 1 40rem;
  }
}
@media only screen and (max-width: 768px) {
  .hidden {
    display: none;
  }
  .picture {
    width: 20rem;
  }
}
@media only screen and (min-width: 992px) {
  #logo {
    flex: 1 1 15rem;
  }
  nav {
    margin-bottom: 1.5rem;
  }
  .hero-section {
    grid-template-areas: "slogan onas onas" "galerie galerie poptavka";
    margin-top: 1rem;
  }
  .poptavka {
    margin: auto;
  }
  .reference-item {
    display: grid;
    row-gap: 1rem;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    grid-template-areas: "image text";
  }
  .reference-item-area {
    display: grid;
    row-gap: 1rem;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    grid-template-areas: "text image";
    margin-right: 3rem;
  }
  .contact-section {
    display: grid;
    row-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "area form";
  }
  .services-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: "komin instal" "topen plyn" "zednictvi ostatni";
    margin-top: 1rem;
  }
  .slogan p {
    font-size: 2rem;
  }
  .miniGalerie {
    width: -moz-max-content;
    width: max-content;
    padding: 1rem;
    margin: auto;
    background-color: var(--secondary-color);
    box-shadow: 50px 50px 0 -40px var(--decoration-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .miniGalerie h3 {
    color: var(--main-bg-color);
    text-align: center;
    margin-bottom: 1rem;
  }
  .miniGalerie img {
    width: 100%;
  }
  .contact-area h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    text-decoration: underline;
    text-decoration-color: var(--decoration-color);
    text-decoration-thickness: 3px;
  }
  .contact-area p {
    font-size: 1.6rem;
  }
  .contact-form {
    width: 85%;
  }
  .services-service {
    flex-direction: row;
    align-items: flex-start;
    margin-top: 2rem;
  }
}
@media only screen and (max-width: 992px) {
  .hidden {
    display: none;
  }
  .poptavka {
    margin-right: auto;
  }
}
@media only screen and (min-width: 1200px) {
  #logo {
    flex: 1 1 2rem;
  }
  .slogan p {
    text-align: center;
    font-size: 3rem;
  }
  .hero-section {
    grid-auto-rows: minmax(400px, auto);
    grid-template-areas: "slogan onas onas" "watermark galerie poptavka";
    margin-top: 1rem;
  }
  .watermark img {
    width: 90%;
    padding-top: 10rem;
    padding-right: 10rem;
    transform: rotateZ(-45deg);
  }
  .contact-section {
    display: grid;
    row-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "area form";
  }
  .services-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: "komin instal" "topen plyn" "zednictvi ostatni";
    margin-top: 1rem;
  }
  .poptavka {
    margin: auto;
  }
  .miniGalerie {
    width: 100%;
    margin: auto;
  }
}
@media only screen and (max-width: 1200px) {
  .watermark {
    display: none;
  }
  .poptavka {
    margin: auto;
  }
  .miniGalerie {
    margin: auto;
  }
}
div.gallery {
  border: 1px solid #393e46;
}

div.gallery:hover {
  border: 1px solid #f96d00;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  padding: 1rem;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 6px 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}
@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Main Sections */
.hero-section {
  display: grid;
  grid-template-columns: minmax(320px, auto);
}

.reference-section {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  row-gap: 1rem;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  margin: 0 1.5rem;
}

/* HLAVNI SEKCE - Slogan */
.slogan {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2rem 1rem 1rem 2rem;
  font-size: 2rem;
  font-weight: 700;
  background-color: var(--decoration-color);
  color: var(--text-color-black);
  box-shadow: -50px -50px 0 -40px var(--secondary-color);
  grid-area: slogan;
}
.slogan p {
  margin: 1rem;
  font-family: "Righteous", sans-serif;
}

/* HLAVNI SEKCE - O nas */
.oNas {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--main-bg-color);
  color: var(--text-color-black);
  grid-area: onas;
}
.oNas p {
  margin: 1rem;
  font-size: 1.2rem;
}

/* HLAVNI SEKCE - MiniGalerie */
.miniGalerie {
  grid-area: galerie;
}

/* HLAVNI SEKCE - Poptavka */
.poptavka {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
  background-color: var(--main-bg-color);
  color: var(--text-color-black);
  grid-area: poptavka;
}
.poptavka h3 {
  margin-bottom: 1rem;
  text-decoration-line: underline;
  text-decoration-color: var(--decoration-color);
  text-decoration-style: solid;
  text-decoration-thickness: 3px;
}
.poptavka p {
  margin-bottom: 1rem;
}

/* Hlavni sekce - watermark */
.watermark {
  grid-area: watermark;
}

/* Reference */
.reference-image {
  grid-area: image;
}

.reference-text {
  grid-area: text;
  display: flex;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2rem;
}

/* Hlavní sekce - Kontakty */
.contact-area {
  grid-area: area;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-form {
  grid-area: form;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  font-size: 1.5rem;
}

/* Hlavní sekce - služby */
.kominictvi {
  grid-area: komin;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  transition: 1s;
}
.kominictvi:hover {
  background-color: var(--decoration-color);
  box-shadow: 50px 50px 0 -40px var(--secondary-color);
  color: var(--text-color-white);
  transition: 1s;
}

.services-service {
  display: flex;
}

.services-popis {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services-popis h3 {
  margin-bottom: 1rem;
  text-decoration-line: underline;
  text-decoration-color: var(--decoration-color);
  text-decoration-style: solid;
  text-decoration-thickness: 3px;
}
.services-popis ul {
  margin-bottom: 1.5rem;
}

.services-picture {
  margin: 0 5rem;
}

.instalaterstvi {
  grid-area: instal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  transition: 1s;
}
.instalaterstvi:hover {
  background-color: var(--decoration-color);
  box-shadow: 50px 50px 0 -40px var(--secondary-color);
  color: var(--text-color-white);
  transition: 1s;
}

.topenarstvi {
  grid-area: topen;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  transition: 1s;
}
.topenarstvi:hover {
  background-color: var(--decoration-color);
  box-shadow: 50px 50px 0 -40px var(--secondary-color);
  color: var(--text-color-white);
  transition: 1s;
}

.plynarstvi {
  grid-area: plyn;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  transition: 1s;
}
.plynarstvi:hover {
  background-color: var(--decoration-color);
  box-shadow: 50px 50px 0 -40px var(--secondary-color);
  color: var(--text-color-white);
  transition: 1s;
}

.ostatni {
  grid-area: ostatni;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  transition: 1s;
}
.ostatni:hover {
  background-color: var(--decoration-color);
  box-shadow: 50px 50px 0 -40px var(--secondary-color);
  color: var(--text-color-white);
  transition: 1s;
}

.zednictvi {
  grid-area: zednictvi;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin: 2rem;
  background-color: var(--secondary-color);
  box-shadow: 50px 50px 0 -40px var(--decoration-color);
  color: var(--text-color-white);
  transition: 1s;
}
.zednictvi:hover {
  background-color: var(--decoration-color);
  box-shadow: 50px 50px 0 -40px var(--secondary-color);
  color: var(--text-color-white);
  transition: 1s;
}

/* HLAVNI SEKCE - Zapati */
.footer {
  background-color: var(--main-bg-color);
  color: var(--text-color-black);
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}/*# sourceMappingURL=style.css.map */