:root {
  --primary-clr: #4e7141;
  --secondary-clr: #333467;
  --tertiary-clr: #f26f21;
  --white-clr: #fff;
  --radius-value: 5px;
  --text-color: #000;
  --font-name: arial, helvetica, sans-serif;
  --line-height: 1.5rem;
  --font-weight: bold;
  --background-code-clr: #ffffff;
  --box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-name);
  background-color: var(--background-code-clr);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--background-code-clr);
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
  padding: 0 3rem 0 3rem;
  position: fixed;
  z-index: 1;
  width: 100%;
}

.top-nav a,
.top-nav li {
  text-decoration: none;
  list-style-type: none;
  color: var(--secondary-clr);
}

/* LOGO */
.top-nav img {
  max-width: 9rem;
}

/* NAVBAR LIST  */
.top-nav-li {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  font-weight: bold;
}

.top-nav-li a:hover {
  color: var(--primary-clr);
  transition: 0.3s ease;
}

/* Responsible for active state in the top-nav */
.nav-active {
  color: var(--primary-clr);
}

/* MAIN FORM  */
.main-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s;
  background-color: var(--background-code-clr);
  max-width: 30rem;
  margin: 0 auto;
  padding: 1rem;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 5px;
  border: 1px solid #bacbb1;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
}

.main-form h1 {
  display: flex;
  margin: 0 auto;
  color: var(--primary-clr);
  font-size: 32px;
  border-radius: var(--radius-value);
}

/* Responsible for all fieldsets  */

.main-form fieldset {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: none;
  transition: all 3s;
  padding: 1rem 1rem 1rem;
  position: relative;
  background-color: rgb(209, 217, 210);
  border-radius: 5px;
}

/* Responsible for the dash outline for drag and drop */
.form-file div {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  outline: dashed 1px;
  padding: 5rem 5rem 0;
  border-radius: 5px;
}

.form-file p {
  font-size: 16px;
  color: #7e8f7b;
  margin-bottom: 4rem;
  margin-top: 0.5rem;
}

.form-file div:hover {
  background-color: rgb(185, 202, 187);
}

[type="file"] {
  height: 0;
  overflow: hidden;
  width: 0;
}

[type="file"] + label {
  background: var(--primary-clr);
  border-radius: 5px;
  color: var(--background-code-clr);
  cursor: pointer;
  display: inline-block;
  outline: none;
  padding: 1rem 1rem;
  position: relative;
}

.file-btn i {
  padding-right: 1rem;
}

/* FORM INPUT */

input[type="text"],
textarea {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border: 1px solid #8c968a;
  border-radius: 5px;
  background-color: #f1f8ef;
  font-style: italic;
  font-family: var(--font-name);
  padding: 0.5rem;
}

label[for="name"],
label[for="text"] {
  color: rgb(72, 89, 72);
  font-weight: 500;
}
/* input[type="email"]:valid { -> OEFENEN
   
  } */

input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--primary-clr);
  border-radius: var(--radius-value);
}

/* BUTTON  */

.main-form button {
  background-color: var(--primary-clr);
  border: none;
  color: var(--white-clr);
  padding: 1rem;
  text-decoration: none;
  border-radius: var(--radius-value);
  cursor: pointer;
  box-shadow: var(--box-shdw);
  display: flex;
  margin: 0 auto;
  justify-content: center;
  width: 90%;
}

.main-form button:hover {
  background: var(--primary-clr);
  transform: translateY(-0.25em);
  transition: all 0.25s;
}

.main-form a {
  color: var(--primary-clr);
  text-decoration: none;
  cursor: pointer;
  margin-top: 0.5rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  text-align: center;
}
