:root {
    --darkBlue: oklch(0.2456 0.0937 265.92);
    --blue: oklch(0.4009 0.1254 254.25);
    --lightBlue: oklch(0.5501 0.1254 254.25);
    --lightestBlue: oklch(0.653 0.1254 254.25);
    --orange: oklch(0.756 0.1739 58.06);
    --lightOrange: oklch(0.8262 0.1634 78.34);
    --white: oklch(1 0 0);
}

body {
    margin: 0;
}

#app {
    font-family: "Roboto", sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    line-height: 1.6;
}

header {
    grid-column-start: 1;
    grid-column-end: 4;
    height: 140px;
    position: fixed;
    width: 100vw;
    background-color: var(--white);
    z-index: 1;
}

#requestQuoteMobile {
    display: none;
    position: fixed;
    z-index: 1;
    bottom: 0;
    right: 0;
    height: 70px;
    width: 70px;
    border-radius: 35px;
    background-color: var(--orange);
    margin: 1em;
}

#requestQuoteMobile:hover {
    background-color: var(--lightOrange);
}

#requestQuoteMobile img {
    filter: invert(95%) sepia(18%) saturate(1%) hue-rotate(82deg) brightness(110%) contrast(101%);;
}

header nav a {
    padding-inline: 1vw;
    justify-self: center;
    align-self: center;
}

header a img {
    max-height: 70px;
    display: flex;
    align-self: center;
}

header nav a:hover, a.router-link-exact-active, footer a:hover {
    color: var(--orange);
}

header #quoteDesktop {
    height: 45px;
    display: flex;
    background-color: var(--blue);
    justify-content: end;
    align-items: center;
    padding-inline: 1.5vw;
}

header #quoteDesktop a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;

}

#navDesktop {
    display: flex;
    align-items: center;
    height: 95px;
}

#navLinks {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding-inline-end: 12px;
}

#navMobile {
    display: none;
}

.form {
    background-color: var(--orange);
    padding-inline: .5em;
    border-radius: 7px;
    height: 35px;
    display: flex;
    align-items: center;
    text-shadow: 1px 1px 1px rgba(69, 69, 69, 0.1);
}

.form:hover {
    background-color: var(--lightOrange);
}

nav a {
    color: var(--blue);
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

nav a:hover, footer a:hover {
    cursor: pointer;
    font-weight: 500;
}

main {
    padding-top: 140px;
}

h2 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: .5em;
}

p + h2 {
    margin-top: 1em;
}

h3 {
    font-size: 24px;
    margin: 0;
}

img {
    max-width: 100%;
}

p {
    font-size: 20px;
    text-align: justify;
}

h3 + p {
    margin-top: 0;
}

ul {
    font-size: 19px;
    margin: 0;
}

ul li {
    line-height: 1.8;
}

button {
    color: var(--white);
    font-size: 18px;
    background-color: var(--lightestBlue);
    height: 50px;
    padding: 12px;
    border: none;
}

button:hover {
    background-color: var(--lightBlue);
    cursor: pointer;
}

footer {
    width: 100%;
    display: flex;
    background-color: var(--blue);
    color: var(--white);
    justify-content: center;
    padding-block: 1em;
}

footer div {
    width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

footer p {
    margin: 0;
}

footer a {
    all: unset
}

#footerMobile {
    display: none;
}

#home::before, #contact::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/Background.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed; 
    z-index: -1;
    filter: brightness(60%);
}

#home {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home h1 {
    font-size: 48px;
    color: var(--lightOrange);
    margin-top: 70px;
    text-shadow: -2px 2px 4px #000000;
    text-align: center;
    margin-bottom: 0;
}

#home p {
    color: var(--white);
    width: 50vw;
    text-align: justify;
    text-shadow: -1px 1px 0px #000000;
}

#home .form {
    margin-top: 1em;
    height: 45px;
    padding-inline: 1em;
    margin-bottom: 70px;
}

#about::before, .services::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/Background.jpg');
    background-repeat: no-repeat;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    z-index: -1;
}

#about {
    display: grid;
    grid-template-columns: 17vw 1fr;
    column-gap: 5%;
}

#about, .services, #contact {
    margin-inline: 15%;
    padding-inline: 2.5%;
    padding-block-start: 1.5em;
    padding-block-end: 3em;
    height: 100%;
}

#about, .services {
    background-color: rgba(255, 255, 255, 0.7);
}

#aboutNavMobile {
    position: fixed;
    width: 100%;
    background-color: var(--lightBlue);
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

#aboutNavMobile a {
    color: var(--white);
    font-weight: 300;
    padding-inline: 3vw;
}

#aboutNavDesktop {
    position: fixed;
    width: 17vw;
    height: fit-content;
    grid-template-rows: repeat(4, 56px);
    display: grid;
}

#aboutNavDesktop a:first-child {
    display: block;
    font-size: 24px;
    background-color: var(--blue);
}

#aboutNavDesktop a {
    height: 52px;
    width: 92.5%;
    padding-inline-start: 7.5%;
    background-color: var(--lightBlue);
    align-content: center;
    color: var(--white);
}

#aboutNavDesktop a:hover, .active {
    text-decoration: underline;
}

#about h1 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 40px;
    color: var(--blue);
}

#about h2 {
    font-style: italic;
}

#aboutArticles {
    grid-column-start: 2;
}

#aboutArticles img {
    max-width: 100%;
}

#aboutArticles article:first-of-type {
    margin-block-end: 3em;
}

#aboutArticles article:not(:first-of-type) {
    margin-block: 3em;
}

#aboutArticles article:last-child {
    margin-block-end: 0;
}

#leadership img {
    border-radius: 50%;
    box-shadow: 0px 0px 6px var(--lightOrange);
}

