form {
    background-color: #ffffffd0;
    border: thin solid black;
    border-radius: calc(2rem + 5px);
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 800px;
    min-width: 250px;
    overflow: hidden;
    position: relative;
    width: 80%;
}

body {
    height: unset;
}

form input[type='reset'] {
    background: no-repeat url('/media/icons/icon-x.svg') center center;
    background-color: transparent;
    background-size: 1.5rem;
    border: thin solid black;
    border-radius: 100%;
    box-sizing: content-box;
    height: 1.5rem;
    line-height: 25px;
    padding: 0;
    position: absolute;
    right: 4.5rem !important;
    top: 1.25rem;
    width: 1.5rem;
    transition: background-color 0.5s, transform 0.5s;
}

form input[type='reset']:hover {
    background-color: var(--theme-color-hover);
    box-shadow: 0 0 5px var(--theme-color-hover);
    transform: scale(1.3);
}

form input[type='submit'] {
    border: thin solid black;
    border-radius: 2rem;
    box-shadow: none;
    font-size: 1.25rem;
    min-height: 4rem;
    padding: 5px;
    margin: 5px;
    box-sizing: border-box;
    width: 100% !important;
}

form input[type='submit']:hover {
    box-shadow: none;
    font-size: 1.35rem;
}

form input[type='button'] {
    display: inline;
    height: 4rem;
    width: 4rem;
    box-shadow: none;
    border: none;
    margin-left: auto;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    background: no-repeat center center;
    background-size: 60%;
    background-image: url('/media/icons/icon-my-location.svg');
}

form input[type='button']:hover {
    box-shadow: none;
    background-size: 70%;
}

form input[type='text'] {
    border: none;
    width: calc(100% - 3.5rem);
    box-sizing: border-box;
    background-color: transparent;
    font-size: 1.25rem;
    padding: 0 10px;
    padding-left: 0;
    height: 4rem;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
}

#addressImg {
    display: inline-block;
    height: 4rem;
    width: 3.5rem;
    box-sizing: border-box;
    padding: 1rem;
    padding-right: 0.5rem;
    margin: 0;
}

#addressImg img {
    width: 100%;
    height: auto;
}

.loadingLocation {
    animation: turn 1s infinite;
    background-color: transparent !important;
}

@keyframes turn {
    from {
        transform: rotateZ(0deg);
        background-size: 70%;
    }

    to {
        transform: rotateZ(180deg);
        background-size: 50%;
    }
}

form input[type='text']:focus {
    outline: none;
}

#address div {
    position: relative;
    height: 4rem;
    width: calc(100% - 6rem);
}

header,
#headerMenu {
    box-shadow: unset;
    opacity: 0.5;
}

header {
    position: fixed;
    width: 100%;
    z-index: 2;
}

main {
    box-sizing: border-box;
    height: 100% !important;
    overflow: visible;
    padding: 20px;
    padding-top: 60px;
    position: unset;
    position: relative;
}

main h1 {
    margin-top: 10vh;
    color: white;
    text-align: center;
    text-shadow: 0 0 10px black, 0 0 3px black;
}

main::after {
    filter: none;
    opacity: 1;
    height: 100vh;
    position: absolute;
    background-image: url('/media/bgs/bgBig.jpg');
    background-attachment: fixed;
}

main::before {
    background: url('/media/bgs/bgSmall.jpg') no-repeat top center;
    background-size: cover;
    content: '';
    filter: blur(20px);
    height: 100%;
    left: 0;
    opacity: 0.2;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

.pac-container {
    border-radius: 15px;
    max-width: 800px;
    left: 50% !important;
    transform: translate(-50%, 0);
    min-width: 250px;
    width: calc((100% - 40px) - 20% + 10px) !important;
}

.pac-container .pac-item,
.pac-item-query {
    font-size: 1rem;
    line-height: 35px;
}

.scrolled,
.menuVisable,
header:hover,
#headerMenu:hover,
#headerMenu.visable {
    box-shadow: 0 0 15px grey;
    opacity: 1 !important;
}

#headerMenu {
    box-shadow: unset !important;
}
body:has(> aside.visable) header {
    box-shadow: 0 0 15px grey;
    opacity: 1;
}

#addressLimited {
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#zoekSection {
    box-sizing: border-box;
    height: calc(100vh - 50px);
    min-height: 250px;
    margin-bottom: 0;
    overflow-y: auto;
}

#zoek:hover {
    transform: none;
}

.screen {
    min-height: 250px;
}

.bg2section {
    position: relative;
    height: 300px;
    height: 60vh;
}

