*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: dyslexic;
  src: url(../fonts/OpenDyslexic-Bold.otf);
}

@font-face {
  font-family: hemi;
  src: url(../fonts/hemi.ttf);
}

body{
  width: 100%;
}

header{
  background-color: #f6b609;
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: center;
  height: 18vh;
  border-bottom: 1vh solid #372800;
}


header nav{
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav ul{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  background-color: #f6b609;
}

header nav ul li {
  list-style-type: none;
  width: 100%;
  padding: 1%;
  text-align: center;
  border-radius: 2px;
}

header nav  a{
  text-decoration: none;
  color: #372800;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
}

header nav ul a:hover{
  background-color: white;
}



.accessibility{
  position: fixed;
  display: grid;
  top: 20vh;
  right: 2%;
  width: 40%;
  grid-template-columns: 80% 20%;
  justify-items: end;
  z-index: 1000;
}

.accessibility img{
  transition: transform .4s;
  cursor: pointer;
  max-height: 100px;
  grid-column-start: 2;
  grid-column-end: 3;

}

.accessibility img:hover{
  transform: scale(1.2);
}

.accessibility #options{
  background-color: white;
  height: 60vh;
  z-index: 100;
  border-radius: 10px;
  border: 2px solid black;
  width: 100%;
  margin:1%;
  display:none;
}

.accessibility #x{
  transition: transform .4s;
  cursor: pointer;
  position: absolute;
  top: 2%;
  left: 3%;
  font-family: 'Nunito', sans-serif;
  color: red;
  font-size: 1.2rem;
}

.accessibility #x:hover{
  transform: scale(1.2);
}

.accessibility .fields{
  padding: 10%;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: repeat(8, 12.5%);
}

.accessibility .fields div{
  border: 1px solid black;
  padding: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: 'Nunito', sans-serif;
}

.accessibility .fields input:hover{
  cursor: pointer;
}





main{
  position: relative;
}

main .banner{
  min-height: 74vh;
  background-image: url("../img/back.jpg");
  background-size: cover;
  position: relative;
}

main .motto{
  position: absolute;
  min-height: 35vh;
  min-width: 45vh;
  max-height: 60vh;
  max-width: 600px;
  border-radius: 10px;
  background-color: #372800;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;

}

h3{
  color: white;
  font-family: 'Nunito', sans-serif;
  padding: 5%;
  font-size: 2rem;
  text-align: left;
}

h4{
  color: white;
  font-family: 'Nunito', sans-serif;
  padding: 5%;
  font-size: 2rem;
  text-align: left;
}

section{
  padding: 5%;
  min-height: 74vh;
}

h1{
  text-align: center;
  padding: 1%;
  margin-bottom: 4%;
  font-family: 'Roboto', sans-serif;
  font-size: 2.3rem;
  color: #372800;
}

article{
  padding: 1%;
  clear: both;
}

h2{
  text-align: left;
  padding: 2% 2% 2% 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  color: #372800;
}

p{
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  text-align: justify;
}


.about img{
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 2%;
width: 60%;
border-radius: 15px;
}

.eu{
  margin-top: 5%;
}

strong{
  color: #372800;
  font-size: 1.3rem;
}

.eu img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2%;
  width: 80%;
}

.services article{
  width: 100%;
  border-bottom: 2px solid #f6b609;
}

.services article:first-child{
  border-top: 2px solid #f6b609
}



.contact article{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact .info p{
  text-align: center;
}

.contact .map iframe{
  border-radius: 15px;
}

.contact .form{
  width: 100%;
}

.contact .form form{
  text-align: center;
  width: 80%;
  background-color: #372800;
  margin-top: 5%;
  border-radius: 15px;
  padding: 3%;
  font-family: 'Roboto', sans-serif;
  border: 2px solid white;
}

.contact .form form h2{
  color: white;
  text-align: center;
}

.contact .form form label{
  color: white;
  font-size: 1.1rem;
}

.contact .form form input{
  height: 30px;
  width: 50%;
  min-width: 200px;
  font-size: 1.1rem;
}

.contact .form form textarea{
  width: 50%;
  min-width: 200px;
  font-size: 1.1rem;
}

.contact .form form button{
  background-color: #f6b609;
  padding: 2%;
  color: black;
  border-style: none;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  font-size: 1.1rem;
}

.contact .form form button:hover{
  background-color: lightgrey;
}

.mailmsg{
  position: absolute;
  display: flex;
  bottom: 50%;
  right: 50%;
  transform: translateX(50%);
  background-color: #372800;
  border-radius: 25px;
  color: white;
  height: 150px;
  width: 500px;
  z-index: 15;
  justify-content: center;
  align-items: center;
}

footer{
  background-color: #f6b609;
  min-height: 8vh;
  border-top: 1vh solid #372800;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
}

footer p{
  color: #372800;
  font-family: 'Roboto', sans-serif;
  display: inline;
  font-size: clamp(0.6rem, 2vw, 1.1rem);
}

footer a{
  text-decoration: none;
}

.footer_name{
margin-left: 10%;
justify-self:start;
}

.emodul{
justify-self:end;
margin-right: 10%;
}

.e{
  color: red;
}

.modul{
  font-family: hemi;
  color: rgb(70,70,255);
}


@media screen and (min-width: 1101px) {
  #ham{
    display: none;
  }
}


@media screen and (max-width: 1100px) {
  #ham{
    font-size: 45px;
    text-align: center;
    padding-top: 1%;
    padding-bottom: 1%;
    cursor: pointer;
  }

  #ham:hover{
    background-color: white;
  }

  #ul{
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 500;
  left: 0;
  top: 0;
  grid-template-rows: repeat(5, 20%);
  align-items: center;
}

nav ul li{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

nav ul li a{
  border-bottom: 3px solid black;
  border-top: 3px solid black;
  border-radius: 0%;
}


p{
  text-align: left;
}

header{
  grid-template-columns: 50% 50%;
}

.about img{
  width: 100%;
  margin: 2%;
}

}

@media screen and (max-width: 600px) {
  header img{
    width: 100%;
  }
  
  main .motto{
  left: 50%;
    opacity: 0.6;
}
  
  .accessibility{
  width: 80%;
}

  article{
      margin-top: 8%;
      margin-bottom: 15%;
  }

  h2{
    padding-bottom: 5%;
  }

  .contact .form form{
    width: 100%;
  }
}

section {
  animation: fadeIn 3s;
  -webkit-animation: fadeIn 3s;
  -moz-animation: fadeIn 3s;
  -o-animation: fadeIn 3s;
  -ms-animation: fadeIn 3s;
}

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity: 1;}
}
