@import url("normalize.css");
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');
@import url("photographer.css");

html{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    }

body {
    font-family: "DM Sans", sans-serif;
    color:#000;
    font-size:17px;
    font-weight: 400;
    position: relative;
}

:focus{outline:3px solid rgba(69, 32, 253, 0.5);box-shadow:0 0 20px rgba(69, 32, 253, 0.5)!important;}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}
figure {
    margin:0;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {margin:0;font-weight:400;}

.content_width{
    margin:auto;
    width:85%;
    max-width: 1200px;
}

@media screen and (max-width: 500px) {
    .content_width {width: calc(100% - 60px);}
}

#header_main .content_width{
    height: 90px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#header_main  h1 {
    color: #901C1C;
    font-weight: 400;
    font-size: 30px;
    line-height: 46px;
    margin: 0;
}
.logo {
    height: 38px;
    width:auto;
    margin-left: 0px;
}

@media screen and (max-width: 500px) {
    #header_main .content_width{height: 80px;}
    .logo {height: 28px;}
    #header_main  h1 {font-size: 17px;}
}

.photographer_section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 70px 0;
    }
    .photographer_card__link{
        display: block;
        text-align: center;
        text-decoration: none;
        }
        .photographer_card__figure{
            margin:0;
            border:5px solid #fff;
            display:inline-block;
            border-radius:50%;
            height: 200px;
            width: 200px;
            overflow: hidden;
            transition:0.2s border-color ease-in-out;
            }
            .photographer_card__link:hover .photographer_card__figure{
                border:5px solid #f4c9bf;
                transition:0.2s border-color ease-in-out;
                }
        .photographer_card__img {
            width: 100%;
            height:100%;
            object-fit: cover;
            }
        .photographer_card__name {
            color: #D3573C;
            font-size: 36px;
            line-height: 46px;
            font-weight: normal;
            margin: 20px 0 5px 0;
            }
    .photographer_card__localisation{
        text-align:center;
        margin:0;
        font-size:16px;
        line-height: 1.5;
        color:#901C1C;
        }
    .photographer_card__philosophy{
        text-align:center;
        margin:0;
        font-size:14px;
        line-height: 1.5;
        color:#000;
        }
    .photographer_card__price{
        text-align:center;
        margin:0;
        font-size:14px;
        line-height:1.5;
        color:#757575;
        }

@media screen and (max-width: 1000px) {
    .photographer_section {grid-template-columns: 1fr 1fr;}
    .photographer_card__name {font-size: 30px;line-height: 40px;}
}
@media screen and (max-width: 500px) {
    .photographer_section {grid-template-columns: 1fr;padding: 40px 0;}
}