:root {
    --clr-primary-dark: #464646;
    --clr-secondary-grey: #EBEBEB;
    --clr-footer: #DBD7D7;
    --clr-white: white;

    --ff-body: 'Open Sans', sans-serif;
    --ff-heading: 'Gelasio', serif;
    --ff-logo: 'JimmyScript';

    --fw-light: 300;
    --fw-regular: 400;
    --fw-bold: 700;

    --fs-50: .90rem;
    --fs-100: 1rem;
    --fs-200: 1.25rem;
    --fs-300: 1.5625rem;
    --fs-400: 1.875rem;
    --fs-500: 2.8124rem;
    --fs-600: 3.4375rem;
    --fs-700: 3.75rem;
    --fs-800: 4.375rem;
    --fs-900: 5.625rem;


    --fs-primary-heading: clamp(2.25rem, calc(1.97rem + 1.21vw), 3.42rem);
    --fs-secondary-heading: clamp(1.88rem, calc(1.67rem + 0.89vw), 2.73rem);
    --fs-body: clamp(1.00rem, calc(0.87rem + 0.58vw), 1.56rem);
    ;
    --fs-footer: 1rem;



    --size-100: .25rem;
    --size-200: .5rem;
    --size-300: .75rem;
    --size-400: 1rem;
    --size-500: 1.5rem;
    --size-600: 2rem;
    --size-700: 3rem;
    --size-800: 4rem;
    --size-900: 5rem;
    --size-1000: 7rem;
    --size-1500: 8rem;
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html:focus-within {
    scroll-behavior: smooth;
}



/* ------ BODY ------- */

/*
* {
    outline: solid red 1px;
}
*/
html,
body {
    height: 100%;
    font-size: 1em;
}

body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    background-image: linear-gradient(white, #c8c8c8);
    background-attachment: fixed;
    background-repeat: no-repeat;

    accent-color: rgb(99, 182, 255);

    overflow-x: hidden;

}







/* ------- IMAGES -------*/
img,
picture,
svg {
    max-width: 100%;
    display: block;
}





/* ------- FONT STYLING ------- */
h1 {
    font-family: var(--ff-heading);
    text-align: center;
    text-transform: uppercase;
    color: var(--clr-primary-dark);
}

h2 {
    font-family: var(--ff-body);
    font-size: var(--fs-secondary-heading);
}

p {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--clr-primary-dark);
}







/* ------- START STYLING -------*/







/* ------- NAV BAR ------- */
.nav-wrapper {
    text-align: center;
    padding: var(--size-300)
}

button img {
    width: 100%;
}

.nav-links {
    font-family: var(--ff-body);
    text-decoration: none;
    color: var(--clr-primary-dark);
    font-size: 2rem;

}

.sr-only {
    display: none;
}

.primary-navigation {
    list-style: none;
    position: fixed;
    z-index: 1000;
    inset: 0 0 0 30%;
    flex-direction: column;
    text-align: left;

    padding: min(30vh, 10rem) 3rem;
    background: rgba(231, 231, 231, 1);

    transform: translateX(100%);
    transition: transform 550ms ease-out;
}

.primary-navigation[data-visible="true"] {
    transform: translateX(0%);

}

