@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&family=League+Spartan:wght@400;500;700&family=Lobster&family=Montserrat:wght@500;700&family=Outfit:wght@300;400;600&family=Overpass:wght@400;700&family=Poppins:wght@300;400;500;700&family=Red+Hat+Display:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Kumbh+Sans:wght@400;700&family=League+Spartan:wght@400;500;700&family=Lobster&family=Montserrat:wght@500;700&family=Outfit:wght@300;400;600&family=Overpass:wght@400;700&family=Poppins:wght@300;400;500;700&family=Red+Hat+Display:wght@700&display=swap');

:root {
    --dark-cyan: hsl(158, 36%, 37%);
    --cream: hsl(30, 38%, 92%);
    --very-dark-blue: hsl(212, 21%, 14%);
    --dark-grayish-blue: hsl(228, 12%, 48%);
    --white: hsl(0, 0%, 100%);
}

* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    /* font-family: 'Fraunces', serif; */
}

body {
    height: 100vh;
    width: 100%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.5rem;
}

.container {
    max-width: 600px;
    margin-bottom: 0.5rem;
}

.box {
    display: flex;
    flex-direction: row;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.text {
    background-color: var(--white);
    border-radius: 0 12px 12px 0;
    padding: 25px 30px 0;
    width: 100%;
}

h2 {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-grayish-blue);
    letter-spacing: 4px;
    margin: 12px 0 12px;
}

h1 {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1em;
}

p {
    padding-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-grayish-blue);
    line-height: 1.8em;
    padding-right: 10px;
    padding-bottom: 20px;
}

ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

ul li:first-child {
    font-size: 2rem;
    margin-right: 1.5rem;
    color: var(--dark-cyan);
    font-family: 'Fraunces', serif;
  }

ul li:nth-child(2) {
    color: var(--dark-grayish-blue);
  }

.btn {
    background-color:var(--dark-cyan);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 0.8rem 2rem;
    width: 100%;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn img {
    width: 10%;
    height: auto;
    margin-right: 0.5rem;
}

button:hover {
    background-color: var(--very-dark-blue);
}

.attribution a {
    color: var(--dark-cyan);
}

@media (max-width: 375px) {
    body {
        margin: 0;
    }

    .box {
        display: grid;
    }

    .container {
        max-width: 320px;
    }

    img {
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .text {
        border-radius: 0 0 12px 12px;
        padding: 20px;
    }
    
    p {
        padding-right: 0;
    }
}
