/* Global */
:root {
    --snow-color: #fffafa;
    --primary-color: #35424a;
    --highlight-color: #e8491d;
    --hover-color: #b2dfdb;
    --formwhite-color: #fff;
    --formblack-color: #000;
    --formInfo-color: #4285f4;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
}
body {
    background-color: var(--primary-color);
} 
.highlight, header .current a {
    color:  var(--highlight-color);
    font-weight: bold;
}
/* header */
header {
    border-bottom: var(--highlight-color) 3px solid;
}
header a:hover {
    color: var(--hover-color);
} 
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 10dvh;
    background-color: var(--primary-color);
}
.logo {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.2rem;
    font-size: 2rem;
    list-style: none;
}
.logo h3 {
    color: var(--snow-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.logo h3:hover {
    color: var(--hover-color);
}
.title{
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--snow-color);
}
.nav-whitelist {
    display: flex;
    justify-content: space-evenly;
    width: 25%;
}
/* .nav-scan {
    display: flex;
    justify-content: space-evenly;
    width: 20%;
} */

.nav-admin, .nav-scan {
    display: flex;
    justify-content: space-evenly;
    width: 25%;
}
.nav-user {
    display: flex;
    justify-content: space-evenly;
    width: 25%;
}
.nav-index {
    display: flex;
    justify-content: space-evenly;
    width: 20%;
}
.nav-about {
    display: flex;
    justify-content: space-evenly;
    width: 12%;
}
.nav-login {
    display: flex;
    justify-content: space-evenly;
    width: 20%;
}
.nav-signup {
    display: flex;
    justify-content: space-evenly;
    width: 20%;
}
.nav-links a {
    color: var(--snow-color);
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
}
.nav-links li {
    list-style: none;
}
.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 2.5rem;
    height: 0.2rem;
    background-color: var(--snow-color);
    margin: 0.5rem;
    transition: all 0.3s ease;
}
div .line1:hover, .line3:hover {
    background-color: var(--hover-color);
}
div .line2 {
    background-color: var(--highlight-color);
}
#showcase {
    display: flex;
    justify-content: center;  /*zorgt dat de content voor de img in het midden staat */
    background:url('../img/landingpage-index.jpg') no-repeat ;
    background-size: cover;
    height: 81dvh;
}
#showcase1 {
    display: flex;
    justify-content: center;
    background:url('../img/Elektromotor-scaled.webp') no-repeat ;
    background-size: cover;
    height: 81dvh;
}
#showcase2 {
    display: flex;
    justify-content: center;
    background:url('../img/under-construction.jpg') no-repeat ;
    background-size: cover;
    height: 81dvh;
}
#showcase3 {
    display: flex;
    flex-direction: column;
    align-items:center;
    background:url('../img/unsplash.jpg') no-repeat ;
    background-size: cover;
    height: 81dvh;
}
#showcase4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 81dvh;
}

.flex-section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width:32rem;
    height: 44.9rem;
    width: 100%;
    padding: 2rem;
    margin-top: 0.6rem;
    box-shadow: 0 0 10px black;
    background: transparent;
    border-radius: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.form-header {
    padding-bottom: 1rem;
}
.input-container input {
    padding: 1rem 1rem ;
    width: 25rem;
    border-radius: 15px;
    border: 0px solid white;
    box-shadow: 0 0 5px black;
    margin-bottom: 2rem;
    background: transparent;
    font-size: 1.5rem;
    outline: none;
    color: var(--formMsg1-color);
}
.input-container input:hover {
    border: 1px solid rgba(0, 0, 0, 0.304);
}

.input-container select:hover {
    border: 1px solid rgba(0, 0, 0, 0.304);
}

input::placeholder {
    color: white;
    font-size: 1.5rem;
}

.submit {
    width: 80%;
    padding: 1rem;
    border-radius: 15px;
    border: 0px solid ;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.804); 
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    background: #9ef39b;
    cursor: pointer;
}
.submit:hover {
    box-shadow: 0 0 9px rgba(255, 255, 255, 0.662);
}
.signup {
    text-align: center;
    font-size: 1.4rem;
    /* cursor: pointer; */
    color: var(--highlight-color);
}
.signup a {
    text-decoration: none;
    color: var(--snow-color);
    cursor: pointer;
}

.forgot-password  {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    /* cursor: pointer; */
    color: var(--highlight-color);
}

.forgot-password a {
    text-decoration: none;
    color: var(--snow-color);
    cursor: pointer;
}

#geschiedenis {
    border-radius: 10px;
    background: transparent;
}
.admin-info {
    color: var(--snow-color);
}
.darklight {
    color: var(--formblack-color);
}
.form-black-success {
    color: var(--formblack-color);
    font-size: 1.5rem;
}
.form-white-success {
    color: var(--formwhite-color);
    font-size: 1.5rem;
}
.form-black-error{
    color: var(--formblack-color);
    font-size: 1.5rem;
}
.form-white-error{
    color: var(--formwhite-color);
    font-size: 1.5rem;
}

.button {
    background-color: #008CBA;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 15px;
    display: inline-block;
}
.button:hover { background-color: #005f7a; }

/* hier begint whitelist.list.php */
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 90%; 
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}
/* hier eindigd whitelist.list.php */