.mobile-nav-toggle {
    display: block;
    position: absolute;
    background-image: url(assets/icon-hamburger.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    width: 3rem;
    scale: .7;
    aspect-ratio: 1;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
}

.mobile-nav-toggle[aria-expanded="true"] {
    background-image: url(assets/icon-closed.svg);
    background-color: transparent;
}

/* MOBILE MENU */
@media (min-width: 55em) {
    .primary-navigation {
        inset: 0 0 0 70%;
        ;
    }
}

/* WEBSITE MENU */
@media (min-width: 120em) {
    .primary-navigation {
        inset: 0 0 0 80%;
    }

    .mobile-nav-toggle {
        scale: 1;
    }
}






/* ------- HERO ------- */
.hero-landing {
    height: 100vh;
    background-color: transparent;
}

.hero {
    /* SIZING */
    height: 55vh;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-wrapper {
    padding-top: 30vh;
}

.hero h2 {
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: .5rem;
    margin-bottom: .25rem;
}

.logoImg {
    width: 60vw;
    margin-bottom: var(--size-800);
}


.arrow {
    margin: 2rem 7rem 7rem 7rem;
    width: 50px;
    height: 50px;
    position: relative;
    background-color: #464646;
    animation-name: arrow;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-iteration-count: 5;
    opacity: 0;
}

@keyframes arrow {
    0% {
        background-color: transparent;
        left: 0px;
        top: 0px;
        opacity: 1;
    }

    100% {
        background-color: transparent;
        left: 0px;
        top: 100px;
        opacity: 0;
    }
}
 
/* ------- HERO QUERIES ------- */

/* ------- TABLET ------ */
@media (min-width: 64em) {
    .hero {
        height: 100vh;
    }

    .logoImg {
        width: 30vw;
        margin-bottom: var(--size-900);
        width: 30vw;
        margin-bottom: var(--size-900);
    }
}


/* ------- WEB ------- */
/*IF DEVICE WITH IS GREATER THAN OR EQUAL TO 41EM*/
@media (min-width: 120em) {
    .logoImg {
        width: 30vw;
    }

    .hero {
        height: 100vh;
    }
}





.catches h1 {
    font-weight: var(--fw-light);
}

.bold-italic {
    font-weight: bold;
    font-style: italic;
}


@media (min-width: 120em) {
    .catches h1 {
        margin-bottom: var(--size-300);
    }
}



/* ------- SWIPER ------- */
.swiper {
    max-width: 100%;
}


.swiper-slide {
    max-width: 23rem !important;
    height: auto !important;
    background-color: #FBFBFB;
    text-align: center;
    font-style: italic;
    font-weight: var(--fw-light);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    padding: 3rem 2.5rem;
    margin: 0 1rem;
}

.swiper-container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-text {
    font-size: 1rem;
}


.client-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.client-details p {
    font-size: .8rem;
}

.swiper-container img {
    width: 110 px;
    height: 110px;
    border-radius: 100%;
    margin-bottom: var(--size-400);
}

.rating {
    width: 6rem;
    margin-bottom: 0 !important;

}

.test-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: var(--size-400);
    flex-basis: 60%;
}





/* ------- SWIPER QUERIES ------- */
/* ------- TABLET ------*/
/* greater than or = to */
@media (min-width: 50em) {
    .swiper {
        max-width: 100%;
    }

    .swiper-slide {
        max-width: 25rem !important;
        height: auto !important;
        margin: 0 2rem;
        padding: 4rem 3rem;
    }
}

/* ------- TABLET-LANDSCAPE ------- */
@media (min-width: 70em) {
    .swiper-slide {
        max-width: 30rem !important;
        height: auto !important;
        margin: 0 2rem;
        padding: 3rem 3rem;
    }
}


/* ------- SMALL DESKTOP 1900PX ------ */


/* ------- WEB ------- */
/*IF DEVICE WITH IS GREATER THAN OR EQUAL TO 41EM*/
@media (min-width: 120rem) {
    .swiper-slide {
        max-width: 30rem !important;
        padding: 2rem 2rem;
        margin: 0 2rem;
        display: flex;
        align-items: center;
    }

    .swiper-container {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    
    .test-body {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .test-body p {
        font-size: 1.2rem;
    }

    .client-details p {
        font-size: 1rem;
    }
    
    .client-details {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .rating {
        width: 7rem;
    }

}





/* ------- GET IN TOUCH ------- */
.get-in-touch {
    margin: auto;
    text-align: center;

}

.get-in-touch h1 {
    max-width: 100%;
    font-family: 'Libre Baskerville', sans-serif;
    text-transform: none;

}


/* ------- FORM ------- */
form {
    width: 100%;
}

input {
    padding: var(--size-400);
    margin: 1rem 0;
    border: 1px solid rgba(128, 128, 128, 0.333);
}

.radio {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
}

input[type="radio"] {
    height: 20px;
    width: 20px;
    background-color: #f6f6f6;
    padding: 0;
}

input[type="radio"]:checked {
    background: rgb(155, 222, 255);
    border: 4px solid #F9F9F9;
}

label {
    font-family: var(--ff-body);
    font-size: 1rem;
}

input[type=text] {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.333);
    background-color: #F9F9F9;
    color: var(--clr-primary-dark);
    font-family: var(--ff-body);
}


input:focus,
textarea:focus {
    outline: none;
    border: 2px solid #BCBCBC;
}

input:invalid {
    border: 2px rgb(253, 54, 54);
}

textarea {
    height: 30vh;
    margin: 1rem 0;
    padding: var(--size-400);
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.333);
    background-color: #F9F9F9;
    color: var(--clr-primary-dark);
    font-family: var(--ff-body);
}

.button {
    background-color: #F9F9F9;
    border: 1px solid rgba(128, 128, 128, 0.333);
    border-radius: 4px;
    padding: .7rem 1rem;
    color: var(--clr-primary-dark);
    border: none;
    text-decoration: none;
    font-family: var(--ff-body);
}

#successful-submit {
    display: none;
    width: 30px;
    margin: 0 .5rem;
}

/* ------- FORM QUERIES ------- */
/* ------- TABLET ------ */
@media (min-width: 51em) {
    form {
        width: 80%;
    }

    textarea {
        height: 20vh;
    }

    input[type=radio] {
        margin-right: 1rem;
    }

    .radio label {
        margin-right: 2rem;
    }

    .radio {
        justify-content: center;
    }

    .get-in-touch h1 {
        max-width: 100%;
    }
}



/* ------- LANDSCAPE TABLET ------- */
@media (min-width: 70em) {
    .get-in-touch {
        flex-basis: 50%
    }

    .get-in-touch h1 {
        text-align: left;
    }

    form {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: var(--size-600);
    }

    input {
        padding: var(--size-300);
        margin: .6rem 0;
    }

    .form-col-1 {
        width: 50%;
    }

    .form-col-2 {
        width: 50%;
    }

    label {
        font-size: 1rem;
    }

    .radio label {
        margin-right: 2rem;
        font-size: 1rem;
    }

    .radio label {
        margin-right: 2rem;
    }

    .radio {
        display: flex;
        justify-content: space-evenly;
        justify-content: space-evenly;
        align-items: center;
    }

    input[type=radio] {
        margin-right: .5rem;
    }

    input[type=text] {
        border-radius: 4px;
        border: 1px solid rgba(128, 128, 128, 0.333);
        background-color: #F9F9F9;
        color: var(--clr-primary-dark);
        font-family: var(--ff-body);
        font-size: 1rem;
    }

    textarea {
        height: 20vh;
        color: var(--clr-primary-dark);
        font-size: 1rem;
        margin: .6rem 0;
    }
}




/* ------- WEB ------- */
/* ------- greater than 120 ------- */
@media (min-width: 120em) {
    .get-in-touch {
        flex-basis: 70%
    }

    .get-in-touch h1 {
        text-align: left;
        font-size: 2.5rem;
    }

    form {
        align-items: flex-start;
        gap: var(--size-600);
    }

    .form-col-1,
    .form-col-2 {
        max-width: 100%;
        flex-basis: 50%;
    }

    input {
        padding: var(--size-400);
        margin: 1rem 0;
    }

    .radio {
        padding: 0;
        align-items: center;
        justify-content: space-around
    }

    input[type=radio] {
        margin-right: 0rem;
    }

    label {
        font-size: 1rem;
    }

    input[type=radio]:checked {       
        background: rgb(155, 222, 255);
        border: 4px solid #F9F9F9;
    }

    input[type=text] {
        border-radius: 10px;
        border: 1px solid rgba(128, 128, 128, 0.333);
        background-color: #F9F9F9;
        color: var(--clr-primary-dark);
        font-family: var(--ff-body);
        font-size: 1rem;
    }

    textarea {
        height: 20vh;
        color: var(--clr-primary-dark);
        font-size: 1rem;
    }

    .button {
        padding: .8rem 1.5rem;
        font-size: 1rem;
        border-radius: 7px;
        cursor: pointer;
    }

    .button:hover {
        background-color: var(--clr-footer);
        color: white;
    }
}










/* FOOTER */
.wreath-logo {
    margin: auto;
    width: 60%;
}

.terms-wrapper {
    display: flex;
    align-items: center;
}

.terms p {
    font-size: .7rem;
}

.terms {
    margin: auto;
    text-align: center;
    line-height: 1.8;
}

/* -- FOOTER QUERIES ------- */
/* ------- TABLET ------ */
/* Greater than or = to */
@media (min-width: 45em) {
    .wreath-logo {
        width: 20vw;
    }

    .terms p {
        font-size: .7rem;
    }
}


/* ------- LANDSCAPE TAB ------- */
@media (min-width: 64em) {

    .wreath-logo {
        width: 20vw;
    }

    .terms {
        text-align: left;
    }

    terms p {
        font-size: 1rem;
    }
}


/* ------- WEB ------- */
/*IF DEVICE WITH IS GREATER THAN OR EQUAL TO 55EM*/
@media (min-width: 120em) {
    .wreath-logo {
        max-width: 12rem;
    }



    .terms {
        text-align: left;
        line-height: 1.8;

    }

    .terms p {
        font-size: .8rem;
    }

}


































/* ------- UTILITY CLASSES ------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: max(80%, 20rem);
    margin-inline: auto;
}


/* ------- WEB ------- */
/*IF DEVICE WITH IS GREATER THAN OR EQUAL TO 55*/
@media (min-width: 120rem) {
    .container {
        width: max(70%, 20rem);
    }
}


.flex {
    display: flex;
    gap: 1rem;
}

.nav-container {
    --max-width: 76vw;
    --padding: var(--size-600);

    width: min(var(--max-width), 100% - var(--padding) * 4);
    margin-inline: auto;
}

.even-columns,
.terms-wrapper,
.carousel-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--size-600);
}

