@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@400;700&family=Saira:wght@400;700&display=swap');

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

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

header {
    position: relative;
    height: 90vh;
    background-color: #bbb;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
    background-image: url("../img/header-backg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-image: url(../img/mleko2.png);
    background-size: cover;
    background-position: top center; */
}

header>* {
    position: absolute;
}

header img {
    bottom: 10%;
    right: 13%;
    height: 35%;
}

header div.welcome {
    z-index: 1;
    top: 7%;
    left: 5%;
    right: 5%;
    font-family: 'Saira Condensed', sans-serif;
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    background-color: rgba(187, 187, 187, 0.7);
    padding: 3%;
}

header h1 {
    font-size: 20px;
    margin-top: 15px;
}

header h2 {
    font-size: 20px;
    font-weight: normal;
}

header button {
    font-family: 'Saira', serif;
    font-weight: 300;
    line-height: 32px;
    padding: 0 20px;
    text-transform: uppercase;
    background-color: transparent;
    color: white;
    font-size: 12px;
    border: 2px solid white;
}

header button a {
    text-decoration: none;
}

@media (orientation: portrait) and (min-width: 320px) {

    header h1 {
        font-size: 34px;
    }

    header h2 {
        font-size: 20px;
    }

    header button {
        font-size: 14px;
        line-height: 40px;
        margin-top: 34px;
    }

}

@media (orientation: portrait) and (min-width: 360px) {

    header h1 {
        font-size: 34px;
    }

    header h2 {
        font-size: 20px;
    }

    header button {
        font-size: 16px;
        line-height: 40px;
        margin-top: 44px;
    }
}


@media (orientation: portrait) and (min-width: 410px) {

    header h1 {
        font-size: 46px;
    }

    header h2 {
        font-size: 26px;
    }

    header button {
        font-size: 20px;
        line-height: 50px;
        margin-top: 40px;
    }

    header img {
        bottom: 9%;
        right: 11%;
    }

}

@media (orientation: portrait) and (min-width: 768px) {

    header p {
        font-size: 80px;
    }

    header h1 {
        font-size: 52px;
    }

    header h2 {
        font-size: 32px;
    }

    header button {
        font-size: 24px;
        line-height: 60px;
        margin-top: 60px;
    }

    header img {
        bottom: 13%;
        right: 21%;
    }

}


@media (orientation: landscape) {

    header img {
        bottom: 15%;
        right: 2%;
        height: 69%;
    }

    header div.welcome {
        top: 11%;
        right: 55%;
    }

    header button {
        margin-top: 30px;
    }
}

@media (orientation: landscape) and (min-width: 533px) {

    header img {
        bottom: 19%;
        right: 2%;
        height: 64%;
    }

    header h1 {
        font-size: 25px;
        margin-top: 35px;
    }

    header h2 {
        font-size: 15px;
        margin-top: 5px;
    }

    header button {
        font-size: 12px;
        line-height: 40px;
    }

}


@media (orientation: landscape) and (min-width: 640px) {

    header img {
        right: 3%;
    }

    header h1 {
        font-size: 31px;
    }

    header h2 {
        font-size: 18px;
    }

    header button {
        font-size: 16px;
        line-height: 40px;
    }

}

@media (orientation: landscape) and (min-width: 960px) {

    header div.welcome {
        top: 22%;
        left: 0;
    }

    header p {
        font-size: 56px;
    }

    header h1 {
        font-size: 44px;
        margin-top: 34px;
    }

    header h2 {
        font-size: 24px;
    }

    header button {
        font-size: 24px;
        line-height: 60px;
        margin-top: 80px;
    }

    header img {
        bottom: 23%;
        right: 2%;
        height: 52%;
    }

}

@media (orientation: landscape) and (min-width: 1280px) {

    header div.welcome {
        top: 13%;
        left: 8%;
        text-align: left;
    }

    header p {
        font-size: 100px;
    }

    header h1 {
        font-size: 52px;
        margin-top: 40px;
    }

    header h2 {
        font-size: 32px;
    }

    header button {
        margin-top: 80px;
        font-size: 30px;
        line-height: 80px;
        padding: 0 40px;
        border-width: 4px;
    }

    header img {
        bottom: 23%;
        right: 5%;
        height: 60%;
    }

}

@media (orientation: landscape) and (min-width: 1600px) {

    header div.welcome {
        top: 10%;
        left: 8%;
    }

    header p {
        font-size: 120px;
    }

    header h1 {
        font-size: 66px;
    }

    header h2 {
        font-size: 42px;
    }

    header button {
        line-height: 80px;
    }

    header img {
        top: 18%;
        right: 8%;
        height: 65%;
    }

}

@media (min-width: 1024px) {

    header button {
        cursor: pointer;
        transition: .3s;
    }

    header button:hover {
        background-color: #fff;
        color: #111;
    }
}

/* Sekcja 1 */

.features {
    max-width: 1600px;
    margin: 50px auto 0;
    padding: 5%;
    text-align: center;
}

.features h1 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.features h2 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.features img {
    width: 100%;
    margin: 5px 0;
    max-width: 375px;
}

.features p {
    font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight: 300;
    margin: 20px 0;
}

@media (min-width:360px) {

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

    .features h2 {
        font-size: 24px;
    }

    .features p {
        font-size: 16px;
    }

}

@media (min-width:768px) {

    .features h1 {
        font-size: 40px;
    }

    .features h2 {
        font-size: 28px;
    }

    .features p {
        font-size: 18px;
    }

}

@media (min-width:1024px) {

    .features {
        margin-top: 15px;
        padding: 5% 2%;
        text-align: center;
    }

    .feature {
        float: left;
        width: 33%;
        padding: 30px;
    }

    .features h1 {
        font-size: 40px;

    }

    .features h2 {
        font-size: 23px;
    }

    .features p {
        font-size: 18px;
        line-height: 120%;
    }

}

@media (min-width:1600px) {

    .feature {
        padding: 20px 40px;
    }

    .features h1 {
        font-size: 60px;
    }

    .features h2 {
        font-size: 36px;
    }

    .features p {
        font-size: 18px;
        line-height: 160%;
        padding: 0 10px;
    }

}

.portfolio {
    background-color: black;
    padding: 10px 0 30px;
}

.portfolio h1 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 15px;
}

