

body{
    margin:0;
    text-align: center;
    background-image: url(background.avif);
    background-size: cover;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

    
}
header{
     box-shadow:0 0 10px rgb(0,0,0,0.5);
     font-family: cursive;
     background:#8b5e3b;
     color: white;
     padding: 20px;
}
.buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    padding: 15px;
    background:#f8e9d2;
    border-bottom: 4px solid #D95D39;
}
.buttons a{
    color: white;
    text-decoration: none;
}
button{
    background:#e8c07d;
    color:white;
    border: none;
    padding: 12px 12px;
    font-size: 18px;
    cursor:pointer;
    transition:0.3s;
    border-radius: 30px;

}
button:hover{
    background:#c29563;
    transform:scale(1);
}
.mainsida{
    margin: 40px auto;
    max-width: 80%;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 80%;
    
}
footer{
    background:#64554f;
    color: white;
    padding: 10px;
    margin-top: 50px;
}
.flexbox{
    display: flex;
   flex-wrap: wrap;
   justify-content: center;
    box-shadow:0 0 10px rgb(0,0,0,0.5);
    padding: 20px;
    gap: 20px;
    max-width: 90%;
    margin: auto;
    max-height: 600px;
    border: 2px solid #8d6e63;
    overflow-y:scroll;
    overflow-x: hidden;
}
.flexbox div{
    width: 350px;
    text-align: center;
    background: #d7ccc8;
    padding: 45px;
    border-radius: 10px;
    transition:transform 0.3s ease;

}
.flexbox div:hover{
    transform: scale(1.05);
}
#subscribe{
    text-align: center;
    background: #f8e9d2;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px pgba(0,0,0,0.1);
    width: 80%;
    margin: auto;
}
#subscribe h2{
    color: #D95D39;
    font-size: 24px;
    margin-bottom: 10px;
}
#form{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}
#form input{
    padding: 8px;
    width: 300px;
    border-color: rgb(207, 203, 203);
    border-radius: 5px;
}

table {
  width: 100%;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: #f1f1f1; 
}

th, td {
  padding: 15px;
  text-align: left;
  border: 1px solid #d3d3d3;
}

th {
  background-color: #8b5e3c; 
  color: white;
}

tr:nth-child(even) {
  background-color: #d8c7b8; 
}

tr:nth-child(odd) {
  background-color: #f1e7d7; 
}

tr:hover {
  background-color: #a27a53; 
  color: white;
}
.kontakt {
    background-color: beige;
    padding: 15px;
    width: 450px;
    margin: 20px auto;
    font-family: sans-serif;
    border: 1px solid #8b5e3c;
    

}
.kontakt label {
    color: brown;
}
.kontakt input, .kontakt textarea {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}
.kontakt button {
    background-color: brown;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
} 
.kontakt button:hover{
    background:rgb(139, 67, 67);
    transform:scale(1);
}
@media (max-width:600px){

nav{
    width: 100%;
    gap:5px;

}
img{
    width: 50%;
    height: auto;
}
.kontakt{
    width: 70%;
}
.button{
    width: 100%;
    padding: 2%;
    font-size: 6%;
}
}