/* ------- TABLET ------ */
@media (max-width: 50em) {

    .even-columns,
    .terms-wrapper {
        flex-direction: column;
    }
}


/* ------- WEB ------- */
/*IF DEVICE WITH IS GREATER THAN OR EQUAL TO 55*/
@media (min-width: 65em) {
@media (min-width: 65em) {

    .even-columns,
    .terms-wrapper {
        flex-direction: row;
    }
}
}

@media (min-width: 120rem) {
    .terms-wrapper {
        gap: 7rem;
    }
}
@media (min-width: 120rem) {
    .terms-wrapper {
        gap: 7rem;
    }
}



/* BACKGROUNDS */
.bg-secondary {
    background-color: var(--clr-secondary-grey)
}

.bg-white {
    background-color: var(--clr-white);
}

.bg-footer {
    background-color: var(--clr-footer);
}


/* ------- FONT WEIGHT ------- */

.fw-regular {
    font-weight: var(--fw-regular);
}

.fw-bold {
    font-weight: var(--fw-bold);
}

/* ------- FONT SIZE -------*/

.fs-primary-heading {
    font-size: var(--fs-primary-heading);
}

.fs-secondary-heading {
    font-size: var(--fs-secondary-heading);
}

.fs-body {
    font-size: var(--fs-body);
}

.fs-footer {
    font-size: var(--fs-footer);
}

.fs-nav-logo {
    font-size: var(--fs-navLogo);
}


.header-padding {
    padding: 10vh;
}

/* min provides the maximum value a property can have // sets to whichever
value is the smallest value*/
.section-padding {
    padding: var(--size-1500) 0;
}

.footer-padding {
    padding: var(--size-800) 0;
}

/* ------- WEB ------- */
/*IF DEVICE WITH IS GREATER THAN OR EQUAL TO 41EM*/
@media (min-width: 55em) {
    .section-padding {
        padding: 10rem 0;
    }
}
