@import "nullstyle.css";

:root {
    --color-bg: #737373;
    --color-button: #101d3d;
    --color-button-hover: #BD2A2E;
    --color-main: #ffffff;
}

body {
    background-color: var(--color-main);
    color: #0D0D0D;
    margin: 0;
    overflow-y: auto;
}

#primary_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

#divider_small {
    width: 100%;
    height: 0.1rem;
    display: block;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

#divider {
    width: 100%;
    height: 0.1rem;
    display: block;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

#divider::before {
    content: "";
    display: block;
    height: 2px;
    background-color: #070707;
    margin-left: 33rem;
    margin-right: 33rem;
}

#divider_small::before {
    content: "";
    display: block;
    height: 2px;
    background-color: #070707;
    margin-left: 44rem;
    margin-right: 44rem;
}

#main_container {
    width: 60%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #A6A6A6, #FFFFFF);
}

#practise_container {
    width: 80%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #FFFFFF, #A6A6A6, #FFFFFF);
}

#about_us {
    width: 60%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #FFFFFF, #A6A6A6, #FFFFFF);
}

#contacts {
    width: 60%;
    display: flex;
    flex-direction: column;
        background: linear-gradient(to bottom, #FFFFFF, #A6A6A6);
}


@media screen and (max-width: 480px) {
    #main_container,
    #about_us,
    #contacts,
    #practise_container {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    #main_container {
        height: 90vh;
    }


    #divider::before,
    #divider_small::before {
        margin-left: 10rem;
        margin-right: 10rem;
    }

    #divider_small {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    html, body {
        font-size: 14px;
        display: block;
        margin: 0;
        padding: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }
}

