:root {
    --font-h1: clamp(30px, 6vw, 40px);  /* Slightly larger max */
    --font-h2: clamp(22px, 4vw, 28px);  /* Slightly smaller max */
    --font-h3: clamp(18px, 3.5vw, 24px);  /* Slightly smaller max */
    --font-large-body: clamp(18px, 3.5vw, 22px);
    --font-body: clamp(16px, 3vw, 16px);

    --primary: #2C8473;
    --secondary: #EFB45C;
    --dark: #333333;
    --light: #FAFAFA;
    --white: #ffffff;
    /* Gradient should be placed after the [background: ;] tag */
    --gradient: radial-gradient(circle, rgba(250,250,250,1) 0%, rgba(224,224,224,1) 100%);
}

/* Page Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background: var(--gradient);
}

/* Containers */
.container-full {
    width: 100%;
    padding: 0 5%;
    background-color: var(--white);
}

.container-lrg {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

.container-med {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.container-sml {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
}

/* Fonts */
h1 {
    font-size: var(--font-h1);
    font-weight: bold;
    font-family: 'Lato';
    color: var(--dark);
}

h2 {
    font-size: var(--font-h2);
    font-weight: bold;
    font-family: 'Lato';
    color: var(--dark);
}

h3 {
    font-size: var(--font-h3);
    font-weight: 700;
    font-family: 'Lato';
    color: var(--dark);
}

.large-body {
    font-size: var(--font-large-body);
    line-height: 1.5;
    font-family: 'Libre Baskerville';
    font-weight: 700;
    color: var(--dark);
}

.body,
input,
label,
a,
ul {
    font-size: var(--font-body);
    line-height: 1.6;
    font-family: 'Libre Baskerville';
    font-weight: 400;
    color: var(--dark);
    text-decoration: none;
    list-style: none;
}

summary {
    font-size: var(--font-body);
    line-height: 1.6;
    font-family: 'Libre Baskerville';
    font-weight: 400;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
}

.caption {
    font-size: var(--font-body);
    line-height: 1.6;
    font-weight: 900;
    font-family: 'Lato';
    color: var(--dark);
}

span {
    background-color: var(--secondary);
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: url('../assets/fonts/lato-v24-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../assets/fonts/lato-v24-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 500;
    src: url('../assets/fonts/lato-v24-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../assets/fonts/lato-v24-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* libre-baskerville-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/libre-baskerville-v14-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../assets/fonts/libre-baskerville-v14-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

  /* libre-baskerville-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    src: url('../assets/fonts/libre-baskerville-v14-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../assets/fonts/libre-baskerville-v14-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Call To Action */
.cta {
    padding: 10px 20px;
    font-size: var(--font-body);
    font-family: 'Lato';
    color: var(--white);
    background-color: var(--primary);
    border-radius: 7px;
    text-decoration: none;
}

/* Cookie Banner */

.cookie-banner {
    width: 90%;
    max-width: 900px;
    
    position: fixed;
    bottom: 40px;
    right: -4000px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    
    margin: 0 auto;
    padding: 15px 20px;
    
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

.cookie-banner p {
    width: 100%;
    max-width: 500px;

    margin: 0;

    font-size: 13px;
    text-align: left;
}

.cookie-button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

button {
    min-width: 150px;
    padding: 10px 30px;

    font-size: var(--font-body);
    font-weight: 600;

    border-radius: 5px;
    border: 0;
    background-color: var(--primary);
    color: #fff;

    cursor: pointer;
}

.show {
    right: 50%;
    transform: translateX(50%);
}

.cookie-banner button {
    /* background-color: #000; */
    /* border: 1px solid #000; */
    border-radius: 50px;

    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.cookie-banner .decline-btn {
    background-color: #fff;
    border: 1px solid #c0c0c0;

    color: #c0c0c0;
}

.cookie-banner .decline-btn:hover {
    background-color: #fff;
    border: 1px solid #d3d3d3;
    color: #d3d3d3;
}

.cookie-banner button:hover {
    background: #fff;
    border: 1px solid #000;
    color: #222;
}
  
@media (min-width: 1201px) {
    .cookie-banner {
        flex-direction: row;
        gap: 20px;

        border-radius: 50px;
    }

    .cookie-button-container {
        flex-direction: row;
    }
}

/* Layouts */

/* Vertical to Column */
.vertical-to-column {
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 900px) {
    .vertical-to-column {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }
}

/* Text Blocks */
.txt-block-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: left;
}

.txt-block-centre {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

/* Section */

section:not(:last-of-type) {
    margin-bottom: 100px;
}

@media (min-width: 900px) {
    section:not(:last-of-type) {
        margin-bottom: 200px;
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 30px;
    max-width: 400px;
}

form label {
    margin-bottom: 10px;
}

form input {
    margin-bottom: 20px;
    padding: 10px 15px;
}

form .cta {
    border: none;
    cursor: pointer;
    max-width: max-content;
}

footer .container-med {
    padding: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer img {
    width: 50px;
}