/*

Aardetinten: Zachtgroen (#7BAE7F), mosgroen (#4C6A4F), bruin (#A67C52), zandkleur (#F4EBD0)

Neutrale tinten: Lichtgrijs (#F5F5F5), wit (#FFFFFF), donkergrijs (#333333)

Accentkleur: Bijvoorbeeld een warme oranje/geel (#FFC857) voor highlights of knoppen

Sans-serif: Montserrat, Lato, Nunito

Serif: Merriweather, Playfair Display

*/

/*
donkergroen: #111901; 
olijfgroen: #324B02; 
groen: #669604;
felgroen: #97E006;
lichtgroen: #B9FA38;
*/

/*
Steelblue-donkere basis → #0B3A4E
Steenrood (accent) → #5A1620
Koel teal → #0E9EA8
Groen (mid) → #669604
Felgroen (tekst/actie) → #97E006
Lichtgroen (highlight) → #B9FA38*/

/*
--lime: #A6FF00
--yellow: #FFD400
--deeppink: #FF2D7A
--dark: #2B2B2B
--terracotta: #C65A2B
--petrol: #006E6A
--bg: #FAFBF9
*/

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #D97B4A;
    color: #2E2E2B;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: env(safe-area-inset-left) env(safe-area-inset-right);
    
}

* {box-sizing: border-box;}

#home {
    position: fixed;
    top: 0;
    right: 0;
    font-size: 200%;
    border: 1px solid transparent;
    margin-right: 27vw;
    margin-top:10px;
    padding: 8px;
    z-index: 100;
    border-radius: 12px;
    background-color: transparent;
}

#home:hover {
    animation: border 2s ease-in-out infinite forwards;
    
}

@keyframes border {
    0% {
        border-top: 1px solid yellow;
        border-bottom: 1px solid lime;
        border-left: 1px solid lime;
        border-right: 1px solid yellow;
        
    }
    25% {
        border-top: 1px solid lime;
        border-bottom: 1px solid yellow;
        border-left: 1px solid lime;
        border-right: 1px solid yellow;
        
    }
    
    50% {
        border-top: 1px solid lime;
        border-bottom: 1px solid yellow;
        border-left: 1px solid yellow;
        border-right: 1px solid lime;
        
    }
    75% {
        border-top: 1px solid yellow;
        border-bottom: 1px solid lime;
        border-left: 1px solid yellow;
        border-right: 1px solid lime;
        
    }
    100% {
        border-top: 1px solid yellow;
        border-bottom: 1px solid lime;
        border-left: 1px solid lime;
        border-right: 1px solid yellow;
        
    }


}



