@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}


/* =============================== Hedaer ============================ */

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 0 10rem;
    display: flex;
    align-items: center;
    background: linear-gradient(#404040, #151415);
    overflow: hidden;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 24rem;
    background-color: rgb(245, 88, 27);
    width: 40rem;
    height: 32rem;
    z-index: 1;
    transition: 1s;
}

.banner.active:before {
    background-color: #151415;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}

.banner:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10rem;
    background-color: rgb(148, 241, 42);
    width: 40rem;
    height: 20rem;
    z-index: 1;
    transition: 1s;
}

.banner.active:after {
    bottom: 0;
    right: 0;
    background-color: #151415;
    width: 50%;
    height: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 10rem;
}

header .logo {
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.5s;
    transform-origin: right;
}

.banner.active .logo {
    transform: scale(0);
    transform-origin: left;
}

header .toggle {
    position: relative;
    width: 3rem;
    height: 3rem;
    background-image: url(../img/menu.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 3rem;
    cursor: pointer;
}

.toggle.active {
    background-image: url(../img/close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 3rem;
    cursor: pointer;
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
    transform-origin: right;
}

.banner.active .content {
    transform: scale(0);
    transform-origin: right;
}

.content .contentBx {
    max-width: 60rem;
}

.content .contentBx h2 {
    color: #fff;
    font-size: 7rem;
    line-height: 1em;
    font-weight: 700;
    text-transform: uppercase;
}

.content .contentBx p {
    font-size: 1.4rem;
    line-height: 1.3;
    color: #fff;
    margin: 2rem 0;
}

.content .contentBx a {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1.6rem;
    padding: 1rem 3rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.5s;
    overflow: hidden;
}

.content .contentBx a:hover {
    letter-spacing: .4rem;
    background: #fff;
    box-shadow: 0 0 10px rgb(148, 241, 42), 0 0 40px rgb(148, 241, 42), 0 0 80px rgb(148, 241, 42), 0 0 160px rgb(148, 241, 42);
    color: #111;
    position: relative;
    transition-delay: .1s;
}

.content .contentBx a span {
    position: absolute;
    display: block;
}

.content .contentBx a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: .4rem;
    background: linear-gradient(90deg, transparent, rgb(2, 92, 2));
    opacity: 0;
}

.content .contentBx a:hover span:nth-child(1) {
    left: 100%;
    transition: 1s;
    opacity: 1;
}

.content .contentBx a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: .4rem;
    background: linear-gradient(270deg, transparent, rgb(2, 92, 2));
    opacity: 0;
}

.content .contentBx a:hover span:nth-child(3) {
    right: 100%;
    transition: 1s;
    opacity: 1;
    transition-delay: .5s;
}

.content .contentBx a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: .4rem;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgb(2, 92, 2));
    opacity: 0;
}

.content .contentBx a:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    opacity: 1;
    transition-delay: .25s;
}

.content .contentBx a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: .4rem;
    height: 100%;
    background: linear-gradient(360deg, transparent, rgb(2, 92, 2));
    opacity: 0;
}

.content .contentBx a:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    opacity: 1;
    transition-delay: .75s;
}

.content .imgBx img {
    max-width: 100%;
    min-width: 40rem;
}

.sci {
    position: absolute;
    bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: .5s;
    transform-origin: right;
}

.banner.active .sci {
    transform: scale(0);
    transform-origin: right;
}

.sci li {
    list-style: none;
}

.sci li a {
    display: inline-block;
    margin-right: 2rem;
    filter: invert(1);
    transform: scale(0.6);
}

.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: .7s;
}

.menu li {
    list-style: none;
}

.menu li a {
    display: block;
    color: rgba(255, 255, 255, .5);
    font-size: 3rem;
    margin-top: 1rem;
    padding: 1rem 3rem;
    position: relative;
    text-decoration: none;
    text-align: left;
    transition: .5s;
}

.menu li a:hover {
    background-color: #2894ffb6;
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px #2894ff, 0 0 40px #2894ff, 0 0 80px #2894ff, 0 0 160px #2894ff;
    transition-delay: .77s;
}

.menu li a span {
    display: block;
    position: absolute;
    background-color: #ffffff;
}

.menu li a span:nth-child(1) {
    left: 0;
    bottom: 0;
    width: .1rem;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a:hover span:nth-child(1) {
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a span:nth-child(2) {
    left: 0;
    bottom: 0;
    width: 100%;
    height: .1rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a:hover span:nth-child(2) {
    transform: scaleX(1);
    transform-origin: right;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a span:nth-child(3) {
    right: 0;
    top: 0;
    width: .1rem;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a:hover span:nth-child(3) {
    transform: scaleY(1);
    transform-origin: top;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a span:nth-child(4) {
    left: 0;
    top: 0;
    width: 100%;
    height: .1rem;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s;
    transition-delay: .5s;
}

.menu li a:hover span:nth-child(4) {
    transform: scaleX(1);
    transform-origin: left;
    transition: transform .5s;
    transition-delay: .5s;
}

@media (max-width: 767px) {
    header {
        padding: 2rem 4rem;
    }
    .banner {
        height: 109vh;
        padding: 4rem;
    }
    .banner:before {
        top: 10rem;
        left: 0;
        width: 17rem;
        height: 31rem;
    }
    .banner:after {
        bottom: 0;
        right: 0;
        width: 8rem;
        height: 6rem;
    }
    .content {
        flex-direction: column-reverse;
        margin: 5rem 0;
    }
    .content .contentBx {
        max-width: 100%;
    }
    .content .contentBx h2 {
        font-size: 2.5em;
    }
    .content .imgBx img {
        max-width: 80%;
        min-width: 10rem;
    }
}

@media (orientation:landscape) {
    .banner {
        height: 217vh;
    }
    .content .contentBx h2 {
        font-size: 2.3em;
    }
    .content .imgBx img {
        max-width: 100%;
        min-width: 20rem;
    }
    .menu {
        margin-top: 2.3rem;
    }
    .menu li a {
        margin-top: 0;
        padding: 0 3rem;
    }
    @media (min-width:768px) {
        .banner {
            height: 100vh;
        }
        .content .contentBx h2 {
            font-size: 3rem;
        }
        .content .imgBx img {
            max-width: 100%;
            min-width: 20rem;
        }
        .menu {
            margin-top: 0;
        }
    }
    @media (min-width:1024px) {
        .content .imgBx img {
            max-width: 100%;
            min-width: 40rem;
        }
        .content .contentBx h2 {
            font-size: 7rem;
        }
        .menu li a {
            margin-top: 1rem;
            padding: 2rem 4rem;
        }
    }
}