* {margin: 0; padding: 0; outline: 0;}

body {
	color: #666;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
}

.aos-init[data-aos][data-aos].aos-animate {
  transform: unset;
}

a:hover	{
	text-decoration: none;
	color: #666;
}


.container  {
    width: 98%;
    max-width: 1400px;
}

img    {
    width: auto;
    max-width: 100%;
    height: auto;
}

.display-5	{
	font-size: 1.8rem;
font-weight: 300;
line-height: 1.3;
}

.nav-link {
	color: rgb(81,168,51);
	text-transform: uppercase;
}

.bg-greenl	{
	background: rgb(81,168,51);
}

.bg-greend	{
	background: rgb(52,102,51);
}

.tx-greenl	{
	color: rgb(81,168,51);
}

.tx-greend	{
	color: rgb(52,102,51);
}

.bg-grey	{
	background: rgb(244,244,244);
}

.bg-greyd	{
	background: rgb(228,227,227);
}

.grass {
  background-image: url('../images/grass.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.vycet li {
	list-style-image: url('../images/vl.webp');
padding-left: 20px;
margin-left: 40px;
line-height: 1.8em;
font-weight: 300;
}

.btn-outline-success,
.btn-success {
	border-color: rgb(81,168,51);
	border-width: 2px;
	border-radius: 5px;
}

.btn-outline-success:hover,
.btn-success:hover {
	border-color: rgb(52,102,51);
	background: rgb(52,102,51);
}

.dlazdice h2,
.flip-card-inner h2 {
	font-size: 1.6rem;
	font-weight: 300;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .8em;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}

.navbar-toggler-icon {
	color: white;
}

.trava	{
background-image: url('../images/travnikpng.webp');
background-repeat: no-repeat;
background-position: bottom;

}

footer	{
	border-top: 60px solid rgb(52,102,51);
}

header i:hover {
	color: white;
	transition: color 0.5s;
}

header i,
.dlazdice {
	transition: all 0.5s;
}

.dlazdice:hover {
	background: rgb(0,51,0);
	transition: background 0.5s;
}

textarea.form-control {
  min-height: 200px;
}

h3:after{
    content :"";
    display: block;
    width: 100px;
    height: 2px;
    background: rgb(81,169,51);
		margin: 20px auto;
}

.flip-card, .flip-card-click {
  display: inline-block;
    background-color: transparent;
    width: 100%;
		height: 100%;
		min-height: 300px;
    perspective: 1000px;
  }
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  .flip-card:hover .flip-card-inner,
  .flip-card:focus .flip-card-inner,
  .flip-card:focus-within .flip-card-inner,
  .flip-card:active .flip-card-inner,
  .flip-card-click:focus .flip-card-inner,
  .flip-card-click:active .flip-card-inner,
  .flip-card-click.flipped .flip-card-inner {
    transform: rotateY(180deg);
  }
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }

  .flip-card-front p, .flip-card-back p {
    padding: 10px;
    font-size: 16pt;
    color: white;
  }
  .flip-card-back {
    transform: rotateY(180deg);
  }


@media only screen and (max-width: 400px)  {
  .navbar-brand img {
    width: 170px;
  }
	.navbar   {
		padding: .4rem .6rem;
}
}

@media only screen and (max-width: 600px)  {
  .navbar-brand img {
    width: 230px;
  }
}

@media all and (min-width: 768px)  {

}

@media all and (max-width: 900px) and (min-width: 768px)  {
 .flip-card-back p {
	 font-size: 12pt;
 }
 .flip-card-front h2	{
	 font-size: 1.2rem;
 }
}




@media all and (min-width: 990px)  {
	.nav-item {
		margin: 0 .85rem;
	}
	.nav-link:hover {
		color: rgb(52,102,51);
		transition: color 0.3s;
	}

}

@media all and (min-width: 1800px)  {
	.trava	{
	background-size:100%;
min-height: 300px;
	}
}

#btn-back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: none;
}
