

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}
.hero-container::before {
    content: '';
    background-image: var(--mobilefirst-bg-image);
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-color: rgb(67, 71, 88);
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.heroBTN {
    border: 2px solid white;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.2);
    background-color: transparent;
    padding: 1rem;
    transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}
.BTNsecondary:hover,
.BTNprimary:hover {
    background-color: #00000064;
    color: white;
    cursor: pointer;
}
.button-wrapper:hover .heroBTN {
    opacity: 0.5;
}

.button-wrapper .heroBTN:hover {
    opacity: 1;
}


.hero-content>* {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInChild 0.6s forwards;
    animation-delay: 0.3s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.7s;
}

.main-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
    width: 100%;
}

.home-wrapper,
.portfolio-teaser {
    width: 100%;
}
@keyframes slideInChild {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media only screen and (min-width: 769px) {
    .hero-container {
        padding-top: 1em;
        min-height: 100vh;
    }
    .hero-container::before {
        background-image: var(--tablet-bg-image);
    }
}


@media only screen and (min-width: 999px) {
    .hero-container {
        gap: 6rem;
    }
    .hero-container::before {
        background-image: var(--desktop-bg-image);
    }
    .hero-content {
        align-items: flex-end;
        margin-right: 2rem;
    }
}

@media only screen and (min-width: 1050px) {
    .hero-container {
            gap: 10rem;
        }
}
@media only screen and (min-width: 1500px) {
    .hero-container {
        gap: 15rem;
    }
}

@media only screen and (min-width: 1900px) {
    .hero-container {
        gap: 20rem;
        /* bröder this is a tv not a screen chill out */
    }
}