* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--melon-dark);
    color: white;
}

h1,
h2,
h3 {
    font-family: var(--font-2);
    color: var(--white);
    font-size: 4rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 4px;
}

.burger-menu,
.menu-bar {
    background-color: inherit
}

.right-menu-bar .logo-container img {
    width: 90%;
    background-color: var(--melon-dark);
    border-radius: 50%;
    padding: 0 10px 10px 10px;
}

.company-content {
    background-image: url('https://de0ld00a5rtyf.cloudfront.net/for_company/wine-2.webp');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
}

.company-content ::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-color: var(--white);
    opacity: 0.3;
}

.company-content h1 {
    font-size: 10rem;
}

@media (max-width:1230px) {
    .company-content {
        height: 70vh;
    }

    .company-content h1 {
        letter-spacing: 0;
        font-size: 7rem;
    }
}

.introduction {
    background-image: url('https://de0ld00a5rtyf.cloudfront.net/for_company/owce-professional.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
   
}

.introduction ::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-color: var(--melon-dark);
    opacity: 0.6;
    border-radius: 1rem;
}

.introduction p {
    position: absolute;
    right: 30px;
    width: 40%;
    font-size: 2rem;
    letter-spacing: 1px;
    padding: 30px;
}

@media (max-width:1230px) {
    .introduction {
        padding: 0;
    }
    .introduction p {
        width: 50%;
        font-size: 1.7rem;
        letter-spacing: 0px;
        padding: 20px;
    }
}

@media (max-width:758px) {
    .introduction p {
        right: 30px;
        width: 60%;
        font-size: 1.4rem;
        padding: 10px;
    }
}

.atractions {
    display: flex;
    flex-direction: column;
    padding: 60px 0;
}

.atractions .company-gallery {

    min-height: 20vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;

    margin: 2rem 0;
    padding: 2rem 1rem;
    background-color: var(--white);
}

.atractions p {
    font-size: 2rem;
    text-align: justify;
    border: 6px 0 0 0 solid white;
    width: 80%;
    line-height: 120%;
    margin: 20px auto 0 auto;
}

@media (max-width:1230px) {
    .atractions p {
        font-size: 1.6rem;
        text-align: justify;
    }
}

@media (max-width:758px) {
    .atractions p {
        font-size: 1.4rem;
        width: 90%;
        text-align: justify;
    }

    .atractions h1 {
        font-size: 3rem;
    }
}

.atractions .company-gallery img {
    width: 16rem;
    height: 12rem;
    padding: 1rem 0;
}

.wine {
    display: flex;
    border: 6px solid white;
    border-radius: 2rem;

    height: fit-content;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-align: justify;
    padding: 0 0 0 30px;
    margin: 0 auto;
}

.wine .move-gallery {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 60vh;
    width: 150%;
    overflow: hidden;
    border-radius: 1rem;
    padding: 20px 10px;
}

.wine .move-gallery img {
    width: 100%;
    max-height: fit-content;
    border-radius: 1rem;
}

.wine p {
    width: 80%;
    margin: 0 auto;
}

@media (max-width:1230px) {
    .wine {
        flex-direction: column;
        padding: 30px 40px;
    }
    .wine .move-gallery {
        width: 100%;
    }
}

@media (max-width:758px) {
    .wine {
        display: flex;
        flex-direction: column;
        width: 90%;
        font-size: 1rem;
        padding: 0;
    }

    .wine .move-gallery {
        height: 40vh;
        width: 80%;
    }

    .wine h1 {
        line-height: 140%;
        font-size: 3rem;
    }

    .wine p {
        padding-bottom: 10px;
        font-size: 1.4rem;
    }
}

.ending {
    /* Zdjęcie dodane przez Maria Tyutina: https://www.pexels.com/pl-pl/zdjecie/osoba-wlewajaca-plyn-do-brazowego-ceramicznego-kubka-814264/ */
    background-image: url('https://de0ld00a5rtyf.cloudfront.net/for_company/pexels-maria-tyutina-814264.webp');
    background-size: cover;
    background-position: center;

    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 80px 0 40px 0;
}

.ending ::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-color: var(--melon-dark);
    opacity: 0.6;
}

.ending p {
    position: absolute;
    right: 30px;
    width: 40%;
    font-size: 2rem;
    letter-spacing: 1px;
    padding: 10px 40px;
}

.ending .button {
    position: absolute;
    right: 17%;
    top: 60%;
    border: 2px solid white;
    padding: 8px 10px;
    border-radius: 4px;
}

@media (max-width:1230px) {
    .ending {
        margin-bottom: 20px;
    }
    .ending .button {
        top: 80%;
    }
}

@media (max-width:758px) {
    .ending {
        height: 60vh;
    }
    .ending p {
        width: 60%;
        font-size: 1.2rem;
    }

    .ending .button {
        width: 50%;
        font-size: 0.8rem;
        top: 70%;
        text-align: center;
    }
}