/* GENERAL */
/* *{outline: 1px solid red;} */

body{
  font-family: 'Roboto', sans-serif;
  padding: 0px;
  height: 100%;
}

/* FEJLEC */

#header {
  display: block;
  width: 100%;
  height: 100vh;
}

.yellow{
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 38vh;
  top: 0px;
  left: 0px;
  background-color: #EFE2BA;

}

.orange {
  color: white;
  width: 85%;
  height: 260px;
  position: absolute;
  left: 0px;
  margin: 0px;
  padding: 20px;
  box-sizing: border-box;
  z-index: 0;
  background-color: #D79922;
  display: flex;
}

.leiras {
  width: 75%;
  color: white;
}

.leiras h2{
  font-size: 18px;
  font-weight: 900;
}

.leiras p{
  font-size: 12px;
  font-weight: 400;
}

.leiras a{
  font-size: 14px;
  font-weight: 700;
}

.leiras a:visited{
  color: white;
}

/* ABOUT sidenav */

.sidenav {
  height: 100%;
  width: 40px;
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  background-color: #4056A1;
  overflow-x: hidden;
  padding-right: 10px;
  padding-top: 20px;
}

.mystyle {
  padding: 25px;
  position: fixed;
  height: 100%;
  width: 55%;
  right: 0px;
  top: 0px;
  background-color: #4056A1;
  box-sizing: border-box;
  z-index: 1;
}

.button{
  color: white;
  background-color: #4056A1;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  text-decoration: underline;
}

.text p{
  height: 100%;
  width: 90%;
  text-align: left;
  font-weight: 400;
}

.text h1{
  margin-bottom: 0px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  background-color: none;

}

ul {
  top: 0px;
  margin-top: 0px;
  color: white;
  list-style-type: disc;
  margin: 15px;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
}

#myDIV {
  margin-right: 30px
  margin-left: 0px;
  position: fixed;
  text-align: left;
}

#myDIV p{
  left: 0px;
  font-size: 12px;
  font-weight: 400;
  color: white;

}

/* The navigation menu links */
.sidenav p {
  background-color: #4056A1;
  padding: 90px 0px 0px 0px;
  text-decoration: none;
  font-size: 12px;
  color: #ffffff;
  display: block;
  transform: rotate(-360deg);
  writing-mode: vertical-lr;
}

/* TARTALOM */

.wrapper{
  display: grid;
  grid-template-columns: 1;
  grid-template-rows: auto 30% 40% auto auto;
  grid-template-areas:
  "hd"
  "hero  "
  "casestudies"
  "contact"
  "ft";
  grid-column: span 1;
  height: 100%;
  padding: 1rem;
  margin:5px;
}

#wrapper {
 margin-top: 28vh;
 margin-right: 38px;
}

.casestudies {
  align-items: stretch;
  display: grid;
  grid-area: casestudies;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  /* margin: 5px; */
}

.blank {
  background-color: white;
  width:100%;
  height: 60px;
}

.content{
  margin-bottom: 10px;
  margin:0px;
  position:relative;
}

.content-image{
  max-width: 320px;
  height:100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding: 2rem;
  width: 100%;
  top: 40%;
  left: 50%;
  opacity: 0;
}

/* FOOTER ---------------------------------- */
#footer {
  position: absolute;
  left: 0px;
  margin-bottom: 0px;
  margin-top: 10px;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 120px;
  z-index: 2;
  background-color: #C5CBE3;
}

#footer h1{
  font-size: 18px;
  font-weight: 100;
  margin-left: 10px;
  margin-top: 20px;
}
#footer  p{
  font-size: 14px;
  font-weight: 100;
  margin-left: 100px;
  margin-right: 10px;
  display: inline-block;
}

#footer a{
  font-size: 14px;
  font-weight: 100;
  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 0px;
}

a:link {
  color: black;
  text-decoration: none;
}

a:hover {
  color: white;
  text-decoration: underline;
}

a:active {
  color: white
  text-decoration: underline;
}

.fa {
  /* left: 10px; */
  font-size: 40px;
  width: 20px;
  height: 20px;
  text-decoration: none;
  color: black;
}
.social {
  display: inline-flex;
}
/* Small only */
@media screen and (max-width: 39.9375em) {
  body {
    font-family: Roboto, Arial, Helvetica, 'Helvetica Neue',sans-serif;
  }
}

/* LARGE ECT. */
@media screen and (min-width: 40em) {
  body {
    font-family: Arial, Helvetica, 'Helvetica Neue',sans-serif;
  }

}
