body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* NAVBAR */
nav {
    /* background-color: rgba(0,0,0,0.7); */
    background-color: #383332;
}

.navbar-brand {
    padding-left: 20px;
}

.nav-link {
    color: white;
    font-weight: bolder;
    font-size: 22px;
    margin-right: 20px;
    margin-left: 20px;
}

.navbar .nav-link {
    color: white !important; /* Dowolny kolor */
}

.navbar .nav-link:hover {
    color: rgb(155, 155, 155) !important; /* Zmiana koloru po najechaniu */
}

#navButton {
    background-color: white;
    margin-right: 20px;
}

#logo {
    max-width: 150px;
}

/* MAIN PHOTO */
#mainPhoto {
    width: 100%;
    height: 460px;
    background-image: url("images/wet_cobble.jpg");
    background-size: cover;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#title {
    margin-top: 20px;
    font-size: 160px;
    font-weight: bolder;
    color: white;
    font-family: bebas;
}

/* CONTENT */
#contener {
    margin: 5% 15% 5% 15%;
    /* font-size: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 100px;
}

.box {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text {
    max-width: 50%;
    font-size: 22.5px;
    text-align: justify;
}

.leftbox > .text {
    text-align: justify;
}

.icons {
    height: 20px;
}

.leftbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.rightbox {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 15px;
}

.rightbox > .text {
    text-align: right;
}

#firstImage {
    background-image: url(images/myjka.jpg);
    background-size:cover;
}

#secondImage {
    background-image: url(images/water.jpg);
    background-size:cover;
}

#thirdImage {
    background-image: url(images/cobblestone.jpg);
    background-size:cover;
}

.title {
    color: white;
    font-family: bebas;
    font-size: 80px;
    font-weight: bolder;
}

#services > ul {
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: right;
    align-items: right;
    gap: 15px;
    list-style: none;
    text-transform: uppercase;
}

#contactInformation {
    padding: 20px;
    line-height: 30px;
    font-weight: bolder;
}

.contact_link {
    color: rgb(168, 25, 25);
}

.contact_link:hover {
    color: rgb(230, 48, 48);
}

h2 {
    font-size: 30px;
}

.leftbox > .text > h2 {
    text-align: left;
}

/* FONTS */
@font-face {
    font-family: bebas;
    src: url(fonts/BebasNeue-Book.ttf);
}

/* RESPONSIVE */
@media only screen and (max-width:1600px) {
    #services > ul {
        gap: 6px;
    }
}

/* FONTS-SIZE */
@media only screen and (max-width:1300px) {
    .text {
        font-size: 20px;
    }
}

@media only screen and (max-width:1100px) {
    .text {
        font-size: 19px;
    }
}

@media only screen and (max-width:930px) {
    .text {
        font-size: 18px;
    }
    #contener {
        margin: 10% 15% 10% 15%;
    }
}

@media only screen and (max-width:600px) {
    #title {
        font-size: 120px;
    }
}

@media only screen and (max-width:450px) {
    #title {
        font-size: 90px;
    }
}

/* CHANGING SCHEDULE */
@media only screen and (max-width:700px) {
    .rightbox {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    .rightbox > .text {
        text-align: left;
    }
    .leftbox > .text {
        text-align: left;
    }
}

@media only screen and (max-width:650px) {
    h2 {
        font-size: 24px;
    }
    .text {
        max-width: 70%;
    }
}

@media only screen and (max-width:540px) {
    #contener {
        gap: 100px;
    }
    #contactInformation {
        font-size: 15px;
    }
}

@media only screen and (max-width:390px) {
    #contactInformation {
        font-size: 14px;
    }
    .icons {
        height: 16px;
    }
}