@charset "UTF-8";
@import"https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;600;700&family=Roboto:wght@400;700&display=swap";


:root {
    font-size: 20px;
}
@media screen and (max-width: 500px) {
    :root {
        font-size: 4vw;
    }
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}
header, section, footer {
    display: flex;   
    align-items: center;
    justify-content: center;
}

section>*{
    max-width: 500px;
}


.fond {
    background-image: url('img/background.webp');
    background-size: cover;
    color: #fff;
}

.intro{
    max-width: 30rem;
}

p.item {
    display: flex;
    gap: 1rem;
    align-items: center;
}
p.item::before {
    content: " ";
    background-image: url('img/check.svg');
    background-size: cover;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    display: block;
}
header {
    padding: 1rem;

}
header p.item {
    display: none;
}
h1 {
    text-align: center;
    font-size: 1.85rem;
    font-weight: bold;
    color: #0073b9;
    margin: 0;
}
.fond h1 {
    color: #fff;
}
#logo {
    width: 2.7rem;
    height: 2.7rem;
    background-image: url('img/logo.webp');
    background-size: cover;
}
.sect1 {
    flex-direction: column-reverse;
    padding: 7.5rem 1.6rem;
    gap: 3.2rem;
}
.sect1 p {
    text-align: center;
    font-size: 1.12rem;
    margin-bottom: 4rem;
}
.sect1 p.item {
    text-align: left;
    margin-bottom: 0.5rem;
}

.sect2, .sect4, .sect6, .faq {
    flex-direction: column;
    padding: 3.7rem 1.6rem;
}
.sect2 p {
    font-size: 1.12rem;
    color: #666;
    font-weight: bold;
}
.sect3 {
    flex-direction: column;
}
#illustration {
    background-image: url('img/illustration.webp');
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
}
.cadre {
    padding: 3.2rem 1.6rem;
    background-color: #0073b9;
    color: #fff;
}
h2 {
    font-size: 1.8rem;
}
.cadre p {
    font-size: 1.06rem;
}
.cadre b {
    color: #ffaf30;
}
.cadre button {
    color: #fff;
    border: solid 0.2rem #fff;
    padding: 0.8rem;
    font-weight: bold;
    background-color: #0073b9;
    font-size: 1rem;
}
.carousel {
    margin-top: 3rem;;
    display: grid;
    grid-template-columns: 100% 100% 100% 100% 100%;
    overflow: hidden;
    gap: 10%;
}

.quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: slide;
    animation-duration: 24s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.quote::before {
    content: " ";
    display: block;
    width: 3rem;
    height: 3rem;
    background-image: url('img/quote.svg');
}
.quote p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
}
.quote p:not(.name)::before, .quote p:not(.name)::after {
    content: " ";
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    background-image: url('img/quote.svg');
    margin: 0 0.4rem;
}
.quote p:not(.name)::before {
    transform: rotate(180deg);
}
.quote svg {
    width: 6rem;
    margin: 1rem 0 3rem 0;
}
.quote .pdp {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    background-size: cover;
}
.quote .name {
    font-style: italic;
}

@keyframes slide {
    0% { transform: translateX(0%); }
    10%, 25% { transform: translateX(-110%); }
    35%, 50% { transform: translateX(-220%); }
    60%, 75% { transform: translateX(-330%); }
    85%, 100% { transform: translateX(-440%); }
}

#Dirk { background-image: url('img/Dirk.webp'); }
#Harrold { background-image: url('img/Harrold.webp'); }
#Thomas { background-image: url('img/Thomas.webp'); }
#Els { background-image: url('img/Els.webp'); }

.sect5, .sect9 {
    flex-direction: column;
    padding: 3.7rem 1.6rem;
    gap: 1rem;
    text-align: center;
    font-size: 1.1rem;
    align-items: center;
}
.sect5 button, .sect9 button {
    width: 18rem;
    background-color: #ffaf30;
    border: none;
    border-radius: 0.2rem;
    color: #fff;
    font-size: 1.1rem;
    padding: 0.6rem;
    font-weight: bold;
}

.step-card {
    margin: 2rem 0.5rem;
    align-self: baseline;
}

.step-card .step-name {
    background-color: #0073b9;
    color: #fff;
    padding: 0.6rem;
    border-radius: 0.2rem;
    font-size: 1.2rem;
    position: absolute;
    display: inline-block;
}

.step-card img {
    width: 3.8rem;
    height: 3.8rem;
    display: block;
    margin: 1rem auto;
}

.step-card h2, .step-card p {
    text-align: center;
    color: #666;
}
.step-card h2, .faq h2 {
    font-size: 1.2rem;
}
#wide_image {
    background-image: url('img/zonnepanelen-huis.jpg');
    width: 100%;
    aspect-ratio: 3/2;
    background-size: cover;
}
.faq h2, .faq p {
    text-align: left;
    color: #666;
}
footer {
    padding: 2.5rem 0.5rem;
    background-color: #0073b9;
    gap: 3rem;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-weight: bold;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#form {
    width: 19.8rem;
    height: 30rem;
    background-color: #fff;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.6rem;
    padding: 1.8rem 1rem;
}

#form h2 {
    font-size: 1.5rem;
    color: #666;
    font-weight: bold;
    margin: 0;
    text-align: center;
}
#form h2 b {
    color: #46cf2c;
}
#form h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    background-color: #0073b9;
    border-radius: 0.2rem;
    padding: 0.1rem;
    text-align: center;
}
#form label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: #123;
    gap: 0.5rem;
}
#form label p {
    font-size: 1rem;
    text-align: left;
    margin: 0;
}
#form select {
    font-size: 1rem;
    padding: 0.4rem 1rem;
    background-image: url('img/select.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100%;
    border: solid 1px currentColor;
    border-radius: 0;
    color: #123;
    background-color: #fff;
    appearance: none;
}
#form input {
    font-size: 1rem;
    padding: 0.4rem 1rem;
    border: solid 1px currentColor;
    border-radius: 0;
    color: #123;
    background-color: #fff;
    appearance: none;
    flex: 1;
}
#form .plusmoins {
    display: flex;
}
#form .plusmoins button {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.3rem;
    width: 2.2rem;
    border: solid 1px currentColor;
    border-radius: 0;
    color: #123;
    background-color: #dde;
}
#form .plusmoins input {
    border-width: 1px 0;
    appearance: none;
}
#form p {
    margin: 0;
    color: #222;
    font-size: 1rem;
}
#form .optin {
    text-align: left;
    font-size: 0.8rem;
}
.space {
    flex: 1;
}
button[data-action="nextpage"], button[data-action="submit"] {
    border-radius: 0.3rem;
    color: #fff;
    background-color: #ffaf30;
    padding: 0.5rem 2rem;
    border: none;
    font-size: 1rem;
    align-self: center;
}
button[data-action="nextpage"]:hover, button[data-action="submit"]:hover {
    background-color: #ff9c00;
}
.block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@keyframes twerk {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
  
.animated{
    animation: twerk 3s ease-in-out infinite;
}

.page1 {
    display: flex;
    gap: 0.3rem;
    flex-direction: column;
}

.intro-alt {
    display: block;
    order: 1;
}
.intro h1 {
    display: none;
}