@import "./theme.scss";

body {
    * {
        box-sizing: border-box;
        color: $dark_1;
        image-rendering: pixelated;
        image-rendering: -moz-crisp-edges;
        image-rendering: crisp-edges;
    }
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
}

main {
    background: url("../assets/images/wallpaper_binary_white.png");
    background-size: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    header {
        width: 100%;
        nav {
            ul {
                display: flex;
                padding: 0;
                margin: 0;
                list-style-type: none;
                li {
                    position: relative;
                    a {
                        display: flex;
                        align-items: center;
                        height: 100%;
                        padding: 10px 20px;
                        color: $light_1;
                        font-weight: 800;
                        text-decoration: none;
                        img {
                            width: 40px;
                        }
                    }

                    .submenu {
                        visibility: hidden;
                        overflow: hidden;
                        position: absolute;
                        height: auto;
                        max-height: 0;
                        transition: max-height 0.6s;
                        top: 100%;
                        left: 50%;
                        flex-direction: column;
                        background-color: white;
                        white-space: nowrap;
                    }
                    &.active {
                        a {
                            color: $dark_2;
                            border-bottom: 1px solid;
                        }
                    }
                    &:hover {
                        a {
                            color: $dark_2;
                        }

                        .submenu {
                            visibility: unset;
                            max-height: 1000px;
                            a {
                                color: $light_1;
                                border: none;
                            }
                            li {
                                &:hover {
                                    a {
                                        color: $dark_2;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    #page-container {
        background-color: white;
        width: 1200px;
        max-width: 100%;
        flex: 1;
        @import "./pages/education/education.scss";
    }
    footer {
        width: 100%;
        background-color: #fff1;
        padding: 20px;
    }
}