.grid-container {
    position: relative;
    
    width: 100%;
    height: 100%;
    padding: 10px;
    margin: 0 auto;
    display: grid;
    grid-template-areas: 
        "openSidebarBtn afstand header header adres"
        "media-container media-container begeleiding begeleiding map" 
        "media-container media-container begeleiding begeleiding map"
        "mediaDatum mediaDatum begeleiding begeleiding map"
        "container-parkeerplaats container-parkeerplaats begeleiding begeleiding voorzieningen"
        "container-parkeerplaats container-parkeerplaats honden toegankelijkheid voorzieningen"
        ;
        
    grid-template-columns: 0.5fr 0.5fr 1fr 1fr 1fr;
    grid-template-rows: 0.5fr 0.8fr 1fr 0.2fr 1fr 1fr;
    column-gap: 7px;
    row-gap:7px;
    overflow: hidden;
}

 .open-sidebar {
        position: fixed;
        top: 30px;
        left: 40px;
        z-index: 10;
        font-size: 2rem;
        background: #D97B4A;
        opacity: 0.8;
        color:  #F0D86A;
        border: 1px solid transparent;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        transition: transform 300ms ease;
        transform-origin: center;
    }

    .open-sidebar:hover {
        background: transparent;
        color: #F0D86A;
        border: 1px solid transparent;
        transform: rotate(45deg);
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 100vh;
        background: #F0D86A;
        box-shadow: none;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 1000;
        transition: width 1.2s cubic-bezier(.5,0.5,.3,1);
        will-change: width;
        padding: 0;
    }

    .sidebar-overlay::-webkit-scrollbar {
        width: 8px;
        background: transparent;
    }

    .sidebar-overlay::-webkit-scrollbar-thumb {
        background: #F0D86A;
        border-radius: 4px;
    }

    .sidebar-overlay::-webkit-scrollbar-thumb:hover {
        background: #F0D86A;
    }

    .sidebar-overlay::-webkit-scrollbar-track {
        background: transparent;
    }

    /*speciaal voor FireFox*/

    .sidebar-overlay {
        scrollbar-width: thin;
        scrollbar-color:  #F0D86A transparent;
    }

    .sidebar-overlay.open {
        width: 25vw;
        overflow-x: hidden;
        padding: 32px 16px 16px 16px;
    }

    .close-sidebar {
        display: none;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 44px;
        font-size: 2rem;
        background-color: none;
        border: none;
        color: #A7C59E;
        cursor: pointer;
    }

    .sidebar-overlay nav {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sidebar-overlay button {
        width: 100%;
        padding: 12px;
        font-size: 1.1rem;
        background: #D97B4A;
        color:#2E2E2B;
        border: 2px solid #2E2E2B;
        border-radius: 4px;
        cursor: pointer;
        text-align: left;
        box-shadow: 0 3px #2B2B2B;
        transition: background-color 100ms ease 100ms, color 200ms ease 200ms;
    }

    .sidebar-overlay button:hover {
        
        
        background-color:#A7C59E;
        color: #2E2E2B;
    }

    .sidebar-overlay button:active {
        box-shadow: 0 1px #2B2B2B;
        transform: translateY(3px);
    }

h1 {
    grid-area: header;
    position: relative;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center; 
    justify-content: center;
    background-color: transparent;
    border: none;
    color: #F0D86A;
    text-shadow:
    0 0 2px #2E2E2B,
    0 0 4px #2E2E2B,
    0 0 8px #2E2E2B,
    0 0 12px rgba(46,46,43,0.6);
    padding: 12px;
    /*box-shadow: 0 2px 8px rgba(123, 174, 127, 0.3);*/
}

#afstand {
    grid-area: afstand;
    color:#2E2E2B;
    text-align: left;
    

}

#begeleiding {
    grid-area: begeleiding;
    width: auto;
    margin: 0;
    text-align: center;
    height: auto;
    overflow-y: auto;
    background-color: #F0D86A;
    border-radius: 7px;
    color: #2E2E2B;
    line-height: 27px;
    font-size: 16px;
    padding: 12px;
    font-weight: normal;
}

#container-parkeerplaats {
    grid-area: container-parkeerplaats;
    margin: 0;
    overflow: hidden;
    padding: 6px;
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #A7C59E;
    border-radius: 7px;

}

#container-parkeerplaats #p-foto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#adres {
    grid-area: adres;
    margin: 0;
    text-align: center;
    background-color: transparent;
    color: #2E2E2B;
    padding: 6px;
    font-size: 14px;
    /*box-shadow: 0 2px 8px rgba(123, 174, 127, 0.3);*/
    

}

#toegankelijkheid {
    padding: 6px;
    grid-area: toegankelijkheid;
    /*box-shadow: 0 2px 8px rgba(123, 174, 127, 0.3);*/
    text-align: center;
    margin: 0;
    background-color: #A7C59E;
    border-radius: 7px;
    color: #2E2E2B;

}

#honden {
    padding: 6px;
    grid-area: honden;
    /*box-shadow: 0 2px 8px rgba(123, 174, 127, 0.3);*/
    text-align: center;
    margin: 0;
    background-color: #A7C59E;
    color: #2E2E2B;
    border-radius: 7px;
}

#voorzieningen {
    grid-area: voorzieningen;
    text-align: center;
    margin: 0;
    background-color: #A7C59E;
    border-radius: 7px;
    font-size: 16px;
    color: #2E2E2B;
    padding: 6px;
    /*box-shadow: 0 2px 8px rgba(123, 174, 127, 0.3);*/
}
#mediaDatum {
    grid-area: mediaDatum;
    margin: 0;
    text-align: center;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 6px;
    font-size: 12px;
    font-style: italic;
    /*box-shadow: 0 2px 8px rgba(123, 174, 127, 0.3);*/
}



#map {
    grid-area: map;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0px;
    border: none;
    padding: 6px;
    border-radius: 7px;
}

.button-container {
    grid-area: button-container;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 50vh;
}

button {
    margin: 5px;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 4px;
    background-color: #2E2E2B;
    color: #A7C59E;
    display: flex;
    align-items: center;    /* Verticaal centreren */
    justify-content: center;
    
}

button#special {
    
    font-weight: bold;
}



