* {
  margin: 0px;
  padding: 0px;
  font-family: 'Times New Roman', Times, serif !important;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

h1 {
  text-align: center;
  margin: 1rem 0px;
}
a {
  color: black;
  text-decoration: none;
  font-size: 22px;
}

p {
  margin: 1rem 1rem;
  color: black;
  font-size: 20px;
  text-align: justify;
}

video {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  
  height: auto;
  object-fit: cover;
}

hr {
  margin: 1rem 0px;
  background-color: #4c2b20;
  width: 100%;
  height: 2rem;
}

ul {
  margin-left: 4rem;
  margin-top: 2rem;
}

li{
  margin:  1rem 0px;
}

.wrapper {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  background-color: wheat;
  min-height: 100%;
}

.header {
  background: #F5DEB3;
  background: -moz-linear-gradient(top, #F5DEB3 0%, #FFFFFF 50%, #F5DEB3 100%);
  background: -webkit-linear-gradient(top, #F5DEB3 0%, #FFFFFF 50%, #F5DEB3 100%);
  background: linear-gradient(to bottom, #F5DEB3 0%, #FFFFFF 50%, #F5DEB3 100%);
  display: flex;
  justify-content: center;
  max-height: 7rem; 
  padding-bottom: 20px;
  
}


.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}
.nav-buttons a {
  background-color: none;
  margin-left: 20px;
  width: 200px;
  text-align: center;
}

.nav-dropdown-content {
  border-radius: 20px;
 

}


.nav-buttons .nav-dropdown-content a{
  background-color: white;
  border: none; 
  
}
.nav-dropdown-content a :first-child{
  margin-top: 20px;
}



.nav-buttons a {
  color: black;
  padding: 0px  16px;
  text-decoration: none;
  display: block;
  transition: color 0.5s, background-color 0.5s;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  border: 2px dashed rgba(0,0,0,0.38);
  border-radius: 20px 20px 20px 20px;
  
}

.nav-buttons a:hover {
  background-color: #4c2b20;
  color: white;
}

.logo img {
  width: 100%;
}

.logo {
  
  margin-left: 20px;
  height: 130%;
  z-index: 1;
  /* max-height: 100%; */
  width: auto;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.4);
}


.nav-buttons {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 1.5rem;
  
  
}


.nav-button {
  min-width: 10rem;
  height: auto;
  z-index: 100;
  margin-bottom: 1rem;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.nav-dropdown-content a {
  margin:  1rem 0px;
}

.dropdown:hover .nav-dropdown-content {
  display: block;
}


.content {
  background-color: wheat;
  display: flex;
  flex-flow: column nowrap;
  min-height: 70%;

}

.video-slide {
  display: block;
  width: 100%;
  height: 500px;
  background-color: wheat;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  

}

.column {
  display: flex;
  flex-direction: column;
}

.slide {
  display: flex;
  flex-direction: row ; 
  width: 100%;
  max-height: 60rem;
  /* background-color: gray; */
}
.slide1 {
  display: flex;
  flex-direction: row !important; 
  width: 100%;
  max-height: 60rem;
  /* background-color: gray; */
}

.slide-half {
  min-width: 50%;
}


.slide-photo {
  max-height: 40rem;
  min-height: 15rem;
  width: 100%;
}

.firma-photo {
  min-height: auto;
  width: 100%;
}

.box {
  margin-top: 3rem;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: calc(100% / 4);
}

.box-text {
  /* margin-top: 3rem; */
  text-align: center;
  font-size: 18px;
}

.box a img {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  flex: 1;
  
  max-width: 40%;
  min-width: 40%;
  /* height: auto; */
  transition: transform 0.3s;
}

.box img:hover{
  transform: scale(1.2);
}

.bottom {
  width: 100%;
  height: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #4c2b20;
}

.bottom a {
  color: white;
  font-size: 20px;
  font-weight: 5000;
  margin: 0px 0.2rem;
}

.footer {
  display: flex;
  justify-content: space-around;
  background-color: white;
  text-align: center;
  
}

.footer a {
  font-size: 0.83em;
  font-weight: bold;
}

.footer-box {
  padding-right: .5rem;
}


/* Carousel CSS */

.carousel {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  width: 100% - 5rem;
  height: auto;
  margin: 4rem auto;
  cursor: pointer;
  scroll-behavior: smooth;
  margin-left: 5rem;
}

.carousel.dragging {
  cursor: grab;;
  scroll-behavior: auto !important;

}

.carousel.dragging img {
  pointer-events: none;
}

.carousel img {
  width: calc(100% / 3);
  height: 340px;
  object-fit: cover;
  margin-right: 5rem;
}

.carousel-button {
  margin: 10px;
  padding: 5px 10px;
}

section{
  
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  margin-top: 50px;
  font-size: 20px;
  text-align: justify;
}

.main{
  background-color: #f3d8a6;
  padding: 20px;
  border-radius: 20px;
}


.main h2 {
  text-align: center;
}
.main h3 {
  text-align: center;
}

 .caffle-container{
  background-color: red;
  clear: both !important;
  width: 80%;
  margin-top: 40px;
  margin-bottom: 40px;
}

.caffle{
  float: left;
  width: 44%;
  margin: 10px;
  background-color: #f3d8a6;
  padding: 20px;
  border-radius: 20px;
}

.caffle h3{
  text-align: center;
}

section a {
  font-size: 20px;
  font-style: italic ;
  text-decoration: underline;
  
  
}


/*responsive 

/* Styl dla ekranów o szerokości mniejszej lub równej 320px (np. iPhone SE) */
@media screen and (max-width: 320px) {
}

@media screen and (max-width: 375px) {
}

@media screen and (max-width: 414px) {
  .nav-buttons a {
    width: 100px;
  }
  .nav-dropdown-content a {
    background-color: white;
    border: none; 
    width: 200px;
  }
  #caffle-container .caffle {
    width: 80%;
  }
  .dropdown:hover .nav-dropdown-content {
    display: none;
  }
  #caffle-container {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .column {
    display: none;
  }
  .video-slide {
    height: 200px;
  }
}

@media screen and (max-width: 940px) {
  .nav-buttons a {
    width: 100px;
  }
  .nav-dropdown-content a {
    background-color: white;
    border: none; 
    width: 200px;
  }
  #caffle-container .caffle {
    width: 85%;
  }
  .dropdown:hover .nav-dropdown-content {
    display: none;
  }
  #caffle-container {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .column {
    display: none;
  }
  .video-slide {
    height: 300px;
  }
  .slide {
    flex-direction: column  ;
}

@media screen and (max-width: 1280px) {
  .caffle{
    width: 95%;
  }
  .caffle-container{

    
    margin-top: 40px;
    margin-bottom: 40px;
  }

  }
}

