@font-face {
    font-family: 'Milker';
    src: url('fonts/Milker.otf') format('opentype');
  }

body {
    margin: 0;
    margin-top: 100px;
    background-color: #804141;
}

* {
    font-family: Milker, "Roboto", sans-serif;
    font-size: 16pt;
    color: #2d3334;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background-color: #804141;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
header .imageBox {
    margin: 10px;
    margin-left: 25px;
}

.imageBox img {
    position: relative;
    animation: imageSpinSlide 5s 1;
    border-radius: 5px;
}

@keyframes imageSpinSlide {
    0% {
        
        transform: rotate(-720deg); /* 2 volledige rotaties */
        left: 0px;
    }
    30% {
        
        transform: rotate(0deg);
        left: 500px;
    }
    45% {
        transform: rotate(0deg);
        left: 500px;
    }
    50% {
        transform: rotate(0deg);
        left: 500px;
    }
    75% {
        transform: rotate(20deg);
        left: 0px;
    }
    100% {
        transform: rotate(0deg);
        left: 0px;
    }
}

header img {
    height: 80px;
}

nav.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 20px;
}
nav.navbar li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

nav.navbar li a {
    margin: 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 13pt;
    font-family: Milker, Roboto, sans-serif;
    color: #2d3334;
    transition-duration: 0.2s;
}
nav li .currentPage{
    color: #e2d5cb !important;
}

nav li a:hover {
    color : #e2d5cb !important;
}

nav.hb-menu {
    display: none;
}

.hb-menu .hb-icon {
    width: 30px;
    height: 100px;
    margin-right: 30px;
    fill: #e2d5cb;
    align-content: center;
}

.hb-menu .list {
    display: none;
    background-color: #804141bb;
    position: absolute;
    right: 10px;
    top: 70px;
    /* border-style: solid;
    border-color: #2d3334;
    border-width: 5px;
    border-radius: 0px; */
}

.active {
    display: block !important;
}

.hb-menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: flex-start;
    margin: 5px;
}

.hb-menu li {
    padding: 5px;
    margin-left: 10px;
}

.hb-menu li a {
    border-radius: 10px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 13pt;
    font-family: Milker, Roboto, sans-serif;
    color: #2d3334;
    transition-duration: 0.2s;
    
}

.hb-menu .list .close-hb-menu {
    align-self: flex-end;
    width: 15px;
    fill: #2d3334;
}

.warning,
.warning2 {
    z-index: 9999;
    position: fixed;
    top: 25%;
    left: 50px;
    right: 50px;
    background-color: red;;
    padding: 10px;
    border: none;
    border-radius: 10px;
    display: none;
    text-align: center;
}

.warning p,
.warning2 p {
    font-size: 12pt;
    color: white;
    font-weight: bold
}

body .bgImage {
    background-image: url("/images/omslagfotos/omslagfotoAlgemeen.jpg" );;
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: top;
    z-index: -1;
}
.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    position: absolute;
    justify-content: center;
    top: 50%;
    left: 100px;
    right: 100px;
}
.main-title {
    width: fit-content;
    background-color: #e2d5cb;
    padding: 25px;
    border: none;
    border-radius: 10px;
    padding: 50px 50px;
    margin-right: 50px;
}

.main-title a { 
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.300);
    font-size: 45pt;
    font-family: Milker, Roboto, sans-serif;
    font-weight: bolder;
}

.main-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-color:rgba(0, 0, 0, 0.700);
    border: none;
    border-radius: 10px;
    text-align: center;
}

.main-info a {
    font-size: 25pt;
    font-family: Milker, Roboto, sans-serif;
    color: #e2d5cb;
}

#wrap {
    background: linear-gradient(30deg, #804141 60%, #e2d5cb 60%);    
    display: grid;
}

.openingsuren  {
    padding-top: 20px;
    grid-template-rows: 1fr 2fr 1fr;
    align-items: end;
    justify-items: center;
    margin-bottom: 40px;
}

.title {
    font-size: 40pt;
    font-family: Milker, Roboto, sans-serif;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.openingsuren {
    text-align: center;
}

.openingsuren ul li {
    font-size: 16pt;
    align-self:flex-start;
    list-style: none;
}

.openingsuren a.sidenote {
    display: block;
    text-align: center;
    max-width: 90%;
}

.socials {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
}

.socials .title {
    font-weight: bolder;
    text-align: center;
    vertical-align: middle;
}

.social-wrappper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding-top: 20px;
    padding-bottom: 20px;
    border: none;
    border-radius: 20px;
}

.social-card, footer .local-card{
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.2s;
}
.social-card .icon, 
footer .local-card .icon {
    width: 30px;
    padding-right: 10px;
    fill: #2d3334;
    transition-duration: 0.2s;
}

footer .local-card .icon.prijzen  {
    width: 25px;
}

.social-card .icon.svg {
    fill: #2d3334;
}

.social-card a, 
footer .local-card a {
    font-family: Milker, Roboto, sans-serif;
    text-decoration: none;
    font-size: 15pt;
    transition-duration: 0.2s;
}

.social-card a,
.social-card .icon,
.contact-card div a,
.contact-card svg {
    color: #2d3334; /* vaste tekstkleur */
    fill: #2d3334;
    transition-duration: 0.2s;
}

.social-card.stock a,
.social-card.stock .icon {
    color: #2d3334;
    fill: #2d3334;
}

.social-card:hover a,
.social-card:hover .icon,
.contact-card div a:hover {
    color: var(--hover-color);
    fill: var(--hover-color);
    text-shadow: var(--contast-color) 0 0 10px;
    filter: drop-shadow(0px 0px 10px var(--contast-color));
}

