@charset "utf-8";

:root{
--base-white:#fdfdff;
--base-black:#0f0e17;
--base-blue:#1e87d2; /*Link*/
--pure-white:#ffffff;
--blue-green:#226845;
--Link-Col:#01949a;
--Link-hover:#a8bbb0;
--Link-Txt:#ebe8e0;/*gray*/
--Legal-subN:#01949a;
--WB-headling:#004369;
--WB-h:#0a0a0a;
--Legal-Txt:#505048;
--ff-sans:"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;

    --color-white-100: hsl(0, 0%, 100%);
    --color-white-200: hsl(0, 0%, 90%);
    --color-white-300: hsl(0, 0%, 80%);
    --color-white-400: hsl(0, 0%, 70%);
    --color-white-500: hsl(0, 0%, 60%);
    --color-white-600: hsl(0, 0%, 50%);
    --color-black-100: hsl(0, 0%, 12%);
    --color-black-200: hsl(0, 0%, 10%);
    --color-black-300: hsl(0, 0%, 8%);
    --color-black-400: hsl(0, 0%, 6%);
    --color-black-500: hsl(0, 0%, 4%);
    --color-black-600: hsl(0, 0%, 2%);
    --shadow-small: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
html {
    font-size: 16px;
    font-style: normal;
    font-display: fallback;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}
body {
    font-family: "Roboto", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--base-black);
    background-color: var(--base-black);
}
a, button {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    border: none;
    outline: none;
    color: inherit;
    background: none;
}
h1, h2, h3, h4, h5 {
    line-height: 1.15;
    text-wrap: balance;
    word-wrap: break-word;
}
p {
    max-width: 50ch;
}
p, li {
    line-height: 1.5;
    text-wrap: pretty;
    word-wrap: break-word;
}
img, svg, picture {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    shape-margin: 1rem;
    vertical-align: middle;
}
img, svg {
    background-size: cover;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}
.works_container {
    max-width: 75rem;
    height: auto;
    margin-inline: auto;
    padding-block: 3rem;
    padding-inline: 1.5rem;
}
.center_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.works-title-medium {
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: capitalize;
}
.works-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 15rem;
    row-gap: 2rem;
    column-gap: 2rem;
}
.works-card {
    overflow: hidden;
    border-radius: 0.25rem;
    background: var(--base-white);
    box-shadow: var(--shadow-medium);
}
.works-card-small {
    grid-row: span 1;
}
.works-card-large {
    grid-row: span 2;
}
.works-card-image {
    min-width: 100%;
    height: 100%;
}
.works-card-inner {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
    padding: 1.5rem;
}
@media screen and (max-width: 992px) {
    .works-column {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 640px) {
    .works-column {
        grid-template-columns: 1fr;
    }
}
