.centerY {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.centerX {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


a {
    text-decoration:none;
}

body {
    margin: 0;
    font-family: Sen, sans-serif;
    background-color: #222;
}



.nav_bar {
    position: sticky;
    top: 0px;
    height: 72px;
    background-color: #570202;
}

    .nav_bar .nav_bar_inner {
        max-width: 1200px;
        width: 100%;
    }

    .nav_bar a.logo {
        left: 15px;
        float:left;
    }

    .nav_bar .nav_menu {
        right: 15px;
        display: block;
    }

    .nav_bar .three_bars_icon {
        right: 15px;
        display: none;
    }


.nav_link {
    margin-right: 20px;
    margin-left: 20px;
    padding: 4px 10px;
    border-radius: 5px;
    transition: all 300ms ease;
    color: #f9f9f9;
    vertical-align: top;
    text-decoration: none;
    text-align: left;
    position: relative;
    display: inline-block;
}

    .nav_link:hover {
        text-decoration: none;
        background-color: #222;
        background-image: none;
    }



/*For mobile devices*/
@media screen and (max-width: 800px) {
    .nav_bar .nav_menu {
        display: none;
    }

    .nav_bar .three_bars_icon {
        display: block;
    }


    .nav_bar .nav_menu.responsive {
        position: fixed;
        right: 0;
        top: 36px;
        display: block;
        width: 200px;
        height: 100px;
        background-color: #730202;
    }

        .nav_bar .nav_menu.responsive .nav_link {
            margin-left: 5px;
            margin-top: 3px;
            margin-bottom: 2px;
            display: block;
        }
}







.index_section_1 {
    min-height: 850px;
    background-image: linear-gradient(360deg, #222, rgba(34, 34, 34, 0)), url("art/market1.jpg");
    background-position: 0px 0px, 50% 50%;
    background-size: auto, cover;
}


.about_section_1 {
    min-height: 850px;
    background-image: linear-gradient(360deg, #222, rgba(34, 34, 34, 0)), url("art/market4.jpg");
    background-position: 0px 0px, 50% 50%;
    background-size: auto, cover;
}


.catalog_section_1 {
    min-height: 850px;
    background-image: linear-gradient(360deg, #222, rgba(34, 34, 34, 0)), url("art/market2.jpg");
    background-position: 0px 0px, 50% 50%;
    background-size: auto, cover;
}



.section_container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.section_wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    min-height: 550px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.section_heading {
    width: 35%;
    color: #f9f9f9;
    font-size: 62px;
    line-height: 1.2;
}

.section_paragraph {
    width: 35%;
    margin-bottom: 25px;
    color: #f9f9f9;
    font-size: 18px;
}


.button_light_outline {
    color: #f9f9f9;
    background-color: transparent;
    padding: 5px 25px;
    border-color: #f9f9f9;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    transition: border-color 300ms ease, background-color 300ms ease;
    font-weight: 700;
    font-size: 16px;
}

    .button_light_outline:hover {
        border-color: #f9f9f9;
        background-color: #f9f9f9;
        color: #222;
    }





.slaves_page {
    background-image: linear-gradient(180deg, #222, rgba(20, 20, 20, 1));
    background-attachment: fixed; /*edit*/
}

.slaves_section_1 {
}

    .slaves_section_1 .section_heading, .section_paragraph {
        width: 65%;
        margin-left: 20px;
    }

.slave_catalog_row {
    width: 1000px;
    text-align: justify;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

    .slave_catalog_row:after {
        display: inline-block;
        width: 100%;
        content: '';
    }

    .slave_catalog_row .slave_profile_card {
        width: 150px;
        height: 150px;
        margin: 20px 0px;
        display: inline-block;
        position: relative;
        outline: 6px solid rgb(20,20,20);
        border-radius: 10px;
        overflow: hidden;
    }

.slave_profile_image {
    position: relative;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    object-fit: cover;
}

.slave_profile_desc {
    opacity: 0;
    bottom: 0px;
    right: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(34,34,34,0.75);
}

    .slave_profile_desc span {
        position: absolute;
        right: 10px;
        bottom: 10px;
        color: #f9f9f9;
    }

    .slave_profile_desc:hover {
        opacity: 1;
        transition: all 300ms ease;
    }


.popup_panel_hidden {
    display: none;
}

.popup_panel {
    display: normal;
    position: fixed;
    width: 1000px;
    height: 600px;
    background-color: rgba(34,34,34,0.9);
    outline: 6px solid #222;
    border-radius: 3px;
}