@import url('https://fonts.googleapis.com/css2?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: 0.5s;
}

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

header .logo {
    font-size: 2em;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.5s;
    transform-origin: right;
}

.toggle {
    position: relative;
    width: 30px;
    height: 30px;
    background: url(../images/menu.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    cursor: pointer;
}

.toggle.active {
    background: url(../images/close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    cursor: pointer;
}

/* Banner  */

.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(#404040, #151515);
}

.banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 300px;
    width: 400px;
    height: 320px;
    background: #fa215e;
    z-index: 1;
    transition: 1s;
}

.banner:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 300px;
    width: 400px;
    height: 320px;
    background: #aeff0f;
    z-index: 1;
    transition: 1s;
}

.banner.active:after {
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #151415;
}

.banner.active:before {
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #151415;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
    transform-origin: right;
}

.banner.active .logo {
    transform: scale(0);
    transform-origin: left;
}

.banner.active .content {
    transform: scale(0);
    transform-origin: right;
}

.content .contentBx {
    max-width: 600px;
}

.content .contentBx h2 {
    font-size: 4em;
    line-height: 1em;
    color: #fff;
    text-transform: uppercase;
}

.content .contentBx p {
    font-size: 1em;
    color: #fff;
    margin: 20px 0; 
}

.content .contentBx a {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.5;
}

.content .contentBx a:hover {
    letter-spacing: 4px;
    background: #fff;
    color: #111;
} 

.content .imgBx img {
    max-width: 100%;
    max-height: 400px;
}

/* Sci */
.sci {
    position: absolute;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s;
    transform-origin: right;
}
.banner.active .sci {
    transform: scale(0);
    transform-origin: bottom;
}

.sci li {
    list-style: none
}

.sci li a {
    display: inline-block;
    margin-top: 20px;
    filter: invert(1);
    transform: scale(0.6);
}

/* Menu */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    transition-delay: 0s;
}

.banner.active .menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 1s;
}

.menu li {
    list-style: none;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 2em;;
}

@media (max-width: 991px) {
    header {
        padding: 20px 40px;
    }
    .banner {
        padding: 40px;
        overflow: hidden;
    }
    .banner:after {
        top: 40px;
        left: 0;
        width: 170px;
        height: 310px;
    }
    .banner:before {
        bottom: 0;
        right: 0;
        width: 80px;
        height: 60px;
    }
    .content {
        flex-direction: column-reverse;
        margin: 50px 0;
    }
    .content .contentBx {
        max-width: 100%;
    }

    .content .imgBx img {
        max-width: 100%;
        min-width: 300px;
    }

    .content .contentBx h2 {
        font-size: 2.5em;
        margin-top: 30px;
    }
}