body {
    margin: 0;
    padding: 0;
    background: url('../img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    color: #333;
    font-size: 14px;
    font-family: 'Raleway', Arial, sans-serif;
}

a{
    color: #03375e;
    text-decoration: none;
}

h1{
    color: #5D0208;
    font-weight: 700;
    margin-bottom: 1.2rem;
    margin-top: 0;
    line-height: 2.2rem;
    font-size: 1.7rem;
}

p{
    padding: 0px;
    margin-bottom: 0.5rem;
    margin-top: 0px;
}
ul{
    padding-left: 20px;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 900px;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 1;
    pointer-events: none;
}

.overlay {
    background-color: white;
    width: 600px;
    height: 100vh;
    min-height: 900px;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: 2; /* Wyższy z-index niż gradient */
    padding-left: 100px;
}

.logo {
    display: block;
    text-align: left;
    margin: 40px 0px 40px -25px;
    width: auto;
    max-width: 450px;
}
#mobile-logo-wrapper{
    display: none;
}

.info-wrapper {
    text-align: left;
    margin-bottom: 7vh;
    margin-top: 7vh;
}

@media (max-width: 1620px) {
    .logo {
        max-width: 400px;
    }
}

@media (max-width: 1420px) {
    .logo {
        max-width: 400px;
    }
    .overlay {
        width: 500px; /* Zmniejszenie szerokości apli */
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
        padding-left: 60px;
    }
}

@media (max-width: 1260px) {
    .logo {
        max-width: 300px;
    }
    .info-wrapper{
        max-width: 300px;
    }
    .overlay {
        width: 400px; /* Zmniejszenie szerokości apli */
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
        padding-left: 60px;
    }
}


@media (max-width: 1020px) {

    body{
        background: url('../img/background.jpg') no-repeat calc(50% - 200px) center fixed;
    }
    .overlay {
        margin-top: 500px;
        display: block;
        width: calc( 100% - 40px);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding-top: 40px;
    }

    .info-wrapper{
        width: 100%;
        min-width: 400px;
        min-height: 200px;
        float: left;
        margin-right: 2rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    #logo-wrapper{
        display: none;
    }
    #mobile-logo-wrapper{
        display: block;
        position: absolute;
        z-index: 100;
        width: 100%;
        text-align: center;
        background: #fff;
    }
    .mobile-logo{
        width: 80%;
        max-width: 300px;
        padding: 10px 0px;
    }

}

@media (max-width: 850px) {

    body::before {
        background: none
    }
    .overlay {
        width: calc( 100% - 30px);
        clip-path: none;
        padding-left: 30px;
    }

    .info-wrapper{
        min-width: 300px;
        width: 40%;
        min-height: auto;
        margin-top: 1rem;
        margin-bottom: 2rem;
        float: left;
    }



}


@media (max-width: 550px) {
    .info-wrapper{
        min-width: auto;
        width: 100%;
        float: none;
    }
}
