@font-face {
    font-family: "M_ExtraLight";
    src: url("../font/Manrope-ExtraLight.ttf") format("truetype");
}


@font-face {
    font-family: "M_Regular";
    src: url("../font/Manrope-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "M_ExtraBold";
    src: url("../font/Manrope-ExtraBold.ttf") format("truetype");
}

@font-face {
    font-family: "SemiBold";
    src: url("../font/Manrope-SemiBold.ttf") format("truetype");
}

:root {
    --gray: #cacaca;
    --black: #000000;
    --yellow: #ffdd00;
    --yellow_null: #ffdd0000;
    --white: #ffffff;
    --blue: #0d4cd3;
    --red: #ffd2d2;
    --green: #64c260;

    --shadow_block:  0 1px 4px #e3ebfc, 0 24px 48px rgba(230, 235, 245, .4);
    --bg_block:  #edf2fe;

    --mel: "M_ExtraLight";
    --mr: "M_Regular";
    --meb: "M_ExtraBold";
    --sb: "SemiBold";
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #000;
}

body{
    background: var(--bg_block);
    font-family: var(--mr);
}

.container {
    width: 1600px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, .bigTitle {
    margin: 0px;
    display: block;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: "M_ExtraBold";
    color: #000;
    background: none;
    border-radius: 10px;
}

h1 {
    font-size: 40px;
    color: #eeeeee;
}


h1 {
    font-size: 40px;
    color: #eeeeee;
}

.container{
    width: 80%;
    margin: auto;
}

.flexBlock{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.flexTable {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

header.header {
    padding: 10px 0px;
    border-bottom: 1px solid #eee;
}

.header-logo {
    max-height: 52px;
}

.slider{
    padding: 20px 0;
}

.slider-container {
    gap: 32px;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow_block);
    background: var(--white);
}

a.product-link {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    /* max-height: 300px; */
}

.product-link img {
    max-height: 100%;
    position: absolute;
}

.slide-content {
    width: 100%;
    padding: 20px;
}

.name-product {
    font-size: 30px;
    color: var(--blue);
}

.description-product {
    font-size: 20px;
    font-family: var(--mr);
    /* margin-bottom: 16px; */
}

.list-product {
    list-style-type: none;
    margin-bottom: 16px;
    font-size: 16px;
    font-family: var(--meb);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}

.list-product-li {
    padding: 12px 16px;
    background: var(--bg_block);
    width: max-content;
    border-radius: 10px;
}

.title-content {
    color: var(--blue);
}

.title-description-content {
    font-size: 20px;
    font-family: var(--mr);
    margin-bottom: 16px;
}

img.logo-agent {
    max-width: 100px;
}

.agent-info {
    gap: 32px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.content-Info {
    padding: 20px 0;
}

.button-content {
    background: var(--blue);
    padding: 12px 30px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-family: var(--mr);
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s;
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
}

.button-content:hover {
    opacity: 1;
}
.errorInfo {
    padding: 20px;
    background: var(--red);
    border-radius: 10px;
}

.header-button {
    height: 100%;
    padding: 12px 30px;
    border: none;
    background: var(--green);
    border-radius: 10px;
    font-size: 18px;
    color: #ffffff;
}



@media screen and (max-width: 900px) {
    .container{
        width: 100%;
        padding: 0 20px;
    }
    .flexBlock {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        flex-direction: column;
    }

    .list-product {
        list-style-type: none;
        margin-bottom: 16px;
        font-size: 16px;
        font-family: var(--meb);
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 24px;
        flex-direction: column;
    }

    .list-product-li {
        padding: 12px 16px;
        background: var(--bg_block);
        width: 100%;
        border-radius: 10px;
    }
    .agent-info {
        text-align: center;
    }
    .description-product {
        font-size: 16px;
    }

    .button-content {
        width: 100%;
    }

    a.product-link {
        width: 100%;
        height: 200px;
    }

    .product-link img {
        position: absolute;
        width: 100%;
        height: auto;
        min-height: inherit;
        max-height: inherit;
    }


}