@font-face {
    font-family:lettertype;
    src: url(../fonts/Lora-VariableFont_wght.ttf);
}
body,html
{
    padding: 0px;
    margin: 0px;
}
p
{
    font-family: "lettertype";
    text-align: center;
}
h1
{
    font-family: "lettertype";
     text-align: center;
}
.navbar
{
    min-height: 70px;
}
li
{
    display: flex;
    background-color:#8193a3;
  border: 2px solid black;
  color: #2E3A45;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
}
header
{
    border: 2px solid black;
    border-radius: 5px;
    width: 100vw;
    height: 15vh;
    background-color: #2E3A45; 
}
main
{
    border: 2px solid black;
    border-radius: 5px;
    width: 100vw;
    height: 63vh;
    background-color: var(--main-bg) !important;
}
footer
{
    border: 2px solid black;
    border-radius: 5px;
    width: 100vw;
    height: 22vh;
    background-color: #257c72;
}
@media screen and (min-width: 1080px)

{

}
header
{
    border: 2px solid black;
    border-radius: 5px;
    width: 100vw;
    height: 15vh;
    background-color: #2E3A45; 
    position: sticky;
    padding: 0.5rem 2rem 0 2rem;
}
.navbar
{
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items:center;
    justify-content: space-between;


}
:root {
    /* Standaard (Lichte modus) */
    --bg-color: #ffffff;
    --text-color: #000000;
    --header-bg: #2E3A45; /* Je huidige kleur */
    --main-bg: #D2A679;   
    --footer-bg: #2D7A70;

}

body.dark-theme {
    /* Donkere modus */
    --bg-color: #1a1a1a;
    --text-color: #f4f4f4;
    --header-bg: #121212;
    --main-bg: #2c2c2c;    
    --footer-bg: #0f2b27;

}

/* Pas je bestaande CSS aan om deze variabelen te gebruiken */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s; /* Zorgt voor een vloeiende overgang */
}

header {
    background-color: var(--header-bg) !important;
}
main
{
    background-color: var(--main-bg);
   color: var(--text-color); 
    transition: background-color 0.3s, color 0.3s;
   
}
footer a
{
    font-size: small;
    
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: var(--header-bg); /* Gebruikt je bestaande variabele */
    color: var(--text-color);
    border: 2px solid #4a5158;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s;
    background-color: #4a5a6a; /* Een grijze/blauwe kleur die altijd zichtbaar is */
    color: white !important;   /* Zorg dat de tekst altijd wit is */
}

.contact-button:hover {
    transform: scale(1.05); /* Maakt de knop iets groter bij hover */
}
#theme-toggle {
    position: relative; /* Zorgt dat we de positie kunnen aanpassen */
    top: -42px;         /* Verplaats de knop 15 pixels omhoog. Pas dit getal aan naar wens. */
    z-index: 10;        /* Zorgt dat de knop boven andere elementen blijft */
}

