body {
  background: rgb(242,240,236);
  font-family: "Eczar", serif;
  font-weight: 400;
  margin: 0;
}

main{
  font-family: "SN Pro";
}

header {
  color:white;
  text-align: center;
  font-size: 25px;
  height: 700px;

}

.logo{
  margin-top: 2rem;
  margin-bottom: 1rem;
}

main{
  width: 90%;
  margin-left:5%;
  margin-right:5%;
  margin-top:-5%;
  background-color: whitesmoke;
  border-radius: 10px;
  color: black;
}

nav {
  width: 100%;
  top: 0;
  z-index: 1000;
  text-align: center;
}

nav a {
   color:white;
  font-size: 25px;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  margin: 0 10px;
  text-decoration: none;
}

nav a::after,
nav a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #444444, #f2f2f2);
  left: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease-out;
}

nav a::after {
  bottom: 0;
  transform-origin: right;
}

nav a::before {
  top: 0;
  transform-origin: left;
}

nav a:hover::after,
nav a:hover::before {
  transform: scaleX(1);
}

.hero{
height:100vh;
background-image:url("zdjecia-domek/front.jpg");
background-size:cover;
background-position:center;
}

.btn{
  color:white;
}

h1{
  margin-bottom: 15rem;
}

.gallery-item img {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); 
}

.napis{
  margin-bottom: 7rem;
}

.menugaleria {
  background-color: rgb(63,82,79);
}

footer{
  background-color: rgb(63,82,79);
  color:white;
  padding:10px;
  clear: both;
}


.footera {
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}


.footera::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: rgba(0,0,0,0.7); 
    transition: width 0.3s ease;
}

.footera:hover::after {
    width: 100%;
}


.footera:hover {
    filter: brightness(0.85);
    transform: scale(1.05);
}

.btng{
  font-size: x-large;
}

.card{
  color: rgb(56, 117, 56);
   box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    transition: 0.3s;
}

.card:hover{
  transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.footer-link {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-link:hover {
  color: #a2a2a2;
  text-decoration: underline;
}
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 40px;
    color: #3f524f;
    margin-bottom: 15px;
}

.contact-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.contact-link:hover {
    color: #3f524f;
}

.navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

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


.section-box{

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,0.08);

border-left:5px solid #6b8f71;

margin-bottom:30px;

}

.section-box-light{

padding:30px;

border-radius:15px;

border-left:5px solid #eb5f1e;

margin-bottom:30px;

}

.section-title{

color:#3f524f;

font-weight:600;

margin-bottom:20px;

}

ul{

padding-left:20px;

}

ul li{

margin-bottom:8px;

}

.flag-container{

position:absolute;

top:20px;

right:30px;

font-size:40px;

z-index:1000;

cursor:pointer;

transition:0.3s;

}

.flag-container a{
  text-decoration: none;
}

.fi{
  border-radius: 10px;
}