.social-card.stock:hover a,
.social-card.stock:hover .icon {
    color: #804141;
    fill: #804141;
}


div.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(150deg, #e2d5cb 50%, #804141 50%);
    padding: 25px;
    padding-bottom: 50px;
}

.contact.map {
    width: 80%;
    height: 300px;
}

.contact p.title {
    margin-bottom: 0;
    color: #2d3334;
}

.contact .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    vertical-align: middle;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 50px;
}

.contact .contact-card {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    text-align: start;
}

.contact .contact-card p {
    font-size: 15pt;
    font-weight: bolder;
    padding-right: 15px;
    font-family: Milker, Roboto, sans-serif;
}

.contact svg {
    max-height: 60px;
    padding-right: 50px;
    fill: #2d3334
}

.contact .contact-wrapper p, .contact .contact-wrapper a {
    color: #2d3334;
    text-decoration: none;
    transition-duration: 0.2s;
    justify-self: start;
    padding-right: 15px;
}


footer {
    background-color: #804141;
    padding: 20px;
    
}
footer .footer-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

footer .img-wrapper {
    display: flex;
}

footer .img {
    width: 200px;
    margin: 10px;
}

footer .img.molen:hover {
    animation: turnCicle 2s infinite;
    animation-timing-function: linear;
}

@keyframes turnCicle {
    0% {
        transform: rotate(0);
    }
    25% {
        
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

footer .img.formaat {
    margin-left: 100px;
}

footer .img-wrapper.bottom {
    display: none;
}

footer .nav.wrapper {
    display: flex;
    justify-content: space-evenly;
}

footer .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    margin-left: 50px;
    justify-content: center;
}

footer .social-card a, footer .local-card a {
    text-decoration: none;
    font-size: 16pt;
    transition-duration: 0.2s;
    font-weight: bold;
    margin: 10px;
    color:#2d3334;
}

footer a:hover, 
footer .social-card:hover a, 
footer .social-card:hover .icon, 
footer .local-card:hover a, 
footer .local-card:hover .icon{
    color: #e2d5cb;
    fill: #e2d5cb;
}

footer .social-card, footer .local-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

footer .closure {
    display: flex;
    flex-direction: column;
    text-align: center;
    vertical-align: middle;
}
footer div.closure p, footer div.closure a {
    margin: 0;
    font-size: 12pt !important;
    text-decoration: none;
    transition-duration: 0.2s;
}

footer div.closure p a {
    font-family: Milker, Roboto, sans-serif;
    font-weight: bolder;
}

/* Responsive Styles */

@media (max-width: 1440px) {
    .imageBox img {
        animation: imageSpinSlide1440 5s 1;
    }
}

@media (max-width: 1280px) {
    header .navbar {
        display: none;
    }

    header .hb-menu {
        display: block;
    }

    .main-info {
        flex-direction: column;
    }

    .main-title a {
        font-size: 35pt;
    }
    .main-info a {
        font-size: 20pt;
    }

    .title {
        font-size: 35pt;
    }

    .social-wrappper {
        grid-template-columns: 1fr 1fr;
    }

    .social-card.item1:hover a, 
    .social-card.item3:hover a, 
    .social-card.item1:hover .icon,
    .social-card.item3:hover .icon{
        color: #e2d5cb;
        fill: #e2d5cb;
    }

    .social-card.item2:hover a, 
    .social-card.item4:hover a, 
    .social-card.item2:hover .icon, 
    .social-card.item4:hover .icon {
        color: #804141;
        fill: #804141;
    }

    .contact .contact-wrapper {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .contact .contact-card {
        justify-content: flex-start
    }

    .contact svg {
        max-height: 50px;
        padding-right: 50px;
        fill: #2d3334;
    }

    footer {
        padding-top: 0;
    }

    footer .footer-wrapper {
        grid-template-columns: 2fr;
        justify-items: center;
    }

    footer .nav.wrapper {
        padding-bottom: 20px;
    }

    footer .nav {
        margin-left: 0px;
    }
    
}

@media (max-width: 1024px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        top: 40%;
    }

    .main-title {
        margin-right: 0px;
        margin-bottom: 50px;
    }
    
    .contact.map {
        width: 90%;
    }
}

@media (max-width: 768px) {

    .title {
        font-size: 25pt;
    }
    
    .social-wrappper {
        grid-template-columns: 1fr;
    }

    .social-card a {
        font-size: 16pt;
    }

    .contact .contact-wrapper {
        grid-template-columns: 1fr;
    }

    footer .img {
        width: 150px;
        margin-bottom: 25px;
    } 
}

@media (max-width: 600px) {

    .contact svg {
        display: none;
    }

    .main-title a {
        font-size: 30pt;
    }
    .main-info a {
        font-size: 16pt;
    }

    .title {
        font-size: 25pt;
    }
    
    footer .img-wrapper {
        flex-direction: column;
        align-items: center;
    }

    footer .img.formaat {
        margin-left: 0;
        margin-right: 0;
    }

    footer .nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .warning2 {
        display: block;
    }
}



@keyframes imageSpinSlide1440 {
    0% {
        
        transform: rotate(-720deg);
        left: 0px;
    }
    30% {
        
        transform: rotate(0deg);
        left: 25vw;
    }
    45% {
        transform: rotate(0deg);
        left:  25vw;
    }
    50% {
        transform: rotate(0deg);
        left:  25vw;
    }
    75% {
        transform: rotate(20deg);
        left: 0px;
    }
    100% {
        transform: rotate(0deg);
        left: 0px;
    }
}