.bg2 {
    height: 100%;
    left: -20px;
    bottom: -20px;
    width: calc(100% + 40px);
    background: no-repeat url('/media/bgs/bg11.jpg') center center;
    background-size: cover;
    position: absolute;
    background-attachment: fixed;
    z-index: -1;
}

footer {
    box-shadow: 0 0 15px grey;
}

.info {
    margin-top: 60px !important;
}

.info h2 {
    text-align: center;
    width: 100%;
}

.info h2.title {
    padding-top: 20px;
    padding-bottom: 20px;
}

.info article {
    display: flex;
    align-items: stretch;
    height: 25vw;
    min-height: 200px;
    margin: 0;
    transition: transform 0.5s;
    border-radius: 5px;
    overflow: hidden;
}

.info article:hover {
    transform: scale(1.02);
}

.info figure,
.info div {
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 140px;
}

.info div {
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.info figure {
    background: no-repeat center center;
    background-size: cover;
}

.info article:nth-of-type(1) figure {
    background-image: url('/media/bgs/info1.jpg');
}

.info article:nth-of-type(2) figure {
    background-image: url('/media/bgs/info2.jpg');
}

.info article:nth-of-type(3) figure {
    background-image: url('/media/bgs/info3.jpg');
}

.info p {
    text-align: center;
}

.icons,
.tags {
    margin-top: 60px !important;
}

.icons {
    text-align: center;
}

.tags .list {
    display: flex;
    overflow-y: auto;
    position: relative;
    padding: 30px 0;
    width: calc(100% + 40px);
    margin-left: -20px;
    overflow-x: hidden;
}

.list::before {
    content: '';
    position: absolute;
    width: 100%;
    height: calc(200px + 2rem + 25px);
    top: 20px;
    left: 0;
    pointer-events: none;
    box-shadow: inset -75px 0 50px -25px #e2e6cacc, inset -45px 0 30px -15px #e2e6caaa,
        inset 75px 0 50px -25px #e2e6cacc, inset 45px 0 30px -15px #e2e6caaa;
    z-index: 1;
    border-bottom-left-radius: 5px;
}

.tags .scroll {
    position: absolute;
    right: 0px;
    width: 30px;
    height: 200px;
    display: none;
    background: no-repeat url('/media/icons/arrow-right.svg') center center;
    background-size: 80% auto;
    box-shadow: none !important;
    background-color: #ffffffa0;
}

.tags .scroll.visable {
    display: block;
}

.tags .list::-webkit-scrollbar {
    display: block;
}

.tags ul,
.icons ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: space-evenly;
}

#movingList1 {
    display: flex;
    overflow-x: visible;
    animation: slide 50s linear infinite;
    position: relative;
}

#movingList2 {
    position: absolute;
    top: 30px;
    left: 0;
    display: flex;
    overflow-x: visible;
    animation: slide2 50s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes slide2 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

.icons ul {
    max-width: 1200px;
    margin: 0 auto;
}

.tags {
    text-align: center;
}

.tags ul li {
    width: 250px;
    flex-grow: 1;
    margin: 0 10px;
    height: calc(200px + 2rem + 10px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 5px;
    overflow: hidden;
}

.tags h2 {
    padding-top: 20px;
}

.tags ul li h3 {
    margin: 0;
    align-self: flex-end;
    padding-bottom: 10px;
}

.tags ul li figure {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tags img {
    width: auto;
    height: 100%;
}

.icons ul li {
    max-width: 200px;
    min-width: 150px;
    width: 20%;
    padding: 10px;
    border-radius: 15px;
    transition: transform 0.5s;
}

.icons ul li p {
    margin-bottom: 0;
}

.tags ul li:hover,
.icons ul li:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #cccccccc;
}

.icons ul li img {
    width: 80%;
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 250px) {
    .pac-container {
        left: 0 !important;
        transform: none;
    }
}

@media screen and (max-width: 450px) {
    main {
        padding-left: 0px;
        padding-right: 0px;
    }

    main h1 {
        margin-top: 5vh;
    }

    .bg2 {
        left: 0;
        width: 100%;
    }

    .tags .list {
        display: flex;
        overflow-y: auto;
        position: relative;
        padding: 30px 0;
        width: 100%;
        margin-left: 0;
    }

    .pac-container {
        border-radius: 15px;
        max-width: 800px;
        min-width: 250px;
        width: calc((80%)) !important;
    }

    #zoekSection {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .icons ul {
        flex-wrap: wrap;
    }

    .icons ul li {
        width: 80%;
        min-width: 80%;
        margin: 10px auto;
        box-shadow: none !important;
    }

    .icons ul li img {
        max-width: 100px;
    }
}
