@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-family: "Jost", serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.top-banner {
    font-family: "Jost", serif;
    background-color: #BD3531;
    text-transform: uppercase;
    padding: 2rem;
    color: white;
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.35rem;
    font-weight: 700;

    span {
        color: #00b4d8;
    }

    @media(max-width:1024px) {
        font-size: 1.2rem;
        padding: 1rem;
    }

    @media(max-width:768px) {
        font-size: .95rem;
    }
}

.nav-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1rem;
    width: 85%;
    margin: 0 auto;

    @media(max-width:1149px) {
        width: 95%;
    }

    @media(max-width:768px) {
        justify-content: center;
    }
}

.nav-banner-left-logos {
    width: 280px;
    height: auto;

    @media(max-width:1429px) {
        width: 220px;
    }

    @media(max-width:1024px) {
        width: 180px;
    }
}

.nav-banner-right{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 320px;

    p{
        color: #204D9C;
        font-weight: 700;
        font-size: 2rem;
        line-height: 34px;

        @media(max-width:1429px) {
            font-size: 1.4rem;
            line-height: 26px;
        }

        @media(max-width:1024px) {
            font-size: 1.2rem;
            line-height: 22px;
        }
    }
}

.nav-banner-phone {
    width: auto;
    text-align: center;
    text-decoration: none;
    color: #204D9C;
    font-weight: 700;
    font-size: 2rem;
    border: 4px solid #204D9C;
    padding: 1rem;
    border-radius: 12px;
    
    @media(max-width:1429px) {
        font-size: 1.4rem;
    }

    @media(max-width:1024px) {
       font-size: 1.2rem;
       border: 2px solid #204D9C;
    }
}

.nav-banner-right-image{
    width: 64px;

    @media(max-width:1024px) {
        width: 48px;
    }
}