button:hover {
    
    color: #A7C59E; 
    
}

#media-container {
    grid-area: media-container;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    padding: 12px;
    overflow: hidden;
    border-radius: 7px;
}

#media-container img,
#media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
}

@media only screen and (max-width: 900px)   {

    body {
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        color: #F0D86A;
        font-weight: bold;
        font-size: 16px;
    }
    .grid-container {
    position: relative;
    
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 10px;
    place-content: center;
    display: grid;
    grid-template-areas: 
        "openSidebarBtn afstand"
        "header header"
        "media-container media-container"
        "mediaDatum mediaDatum"
        "adres adres"
        "map map"
        "container-parkeerplaats voorzieningen"
        "toegankelijkheid honden"
        "begeleiding begeleiding" 
        
        
        
        ;
        
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 60px 50px 200px 20px 60px 200px 200px 120px auto ;
    column-gap: 5px;
    row-gap: 5px;
    overflow: hidden;
    }

    #home {
        margin-right: 10px;
        font-size: 120%;
    }

     .open-sidebar {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 10;
        font-size: 2rem;
        background: #D97B4A;
        color:  #F0D86A;
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        right: 0;
        width: 0;
        height: 100vh;
        
        /*box-shadow: 2px 0 16px rgba(0,0,0,0.2);*/
        overflow-y: auto;
        z-index: 1000;
        transition: width 0.5s cubic-bezier(.5,0.5,.3,1);
        will-change: width;
        padding: 0;
    }

    

    .sidebar-overlay.open {
        width: 70vw;
        
        padding: 32px 16px 16px 16px;
    }

    .close-sidebar {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 2rem;
        background-color: none;
        border: none;
        color: #F0D86A;
        cursor: pointer;
    }

    .sidebar-overlay nav {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sidebar-overlay button {
        width: 100%;
        padding: 12px;
        font-size: 1.1rem;
        background: #D97B4A;
        color: #F0D86A;
        border: 1px solid #F0D86A;
        border-radius: 4px;
        cursor: pointer;
        text-align: left;
    }

    .sidebar-overlay button:hover {
        border:1px solid #A7C59E;
        color: #A7C59E;
        background-color: #D97B4A;
    }

    

    #adres {
        text-align: center;
        
    }
    #mediaDatum {
        text-align: left;
        display: flex;
        justify-content: center;
        
    }

    #voorzieningen {
        font-size: 14px;
    }

    .button-container {
        height: 60px;
        margin: 0px;
        width: 100%;
        padding: 0px;
        align-content: center;
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: hidden;
        z-index: 100;
        background-color: transparent;
    }

    button {
        font-size: 14px;
        padding: 5px;
        margin: 5px;
        border-radius: 10px;
        background-color: #2E2E2B;
        color: #A7C59E;
        border: 1px solid #D97B4A;
        font-weight: bold;
        height: 40px;
    }

    button:hover {
    
    border: 1px solid #A7C59E;
    color: #A7C59E;
    
}




    #map {
    grid-area: map;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    border: none;
    padding: 10px;
}

#begeleiding {
    height: auto;
    overflow: scroll;
    font-weight: bold;
}

#honden {
    font-size: 12px;
    padding: 3px;
}

#toegankelijkheid {
    font-size: 12px;
    padding: 3px;
}

}


 
/*
@media only screen and (max-width: 900px) and (orientation: landscape) {
  .grid-container {
    
    display: grid;
    grid-template-columns: 60px 1.2fr 0.8fr 60px;
    grid-template-rows: 60px 120px 20px 250px 120px 200px;
    grid-template-areas:
      "openSidebarBtn header header afstand"
      "adres adres media-container media-container"
      "begeleiding begeleiding mediaDatum mediaDatum"
      "begeleiding begeleiding voorzieningen voorzieningen"
      "map map toegankelijkheid toegankelijkheid"
      "honden honden container-parkeerplaats container-parkeerplaats";
    gap: 8px;
    height: 100vh;
    min-height: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* voorkomt horizontaal scrollen */


    
   /* padding: 0px;
    overflow-y: scroll;
  }

  .open-sidebar {
        position: fixed;
        top: 30px;
        left: 30px;
        z-index: 10;
        font-size: 2rem;
        background:#3b6c40;
        color:#F4EBD0;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 100vh;
        background: rgba(33, 33, 33, 0.8);
        
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
        transition: width 0.7s cubic-bezier(.5,0.5,.3,1);
        will-change: width;
        padding: 0;
    }

    .sidebar-overlay.open {
        width: 40vw;
       
        padding: 16px;
    }

    .close-sidebar {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 2rem;
        background-color: none;
        border: none;
        color: red;
        cursor: pointer;
    }

    .sidebar-overlay nav {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    





    #begeleiding {
        height: auto;
        line-height: normal;
        padding: 10px;
    }

    .button-container {
        height: auto;
    }

}*/


