@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Karla";
    overflow-x: hidden;
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-family: "Playfair Display";
    font-weight: 800;
    font-size: 48px;

}

h2 {
    font-family: "Playfair Display";
}

p {
    line-height: 155%;
    font-size: 18px;
    font-weight: 500;
}

.mark {

    background: linear-gradient(to bottom,
            transparent 65%,
            #CAF0C5 45%);
}

.wrap {
    margin: 0 auto;
    max-width: 1280px;
    flex: 1;
}

/*NAWIGACJA*/


header {
    height: 125px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(248, 235, 227, 1);
    margin: 0 -999rem;
    padding: 0 999rem;
}

/*nawigacja*/

nav {
    display: flex;
    position: relative;
}

header nav ul {
    list-style: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: 700;
    transition: 0.3s ease-in-out;
}

nav ul a {
    position: relative;
    margin-right: 20px;
    margin-left: 20px;
    padding-bottom: 8px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

nav ul a::after {
    content: "";
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    height: 3px;
    width: 0;
    left: 0;
    bottom: -2px;
    transition: 0.3s;
}

nav ul a:hover:after {
    width: 100%;
}


nav ul li:last-child a {
    margin-right: 0px;
}


/* aktywna zakładka */
.active::after {
    content: "";
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -2px;
    transition: 0.3s;

}

/*bureger menu*/
.burger {
    border: none;
    background-color: transparent;
    display: none;
    cursor: pointer;
}

.line {
    width: 30px;
    height: 3px;
    background: rgba(0, 0, 0, 0.9);
    margin: 8px;
    transition: .3s ease-in-out;
}

/*bureger menu*/


/*nawigacja + resposywnosc*/

.CTA {
    padding: 16px 40px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 700;
    font-family: "Karla";
    cursor: pointer;

}

.CTA:hover {
    opacity: 80%;
}


@media only screen and (max-width: 690px) {
    .burger {
        display: block;
        transition: .3s ease-in-out;
    }

    nav ul {
        position: absolute;
        right: 0;
        top: 50px;
        background: rgb(72, 70, 70);
        height: 55vh;
        flex-direction: column;
        justify-content: space-around;
        width: 100vw;
        text-align: center;
        transform: translate(100%);
        transition: 0.3s ease-in-out;
    }

    ul.open {
        transform: translate(0%);
        transition: 0.3s ease-in-out;
    }

    .burger.open .line:first-child {
        transform: translateY(-300px);
    }

    .burger.open .line:nth-child(2) {
        transform: rotate(45deg) translateY(8px);
    }

    .burger.open .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);

    }


    nav ul a {
        color: black;
        background-color: rgba(248, 235, 227, 1);
        display: block;
        width: 200px;
        height: 50px;
        line-height: 50px;
    }



    nav ul li:last-child a {
        margin-right: 20px;
    }

    nav ul a::after {

        background-color: rgba(255, 255, 255, 0.9);
    }

    .active::after {
        background-color: rgba(255, 255, 255, 0.9);
    }

}


@media only screen and (max-width: 430px) {

    nav ul {
        height: 65vh;
    }


}

@media only screen and (max-width: 414px) {

    nav ul {
        height: 65vh;
    }
}


@media only screen and (max-width: 320px) {

    nav ul {
        height: 85vh;
    }

}


@media only screen and (orientation:landscape) and (max-device-width: 533px) {
    nav {
        position: static;
    }

    nav ul {
        right: 0;
        top: 0;
        height: 100vh;
    }
}


/*MAIN*/

.kontakt {
    margin-top: 150px;
    /* min-height: 100%; */
}

.static {
    padding: 40px;
    background-color: rgba(248, 235, 227, 1);
    border: 8px solid rgba(25, 24, 23, 0.5);
    /* border-radius: 15px; */
    height: 400px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.static h1 {
    margin-bottom: 30px;
    font-size: 42px;
}

.static p {
    margin-bottom: 30px;
}

.static ul {
    margin-left: 20px;
    font-family: "Karla";
    padding-bottom: 20px;
}

/*suwak*/

.fa-caret-square-up {
    font-size: 45px;
}

.toTop {
    position: fixed;
    right: 35px;
    bottom: 55px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    background-color: #0000;
    text-decoration: none;
    color: #000;
}

.toTop:visited {
    color: #000;
}

.toTop.ready {
    bottom: 70px;
    pointer-events: auto;
    opacity: 0.3;
}

a:hover.toTop {
    opacity: 0.8;
}

/*MAIN resposywnosc*/

@media only screen and (max-width: 1024px) {


    .kontakt {
        margin-top: 100px;
    }

    .static {
        padding: 30px;
    }
    
     .toTop{
     display:none;
    }


}



@media only screen and (max-width: 1024px) {


    .kontakt {
        margin-top: 70px;
        margin-bottom: 100px;
    }

    .static {
        margin-bottom: 20px;
    }
    
    .static {
        height: 550px
    }


}


@media only screen and (max-width: 580px) {


    .kontakt {
        height: 60vh;
    }
    
    .static {
        padding: 15px;
    }

}



@media only screen and (max-width: 480px) {

    .static {
        height: 450px;

    }

    .static h1 {
        font-size: 36px;
    }

    .static p {
        font-size: 14px;
    }
    
    .static ul {
        font-size: 14px;
    }

}


@media only screen and (max-width: 414px) {

   
    .static h1 {
        font-size: 32px;
    }

    .static p {
        font-size: 14px;
    }


}

@media only screen and (max-width: 377px) {
    .kontakt {
        margin-top: 40px;
        margin-bottom: 200px;
    }

    .static {
        height: 550px;
    }

    .static h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .static p {
        font-size: 14px;
        margin-bottom: 15px;
    }

}

/*STOPKA*/


footer {
    background-color: rgba(248, 235, 227, 1);
    text-align: center;

}

footer .wrapfot {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}


/*STOPKA Responsywnosc*/


@media only screen and (max-width: 1366px) {
    .logo {
        padding-left: 30px;
    }

    header nav {
        padding-right: 30px;
    }

    .kontakt {
        padding-left: 30px;
        padding-right: 30px;
    }
}


/* Formularz CSS */

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
