*,
::before,
::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 62.5%;
}

h1 {
    font-size: 30px;
    color: #3d3d3c;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    color: #6b6b6a;
}

strong {
    display: inline-block;
    margin-bottom: 10px;
}

a {
    color: #c0c81f;
}

i {
    display: inline-block;
}

img,
svg,
iframe,
[style*="inline-block"] {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font: 2rem/1.6 Roboto;
}

.background-container {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/*Large*/
.background-container::before {
    content: "";
    position: absolute;
    background-image: url("../img/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*filter: blur(6px);*/
    animation-name: blur;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    animation-delay: 0.5s;
    inset: -20px;
    transition: filter .8s;
}

.lightbox {
    top: 50%;
    left: 50%;
    display: flex;
    background-color: white;
    opacity: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: calc(100% - 2 * 20px);
    width: 1024px;
    min-height: 269px;
    margin-left: 20px;
    margin-right: 20px;
    animation-name: fade-in;
    animation-duration: 1.5s;
    animation-delay: 0.6s;
    animation-fill-mode: both;
    overflow: hidden;
}

.lightbox--instant {
    animation-delay: 0s;
}

.left-image {
    top: 0;
    left: 0;
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    flex: 1 1 50%;
    animation-name: background-image;
    animation-delay: 4s;
    animation-duration: 20s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-image img {
    height: auto;
    max-height: 80%;
    object-fit: contain;
    max-width: 80%;
    width: 425px;
}

.left-icon {
    top: 0;
    left: 0;
    background-image: url("../img/signboard.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    flex: 0 1 30%;
    margin: 10px;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1 1 50%;
    padding: 50px;
}

.headline {
    margin-bottom: 20px;
}

.form {
    width: 100%;
}

.form input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1.6rem;
    border: none;
    border-radius: 5px;
    background-color: black;
    color: #FFFF;
}

.form input:focus {
    outline: none;
}

.float {
    display: flex;
    justify-content: flex-end;
}

button {
    color: #FFFF;
    display: block;
    width: 50%;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 1.6rem;
    background-color: #3d3d3c;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    float: right;
}

button:hover {
    background-color: #2a2310;
}

/*Responsiv*/

@media (max-width: 1260px) {
    .background-container {
        background-size: contain;
        overflow: hidden;
        padding: 20px 0;
    }

    .lightbox {
        flex-direction: column;
        align-items: center;
    }

    .text-content {
        text-align: center;
        margin: 0;
    }

    .float {
        display: block;
    }

    button {
        width: 100%;
    }

    .headline {
        margin-bottom: 20px;
    }

    .left-image {
        margin-top: 40px;
        order: -1;
        align-self: flex-start;
        height: auto;
        width: 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0px;
    }
}

@media (max-width: 570px) {
    .lightbox {
        flex-direction: column;
        align-items: center;
    }

}

.background-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/*Animation*/
@keyframes blur {
    from {
        filter: blur(0);
    }
    to {
        filter: blur(6px);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes background-image {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%
    }
}