/*@media only screen and (min-width: 601px) and (max-width: 1023px) and (orientation: portrait) {

body {
        overflow-y: scroll;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        color:#F4EBD0;
        font-weight: bold;
        font-size: 16px;
    }
    .grid-container {
    position: relative;
    background-color: #4C6A4F;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 10px;
    place-content: center;
    display: grid;
    grid-template-areas: 
        "button-container button-container"
        "header header"
        "media-container media-container"
        "mediaDatum mediaDatum"
        "adres adres"
        "map map"
        "begeleiding begeleiding" 
        "container-parkeerplaats voorzieningen"
        "toegankelijkheid honden"
        
        
        ;
        
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 60px 50px 200px 20px 60px 200px auto 200px 120px;
    column-gap: 5px;
    row-gap: 5px;
    overflow: hidden;
    }

    #adres {
        text-align: center;
        
    }
    #mediaDatum {
        text-align: center;
        display: flex;
        justify-content: center;
        
    }

    #voorzieningen {
        font-size: 14px;
    }

    .button-container {
        margin: 0px;
        width: 100%;
        padding: 0px;
        align-content: center;
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: hidden;
        z-index: 100;
        background-color: transparent;
    }

    button {
        font-size: 14px;
        padding: 5px;
        margin: 5px;
        border-radius: 10px;
        background-color: #333333;
        color: #7BAE7F;
        border: 1px solid #333333;
        font-weight: bold;
        height: 40px;
    }

    button:hover {
    border: 2px solid #333333;
    background-color: #7BAE7F;
    color: #333333;
    
}




    #map {
    grid-area: map;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    border: none;
    padding: 10px;
}



#honden {
    font-size: 12px;
    padding: 3px;
}

#toegankelijkheid {
    font-size: 12px;
    padding: 3px;
}

}



  


/*



@media only screen and (max-width: 900px) and (orientation: landscape) {
 
} 

Tablets (portrait) 
@media only screen and (min-width: 601px) and (max-width: 1023px) and (orientation: portrait) {

body {
        overflow-y: scroll;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        color:#F4EBD0;
        font-weight: bold;
        font-size: 16px;
    }
    .grid-container {
    position: relative;
    background-color: #4C6A4F;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 10px;
    place-content: center;
    display: grid;
    grid-template-areas: 
        "button-container button-container"
        "header header"
        "media-container media-container"
        "mediaDatum mediaDatum"
        "adres adres"
        "map map"
        "begeleiding begeleiding" 
        "container-parkeerplaats voorzieningen"
        "toegankelijkheid honden"
        
        
        ;
        
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 60px 50px 200px 20px 60px 200px auto 200px 120px;
    column-gap: 5px;
    row-gap: 5px;
    overflow: hidden;
    }

    #adres {
        text-align: center;
        
    }
    #mediaDatum {
        text-align: center;
        display: flex;
        justify-content: center;
        
    }

    #voorzieningen {
        font-size: 14px;
    }

    .button-container {
        margin: 0px;
        width: 100%;
        padding: 0px;
        align-content: center;
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: hidden;
        z-index: 100;
        background-color: transparent;
    }

    button {
        font-size: 14px;
        padding: 5px;
        margin: 5px;
        border-radius: 10px;
        background-color: #333333;
        color: #7BAE7F;
        border: 1px solid #333333;
        font-weight: bold;
        height: 40px;
    }

    button:hover {
    border: 2px solid #333333;
    background-color: #7BAE7F;
    color: #333333;
    
}




    #map {
    grid-area: map;
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    border: none;
    padding: 10px;
}

#beschrijving {
    width: 90%;
    overflow: scroll;
}

#honden {
    font-size: 12px;
    padding: 3px;
}

#toegankelijkheid {
    font-size: 12px;
    padding: 3px;
}

}

  
}

 Tablets (landscape)
@media only screen and (min-width: 601px) and (max-width: 1023px) and (orientation: landscape) {

}

*/