@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Didact Gothic", sans-serif;
    color: rgb(10, 10, 10);
}

:root {
    --background: #f6f5f3;
    --light-grey: #ecebe8;
    --dark-grey: #dcd9d4;
}

html {
    font-size: 18px;
    background-color: var(--background);
    scroll-behavior: smooth;
}

body {
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
    font-weight: bold;
}

h4 {
    font-size: 1rem;
    font-weight: bold;
}

p,
a {
    font-size: 1rem;
    text-decoration: none;
}

.footer-section p,
.footer-section a {
    font-size: 0.8rem;
}

input,
textarea {
    font-size: 0.8rem;

}

.p-small {
    font-size: 0.75rem;
}

.flex {
    display: flex;
    align-items: center;
}

.clickable:hover {
    cursor: pointer;
}

.grey-backing {
    width: 100%;
    background-color: var(--light-grey);
    justify-content: center;
    padding: 2rem 1rem;
    flex-direction: column;
}

header {
    background-color: var(--dark-grey);
    justify-content: space-between;
    height: 6rem;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 800;
}

.logo {
    height: 3rem;
}

nav {
    gap: 1rem;
    padding-right: 1rem;
}

.clamped {
    width: 80%;
    max-width: 50rem;
}

#banner {
    margin-top: 6rem;
    padding-top: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.banner-text {
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
    width: 60%;
}

.banner-text-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
}

#kieran {
    height: 24rem;
}

#services {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: stretch;
    padding: 1rem 0;
}

.service-tile {
    align-items: flex-start;
    flex-direction: column;
    background-color: white;
    border-radius: 1rem;
    gap: 1rem;
    padding: 1rem;
    flex: 1 0 12rem
}

#widget-container {
    padding: 1rem 0 2rem 0;
    position: relative;
}

#work-scroller {
    position: absolute;
    top: -6rem;
}

#widget-wrapper {
    display: none;
}

.insta-text-wrapper {
    padding: 0.5rem;
    /* background-color: var(--dark-grey); */
    background-color: white;
    border-radius: 0 0 1rem 1rem;
}

.insta-text {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eapps-instagram-feed {
    height: 100%;
}

.eapps-instagram-feed-posts-item-template-tile {
    width: 20px !important;
}

.eapps-instagram-feed-popup {
    width: 0 !important;
    overflow: hidden;
}

.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;
}


#insta-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 2rem 1rem;
    width: 100%;
}

.insta-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

.bop-up {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    position: relative;
    transition: bottom 0.1s ease-in-out;
    bottom: 0;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
}

.bop-up:hover {
    bottom: 0.2rem;
}

.insta-img:hover {
    bottom: 0.2rem;
}

.footer-section {
    flex-direction: column;
    align-items: flex-start;
}

.social-list {
    justify-content: space-between;
}

.social-list svg {
    width: 1.5rem;
    height: 2rem;
}

#contact-form {
    flex-direction: column;
    padding: 2rem 0;
}

.form-section {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 24rem;
}

input,
textarea {
    border-radius: 0.7rem;
    border: none;
    padding: 0.5rem 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.temp {
    height: 20rem;
    justify-content: center;
    font-size: 2rem;
}

#submit-btn {
    border: none;
    border-radius: 0.7rem;
    padding: 0.5rem 3rem;
    background-color: var(--light-grey);
}

#submit-btn:hover {
    background-color: var(--dark-grey);
}

.faded {
    opacity: 0.5;
}

.reviews {
    gap: 1rem;
}

.light-box {
    position: fixed;
    z-index: 801;
    width: 100svw;
    height: 0;
    background-color: var(--dark-grey);
    top: 0;
    left: 0;
    display: flex;
    overflow-y: scroll;
    transition: height 0.5s ease-in-out;
}

.inner-light-box {
    padding: 3rem;
    flex-direction: column;
    margin: auto;
    gap: 3rem;
}

.light-box-logo {
    width: 7rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
}

#textFlip2 {
    display: none;
}

#footer-inner-wrapper {
    gap: 2rem;
    flex-wrap: wrap;
}

#customer-reviews{
    flex-direction: column;
    gap: 1rem;
}

.google-review{
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;
}

@media (max-width: 730px) {
    .logo {
        height: 2.5rem;
    }

    html {
        font-size: 16px
    }
}

@media (max-width: 560px) {
    .logo {
        height: 2.5rem;
    }

    html {
        font-size: 14px
    }
}

@media (max-width: 450px) {
    .logo {
        height: 2.5rem;
    }

    html {
        font-size: 12px
    }

    #textFlip1 {
        display: none;
    }

    #textFlip2 {
        display: flex;
    }

    #banner {
        align-items: stretch;
    }

    #nameIntro {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #kieran {
        height: 18rem;
    }
}

@media (max-width: 370px) {
    html {
        font-size: 10px;
    }
}