@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}

hr {
    margin: 0;
    margin-top: 1px;
    border: 3px #00aeb3 solid;
}

h2 {
    font-weight: 600;
}

body {
    margin: 0;
    background-image: url("http://protes.7m.pl/media/img/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Roboto", sans-serif;
}

button {
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: #fff;
}
ul {
    padding: 0;
    margin: 0;
}
/*=========================|Navbar|===============================*/
.navbar {
    background: rgba(0, 0, 0, 0);
    color: #fff;
    padding: 15px;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
}

.contacts-bar {
    padding-left: 15px;
    background: #fff;
    width: 100%;
    height: 50px;
    z-index: 60;
}

.contacts-bar a {
    font-size: 42px;
    cursor: pointer;
}

.vk {
    color: #2787f5;
    padding-left: 5px;
    padding-right: 5px;
    background: #fff;
}

.vk:hover {
    transition: all 0.3s;
    color: #fff;
    background: #2787f5;
}

.instagram {
    background: #fff;
    color: #d6249f;
    transition: all 0.3s;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
}

.instagram:hover {
    color: #fff;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.tel {
    margin-left: 15px;
    padding-left: 15px;
    padding-right: 15px;
    color: #00aeb3;
    transition: all 0.3s;
}

.tel:hover {
    color: #fff;
    background: #00aeb3;
}

.navbar-bg {
    background-image: url("http://protes.7m.pl/media/img/overlay1.jpg");
    width: 100%;
    height: 960px;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar-bg-overlay {
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
}

.navbar .logo {
    cursor: pointer;
    width: 175px;
    height: 65px;
}
.navbar .logo img {
    width: 175px;
    height: 65px;
}

.navbar .logo img:hover {
    opacity: 0.5;
}

.navbar ul.nav-links {
    font-family: "Nunito";
    margin-left: auto;
    margin-right: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    transition: 0.4s ease all, 0s ease background;
}
.navbar ul.nav-links li {
    text-transform: uppercase;
    padding: 0 15px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease all, 0s ease margin;
}
.navbar ul.nav-links li a {
    text-decoration: none;
    color: #fff;
}
.navbar ul.nav-links li:hover {
    background: #00aeb3;
    cursor: pointer;
}
.navbar ul.nav-links li:hover a {
    color: #080808;
}
.btn-primary {
    background: #00aeb3;
    outline: none;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid #008a8f;
    color: #fff;
    letter-spacing: 1px;
}
.btn-primary:hover {
    cursor: pointer;
    box-shadow: 0 0 25px 5px #00aeb3;
    color: #000;
    background: #dbdbdb;
    border-color: #fff;
}
.content {
    background-size: cover;
    height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.content h2 {
    color: #00aeb3;
}
.navbar.sticky {
    position: fixed;
    top: 50px;
    z-index: 40;
}
.navbar.sticky ~ main {
    position: relative;
    z-index: 20;
    top: 65px;
}
section {
    background: #000;
    color: #ffc600;
    padding: 20px;
    font-family: "Lacquer";
    font-weight: bold;
    letter-spacing: 0.5px;
}
.navbar.sticky {
    position: fixed;
    z-index: 40;
    background: rgba(0, 0, 0, 0.5);
    margin-top: -50px;
}
/*=======================|Media requestions|=============================*/
@media screen and (min-width: 1000px) {
    .adventajes {
        min-height: 800px;
    }
    .adventaje {
        margin-top: 50px;
        max-width: 350px;
        max-height: 400px;
        background: #fff;
        border-radius: 30px;
        box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.75);
    }
    .adventajes-horizontal {
        display: flex;
        flex-direction: row;
    }

    .adventaje-image {
        max-width: 350px;
        max-height: 200px;
    }

    .adventaje-text {
        max-width: 300px;
        margin: 0;
        padding: 0;
        max-height: 175px;
    }
}
@media screen and (max-width: 975px) {
    .adventajes {
        min-height: 1800px;
        margin: 0;
    }
    .offers {
        min-height: 1800px;
        margin: 0;
    }
}
@media screen and (max-width: 800px) {
    .adventajes {
        min-height: 1800px;
        margin: 0;
    }
    .offers {
        min-height: 1800px;
        margin: 0;
    }
    .con {
        width: 290px;
        margin: auto;
        height: 1000px;
    }
    .adventaje {
        margin-left: -225px;
    }
}
@media screen and (min-width: 750px) {
    .con {
        width: 700px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (min-width: 500px) {
    .con {
        width: 450px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (min-width: 600px) {
    .con {
        width: 550px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (min-width: 700px) {
    .con {
        width: 650px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (min-width: 800px) {
    .con {
        width: 750px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (min-width: 900px) {
    .con {
        width: 850px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (min-width: 1000px) {
    .con {
        width: 950px;
        margin: auto;
        height: 1000px;
    }
}
@media screen and (max-width: 750px) {
    .adventaje {
        margin-top: 50px;
        margin-right: 50px;
        max-width: 275px;
        max-height: 400px;
        background: #fff;
        border-radius: 30px;
        margin-left: 0;
        box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.75);
    }
    .adventajes-horizontal {
        display: flex;
        min-height: 1800px;
        flex-direction: column;
    }

    .adventaje-image {
        max-width: 275px;
        max-height: 150px;
    }

    .adventaje-text {
        max-width: 225px;
        margin: 0;
        padding: 0;
        max-height: 150px;
    }
    .offer {
        margin-top: 50px;
        max-width: 350px;
        min-height: 200px;
        background-image: url("http://protes.7m.pl/media/img/offer.png");
        margin-left: 0;
    }
    .offers-horizontal {
        float: left;
        margin-left: -150px;
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin-top: 250px;
    }

    .offer-link {
        max-width: 300px;
        float: left;
    }
    .last{
        padding-top: -375px;
    }
}

@media screen and (max-width: 850px) {
    /*.offers {
        min-height: 1150px;
        background: #000;
    }
    .offer {
        display: grid;
        max-width: 275px;
        display: flex;
    }
    .offers-horizontal {
        max-width: 700px;
    }
    .con {
        max-width: 1560px;
        height: 1000px;
        margin-left: 25px;
    }*/

    /*.overlay-image {
        width: 75%;
        top: 150px;
    }*/
    .navbar .right {
        height: 0;
        overflow: hidden;
    }
    .toggle {
        position: absolute;
        top: 90px;
        right: 20px;
        z-index: 99;
        transform: translateY(-50%);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .toggle > * {
        width: 80%;
        height: 2px;
        background: #00aeb3;
        margin: 3px 0;
    }
    .navbar.collapsed .toggle .line1 {
        transform: rotate(-45deg) translate(-4px, 5px);
    }
    .navbar.collapsed .toggle .line2 {
        opacity: 0;
    }
    .navbar.collapsed .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .navbar.collapsed .logo {
        position: absolute;
        z-index: 44;
    }
    .navbar .nav-links {
        position: fixed;
        background: rgba(8, 8, 8, 0.5);
        font-family: "Nunito";
        left: 100%;
        z-index: 40;
        top: 57px;
        flex-direction: column;
        width: 50vw;
        height: 115vh;
    }
    .navbar .nav-links li:first-child {
        margin-top: 135px;
    }
    .navbar.collapsed .nav-links {
        left: 0%;
    }
    .navbar.collapsed .nav-links a {
        color: #fff;
    }
    .navbar.collapsed .nav-links li {
        width: 100%;
    }
    .navbar.collapsed .nav-links li:hover a {
        color: #080808;
    }
    .navbar.collapsed .right {
        position: fixed;
        font-family: "Nunito";
        width: 45vw;
        text-align: center;
        height: auto;
        bottom: 40px;
        left: 22.5vw;
        transform: translateX(-50%);
        z-index: 45;
    }
    .navbar.collapsed ~ main {
        filter: blur(1px);
        opacity: 0.8;
    }
    /*=========|Sticky navbar|============*/
}
.navbar.sticky {
    position: fixed;
    z-index: 40;
    background: rgba(0, 0, 0, 0.5);
    margin-top: -50px;
}
.navbar.sticky .nav-links {
    top: 0;
}
.navbar.sticky .toggle {
    top: 35px;
}
.navbar.sticky .logo {
    margin-top: 0px;
}
.navbar-bg img {
    max-width: 300px;
}

.navbar-bg h2 {
    font-size: 42px;
}

.team {
    width: 100%;
    height: 150px;
    background: #2185f5;
}
/*===================|Adventajes|==================*/
.adventajes {
    height: 1000px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}

.overlay-image {
    margin-top: 126px;
}

.adventajes-horizontal {
    display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-template-rows: repeat(auto-fit, 400px);
    width: 100%;
    height: 800px;
    float: right;
    margin-right: 0;
}

.adventaje {
    margin-left: 75px;
    margin-top: 50px;
    width: 400px;
    height: 375px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.75);
}

.adventaje-text {
    text-align: center;
    font-size: 24px;
    width: 350px;
    color: #333333;
    font-weight: 500;
    margin-left: 25px;
    float: left;
    margin-top: -25px;
}

.adventaje-image {
    width: 400px;
    height: 250px;
}
/*============================|Offers|=============================*/
.container {
    margin-left: 150px;
}
.offers {
    width: 100%;
    background-size: cover;
    height: 550px;
}

.offer {
    margin-left: 50px;
    margin-top: 25px;
    width: 500px;
    background-image: url("http://protes.7m.pl/media/img/offer.png");
    background-size: cover;
    height: 200px;
}

.offer:hover {
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
}

.offer-link {
    text-align: center;
}

.offer img {
    float: right;
    width: 150px;
    margin-right: 10px;
    height: 100px;
    border: 4px #dadada solid;
    border-radius: 100px;
}

.offer-link {
    color: #fff;
    margin-left: 25px;
    font-weight: 500;
    font-size: 24px;
}

.offers-horizontal {
    display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-template-rows: repeat(auto-fit, 225px);
    width: 1560px;
    height: 550px;
    left: 150px;
    margin-right: 0;
}