/* hier begint scan.php */

.section-scan {
    overflow-y: auto;
    scrollbar-width: none;
    width: min(900px, 100% -3rem);
    margin-inline: auto;
    background: transparent;
    backdrop-filter: blur(20px);
}

#table-scan {
    width: 100%;
    /* border-collapse: collapse; */
    background: var(--primary-color);
}

/* caption.scan {
   padding: 1rem;
   margin-left: 0;
   font-size: 1.5rem;
   color: var(--snow-color);
} */

th.scan {
    text-align: left;
}

th.scan.move {
    padding-left: 2rem;
}

th.scan, td.scan {
    padding: 0.8rem;
    font-size: 1.2rem;
    color: var(--snow-color);
    border: none;
}

td.scan.info {
    padding: 0.8rem;
    font-size: 1.7rem;
    color: var(--snow-color);
    border: none;
}


th.scan {
    background: rgba(134, 159, 175, 0.3);
}

tr.scan:nth-of-type(2n) {
    background: rgba(134, 159, 175, 0.1); 
}
/* hier eindigd scan.php */

/* hier begint custom select menu */

select {
     box-shadow: 0 0 5px rgba(0, 0, 0, 0.804); 
     width: 32rem;
     font-size: 1.5rem;
     padding: 0.8rem 1rem;
     margin-bottom: 2rem;
     background: transparent;
     color: var(--formblack-color);
     border-radius: 15px;
     outline: 0;   
}

/* hier eindigd custom select menu */

/* hier begint _crud */
h2.info {
    letter-spacing: 0.3rem;
}

input[Type=file] {
    color: var(--highlight-color);
}
input.snow_input {
     color: var(--snow-color);
}

input.black_input {
     color: var(--formblack-color);
}

input[type=file]::file-selector-button {
    border: 1px solid #e5e5e5;
    color: snow;
    padding: 0.5rem;
    border-radius: 1rem;
    background-color: rgba(134, 159, 175, 0.3);
    transition: 1s;
}

input[type=file]::file-selector-button:hover {
    background-color:   #008CBA;
}
#foto {
    height: 100px;
    padding-bottom: 1rem;
}

#listErrors {
    padding-left: 2rem;
}

.crud a.delete, a.update, a.annuleer, a.rapport, .crud form button {
    background-color: rgba(134, 159, 175, 0.3);
    border: 1px solid #e5e5e5;
    color: snow;
    text-decoration: none;
    display: inline-block;
    padding: 6px 6px;
    margin: 0.5rem 1rem; 
    /* margin-top: 0.5rem; */
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    /* border: 1px solid transparent; */
    border-radius: 4px;
    transition: 1s;
}

.crud a.delete:hover {
    background-color: tomato;  
    color: black;
}
.crud a.update:hover {
    background-color: mediumseagreen;
    color: black;
}
.crud a.annuleer:hover {
    background-color: cornflowerblue;
    color: black;
}
.crud a.rapport:hover {
    background-color: #EDDA74;
    color: black;
}
.crud form .search:hover {
    background-color: mediumseagreen;
    color: black;
}

.input-container-search input {
    padding: 1rem 1rem ;
    width: 25rem;
    border-radius: 15px;
    border: 0px solid white;
    box-shadow: 0 0 5px black;
    margin-bottom: 1.3rem;
    margin-left: 1rem;
    background: transparent;
    font-size: 1.5rem;
    outline: none;
    color: var(--formMsg1-color);
}
/* hier eindigd _crud */

.flex-footer {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--snow-color); /* text kleur */
    padding: 1.5rem 0rem;
    border-top: var(--highlight-color) 3px solid;
}

@media screen and (min-width: 900px) {   
    .flex-section-container {
    max-width:42rem;
    }
    .input-container input {
    width: 32rem;
    }
    .nav-links{
    width: 40%;
    } 
} 

@media screen and (max-width: 768px) {
    body{
        overflow-x: hidden;
    }
   .nav-links{
    position: fixed;
    right: 0px;
    height: 80dvh;
    top: 11dvh;
    /* background-color: var(--primary-color); */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28%;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    
   }
   .nav-links li{
    opacity: 0;
   }
   .burger{
    display: block;  
   }

   /* photo.list */
   .section-scan{
    overflow-y: auto;
    scrollbar-width: none;
   }
    th.scan { 
    display: none;
    }
    td.scan {
        display: grid;
        grid-template-columns: 15ch auto;
        padding: 0.5rem 1rem;
    }
    td.scan:first-child{
        padding-top: 1rem;
    }
    td.scan:last-child{
        padding-bottom: 1rem;
    }
    td.scan::before{
        content: attr(data-cell) ": "; 
    }

    .photo_list{ /* foutmelding onder zoekadres weergeven */
        display: block;
        padding-left: 1rem;
        padding-bottom: 0.5rem;
    } 
    
}

.nav-active{
    transform: translateX(0%);
    background-color: var(--primary-color);
   }

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);    
    }
}

.toggle .line1{
        transform: rotate(-45deg) translate(-5px,5px);
    
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
        transform: rotate(45deg) translate(-5px,-5px);
    
}