.portfolio .web img {
    width: 100%;
}

.portfolio .about {
    color: white;
    font-family: 'Saira';
    font-weight: normal;
    padding: 10px 20px 20px 0;
    text-align: left;
}

.portfolio .about h2 {
    font-size: 18px;
    border-bottom: 2px solid white;
    margin-bottom: 12px;
    padding-bottom: 6px;
    text-indent: 20px;
}

.portfolio .about p {
    font-size: 12px;
    padding-left: 20px;
}

.portfolio .project {
    margin-bottom: 20px;
}

.portfolio .project:nth-of-type(odd) {
    background-color: orange;
}

.portfolio .project:nth-of-type(even) {
    background-color: rgb(97, 118, 240);
}

/* sekcja contact */

.contact {
    background-color: #000;
    padding: 30px 20px;
}

.contact h1 {
    font-family: 'Saira Condensed',
        sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: white;
    text-align: center;
}

.contact .wrap {
    padding-top: 20px;
    max-width: 1024px;
    margin: 0 auto;
}

.contact input,
.contact button,
.contact textarea {
    width: 100%;
    margin-bottom: 25px;
    font-family: saira, sans-serif;
    font-size: 12px;
    padding: 5px;
}

.contact input {
    height: 36px;
}

.contact textarea {
    height: 120px
}

.contact button {
    font-size: 14px;
    line-height: 40px;
    background-color: black;
    color: white;
    border: 2px solid white;
}

.contact .socials {
    padding-top: 30px;
    font-size: 0;
}

.contact .social {
    padding: 10px 0;
    color: white;
    font-family: saira condensed, sans-serif;
}

.contact .social img {
    float: left;
}

.contact .social span {
    line-height: 72px;
    padding-left: 20px;
    float: left;
    font-size: 20px;
}

@media (min-width: 533px) {

    .contact .social {
        display: inline-block;
        width: 50%;
    }
}

@media (min-width: 1024px) {

    .contact h1 {
        font-size: 60px;
        padding: 30px 0;
    }

    .contact form,
    .contact .socials {
        float: left;
        width: 50%;
        padding: 0 20px
    }

    .contact .social {
        display: block;
        width: 50%;
        margin: 0 auto;
    }

    .contact input,
    .contact button,
    .contact textarea {
        margin-bottom: 35px;
    }

    .contact input {
        height: 46px;
        font-size: 24px;

    }

    .contact textarea {
        height: 180px;
        font-size: 24px;
    }

    .contact button {
        font-size: 20px;
        line-height: 50px;
        transition: .3s;
        cursor: pointer;
    }

    .contact button:hover {
        color: black;
        background-color: #fff;
    }
}

footer {
    background-color: #29a6dc;
    color: white;
    font-family: saira, sans-serif;
    text-align: center;
    padding: 20px;
    font-size: 20px;
}