body {
    margin: 0;
    background: var(--app_bg);
}

nav {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 16;
    background: #191919CC;
    backdrop-filter: blur(10px);

    .name {
        font-size: 20px;
    }
}

.mlogo {
    width: 40px;
    height: 40px;
    margin: 0 5px;
}

.center {
    display: flex;
    justify-content: center;
}

.d3 {
    position: relative;
    background: white;
    color: black;
    padding: 5px 10px;
    border: none;
    outline: none;
    border-radius: 6px;
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
    box-shadow: 0 0 10px #00000045;
    margin-top: 8px;
}

.d3:hover {
    transform: translate(3px, 3px);
}

.d3:hover::after {
    transform: translate3d(5px, 5px, -1px);
}

.d3:active {
    transform: translate(8px, 8px);
}

.d3:active::after {
    transform: translate3d(0, 0, -1px);
}

.d3::after {
    content: '';
    transition: inherit;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: pink;
    transform: translate3d(8px, 8px, -1px);
    border-radius: inherit;
}

.hero {
    text-align: center;
    padding-bottom: 20px;
    overflow: hidden;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/hero_bg.svg');

    h1 {
        margin: 0 15px;
    }

    p {
        max-width: 800px;
        margin: 0 15px;
    }

    button {
        margin: 8px 15px;
    }

    .slides {
        margin-top: 48px;
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;

        .contains {
            position: absolute;
            width: calc(100% - 66px);
            top: 0;
            left: 50%;
            transform: translate(-50%, 0);
            max-width: var(--slide-max-width);

            .slide {
                position: absolute;
                width: 100%;
                overflow: hidden;
                border-radius: var(--major_radius);
                aspect-ratio: 16 / 9;
                transform-origin: center;
                transition: transform 300ms ease, opacity 300ms;

                img {
                    width: 100%;
                    aspect-ratio: 16 / 9;
                    object-fit: cover;
                }
            }

            .main {
                z-index: 10;
            }

            .left {
                z-index: 8;
                transform: scale(0.8) translate(calc(-115% - 10px), 0);
            }

            .right {
                transform: scale(0.8) translate(calc(115% + 10px), 0);
            }

            .none {
                opacity: 0;
                z-index: 0;
                /* display: none; */
            }
        }

        .slide_base {
            position: relative;
            width: calc(100% - 66px);
            max-width: var(--slide-max-width);
            aspect-ratio: 16 / 9;
        }

        .lf,
        .rt {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #454545;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 50%;
            box-shadow: var(--shadow);
            z-index: 10;
        }

        .lf {
            left: 0;
            transform: translate(calc(-50% - 8px), -50%);
        }

        .rt {
            right: 0;
            transform: translate(calc(50% + 8px), -50%);
        }

    }

    .slide_indic {
        display: flex;
        justify-content: center;

        .dots {
            display: flex;
            align-items: center;
            padding: 0 10px;

            div {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #303030;
                margin: 0 5px;
            }
        }
    }
}

.achievements {
    display: flex;
    background: #242424;
    justify-content: center;
    padding: 10px 0;
    padding-bottom: 20px;

    .card {
        width: 200px;
        height: 200px;
        position: relative;

        .content {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;

            .icon {
                width: 80px;
                height: 80px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto;
            }
        }

        .c1 {
            transform: translate(-200px, 0);
            transition: transform 400ms ease, opacity 300ms ease;
        }

        .c2 {
            transform: translate(0, 150px);
            transition: transform 300ms ease, opacity 300ms ease;
        }

        .c3 {
            transform: translate(200px, 0);
            transition: transform 400ms ease, opacity 300ms ease;
        }
    }

    .show {
        .content {
            transform: translate(0, 0) !important;
            opacity: 1;
        }
    }
}

@media (max-width: 600px) {
    .hero {
        text-align: left;

        .center {
            display: block;
        }

        .slides {
            margin-top: 38px;
        }
    }

    .achievements {
        display: block;
        overflow: hidden;
        margin: 0;

        .card {
            margin: 20px auto;

            .c1 {
                transform: translate(100%, 150px);
            }

            .c2 {
                transform: translate(-100%, 150px);
            }

            .c3 {
                transform: translate(100%, 150px);
            }

            .c1,
            .c2,
            .c3 {
                transition: transform 300ms ease, opacity 300ms ease;
            }
        }
    }
}

@media (min-width: 600px) {
    .slides {

        .lf,
        .rt {
            display: none !important;
        }
    }
}

@media (min-width: 1000px) {
    .achievements {
        .card {
            width: 400px;
        }
    }
}