:root {
    /* Font Styling */

        /* Font Size */
        --fs-regular-text: 1rem;

        --fs-page-title: 3rem;

        /* Font Weight */
        --fw-light: 300;
        --fw-regular: 400;
        --fw-medium: 500;
        --fw-semi-bold: 600;
        --fw-bold: 700;

    /* Colours */
    --clr-primary: #3D52A0;
    --clr-secondary: #7091E6;
    --clr-three: #8697C4;
    --clr-four: #ADBBDA;
    --clr-five: #f5f4f6;

    --clr-copied: #c29243;

    --clr-white: #fff;
    --clr-dark-grey: #1d1d1d;
    --clr-black: #000;

    /* Padding and Spacing */
    --padding-site-mobile: 0.5rem;
    --padding-site-desktop: 2rem;

    --padding-content-mobile: 0.5rem;
    --padding-content-desktop: 1rem;

    --site-width: 100rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--fs-regular-text);
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--clr-five);
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clr-primary);
    font-weight: var(--fw-semi-bold);
    margin: 1rem 0 0.25rem 0;
}

h1 {
    font-size: var(--fs-page-title);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    line-height: 1.5;
    margin: 0.5rem 0;
}

a { 
    text-decoration: none;
    color: var(--clr-primary);
}

ul {
    list-style-type: none;
}

strong {
    color: var(--clr-primary);
}

ul li {
    margin: 0.5rem 0;
}

.test {
    border: 1px solid red;
}

@media screen and (min-width: 768px) {
    main {
        min-height: calc(100vh - 370px - 72px);
    }
}

/* Colour Classes */

.dark_colour {
    color: var(--clr-dark-grey) !important;
}

/* Desktop Mobile Display */

.desktop {
    display: none;
}

@media screen and (min-width: 768px) {
    .desktop {
        display: block;
    }

    .mobile {
        display: none;
    }
}

/* Image Styling */

img {
    display: block;
    width: 100%;
}

.right_image {
    float: right;
    width: 50%;
}

/* Hidden */

.hidden {
    display: none;
}

/* Header and Header Nav Menu */

header {
    top: 0;
    left: 0;
    position: relative;
    color: #3D52A0;
    width: 100%;
    height: 100;
}

header a {
    text-decoration: none;
}

header > nav {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: var(--site-width);
    margin: 0 auto;
}

header > nav > ul {
    display: flex;
    flex-direction: row;
    list-style: none;
}

header > nav > ul li {
    margin-left: 1.5rem;
    font-size: 1rem;
}

header > nav .logo {
    text-transform: uppercase;
    font-weight: var(--fw-semi-bold);
    font-size: 1.1rem;
}

@media screen and (min-width: 768px) {

    header > nav .logo {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1024px) {
    header > nav > ul li {
        font-size: 1.2rem;
    }

    header > nav {
        padding: 1.5rem 3rem;
    }
}

/* Main Body Styling */

main > section:first-of-type > .container {
    margin-top: 3rem;
}

.container {
    width: 100%;
    height: 100%;
}

.content_container {
    width: 100%;
    height: 100%;
    padding: var(--padding-site-mobile);
    max-width: var(--site-width);
    margin: 0 auto;
}

.content_container .content_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.content_container .content_wrapper .content_box {
    width: 100%;
    padding: var(--padding-content-mobile);
}

@media screen and (min-width: 1024px) {
    .content_container {
        padding: var(--padding-site-desktop);
    }

    .content_container .content_wrapper {
        flex-direction: row;
    }
    
    .content_container .content_wrapper .content_box {
        padding: var(--padding-content-desktop);
    } 
}

/* Content Box */

.content_box textarea {
    width: 100%;
    height: 250px;
    border: none;
    resize: none;
    outline: 1px solid var(--clr-primary);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin: 0.75rem 0;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;;
}

/* Buttons for textarea */

.content_box .textarea_buttons {
    display: flex;
    margin: 0.5rem 0;
}

.content_box .textarea_buttons > div {
    margin-right: 1rem;
    background: var(--clr-primary);
    border-radius: 1rem;
    color: var(--clr-white);
    transition: 0.4s ease;
    scale: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content_box .textarea_buttons > div:hover {
    background: var(--clr-secondary);
    scale: 1.005;
}

.content_box .textarea_buttons > div button {
    padding: 1rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    height: 100%;
    font-weight: var(--fw-semi-bold);
    font-size: var(--fs-regular-text);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Radio Button for Selector Styling */

.content_box > .radio_button {
    margin: 0.5rem 0;
    display: flex;
    gap: 0.5rem;
}

.content_box > .radio_button label {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.radio_button strong {
    color: var(--clr-primary);
}

input[type="checkbox"] {
    appearance: none;
    font: inherit;
    min-width: 1.15rem;
    height: 1.15rem;
    color: var(--clr-primary);
    border: 0.15rem solid var(--clr-primary);
    border-radius: 25%;
    margin: 0;
    transform: translateY(0.11rem);
    display: grid;
    place-content: center;
    cursor: pointer;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 25%;
    transform: scale(0);
    transition: 0.2s transform ease;
    box-shadow: inset 1em 1em var(--clr-secondary);
    background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* Footer */

footer {
    background-color: var(--clr-primary);
}

footer .content_container {
    color: var(--clr-white);
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .content_container h2 {
    color: var(--clr-white);
}

footer .content_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .content_box {
    width: 100%;
    text-align: left;
}

footer .content_box h2 {
    margin: 0.5rem 0;
    text-transform: uppercase;
}

footer .content_box ul {
    list-style-type: none;
    line-height: 1.5;
}

footer .content_box a {
    text-decoration: none;
    color: var(--clr-white);
}


footer .content_box .logo {
    color: var(--clr-white);
    text-transform: uppercase;
    font-size: 2.35rem;
    font-weight: var(--fw-semi-bold);
}

@media screen and (min-width: 768px) {
    footer {
        min-height: 150px;
    }

    footer .content_box:nth-of-type(2) {
        text-align: right;
    }
}

/* Copy Content Styling */

.copy_text_btn {
    min-width: 110px;
}

.original_colour {
    background-color: var(--clr-primary) !important;
    color: var(--clr-white);
    border-radius: 1rem;
    transition: 0.5s ease;
}

.original_colour:hover {
    background-color: var(--clr-secondary) !important;
}

.success_colour {
    background-color: var(--clr-copied) !important;
    color: var(--clr-white);
    border-radius: 1rem;
}

/* Form Styling */

form {
    background-color: var(--clr-white);
    padding: 1.5rem;
    margin: 0 auto;
    border-radius: 1.5rem;
    height: 100%;
    max-width: 500px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

form .form_group {
    width: 100%;
    margin: 1rem 0;
}

form .form_group input,
form .form_group textarea {
    width: 100%;
    padding: 0.75rem 0.75rem;
    border: 1px solid var(--clr-primary);
    border-radius: 0.5rem;
    font-size: var(--fs-regular-text);
    outline: none;
    margin: 0;
}

form .form_group .form_group_title {
    display: none;
}

form .form_group .submit {
    background: var(--clr-primary);
    color: var(--clr-white);
    transition: 0.5s ease;
}

form .form_group .submit:hover {
    background: var(--clr-secondary);
    cursor: pointer;
}