:root{
    --mainColor: #009146;
    --white: #ffffff;
    --darker-white: #e1e1e1;
    --black: #000;
    --lighter-black: #585858;
    --shadow: #B9B4B4;
}
body
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat-Regular;
    overflow-x: hidden;
}

@font-face {
    font-family: Montserrat-Regular;
    src:url(Assets/fonts/Montserrat-Regular.ttf);
  
  }
  
/*-------------------------------------MENU-----------------------------*/

 a {
  color: var(--black);
  text-decoration: none;
  list-style-type: none;
}
a:hover {
    color: var(--black);
  }
.main-nav {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    list-style-type: none;
}

.main-nav li {
    margin: 0;
}

.nav-links {
    margin-left: 25px;
    font-size: 20px;
}
.visibility-hidden
{
    visibility: hidden;
}
.logo {
    width: 55% !important;
    margin-top: 0;
}
.window {
   display: none;
   box-shadow: 0px 6px 8px var(--darker-white)
}

.window:target {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.window .content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0;
  height: 0;
  color: var(--black);
  background-color: var(--darker-white);
  animation: 1s grow ease forwards;
  text-align: center;
}
.nav_list  {
  list-style-type: none;
}

.nav_list a {
  text-decoration: none;
  font-size: 40px;
  color: var(--black);
}

.nav_list_item {
  height: 100%;
  overflow: hidden;
}

.nav_list li {
  padding: 15px 0;
  text-transform: uppercase;
  transform: translateY(200px);
  opacity: 0;
  animation: 2s slideUp ease forwards .5s;
  position: relative;
}

.nav_list li::before {
  content: '';
  position: absolute;
  height: 2px;
  width: 0px;
  left: 0;
  bottom: 10px;
  background: var(--black); 
  transition: all .5s ease;
}

.nav_list li:hover:before {
      width: 100%;
}

.window p {
  padding: 50px;
  opacity: 0;
  animation: 1s fadeIn ease forwards 1s;
}

.window .close::after {
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  position: absolute;
  display: flex;
  z-index: 1;
  font-size: 30px;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  color: #fff;
  content: "×";
  cursor: pointer;
  opacity: 0; 
  animation: 1s fadeIn ease forwards .5s;
}

@keyframes grow {
  100% {
    height: 90%;
    width: 90%;
 }
}
@keyframes minimize {
  0% {
    height: 90%;
    width: 90%;
 }
}

@keyframes fadeIn {
100% {
  opacity: 1;
 }
}

@keyframes slideUp {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 1024px)
 {
  .d-mobile-none {
    display: none;
 }

}
.nadpis-padding-top
{
    padding-top: 5%;
}
.nadpis-header
{
    font-size: 3em;
}
.text-justify
{
    text-align: justify;
}
.symbol-size
{
  font-size: 0.7em;
}
.button
{
    width: 300px;
    border-radius: 0%;
    border: 1px solid var(--black);
    padding: 10px 37px;
    cursor: pointer;
    font-size: 22px;
    color: var(--black);
    background-color: var(--white);

}
.button-vice
{
    width: 200px;
    border-radius: 0%;
    border: 1px solid var(--black);
    padding: 10px 37px;
    cursor: pointer;
    font-size: 22px;
    color: var(--black);
    background-color: var(--white);

}
.layout
{
  width: 50%;
  height: 400px;
  background-color: var(--card-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.parallax {
  /* The image used */
  /* Set a specific height */
  min-height: 500px;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.rekonstrukce-domu-a-bytu
{
  background-image: url("Assets/images/rekonstrukce-domu-a-bytu-fluid2.jpg");

}
.stavebni-prace
{
  background-image: url("Assets/images/stavebni-prace-fluid.jpg");
}
.pronajem-leseni
{
  background-image: url("Assets/images/pronajem-systemu-leseni-peri-fluid.jpg");
}
.zateplovani-fasad
{
  background-image: url("Assets/images/fasady-a-zateplovani-fluid.jpg");
}
.vystavba-domu
{
  background-image: url("Assets/images/vystavba-domu-a-objektu-fluid.jpg");
}
.rekonstrukce-strech
{
  background-image: url("Assets/images/vystavba-a-rekonstrukce-strech-fluid.jpg");
}
.malirske-prace
{
  background-image: url("Assets/images/malirske-prace-fluid.jpg");
}
/*--------------------------------------FAQ----------------------------------------*/

.accordion {
  padding: 1.2rem 0;
}
.accordion__item:not(:last-child) {
  border-bottom: 1px solid lightgrey;
}

.accordion__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.4rem;
  border: none;
  outline: none;
  color: var(--color-text);
  background-color: var(--white);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  transition: 0.1s;
}
.accordion__btn:hover {
  color: var(--black);
}
.accordion__item
{
  color: var(--lighter-black);
}
.accordion__item--active .accordion__btn {
  color: var(--black);
  border-bottom: 2px solid var(--darker-white);
}

.fa-lightbulb {
  padding-right: 1rem;
}
.accordion__icon {
  border-radius: 50%;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
  opacity: 0.9;
}
.accordion__item--active .accordion__icon {
  transform: rotate(135deg);
}

.accordion__content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  transform: translateX(16px);
  transition: max-height 0.5s ease, opacity 0.5s, transform 0.5s;
}
.accordion__content p {
  padding: 1rem 1.8rem;
}

.accordion__item--active .accordion__content {
  opacity: 1;
  transform: translateX(0px);
  max-height: 100vh;
  color: var(--black);
}

.space
{
    margin-bottom: -2px;

}
p
{
font-size: 1.2em;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  border: 1px solid var(--lighter-black);
  border-radius: 0px;
  width: 75px;
  height: 100px;
}
@media screen and (max-width: 600px) {
  .nav_list a {
    text-decoration: none;
    font-size: 1.3em;
    color: var(--black);
  }
  .nadpis-header
  {
    font-size: 2em;
  }
  .w-like{
    display: none;
  }
  .button-vice
{
    width: 140px;
    border-radius: 0%;
    border: 1px solid var(--black);
    padding: 5px 30px;
    cursor: pointer;
    font-size: 22px;
    color: var(--black);
    background-color: var(--white);

}
}
@media screen and (min-width: 1201px) 
{
  .display-small-none{
  display: none;
  }
 
}
.middle-padding-left
{
    padding-left: 5%;
}
footer
{
  padding-top: 2%;
  background-color: var(--darker-white);
}




.work-box {
  margin-bottom: 3rem;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-color: #fff;
}
.work-box:hover img {
  transform: scale(1.3);
}

.work-img {
  display: block;
  overflow: hidden;
}
.work-img img {
  transition: all 1s;
}

.work-content {
  padding: 2rem 3% 1rem 4%;
}
.work-content .w-more {
  color: #4e4e4e;
  font-size: 0.8rem;
}
.work-content .w-more .w-ctegory {
}
.work-content .w-like {
  font-size: 2.5rem;
  float: right;
  margin-top: -1.3rem;
}
.work-content .w-like a {
}
.work-content .w-like .num-like {
  font-size: 0.7rem;
}

.w-title {
  font-size: 1.4rem;
}
.w-like{
  transition: none !important;
  transform: none !important;
}



.thumb 
figure img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.thumb 
figure:hover img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}
.thumb{
  margin-bottom: 15px;
}

.img{
  width: 100%;
  height: 230px;
  object-fit: cover;
}





