* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

#preloader {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    z-index: 100;
    background-color: hsl(0, 0%, 6%);
    flex-direction: column;

}

#percent {
    color: hsla(0, 0%, 100%, 0.879);
    font-family: 'Poppins' sans-serif;
}

#bar {
    width: 60%;
    margin-top: 20px;
    background-color: hsl(0, 0%, 10%);
}

#barconfrm {
    width: 1%;
    height: 1px;
    background-color: hsl(0, 0%, 100%);
}

.container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    background-color: hsla(0, 0%, 36%, 0.925);
}

.container h1 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 40px;
    opacity: 0;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    color: hsl(0, 0%, 100%);
    text-transform: uppercase;
    cursor: pointer;
}

.toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: url(https://i.ibb.co/HrfVRcx/menu.png);
    background-repeat: no-repeat;
    background-size: 1.875em;
    background-position: center;
    cursor: pointer;
}

.toggle.active {
    background: url(https://i.ibb.co/rt3HybH/close.png);
    background-repeat: no-repeat;
    background-size: 1.563em;
    background-position: center;
    cursor: pointer;
}

.showcase {
    position: absolute;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: hsl(0, 0%, 7%);
    transition: 0.5s;
    z-index: 2;
}

.showcase.active {
    right: 300px;
}

.showcase video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsl(0, 0%, 60%);
    mix-blend-mode: overlay;
}

.text {
    position: relative;
    z-index: 10;
}

.text h2 {
    font-size: 3em;
    font-weight: 800;
    color: hsl(0, 0%, 100%);
    line-height: 1em;
    text-transform: uppercase;
}

.text h3 {
    font-size: 2em;
    font-weight: 700;
    color: hsl(0, 0%, 100%);
    line-height: 1em;
    text-transform: uppercase;
}

.text h4 {
    font-size: 1.2em;
    font-weight: 600;
    font-style: italic;
    color: hsl(0, 0%, 100%);
    margin: 25px 0 15px;
    line-height: 1.4em;
    text-transform: capitalize;
}

.text p {
    font-size: 1.2em;
    color: hsl(0, 0%, 100%);
    margin: 7px 0;
    font-weight: 400;
    max-width: 700px;
}

.text a {
    display: inline-block;
    font-size: 0.8em;
    background: hsl(0, 0%, 100%);
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    color: hsl(0, 0%, 7%);
    letter-spacing: 2px;
    transition: 0.2s;
}

.text a:hover {
    letter-spacing: 6px;
}

.sozial {
    position: absolute;
    z-index: 10;
    left: 5%;
    bottom: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sozial li {
    list-style: none;
}

.sozial li a {
    display: inline-block;
    font-size: 1.313em;
    color: rgb(0, 0, 0);
    text-decoration: none;
    filter: invert(1);
    transform: scale(0.5);
    transition: 0.5s;
}

.sozial li a:hover {
    transform: scale(0.5) translateY(-15px);
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul {
    position: relative;
}

.menu ul li {
    list-style: none;
    padding: 20px 0;
}

.menu ul li a {
    text-decoration: none;
    font-size: 1.5em;
    color: hsl(0, 0%, 7%);
}

.menu ul li a:hover {
    color: hsl(0, 0%, 93%);
}

@media (max-width: 991px) {

    .showcase,
    .showcase header {
        padding: 40px;
    }

    .text h2 {
        font-size: 2.2em;
        margin-top: 20px;
        visibility: hidden;
    }

    .text h3 {
        font-size: 2em;
        visibility: hidden;
    }

    .text a,
    .sozial {
        visibility: hidden;
    }

}

@media (max-width: 768px) {

    .text h2,
    .text h3,
    .text a,
    .sozial {
        visibility: visible;
    }

    .sozial {
        bottom: 3.5rem;
    }
}
