@import "https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box
}

:root {
    --white: #f8f6ff;
    --greenHover: #17ff60;
    /*--greenHover: #29bb07;*/
}

.fs16 {
    font-size: 16px;
}

.fs18 {
    font-size: 18px;
}

.fs20 {
    font-size: 20px;
}

.fs25 {
    font-size: 25px;
}

.fs50 {
    font-size: 50px;
}

.fw700 {
    font-weight: 700;
}

.whiteColor {
    color: var(--white);
}

.greenHover:hover {
    color: var(--greenHover);
}

.zoom {
    transition: transform .3s;
}

.zoom:hover {
    transform: scale(1.3);
}

.flex {
    display: flex;
}

.flex1 {
    flex: 1;
}

/*#####################*/

html {
    overflow-x: hidden
}

a {
    text-decoration: none
}

body {
    overflow-x: hidden;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    font-family: Grandstander, sans-serif;
    background: #2b3035;
    margin: 0 auto;
    min-height: 100vh;
}

.wButton {
    border-radius: 24px;
    border: 2px solid var(--white);
    background: transparent;
    padding: 15px 20px;
    text-align: center;
}

.wButton:hover {
    background: var(--greenHover);
    color: #000;
}

/*### navbar ###*/
.navbar {
    background: transparent !important;
}

.nav-item {
    margin-right: 20px;
}

.navbar-nav {
    padding: 20px;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    text-decoration: none;
    box-shadow: none !important;
}

.navbar .container-fluid {
    padding: 0;
}

.nav-link {
    text-align: center;
}


/*### section ###*/

section {
    margin-top: 50px;
}

.img1, .img2 {
    width: 110%;         
    pointer-events: none; 
    z-index: -1;         
    position: relative;  
    top: 30px;           
    left: 70px;          
}

.img2 {
    width: 90%;
    z-index: -1;
}

.box {
    border: 2px solid var(--white);
    padding: 20px;
    border-radius: 25px;
    background-color: #f8f6ff30;
}

.imgPart {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotate {
    animation: rotation 10s infinite linear;
}

.bgChange:hover {
    animation: flip 2.2s linear;
}

@keyframes flip {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@keyframes jump {
    0% {
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
    40% {
        transform: translate3d(0, 30%, 0) scale3d(.7, 1.5, 1);
    }
    100% {
        transform: translate3d(0, 100%, 0) scale3d(1.5, .7, 1);
    }
}

.jump {
    transform-origin: 50% 50%;
    animation: jump .5s linear alternate infinite;
}

.imgMoon {
    max-width: 500px;
    z-index: -1;
    position: relative;
}

.moonPart {
    margin-top: -100px;
}

.ecoItem + .ecoItem {
    margin-left: 20px;
}


@media (max-width: 991px) {
    .nav-link.zoom:hover {
        transform: none !important;
    }

    .navbar-nav {
        margin-bottom: 30px;
    }

    .nav-link {
        border-bottom: 2px solid var(--white);
    }

    .twoParts {
        flex-direction: column;
    }

    .img1, .img2 {
        top: -250px;
        width: 100%;
        opacity: 0.3;
        position: relative;
    }

    .img2 {
        position: relative;
        top: -55px;
    }

    .section2 .flex {
        flex-direction: column-reverse;
    }

    .section2 {
        margin-top: -50px;
    }
}

.red-text {
    color: #c2171f;
}

.result-bar {
            width: 100%;
            background-color: #ddd;
            height: 20px;
            border-radius: 5px;
            margin: 5px 0;
            overflow: hidden;
            position: relative;
        }
.bar-fill {
            height: 100%;
            width: 0%;
            background-color: purple;
            transition: width 0.5s ease-in-out;
        }