.main-banner {
    background-image: url("../img/baner\ glowny.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    position: relative;
    gap: 2rem;

    @media(max-width:768px) {
        min-height: 500px;
        padding: .5rem;
    }
}

.main-banner-left-content{
    flex: 1;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    @media(max-width:768px) {
        min-height: fit-content;
    }
}

.main-banner-right-content{
    flex: 1;
    min-height: 700px;
    
    @media(max-width:768px) {
        min-height: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.main-banner-image {
    width: 460px;
    height: auto;

    @media(max-width:1429px) {
        width: 320px;
    }

    @media(max-width:1024px) {
        width: 240px;
    }

    @media(max-width:768px) {
        width: 180px;
    }
}

.main-banner-form-div {
    padding: 1rem 2rem;
    width: 700px;
    height: 650px;
    border-radius: 26px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #204D9C;

    @media(max-width:1429px) {
        width: 550px;
    }

    @media(max-width:1024px) {
        width: 450px;
        height: 620px;
        padding: 1rem;
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
    }

    @media(max-width:529px) {
        width: 400px;
        height: 550px;
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
    }

    @media(max-width:439px) {
        width: 350px;
    }

    /* @media(max-width:429px) {
        width: 100%;
    } */
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.form-row {
    display: flex;
    gap: .75rem;
}

.full-width {
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 3px rgba(0,0,0,.15);

    @media(max-width:1429px) {
       padding: .85rem;
       font-size: .95rem;
    }

    @media(max-width:1024px) {
        padding: .75rem;
        font-size: .85rem;
    }
}

.form-button {
    font-family: 'Open Sans', sans-serif;
    padding: 1rem;
    font-size: 2rem;
    font-weight: 500;
    background-color: #BD3531;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 1rem;

    @media(max-width:1429px) {
        font-size: 1.25rem;
    }

    @media(max-width:1024px) {
        font-size: 1rem;
    }
}

.disclaimer {
    font-size: 0.8rem;
    color: black;
    margin: 1rem 0;
}

.disclaimer a {
    color: inherit;
}

.claim-offer {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;

    @media(max-width:1429px) {
        font-size: 1.3rem;
    }

    @media(max-width:1024px) {
        font-size: 1.1rem;
    }

    @media(max-width:768px) {
       font-size: .9rem;
    }
}

.inputDiv{
    line-height: 18px;
    font-size: .95rem;
    color: white;

    a{
        color: white;
    }

    @media(max-width:548px) {
        line-height: 14px;
        font-size: .8rem;
    }

    @media(max-width:439px) {
        font-size: .75rem;
    }

}

.red-container{
    background-color: #BD3531;
    padding-top: 4rem;
    padding-bottom: 6rem;

    @media(max-width:1024px) {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.red-container-inside{
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    justify-content: center;
    align-items: center;

    @media(max-width:1149px) {
        width: 95%;
    }

    @media(max-width:1024px) {
        gap: 4rem;
    }

    @media(max-width:768px) {
        gap: 2rem;
    }
}

.red-container-heading{
    color: white;
    font-size: 3.4rem;

    @media(max-width:1429px) {
        font-size: 2.8rem;
    }

    @media(max-width:1024px) {
        font-size: 2.2rem;
    }

    @media(max-width:768px) {
        font-size: 1.6rem;
        text-align: center;
    }
}

.red-container-content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;

    @media(max-width:1024px) {
        gap: 1rem;
    }
}

.red-container-single-div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 2rem;
    min-width: 360px;
    max-width: 480px;

    @media(max-width:1429px) {
        gap: 1rem;
    }

    @media(max-width:1024px) {
        width: 40%;
        margin: 0 auto;
    }
}

.red-container-image-div{
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    img{
        width: 70px;

        @media(max-width:1429px) {
            width: 50px;
        }

        @media(max-width:768px) {
            width: 38px;
        }
    }
}

.red-container-single-header{
    font-weight: 600;
    font-size: 1.8rem;
    color: white;
    text-align: center;
    height: 60px;

    @media(max-width:1429px) {
        font-size: 1.4rem;
        height: 40px;
    }

    @media(max-width:1024px) {
        font-size: 1.3rem;
    }
}

.red-contaier-single-text{
    color: white;
    font-size: 1.15rem;
    text-align: center;
    height: 140px;

    @media(max-width:1429px) {
        font-size: .9rem;
        height: 100px;
    }

    @media(max-width:1024px) {
        font-size: .85rem;
        height: 80px;
    }
}

.flooring-solution-div{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 85%;
    margin: 0 auto;

    @media(max-width:1149px) {
        width: 95%;
    }

    @media(max-width:1024px) {
        gap: 1rem;
    }
}

.flooring-solution-heading{
    color: #204D9C;
    font-size: 3.4rem;

    @media(max-width:1429px) {
        font-size: 2.8rem;
    }

    @media(max-width:1024px) {
        font-size: 2.2rem;
    }

    @media(max-width:768px) {
        font-size: 1.6rem;
        text-align: center;
    }
}

.flooring-solution-text{
    font-size: 1.6rem;

    @media(max-width:1429px) {
        font-size: 1.4rem;
    }

    @media(max-width:1024px) {
        font-size: 1.1rem;
    }

    @media(max-width:768px) {
        font-size: .9rem;
        text-align: center;
    }
}

.flooring-solution-content{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;

    @media(max-width:768px) {
        gap: 1rem;
        margin-top: 1rem;
    }
}

.flooring-solution-single-div{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    height: 580px;

    @media(max-width:1429px) {
        height: 520px;
    }

    @media(max-width:768px) {
        height: 320px;
    }

    
    img{
        width: 420px;

        @media(max-width:1429px) {
            width: 320px;
        }

        @media(max-width:768px) {
            width: 180px;
        }
    }
}

.flooring-solutions-single-text{
    font-size: 1.2rem;
    text-align: center;
    flex: 1;
    width: 75%;
    margin: 0 auto;

    @media(max-width:1429px) {
        font-size: 1rem;
    }

    @media(max-width:768px) {
        font-size: .8rem;
        line-height: 14px;
        width: 80%;
    }
}

.flooring-solution-button{
    min-width: fit-content;
    padding: 1.25rem 4rem;
    color: white;
    text-transform: uppercase;
    font-size: 1.6rem;
    background-color: #BD3531;
    border-radius: 6px;
    margin: 0 auto;
    cursor: pointer;
    margin-top: 2rem;
    text-decoration: none;

    a {
        color: white;
        text-decoration: none;
    }

    @media(max-width:1429px) {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }

    @media(max-width:1024px) {
        font-size: 1.1rem;
    }

    @media(max-width:768px) {
        font-size: .9rem;
        margin-top: 0;
    }
}

.blue-container{
    background-color: #204D9C;
    margin-top: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;

    @media(max-width:1024px) {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    @media(max-width:768px) {
        padding-top: 2rem;
    }
}

.blue-container-inside{
    display: flex;  
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 85%;
    margin: 0 auto;

    @media(max-width:1149px) {
        width: 95%;
    }

    @media(max-width:768px) {
        gap: 2rem;
    }
}

.blue-container-left{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-width: 320px;

    @media(max-width:1429px) {
        gap: 2rem;
    }
}

.blue-container-left-heading{
    font-size: 3.4rem;
    color: white;

    @media(max-width:1429px) {
        font-size: 2.8rem;
    }

    @media(max-width:1024px) {
        font-size: 2.2rem;
    }

    @media(max-width:768px) {
        font-size: 1.6rem;
        text-align: center;
    }
}

.blue-container-left-text{
    font-size: 1.6rem;
    color: white;

    @media(max-width:1429px) {
        font-size: 1.3rem;
    }

    @media(max-width:1024px) {
        font-size: 1rem;
    }

    @media(max-width:768px) {
        font-size: .85rem;
        text-align: center;
    }
}

.blue-container-right{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    img{
        width: 140px;

        @media(max-width:1024px) {
            width: 100px;
        }

        @media(max-width:768px) {
            width: 80px;
        }
    }
}

.flooring-options{
    padding: 6rem 0rem;
    background-image: url("../img/baba\ na\ podlodze.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    @media(max-width:1024px) {
        padding: 2rem 0;
    }
}

.flooring-options-inside{
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;

    @media(max-width:1149px) {
        width: 95%;
    }
}

.flooring-options-heading{
    color: #234267;
    font-size: 3.4rem;
    width: 40%;

    @media(max-width:1429px) {
        font-size: 2.8rem;
    }

    @media(max-width:1024px) {
        font-size: 2.2rem;
    }

    @media(max-width:768px) {
        font-size: 1.6rem;
        width: 80%;
    }
}

.flooring-options-text{
    font-size: 1.4rem;
    width: 40%;

    @media(max-width:1429px) {
        font-size: 1.05rem;
    }

    @media(max-width:1024px) {
        font-size: .95rem;
    }

    @media(max-width:768px) {
        font-size: .85rem;
        width: 80%;
    }
}

.flooring-options-button{
    min-width: fit-content;
    padding: 1.25rem 4rem;
    color: white;
    text-transform: uppercase;
    font-size: 2rem;
    background-color: transparent;
    border: 3px solid #234267;
    color: #234267;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 2rem;

    a{
        color: #234267;
        text-decoration: none;
    }

    @media(max-width:1429px) {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }

    @media(max-width:1024px) {
        font-size: 1.1rem;
    }

    @media(max-width:768px) {
        font-size: .9rem;
        padding: 1rem;
    }
}

.footer {
    background-color: #204D9C;
    padding: 4rem 0;
    display: flex;
    gap: 2rem;


    @media(max-width:1024px) {
        padding: 2rem;
    }

    @media(max-width:768px) {
        padding: 1rem;
    }

    @media(max-width:499px) {
        padding-left: 0rem;
        padding-right: 0rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.footer-inside{
    width: 85%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;

    @media(max-width:1149px) {
        width: 95%;
    }
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    color: white;
    min-width: 360px;

    a{
        color: white;
    }

    @media(max-width:1024px) {
        gap: 1rem;

        p{
            font-size: .9rem;
        }
    }
}

.footer-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

    @media(max-width:1429px) {
        gap: 2rem;
    }

    @media(max-width:768px) {
        gap: 1rem;
    }
}

.footer-winner-image{
    width: 140px;

    @media(max-width:1024px) {
        width: 100px;
    }

    @media(max-width:768px) {
        width: 80px;
    }
}

.footer-warranty-image{
    width: 140px;

    @media(max-width:1024px) {
        width: 90px;
    }
}

.footer-a-image { 
    width: 140px;

    @media(max-width:1024px) {
        width: 120px;
    }

    @media(max-width:768px) {
        width: 100px;
    }
}

#successContent {
    display: none;
    padding: 4rem;
    background-color: white;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    @media(max-width:1024px) {
        padding: 2rem;
    }
}

#thankYou {
    color: #204D9C;
    font-size: 4rem;
    font-family: "Bree Serif", serif;
    text-align: center;
    font-weight: 300;
    margin-top: 1rem;

    @media(max-width:1024px) {
       font-size: 2rem;
    }
  }
  
  #yourRequest {
    color: #204D9C;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1rem;
    width: 100%;

    @media(max-width:1024px) {
        font-size: 1rem;
     }
  }
  
  #successCheckIcon {
    width: 200px;
    fill: #204D9C;
    margin-left: auto;
    margin-right: auto;
    display: block;

    @media(max-width:1024px) {
        width: 80px;
     }
  }

  .error-message {
    color: red;
    display: none;
    font-weight: 600;
    font-size: .9rem;

    @media(max-width:768px) {
        font-size: .7rem;
    }
  }

  .floating-container {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    padding: 1.5rem;
    border-radius: 24px 24px 0 24px;
    box-shadow: 3px 5px 8px rgba(0,0,0,.15);
    position: fixed;
    right: 2%;
    bottom: 3%;
    text-align: left;
    font-size: .9rem;
    line-height: 1.5rem;
    width: 540px;
    z-index: 9;
  
    @media(max-width:1024px) {
        width: 75%;
        padding: 1.5rem;
    }
  
    @media(max-width:768px) {
        width: 95%;
    }
  
    a{
        color: #0077b6;
    }
  }
  
  .floating-container-buttons{
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }
  
  .floating-button {
    padding: 1rem;
    font-size: 1rem;
    min-width: 140px;
    margin: 0;
    cursor: pointer;
    background-color: #204D9C;
    color: white;
    border-radius: 12px;
  
    @media(max-width:1024px) {
        padding: .75rem;
    }
  }
  
  .floating-fake-button{
    text-decoration: underline;
    cursor: pointer;
    font-size: .95rem;
  }
  
  .declined-content {
    text-align: center;
    color: white;
    margin-top: 30%;
    
    @media (max-width: 1373px) {
        margin-top: 50%;
    }
    
    @media (max-width: 1024px) {
        margin-top: 0;
    }
    
    
  }
  
  .declined-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
  
    @media(max-width:1373px) {
        font-size: 2rem;
    }
  
  }
  
  .declined-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 5px 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
  
    @media(max-width:1373px) {
        font-size: 1.6rem;
    }
      
  }
  
  .reset-span {
    text-decoration: underline;
    cursor: pointer;
  }


  .not-accepted-disclaimer{
    display: none;
    min-width: 320px;

    h2{
        color: white;
        font-size: 3.5rem;
        text-align: center;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);

        @media (max-width: 1024px) {
            font-size: 2rem;
        }
    }

    p{
        color: white;
        font-size: 2.5rem;
        text-align: center;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);

        @media (max-width: 1024px) {
            font-size: 1.4rem;
        }
    }
  }

  .checkbox_label{
    margin-right: .5rem;
  }