@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: 1rem;
}

#flash-messages {
    max-width: 460px;
    margin: 0 auto;
    padding: 0 24px;
}

.flash-message {
    font-family: Georgia, serif;
    padding: 14px 18px;
    margin-top: 16px;
    border-radius: 2px;
    font-size: 15px;
    line-height: 1.4;
}

.flash-success {
    background: var(--color-button);
    color: #ffffff;
}

.flash-error {
    background: #BD2A2E;
    color: #ffffff;
}

#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, #EEEAE4, #FFFFFF);
}

#practise_container {
    width: 60%;
    display: flex;
    flex-direction: column;
    margin-top: 2em;
    background: linear-gradient(to bottom, #FFFFFF, #EEEAE4, #FFFFFF);
}

#about_us {
    width: 60%;
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #FFFFFF, #EEEAE4, #FFFFFF);
}

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


@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;
    }
}

