* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #c9e0e6;
}
section {
    background-color: #E8DACE;
    color: #000000;
    text-align: center;
    font-size: 40px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    height: 90px;
    padding-top: 14px;
    padding-bottom: 7px;
    float: left;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}
.displayed-photos {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 15%;
    float: right;
    margin-right: 5%;
    margin-top: 15px;
    height: auto;
    background-color: rgb(250, 248, 227);
    padding: 1%;
}
.width {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 5px;
    width: auto;
    height: 200px;
    border-radius: 10px;
}
.margin {
    margin-left: 5%;
    text-align: center;
    margin-right: 5%;
}
.fig {
    text-align: center;
    color: #ffffff;
    font-size: 15px;
    padding: 5px;
    font-weight: bold;
    background-color: #82240D;
}
.displayed-photos:hover {
    color:cadetblue;
}
nav {
    height: 100px;
    float: left;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    background-color: #E6C7AD;
    margin-bottom: 2%;
}
ul {
    width: 100%;
    display: table;
    text-align: center;
}
ul li {
    list-style: none;
    display: inline-block;
    float: none;
    line-height: 100px;
}
ul li a {
    display: block;
    text-decoration: none;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    padding: 0 30px;
    font-weight: bold;
}
ul li a:hover {
    background-color: #82240D;
    color: #ffffff;
}
article {
    margin-left: 5%;
    margin-top: 15px;
    width: 65%;
    background-color: #FAF8E3;
    padding: 2%;
    float: left;
}
p {
    padding: 10px;
}
h2 {
    padding: 10px;
    font-size: 20px;
}
a {
    text-decoration: none;
    color: #050505;
}
a:focus {
    background-color: rgb(210, 229, 238);
}
a:hover {
    text-decoration: none;
    color: #353030;
}
.kontakt {
    text-decoration:none;
    color:rgb(36, 32, 32);
}
.kontakt:hover {
    color:rgb(26, 25, 25);
}
.wycieczki {
    padding: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    width: auto;
    height: 200px;
    margin-top: 2%;
    border-radius: 10px;
    border-color: #ffffff;
    text-align: center;
}
.trips {
    margin-left: 11%;
    margin-right: 5%;
}
@media all and (max-width: 1000px) {
    .wycieczki {
        margin-left: 5%;
        margin-right: 5%;
        width: 85%;
        height: auto;
   }
    article {
        margin-left: 5%;
        text-align: center;
        margin-right: 5%;
        width: 85%;
   }
    .displayed-photos {
        display: none;
   }
}
@media all and (max-width:1000px) {
    h2 {
        font-size: 17px;
   }
}
@media all and (min-width:631px) {
    .topnav {
        display: none;
   }
}
@media all and (max-width: 630px) {
    h2 {
        font-size: 15px;
   }
    section {
        width:100%;
        margin-left: 0%;
        margin-right: 0%;
        padding-bottom: 5%;
   }
    .displayed-photos {
        display: none;
   }
    article {
        margin-left: 5%;
        text-align: center;
        margin-right: 5%;
        width: 85%;
   }
    .wycieczki {
        margin-left: 5%;
        margin-right: 5%;
        width: 85%;
        height: auto;
   }
    .topnav {
        overflow: hidden;
        background-color: #333;
        position: relative;
   }
    .topnav #myLinks {
        display: none;
   }
    .topnav a {
        color: rgb(248, 248, 248);
        padding-bottom: 25px;
        padding-top: 10px;
        padding-right:16px;
        padding-left: 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
   }
    .topnav a.icon {
        background: rgb(46, 45, 45);
        display: block;
        position: absolute;
        height: 10px;
        right: 0;
        top: 0;
   }
    .active {
        background-color: rgb(101, 124, 197);
        color: white;
   }
    .menu {
        display: none;
   }
    section {
        font-size: 20px;
        height: 50px;
   }
}
