:root {
    --color-type-gft: #3ab54b;
    --color-type-restafval: #a2a1a1;
    --color-type-papier: #00b1eb;
    --color-type-grofvuil: #966437;
    --color-type-button-primary: #3ab54b;
}

* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
    --font-family-base: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 100%;
    font-size: 1rem;
    line-height: 1.625;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    /* background-color: #F1F1F1; */
    color: #232323;
    height: inherit;
}

.home {
    background-color: #466d77;
    /* background-image: linear-gradient(43deg, #6868bd 0%, #C8C8E8 46%, #C8C8E8 100%); */
    /* background-image: url('/images/bg-image-amsterdam-new-year-2.webp'), linear-gradient(43deg, #6868bd 0%, #C8C8E8 46%, #C8C8E8 100%); */
    background-image: url('https://afvalgids-landsmeer.nl/images/landsmeer-twiske-lake-shot-low-res.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.single {
    background-color: white;
    background-image: none;
}

/* Utilities */
.o-grid {
    display: grid;
}

.o-flex {
    display: flex;
}

.o-container {
    max-width: 1440px;
    margin-inline: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.h-100 {
    height: 100vh;
}

.w-100 {
    width: 100%;
}

/* Home */
.main-container {
    height: inherit;
}

.logo {
    display: inline-block;
    margin: 2rem auto 3rem auto;
    text-align: center;
}

.login {
    width: 330px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    margin: 5rem;
}

.login-inner-wrapper {
    width: inherit;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    display: grid;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.form-address input {
    width: 100%;
    padding-inline: 10px;
    padding-block: 20px;
    font-size: 1rem;
    border: none;
}

.form-group {
    border-top: 1px solid #d4d4d4;
}

.form-group:not(:first-child) {
    border-bottom: 1px solid #d4d4d4;
}

.btn-submit:disabled {
    background-color: #efefef;
    color: #9a9a9a;
}

.btn-submit {
    width: 100%;
    padding: 0.6rem 2rem;
    background-color: #e1a627;
    border: 0;
    font-size: 1.1rem;
    margin-top: 2rem;
    cursor: pointer;
    border-radius: 50px;
}

.btn-submit.is-valid-check {
    background-color: #59A333;
    color: white;
}

.btn-month {
    background-color: #a9aab2;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
}

.btn-month:hover,
.btn-month.is-active {
    background-color: #3ab54b;
    cursor: pointer;
}

.btn-send {
    width: 100%;
    padding: 0.9rem 2rem;
    background-color: #000;
    border: 0;
    font-size: 1.1rem;
    margin-top: 1rem;
    cursor: pointer;
    border-radius: 50px;
    color: white;;
}

.result {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    min-height: 27px;
}

.result .is-invalid {
    display: inline-block;
    margin: 0 auto;
    color: black;
    border-bottom: 1px solid red;
}

.result .is-valid {
    display: inline-block;
    margin: 0 auto;
    color: black;
    border-bottom: 1px solid green;
}

.hidden {
    visibility: hidden;
}

.invalid {
    border-color: red;
}

.valid {
    border-color: green;
}

/* Headings */

.section-heading {
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}


/* Notifications */
.notification {
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    position: relative;
}

.is-error {
    display: grid;
    grid-column: span 4;
}

.notification-header {
    padding: 10px 16px 10px 45px;
    border-top: 4px solid;
}

.is-error .notification-header {
    border-color: #e22e22;
    background-color: #fff1f1;
}

.notification-icon {
    position: absolute;
    left: 16px;
    top: 16px;
    height: 20px;
    width: 20px;
}

.notification-icon.is-error svg {
    fill: #e22e22;
}

.notification-text {
    font-size: 0.9rem;
    text-align: left;
}

/* Header */
.header {
    background-color: white;
    padding: 1rem;
    grid-template-columns: 1fr 2fr 1fr;
}

.header > div:nth-child(1) {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header > div:nth-child(2) {
    display: flex;
    justify-content: center;
}

.header > div:nth-child(3) {
    display: flex;
    justify-content: flex-end;
}

.header-logo {
    display: flex;
    justify-content: center;
}

.header-logo img {
    width: 80%;
}

/* Banner */
.banner {
    /* min-height: 360px; */
    /* background-color: #4158D0; */
    /* background-image: linear-gradient(43deg, #6868bd 0%, #C8C8E8 46%, #C8C8E8 100%); */
    background-image: url('/images/landsmeer-twiske-lake-shot.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

.banner-container {
    grid-template-columns: 450px;
    grid-template-rows: 320px;
    justify-content: center;
    align-items: center;
}


/* Card Stacked */
.card-stacked {
    position: relative;
    top: -20px;
}

.card-stacked-layer {
    background-color: white;
    border-radius: 11px;
    padding: 2rem 4rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    position: relative;
}

.card-stacked-layer--top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.card-stacked-layer--center {
    z-index: 2;
    bottom: -20px;
    width: 90%;
    margin-inline: auto;
    opacity: .9;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
}
.card-stacked-layer--bottom {
    z-index: 1;
    bottom: -40px;
    width: 80%;
    margin-inline: auto;
    opacity: .8;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
}

.card-stacked .heading-sub {
    margin-top: 0;
    margin-bottom: 0;
}

.card-stacked .address-heading-sub {
    color: #9a9a9a;
}

/* Next Pickup */
.next-pickup {
    margin-top: 1rem;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.next-pickup__icon {
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    border-radius: 100%;
}

.next-pickup__icon--restafval {
    background-color: var(--color-type-restafval);
}

.next-pickup__icon--gft {
    background-color: var(--color-type-gft);
}

.next-pickup__icon--papier {
    background-color: var(--color-type-papier);
}

.next-pickup__icon--grofvuil {
    background-color: var(--color-type-grofvuil);
}

.next-pickup__icon img { 
    width: 75px;
    padding: 1.5rem;
}

/* trash-calendar */
.trash-calendar {
    /* padding-bottom: 8rem; */
}

/* Months */
.months-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}


/* Pickup Details */
.pickup-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 27px;
}

.pickup-details time {
    display: block;
}

.pickup-details h2,
.pickup-details p {
    margin: 0;
}

.pickup-details p {
    color: #6d6d6d;
}

.pickup-details time::first-letter {
    text-transform: uppercase;
}

/* Pickup Dates */
.month-pickups  {
    margin-top: 2rem;
}

.pickup-day-item {
    grid-template-columns: 75px 2fr;
    gap: 1rem;
    position: relative;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.pickup-day-item:hover {
    background-color: #dcdcdc;
}

.pickup-day-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pickup-day-body time {
    display: block;
    font-weight: bold;
}

.pickup-day-body time::first-letter {
    text-transform: uppercase;
}

.pickup-day-body p {
    margin: 0;
}

.pickup-day-body p,
.pickup-day-body time {
    font-size: 1rem;
}


.pickup-trash-type--gft:hover {
    background-color: var(--color-type-gft);
    color: white;
    border-radius: 11px;
}

.pickup-trash-type--grofvuil:hover {
    background-color: var(--color-type-grofvuil);
    color: white;
    border-radius: 11px;
}

.pickup-trash-type--restafval:hover {
    background-color: var(--color-type-restafval);
    color: white;
    border-radius: 11px;
}

.pickup-trash-type--papier:hover {
    background-color: var(--color-type-papier);
    color: white;
    border-radius: 11px;
}

.address-info {
    margin-bottom: 4rem;
    max-width: 622px;
}

.btn {
    text-decoration: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    color: black;
    border-radius: 4px;
    display: inline-flex;
    transition: all ease-in-out .1s;
    margin-bottom: 10px;
    appearance: none;
    font-size: 1rem;
    font-family: var(--font-family-base);
    line-height: 1.625;
}

.btn:hover {
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-type-button-primary);
    color: white;
    border-color: var(--color-type-button-primary);
}

.btn-primary:hover {
    background-color:#5fdf70;
    border-color:#5fdf70;
}

.btn-secondary {
    color: gray;
    border-color: #e3e3e3;
}

.btn-secondary:hover {
    background-color: white;
    color: #3ab54b;
    border-color: #3ab54b;
}

.year-tabs {
    margin-bottom: 15px;
    padding: 5px 15px 0;
    border-bottom: 3px solid #ededed;
}

.btn-year {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background-color: transparent;
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    top: 3px;
}

.btn-year.is-active {
    border-bottom: 3px solid #3ab54b;
}

.btn-year:hover {
    border-bottom: 3px solid gray;
}


.area-heading {
    margin-top: 0;
}


/* Contact Form */
.bg-subtle p {
    font-size: 1rem;
    line-height: 27px;
    margin-bottom: 2rem;
}

.bg-green {
    background-color: #4caf50;
    padding-top: 2rem;
    padding-bottom: 3rem;
    color: white;;
}

.bg-subtle {
    background-color: #F6F6F6;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #363636;;
}

.bg-white {
    background-color: #FFFFFF;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #363636;;
}

.bg-white .o-container,
.bg-subtle .o-container,
.bg-green .o-container {
    max-width: 654px;
    padding: 0 1rem;
}

.contact-form {
    display: grid;
    /* width: 400px; */
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 0;
}

.messageStatus {
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 1rem;
}

/* Admin Portal */

.notification-section {
    padding: 1rem;
    width: 40%;
}


@media screen and (max-width: 500px) {
    .login {
        margin: 0;
        width: 100%;
        padding: 2rem;
        align-items: center;
    }

    .banner-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        width: 100%;
    }

    .card-stacked {
        top: -1rem;
    }
    
    .card-stacked-layer {
        padding: 1.5rem 1.8rem;

    }

    .pickup-details time {
        font-size: 1.3rem;
    }

    .pickup-details h2, 
    .pickup-details p {
        font-size: 1.1rem;
    }

    .banner {
        min-height: 350px;
    }

    .pickup-day-item {
        grid-template-columns: 50px 2fr;
    }

    .next-pickup__icon {
        width: 50px;
        height: 50px;
    }

    .next-pickup__icon img {
        padding: 0.9rem;
    }

    .notification-section {
        width: 100%;
    }
}

.install-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
}

.hidden {
    display: none;
}

.ios-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #EEEEF0;
    padding: 10px 25px;
    margin: 8px;
    text-align: left;
    z-index: 1000;
    border-radius: 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    font-size: 12px;
}

.ios-install-banner ol {
    padding-left: 18px;
}

.ios-install-banner img {
    vertical-align: middle;
}

.ios-install-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin-top: 10px;
    cursor: pointer;
}

.footer-column {
    padding: 2rem 0 3rem;
}

.link-banner {
    text-align: center;
    display: inline-block;
    color: white;
    /* padding: 1rem; */
    height: 50px;
}

