@import url('https://fonts.googleapis.com/css2?family=Send+Flowers&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

/* Global Styles */
:root {
    --bg_colour: #FDF8F3;
    --primary_colour: #C23B2220;
    --secondary_colour: #A3B18A40;
    --accent_colour: #704247;
    --text_colour: #1C0205;
}

h1 {
    font-family: "Send Flowers", cursive;
    font-size: 64px;
    font-weight: 400;
    color: var(--accent_colour);
    margin: 0;
}

h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

h3 {
    font-family: "Karla", sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--accent_colour);
    margin: 0;
}

h4 {
    font-family: "Send Flowers", cursive;
    font-size: 36px;
    font-weight: 400;
    color: var(--accent_colour);
    margin: 0;
}

p {
    font-family: "Karla", sans-serif;
    font-size: 20px;
    color: var(--text_colour);
    margin: 0;
}

a {
    text-decoration: none;
}

html,
body {
    margin: 0;
}

body {
    background-color: var(--bg_colour);
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 20px;
    gap: 50px;
}

section .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 200px;
    padding: 0 10%;
}

footer p {
    font-size: 16px;
}

footer .about {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 400px;
}

footer .socials {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

footer .newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .newsletter h2 {
    font-size: 20px;
}

@media only screen and (max-width: 865px) {
    h1 {
        font-size: 32px;
    }

    section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        padding: 30px;
    }

    section a {
        align-self: center;
    }

    section img {
        width: 100%;
    }

    footer {
        flex-direction: column-reverse;
        padding: 30px;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    footer .about {
        width: 100%;
    }

    footer .socials {
        justify-content: center;
    }
}


/* Components */

button {
    height: 45px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent_colour);
    border: none;
    border-radius: 5px;
    color: var(--bg_colour);
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

button:hover {
    cursor: pointer;
}

.shadow {
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.2);
}

img {
    object-fit: cover;
}


/* Navigation */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 125px;
    padding: 0 40px;
}

nav .menu_btn {
    display: none;
    cursor: pointer;
}

nav .links {
    display: flex;
    align-items: center;
    gap: 80px;
}

nav .links a {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 24px;
    color: var(--text_colour);
}

nav .links a.active {
    font-weight: 900;
}

nav .links a:hover {
    text-decoration: underline;
}

.mobile_nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.mobile_nav a {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 20px;
    color: var(--text_colour);
}

.mobile_nav a.active {
    font-weight: 900;
}

@media only screen and (max-width: 865px) {
    nav {
        height: 75px;
        padding: 0 10px;
    }

    nav .links {
        display: none;
    }

    nav .menu_btn {
        display: block;
    }
}