@import url("photographer.css");

:root {

    /* Colors */
    --primaryColor: #901c1c;
    /* secondary #DB8876 / #D3573C */
    --secondaryColor: #D3573C;
    --secondaryColorLight: #DB8876;
    --tertiaryColor: #FAFAFA;
    --tertiaryFontColor: #525252;
    --priceFontColor: #757575;
    --inputFontColor: #312E2E;

    /* FontSize */
    --h1: 2.25em;
    --h2: 2.25em;
    --h3: 1em;
    --p: 0.813em;
    --span: 0.75em;
    /* 64px*/
    --large: 4em;
    /* 24 px*/
    --medium: 1.5em;
    /* 18 px*/
    --small: 1.125em
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: inherit;
    color: inherit;
    font: inherit;
}

/* Les elements avec cette classe sont visibles uniquement pour les technologies d'assistance*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


a {
    cursor: pointer;
    text-decoration: none;
}

body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
}


header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1440px;
    margin: auto;
}

h1 {
    font-size: var(--h1);
    color: var(--primaryColor);
    margin-right: 100px;
}

h2 {
    font-size: var(--h2);
    font-weight: 400;
    color: var(--secondaryColor);
}

h3 {
    font-size: var(--h3);
    color: var(--primaryColor)
}

p {
    font-size: var(--p);
}

span {
    font-size: var(--span);
    color: var(--priceFontColor)
}

.logo {
    height: 50px;
    margin-left: 100px;
}

.photographer_section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 70px;
    margin-top: 100px;
}

.photographer_section article {
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.3em;
}

.photographer_section article a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photographer_section article h2 {
    color: var(--secondaryColor);
    font-size: 36px;
}

.photographer_section article img {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    object-fit: cover;
    overflow-clip-margin: unset;
}