html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
}

h1, p {
    font-family: "Old Standard TT",  Arial;
    font-weight: 700;
    display: inline;
    cursor: default;
}

h3 {
    cursor: default;
}

.unselectable-text {
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.title {
    display: inline-block;
    background-color: red;
    animation-name: test;
    animation-duration: 2s;
    text-orientation: upright;
}

.up-image-hitbox {
    position: relative;
    width: 100%;
    height: 98vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

.up-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    object-position: 50% 50%;
    animation: up-image-animation linear;
    animation-timeline: scroll(root block);
    animation-range: 0px 100vh;
    filter: brightness(0.4);
}

@keyframes up-image-animation {
    0% {
        object-position: 50% 60%;
    }
    100% {
        object-position: 50% 20vh;
    }
}

.up-image-div {
    position: absolute;
    width: 80vw;
    height: 80vh;
    --border-width: 10px;
    border: var(--border-width) solid gold;
    box-shadow: 0px 0px 20px gold;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    animation-name: up-image-div;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.25s;
    opacity: 0
}

@keyframes up-image-div {
    0% {
        border: 0px solid gold;
        box-shadow: 0px 0px 0px gold;
        opacity: 1;
    }
    50% {
        box-shadow: 0px 0px 0px gold;
    }
    100% {
        border: var(--border-width) solid gold;
        box-shadow: 0px 0px 20px gold;
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .up-image-div {
        --border-width: 5px;
    }
}

.baventa-logo {
    position: relative;
    max-width: max(13vw, 20vh);
    margin: 0px;
    filter: drop-shadow(0px 0px 15px white);
    opacity: 0;
    animation-name: baventa-logo;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-delay: 0.25s;
}

@keyframes baventa-logo {
    0% {
        filter: drop-shadow(0px 0px 0px white);
        transform: translateY(50px);
        scale: 0;
        opacity: 1;
    }
    75% {
        filter: drop-shadow(0px 0px 25px white);
        scale: 1.15;
    }
    100% {
        filter: drop-shadow(0px 0px 15px white);
        transform: translateY(0);
        scale: 1;
        opacity: 1;
    }
}

.baventa-text {
    position: relative;
    font-size: max(10vw, 6vh);
    background: linear-gradient(180deg,rgba(239, 192, 57, 1) 0%, rgba(239, 185, 37, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: rgba(0, 0, 0, 0);
    margin: 0px;
    margin-top: 5vh;
    margin-bottom: 5vh;
    animation-name: upper-text;
    animation-duration: 1.5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes upper-text {
    0% {
        transform: translateY(50px);
        scale: 0;
        opacity: 1;
    }
    50% {
        scale: 1.15;
    }
    75% {
        transform: translateY(0);
        scale: 1.16;
    }
    100% {
        scale: 1;
        opacity: 1;
    }
}

.baventa-text::after {
    position: absolute;
    content: "BAVENTA";
    color: rgba(0, 0, 0, 0);
    top: 0;
    left: 0;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(60deg,rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 53%, rgba(255, 255, 255, 1) 58%, rgba(255, 255, 255, 1) 63%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-position: calc(-1 * max(50vw, 40vh)) 50%;
    animation-name: baventa-text-after;
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: 2s;
    filter: blur(5px)
}

@keyframes baventa-text-after {
    0% {
        background-position: calc(-1 * max(50vw, 40vh)) 50%;
    }
    100% {
        background-position: max(50vw, 40vh) 50%;
    }
}

.international-text {
    position: relative;
    font-size: max(5vw, 3vh);
    margin: 0px;
    background: linear-gradient(0deg,rgb(75, 68, 138) 0%, royalblue 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: rgba(0, 0, 0, 0);
    display: block;
    text-align: center;
    animation-name: upper-text;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    opacity: 0
}

@media (max-width: 700px) {
    .baventa-text {
        margin-top: 5vh;
        margin-bottom: 5vh;
    }
}

.about-us-hitbox {
    background-color: rgb(17, 17, 17);
}

.about-us-title {
    color: white;
    font-size: 50px;
    display: block;
    text-align: center;
    padding: 5px;
    padding-top: 10px;
    margin-top: 5px
}

.about-us-text {
    color: white;
    display: block;
    padding: 20px;
    padding-top: 0px;
    font-weight: normal;
    line-height: 45px;
}

@media (max-width: 883px) {
    .about-us-text {
        line-height: 35px;
    }
}

.important-text-fragment {
    background: linear-gradient(180deg,rgba(239, 192, 57, 1) 100%, rgb(233, 193, 85) 0%);
    -webkit-background-clip: text;
    background-clip: text;
    color: rgba(0, 0, 0, 0);
}

.our-meat-text {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 5px;
    display: block;
    font-size: 50px;
    text-align: center;
    color: white;
}

.our-meat-hitbox {
    margin: 0;
    width: 100%;
    min-height: 450px;
    background-color: rgb(17, 17, 17);
    padding-bottom: 20px;
    z-index: -2;
}

.meat-cards-hitbox {
    display: flex;
    width: 100%;
    column-gap: 50px;
    row-gap: 25px;
    padding-bottom: 40px;
    padding-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
}

.meat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 256px;
    background-image: linear-gradient(0deg, rgb(44, 44, 44) 0%, rgb(100, 100, 100) 100%);
    box-shadow: 0px 5px 10px black;
    border-radius: 18px;
    transition: scale 0.15s ease, box-shadow 0.5s ease-out;
    border: 2px solid gray;
    overflow: hidden;
    filter: opacity(0);
}

.meat-card:hover {
    top: -7px;
    scale: 1.05;
    box-shadow: 0px 2px 10px  var(--selected-shadow-color, red);
}

.meat-name {
    color: white;
    margin: 0px;
    margin-bottom: 5px;
    margin-top: 20px;
}

.meat-description {
    margin: 5px;
    margin-top: 0px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.animal-image {
    width: 100%;
    object-fit: fill;
    border-bottom: 2px solid gray;
}

.meat-card-appear-animation {
    animation-name: meat-card-appear;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-delay: calc(var(--appear-animation-order, 0) * 0.25s + 0.5s);
}

@keyframes meat-card-appear {
    0% {
        filter: opacity(0) brightness(0);
        transform: translateY(50px);
    }
    100% {
        filter: opacity(1) brightness(1)
    }
}

@media (max-width: 895px) {
    .meat-card-appear-animation {
        animation-delay: 0.5s;
    }
}

.europe-map-hitbox {
    width: 100%;
    padding: 20px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
}

.export-network-text {
    color: white;
    text-align: center;
    display: block;
    font-size: 50px;
    padding: 20px;
    margin-bottom: 5px;
}

.europe-map-svg {
    padding-bottom: 25px;
    width: 100%;
    height: auto;
    max-height: 100vh;
}

.europe-country {
    transition: all 0.15s ease;
}

.europe-country:hover {
    fill: gold;
}

#Poland.europe-country {
    fill: royalblue;
    filter: drop-shadow(0px 0px 5px rgba(65, 105, 225, 0.414));
}

.europe-country-capital {
    r: 3;
    fill: orange;
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0));
    pointer-events: none;
    transition: 0.25s all ease;
}

.highlighted-coutry {
    fill: white;
}

#Poland.europe-country-capital {
    r: 4;
    fill: rgb(0, 0, 151);
}

#Poland-background-circle.europe-country-capital {
    filter: none;
    content: "";
    fill: white;
    r: inherit;
    animation-name: poland-capital-animation;
    animation-duration: 4s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

@keyframes poland-capital-animation {
    0% {
        r: 4;
        filter: opacity(75%);
    }
    65% {
        filter: opacity(75%);
        r: 4;
    }
    75% {
       filter: opacity(75%);
    }
    100% {
        filter: opacity(0%);
        r: 25;
    }
}

.europe-country-name-div {
    padding-left: 2px;
    padding-right: 2px;
    background: linear-gradient(0deg,rgba(10, 10, 10, 1) 0%, rgba(50, 50, 50, 1) 100%);
    border-radius: 5px;
    border-color: gray;
    border-style: solid;
    border-width: 2px;
    color: white;
    box-shadow: 0px 3px 5px black, 0px 0px 10px black;
    transition: opacity 0.05s ease;
    opacity: 0;
    pointer-events: none;
    position: fixed;
}

#Poland.europe-country-name-div {
    background: linear-gradient(0deg,rgba(255, 0, 0, 1) 49%, rgba(255, 255, 255, 1) 51%);
    color: black;
    border-color: maroon;
}

.appear-class {
    opacity: 1
}

.what-we-stand-for-hitbox {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 100px;
    background-color: rgb(17, 17, 17);
}

.what-we-stand-for-text {
    color: white;
    display: block;
    text-align: center;
    font-size: 50px;
}

.what-we-stand-for-flex {
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: stretch;
    align-content: start;
    flex-wrap: nowrap;
    column-gap: 30px;
    row-gap: 30px;
    /*display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, max-content));
    grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
    gap: 30px;*/
    padding: 30px;
}

.letter-frame {
    background: linear-gradient(180deg,rgba(65, 105, 225, 1) 0%, rgba(61, 95, 196, 1) 100%);
    padding: 10px;
    width: fit-content;
    border-radius: 20px;
    border: 2px solid white;
    box-shadow: 0px 2px 10px black;
    transition: all 0.1s ease;
    opacity: 0;
}

.letter-card-appear-animation {
    animation-name: letter-card-appear;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-delay: calc(var(--appear-animation-order, 0) * 0.15s + 0.5s);
}

@keyframes letter-card-appear {
    0% {
        opacity: 0;
        transform:  translateY(75px) scale(0);
    }
    50% {
        scale: 1.15;
    }
    80% {
        transform: translateY(0);
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 1724px) {
    .letter-frame {
        flex: 0 0 calc((100% - 30px * 9) / 9);
    }
    .what-we-stand-for-flex {
        flex-wrap: wrap;
    }
}

@media (max-width: 580px) {
    .letter-frame {
        flex: 0 0 100%
    }
    .letter-card-appear-animation {
       animation-delay: 0.5s
    }
}

.letter-frame:hover {
    top: -7px;
    scale: 1.05;
}

.letter-explanation {
    color: gold;
    font-size: 40px;
    display: block;
    text-align: center;
    margin: 0;
    /*white-space: nowrap;*/
}

.further-letter-explanation {
    color: white;
    display: block;
    text-align: center;
}

h3.further-letter-explanation {
    color: black
}

.letter-explanation-separator {
    min-height: 2px;
    /*background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 1) 95%, rgba(255, 255, 255, 0) 100%);*/
    background-color: white;
}

.letter-from-the-name {
    font-size: 100px;
    background: linear-gradient(0deg,rgba(239, 192, 57, 1) 0%, rgba(239, 185, 37, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: rgba(0, 0, 0, 0);
    text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
}

.trucks-div {
    min-height: 40px;
    padding-top: 100px;
    background: linear-gradient(0deg, rgba(50, 50, 50, 1) 20%, rgb(0, 0, 0) 100%);
}

.truck {
    object-fit: cover;
    height: var(--height, 20px);
    width: auto;
    position: absolute;
    animation: truck-ride var(--truck-ride-duration, 10s) linear infinite;
    z-index: var(--z-index, 1);
    transform: translateY(calc(-1 * var(--go-up-amount, 0px)));
}

@keyframes truck-ride {
    from {
        transform: translate(-100%, calc(-1 * var(--go-up-amount, 0px)));
    }
    to {
        transform: translate(100vw, calc(-1 * var(--go-up-amount, 0px)));
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr, repeat(auto-fit, minmax(0, 1fr)) 1fr;
    grid-template-areas: "upText upText"
        "bottomImage haveQuestionsText"
        "bottomImage mailContact"
        "bottomImage phoneContact"
        "bottomHitbox bottomHitbox";
    padding: 10px;
    padding-top: 30px;
    padding-left: 30em;
    padding-right: 30em;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    place-items: center;
}

@media (max-width: 85em) {
    .contact-grid {
        padding-left: 5em;
         padding-right: 5em;
    }
}

@media (max-width: 35em) {
    .contact-grid {
        padding-left: 1em;
         padding-right: 1em;
    }
}

@media (max-width: 100em) {
    .bottom-image {
        display: none;
    }
    .contact-grid {
        grid-template-areas: "upText upText"
            "haveQuestionsText haveQuestionsText"
            "mailContact mailContact"
            "phoneContact phoneContact";
    }
    .have-questions-text,
    .contact-text {
        text-align: center;
        min-width: 100%;
    }
}

.get-in-touch-contact {
    text-align: center;
    flex: 0 0 100%;
    color: white;
    grid-area: upText;
    font-size: 50px;
    margin: 0px;
}

.bottom-image {
    object-fit: contain;
    width: 85%;
    height: 85%;
    grid-area: bottomImage;
}

.have-questions-text {
    color: white;
    width: auto;
    max-width: 85%;
    font-size: 200%;
    grid-area: haveQuestionsText;
    display: block;
    margin: 20px;
    margin-bottom: 0px;
    line-height: 45px;
    font-weight: normal;
}

.contact-text {
    background: linear-gradient(0deg,rgba(239, 192, 57, 1) 0%, rgba(239, 185, 37, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: rgba(0, 0, 0, 0);
    white-space: nowrap;
    width: auto;
    min-width: 85%;
    font-size: 200%;
}

@media (max-width: 380px) {
    .contact-text {
        font-size: 8.5vw;
    }
}

.bottom-hitbox {
    flex: 0 0 100%;
    min-height: 50px;
    grid-area: bottomHitbox;
}