@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;
}

h1 {
    font-family: "Playfair Display";
    font-weight: 800;
    font-size: 48px;

}

h2 {
    font-family: "Playfair Display";
}

main {
    height: 75vh;
}

p {
    line-height: 155%;
    font-size: 18px;
    font-weight: 500;
}

.mark {

    background: linear-gradient(to bottom,
            transparent 65%,
            #CAF0C5 45%);

    font-weight: bold;
}

.wrap {
    margin: 0 auto;
    max-width: 1280px;
}

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*/

.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;
    text-decoration: none;
    display: inline-block;
}

.CTA:hover {
    opacity: 80%;
}

.center {
    text-align: center;
}


@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);
    }

}


/* MAIN*/

.cv{
    background-color: rgba(248, 235, 227, 1);
    padding: 50px;
    margin-top: 80px;
}

.about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.about h1{
    margin-bottom: 25px;
}

.cv h2{
    /* margin-top: 20px; */
    margin-bottom: 15px;
}

.lewy{
    width: 55%;
    padding-right: 20px;
}

.prawy{
    width: 31%;
}


.tools{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}




.tools .prawy{
    margin-left: -100px;
}


.toolsup{
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
}

.toolsdown{
    display: flex;
    /* justify-content: space-between; */
}

ul{
    margin-bottom: 20px;
    list-style-position: inside;
}

ol{
    list-style-position: inside;
    list-style-type: upper-roman;
}

ol li{
    margin-bottom: 30px;
    font-size: 18px;
}

.tools img{
    align-self: center;
    margin-bottom: 20px;
    margin-right: 30px;
}

.tools .lewy h2{
    /* margin-top: 40px; */
    margin-bottom: 15px;
   }

.tools .prawy h2{
 margin-left: 80px;
 /* margin-top: 40px; */
}


.certi{
    display: flex;
    justify-content: space-between;
}

.certi .prawy{
    padding-left: 78px;
}

.certi p{
  margin-bottom: 20px;  
}
.certi ul li{
    margin-bottom: 20px;
}

.prawy li{
    margin-bottom: 10px;
}

.kontakt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    width: 100%;
    align-items: center;
}

.kontakt h2{
    margin-bottom: 25px;

}


.ghost {
    padding: 14px 40px;
    background-color: #FAFAFA;
    color: black;
    border: 2px solid gray;
    font-size: 14px;
    font-weight: 700;
    font-family: "Karla";
    cursor: pointer;
    margin-left: 10px;
    text-decoration: none;
}

.ghost:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/*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;
}

.toTop:visited {
    color: #000;
}

.toTop.ready {
    bottom: 70px;
    pointer-events: auto;
    opacity: 0.3;
}

a:hover.toTop {
    opacity: 0.8;
}

/*STOPKA*/


footer {
    background-color: rgba(248, 235, 227, 1);
    text-align: center;
    height: 5vh;
    margin: 150px -999rem;
    padding: 20px 999rem;
    margin-bottom: 0;
}

@media only screen and (max-width: 1024px) {

.about .prawyimg{
    display: none;
}

.tools{
    flex-wrap:  wrap;
    margin-bottom: 20px;
}

.tools .prawy{
    margin-left: 0px;
}

.tools .prawy img{
    display: none;
}

.tools .prawy h2{
    margin-left:0;
}

ul{
    margin-bottom: 0;
}

.certi{
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.certi .prawy{
    padding-left: 0px;
}
.prawy{
 width: 100%;
 margin: 0;
 padding: 0;
}

.lewy{
    width: 100%;
}
}


@media only screen and (max-width: 950px) {
    .cv{
        padding: 20px;
        margin-top: 40px;
        
    }
 
}



@media only screen and (max-width: 950px) {

    footer {
        background-color: rgba(248, 235, 227, 1);
        text-align: center;
        height: 100px;
        margin: 100px -999rem;
        padding: 20px 999rem;
        margin-bottom: 0;
    }

    .toTop {
        display: none;
    }

    .ghost{
        display: block;
        margin-left: 125px;
        margin-right: 125px;
    }
}

@media only screen and (orientation:landscape) and (max-device-width: 950px) {
    /* article{
          padding-top: 100px;
      } */
  .postHeader{
      margin-bottom: 200px;
  }
      
      

@media only screen and (max-width: 414px) {

    footer {
        background-color: rgba(248, 235, 227, 1);
        text-align: center;
        height: 75px;
        margin: 75px -999rem;
        padding: 20px 999rem;
        margin-bottom: 0;
    }

}



/*STOPKA Responsywnosc*/

@media only screen and (max-width: 1366px) {
    .logo {
        padding-left: 30px;
    }

    header nav {
        padding-right: 30px;
    }

    .postHeader {
        padding-left: 30px;
        padding-right: 30px;
    }


    article {
        padding-left: 30px;
        padding-right: 30px;
    }

}