/* ALTALANOS */

body{
  font-family: 'Roboto', sans-serif;
  /* margin: 10px; */
  padding: 0px;
}

/* FEJLEC */

#header {
  display: block;
  width: 100%;
  height: 100vh;
}

.yellow{
  position: absolute;
  width: 100%;
  height: 25vh;
  top: 0px;
  left: 0px;
  background-color: #EFE2BA;

}

.orange {
  width: 324px;
  height: 120px;
  position: absolute;
  right: 0px;
  margin: 0px;
  box-sizing: border-box;
  z-index: 0;
  background-color: #D79922;
  display: flex;
}

.orange h2{
  font-weight: 900;
  color: white;
  text-decoration-style: black;
  margin-top: 10vh;
  margin-left: 2.2vh;
  font-size: 20px;
}

/* ABOUT sidenav */

.sidenav {
  height: 100%;
  width: 40px;
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  background-color: #4056A1;
  overflow-x: hidden;
  padding-right: 8px;
  padding-top: 20px;
  transition: 0.5s;
}

.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-decoration-style: bold;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  text-decoration: underline;
}

.text p{
  height: 100%;
  width: 90%;
  text-align: left;
}

.text h1{
  /* margin-top: 20px; */
  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;
  color: white;
  font-weight: 400;

}

.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;
  /* transition: 0.3s; */
}

/* KEPEK */

.wrapper{
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto 30% 40% auto auto;
  grid-template-areas:
  "hd"
  "hero  "
  "casestudies"
  "contact"
  "ft";
  grid-column: span 2;
  height: auto;
  padding: 1rem;
  margin:0;
}

#wrapper {
 margin-top: 28vh;
 margin-right: 38px;
}

.casestudies {
  align-items: center;
  display: grid;
  grid-area: casestudies;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  margin: 0px;
}

.content{
  margin:5px;
  position:relative;
}

.content .content-overlay {
  background: #D79922;
  position: absolute;
  max-width: 140px;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  margin:0;
  padding: 5px;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay{
  opacity: 1;
}

.content-image{
  max-width: 150px;
  height:100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding: 0 2rem;
  width: 100%;
  top: 40%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h2{
  color: #F4FAFF;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.content-details p{
  color: #F4FAFF;
  font-weight: 100;
  font-size: 12px;
  margin: 2px;
}

.fadeIn-bottom{
  top: 80%;
}

/* FOOTER */

#footer {
  position: absolute;
  left: 0px;
  margin-bottom: 0px;
  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;
}

/* SOCIAL */

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;
  }

}
