@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('components/components.css');

:root {
    --pastel-blue: #8EC4CB;
    --lemony-green: #BAC25F;

    --background-pastel-blue: rgba(142, 196, 203, 0.2);
    --background-lemony-green: rgba(186, 194, 95, 0.6);

    --lake-water: #53ADAC;
    --ocean-blue: #2D5194;

    --black: #000;
    --not-really-black: #14110F;
    --white: #FFF;
    --not-really-white: #FCFCFC;
    --light-grey: #E0E0E0;

    --box-shadow: 0px 6px 12px -2px rgba(50, 50, 93, 0.25), 0px 3px 7px -3px rgba(0, 0, 0, 0.30);
    --nav-shadow: 0px 2px 8px 0px rgba(99, 99, 99, 0.20);

    --font-headings: "Libre Baskerville";
    --font-body: "Source Sans 3", sans-serif;
}

body {
    margin: 0px;
    padding: 0px;
    color: var(--not-really-black);
    font-family: var(--font-body);
}


h1 {
    font-family: var(--font-headings);
    font-size: 56px;
    font-weight: 700;
}

h2 {
    font-family: var(--font-headings);
    font-size: 36px;
    font-weight: 400;
}

h3 {
    font-family: var(--font-headings);
    font-size: 32px;
    font-weight: 700;
}

h4 {
    font-family: var(--font-headings);
    font-size: 20px;
    font-weight: 700;
}

p {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
}

a {
    color: var(--not-really-black);
    text-decoration: none;
    font-size: 18px;
}

ul {
    list-style: none;
    padding: 0px;
}

.blue-button {
    color: var(--not-really-white);
    background-color: var(--ocean-blue);
    padding: 12px 40px;
    border-radius: 50px;
    cursor: pointer;
}

.white-button {
    color: var(--not-really-black);
    background-color: var(--not-really-white);
    padding: 12px 40px;
    border: 1px solid var(--ocean-blue);
    border-radius: 50px;
}

.doctolib-button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    background-color: #0596DE;
    padding: 10px;
    gap: 4px;
    border-radius: 4px 4px 0px 0px;
    text-decoration: underline;
}

.doctolib-button img {
    height: 15px;
}

.picture-right {
    height: 600px;
    width: 450px;
    object-fit: cover;
    border-top-left-radius: 100px;
    box-shadow: var(--box-shadow);
}

.picture-left {
    height: 600px;
    width: 450px;
    object-fit: cover;
    border-top-right-radius: 100px;
    box-shadow: var(--box-shadow);
}

.picture-both {
    height: 600px;
    width: 450px;
    object-fit: cover;
    border-radius:  0px 100px;
    box-shadow: var(--box-shadow);
}


header:not(#index-hero) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 160px 200px 0px;
}

#index-hero {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 58px;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--background-pastel-blue);
    padding: 200px 65px 120px;
}

#hero-buttons {
    display: flex;
    gap: 18px;
}

section {
    display: flex;
    flex-direction: column;
    padding: 100px;
    justify-content: center;
    gap: 58px;
}

.text-image {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 120px;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width : 600px; 
}

.section-text-only {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: var(--background-lemony-green);
}

#blog-container {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 58px;
}

.article-container {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 24px;
    border-radius: 28px;;
}

.blog-image {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