#leadershipMobile {
    display: none;
}

#leadershipMobile img {
    width: 50%;
    margin-bottom: 1em;
}

#leadershipMobile h3 {
    text-align: center;
}

#about hr {
    border-color: var(--lightOrange);
}

#contactUs {
    height: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: center;
    font-style: italic;
    padding-block-end: 3em;
}

#contactUs hr {
    width: 70%;
    margin-block-end: 3em;
}

#figures {
    display: flex;
    justify-content: space-evenly;
}

#figures figure {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

#figures img {
    max-height: 12vw;
}

#figures a {
    color: inherit;
    text-decoration: inherit;
}

#leadershipDesktop {
    display: grid;
    grid-template-columns: 25% 70%;
    column-gap: 5%;
}

#servicesMobile {
    display: none;
}

.services article, #contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sc2 {
    margin-top: 3em;
}

.sun {
    align-self: center;
    justify-self: center;
    background-color: var(--orange);
    width: 100px;
    height: 50px;
    border-radius: 50px 50px 0 0;
    box-shadow: 0px 0px 10px var(--lightOrange);
}

.sunContainer {
    width: 120px;
    height: 40px;
    overflow: hidden;
    padding-top: 10px;
}

.services h1, #contact h1 {
    font-style: italic;
    margin-top: 0;
}

.services h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
}

.services img {
    width: 100%;
}

#serviceDetails {
    display: grid;
    grid-template-columns: 50% 45%;
    column-gap: 5%;
}

#sunnyDifference {
    display: grid;
    grid-template-columns: 45% 50%;
    column-gap: 5%;
}

#sunnyDifference p {
    margin: 0;
}

#sunnyDifference p:nth-child(3) {
    margin-block-start: .25em;
    margin-block-end: 1em;
    font-weight: 500;
}

#contact {
    color: white;
    text-shadow: -1px 1px 0px #000000;
    background-color: rgba(33, 33, 33, 0.7);
}

#contact h1 {
    text-shadow: -2px 2px 4px #000000;
    margin-bottom: 0;
    text-align: center;
}

#contact hr {
    display: block;
    width: 70%;
    border-color: var(--lightOrange);
}

#contact p {
    text-align: center;
}

#testimonialsDesktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#testimonialsMobile {
    display: none;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

.testimonials {
    display: flex;
    flex-direction: column;
    height: 120px;
    width: 80%;
    margin-block: 1em;
    justify-content: center;
}

.testimonials p {
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.testimonials p:first-child {
    font-family: "Playwrite DE Grund", "Roboto", sans-serif;
}

.testimonials p:nth-of-type(2) {
    margin-top: .5em;
    font-style: italic;
    font-size: 18px;
    font-weight: 200;
}

@media screen and (max-width: 1200px) {
    #home h1 {
        max-width: 600px;
        padding-inline: 10%;
    }

    #home p {
        width: 70vw;
    }

    #about {
        grid-template-columns: 22vw 1fr;
    }

    #aboutNavDesktop {
        width: 22vw;
    }

    #about, .services {
        margin-inline: 7%;
    }

    #contact {
        margin-inline: 10%;
    }
}

@media screen and (max-width: 1000px) {
    #contact {
        margin-inline: 0;
        padding-inline: 5%;
    }

    #about, .services {
        margin-inline: 0;
    }

    .testimonials {
        width: 90%;
    }
}

@media screen and (max-width: 800px) {
    #home h1 {
        max-width: 90vw;
        padding-inline: 5vw;
    }

    #home p {
        width: 80vw;
    }

    #about {
        grid-template-columns: 26vw 1fr;
    }


    #aboutNavDesktop {
        width: 26vw;
    }

    footer div {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    #home::before, #contact::before {
        background-image: url('../images/Mobile Background.jpeg');
    }
    #about::before, .services::before {
        background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/Mobile Background.jpeg');
    }

    #requestQuoteMobile {
        display: block;
    }

    #navDesktop, header #quoteDesktop {
        display: none;
    }

    #navMobile {
        display: block;
        height: 115px;
    }

    #navMobile a {
        color: var(--white);
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-block: .75em;
        width: 100%;
    }

    #navMobile .logo a {
        padding-inline: 0;
    }

    #navMobile div {
        justify-self: center;
    }

    #navMobile a.router-link-exact-active {
        color: var(--orange);
    }

    #navMobile div:nth-child(2) {
        display: flex;
        height: 45px;
        width: 100%;
        background-color: var(--blue);
        justify-content: space-around;
    }

    #about {
        grid-template-columns: 0 88vw;
        padding-top: 50px;
        padding-inline: 1vw;
    }

    #about h1 {
        line-height: 1.4;
        margin-block: .5em;
        text-align: center;
    }

    #aboutNavDesktop {
        display: none;
    }

    #aboutNavMobile {
        display: flex;
    }

    #leadershipDesktop {
        display: none;
    }

    #leadershipMobile {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #servicesDesktop {
        display: none;
    }

    #servicesMobile {
        display: block;
        padding-inline: 5vw;
    }

    #servicesMobile #serviceDetails, #servicesMobile #sunnyDifference {
        display: block;
    }

    .testimonials {
        height: 160px;
    }

    #footerMobile {
        height: fit-content;
        width: fit-content;
        display: block;
    }

    #footerMobile p {
        text-align: center;
    }

    #footerMobile hr {
        margin-block: 1em;
        border-color: var(--lightOrange);
    }

    #footerDesktop {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    #testimonialsDesktop {
        display: none;
    }

    #testimonialsMobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .testimonials {
        height: 280px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

    #contact {
        padding-block-end: 1em;
    }
}