html {
  font-size: 62.5%;
}

body {
  height: 100%;
  font-family: "EB Garamond", serif;
  margin: 0;
}

.outer-wrapper {
  background: rgb(248, 248, 246);
  background: linear-gradient(145deg, rgb(248, 248, 246) 30%, rgb(255, 255, 255) 100%);
  height: 100vh;
}

.wrapper {
  max-width: 80%;
  margin: 0 auto;
}

/* Navbar*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8rem;
  padding-top: 2rem;
}

header img {
  width: 12rem;
}

nav.main-nav ul {
  list-style-type: none;
  display: flex;
  gap: 4.1em;
}
nav.main-nav ul li a {
  text-decoration: none;
  color: #4A3D1C;
  text-transform: uppercase;
  font-size: 1.8rem;
  position: relative;
}
nav.main-nav ul li a.active::before {
  position: absolute;
  content: "";
  width: 25%;
  height: 1px;
  border-bottom: 2px solid #4A3D1C;
  bottom: -6px;
}
nav.main-nav ul li a:before {
  position: absolute;
  content: "";
  width: 0;
  height: 1px;
  border-bottom: 2px solid rgba(74, 61, 28, 0.4);
  bottom: -6px;
  transition: width 0.4s;
}

/* Hero Section */
main {
  display: flex;
  width: 80%;
  margin: 0 auto;
}

.left-col {
  width: 40%;
  display: grid;
  justify-content: space-between;
}

.right-col {
  width: 60%;
  flex-grow: 1;
}

.right-col img {
  width: 100%;
  height: 100%;
  border-radius: 0 4em 0 4em;
}

.head {
  font-size: 8rem;
  font-family: "Cormorant Upright", serif;
  color: #CDB579;
  margin: 0 0 4rem 0;
}

.subhead {
  font-size: 2.2rem;
  color: #4A3D1C;
  margin: 0 0 5rem 0;
}

.cta-btns {
  display: flex;
}

.primary-cta {
  font-family: "Cormorant Upright", serif;
  background-color: #CDB579;
  font-size: 2.8rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  padding: 0.3em 1.4em;
  border-radius: 0 1em 0 1em;
  transition: background-color 0.5s ease-out;
  margin: auto 0;
}

.primary-cta:hover {
  background-color: #c1a357;
  cursor: pointer;
}

.wrapper-two {
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  text-align: center;
}

.intro h1 {
  font-size: 5rem;
  color: #4A3D1C;
  margin: 3rem 0 2rem 0;
}

.intro-text {
  width: 80%;
  margin: auto;
  margin-bottom: 5rem;
}

.intro-text p {
  font-size: 2.2rem;
  color: #4A3D1C;
}

.background {
  background-image: url("images/kezdolap.png");
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  border-radius: 0 4em 0 4em;
}

/* Micro interactions */
nav.main-nav ul li a:hover::before {
  width: 25%;
}

.wrapper-three {
  max-width: 80%;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.team-text {
  width: 80%;
  margin: auto;
  margin-top: 5rem;
  margin-bottom: 5rem;
  font-size: 2.2rem;
  color: #4A3D1C;
  text-align: center;
  font-weight: bold;
}

.references {
  width: 80%;
  margin: auto;
  margin-top: 10rem;
  margin-bottom: 5rem;
  font-size: 2.2rem;
  color: #4A3D1C;
  text-align: center;
  font-weight: bold;
}

.list {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 3rem;
  margin-bottom: 3rem;
}

.list li {
  margin-top: 1rem;
  font-size: 2rem;
}

.list li {
  display: flex;
  align-items: center;
  text-align: center;
  background: rgba(205, 181, 121, 0.3);
  color: rgb(74, 61, 28);
  padding: 2.2rem;
  border-radius: 0 2em 0 2em;
  width: 100%;
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}

.list li:nth-child(even) {
  background: rgba(74, 61, 28, 0.5);
  color: white;
  margin-top: 3rem;
  margin-bottom: -3rem;
}

.prev-work {
  text-align: center;
  margin: 0 auto;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.prev-work ul {
  list-style-image: url("/images/gem-regular.svg");
  display: inline-block;
  text-align: left;
  margin: 0;
}

.prev-work ul li {
  margin: 0;
  padding: 0;
  padding-left: 1rem;
}

footer {
  height: 18rem;
  background: rgb(248, 248, 246);
  background: linear-gradient(145deg, rgb(248, 248, 246) 30%, rgba(205, 181, 121, 0.3) 100%);
  display: flex;
  align-items: center;
  bottom: 0;
}
footer .container {
  display: flex;
  width: 80%;
  margin: 0 auto;
}
footer .container img {
  width: 14rem;
}
footer .social-contact {
  display: flex;
  margin: 0 auto;
  gap: 1em;
  justify-content: space-evenly;
  font-size: 4rem;
  margin-top: 0.6em;
  vertical-align: middle;
  margin: auto auto;
  color: #4A3D1C;
}
footer .social-contact a {
  color: #4A3D1C;
}
footer nav.footer-nav {
  vertical-align: middle;
  margin: auto 0;
}
footer nav.footer-nav ul {
  list-style-type: none;
  display: table-cell;
}
footer nav.footer-nav ul li {
  padding: 1em;
}
footer nav.footer-nav ul li a {
  text-decoration: none;
  color: #4A3D1C;
  text-transform: uppercase;
  font-size: 1.8rem;
  position: relative;
}
footer nav.footer-nav ul li a.active::before {
  position: absolute;
  content: "";
  width: 25%;
  height: 1px;
  border-bottom: 2px solid #4A3D1C;
  bottom: -6px;
}
footer nav.footer-nav ul li a:before {
  position: absolute;
  content: "";
  width: 0;
  height: 1px;
  border-bottom: 2px solid rgba(74, 61, 28, 0.4);
  bottom: -6px;
  transition: width 0.4s;
}
footer nav.footer-nav ul li a:hover::before {
  width: 25%;
}

.wrapper-galery {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.wrapper-galery .gallery-list {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 3rem;
  margin-bottom: 3rem;
}
.wrapper-galery .gallery-list a {
  text-decoration: none;
}
.wrapper-galery .gallery-list li {
  align-items: center;
  text-align: center;
  margin-top: 1rem;
  padding: 2.2rem;
  border-radius: 0 2em 0 2em;
  width: 30%;
  font-size: 2.1rem;
}
.wrapper-galery .gallery-list .first {
  background: rgba(205, 181, 121, 0.3);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .first a {
  color: rgb(74, 61, 28);
}
.wrapper-galery .gallery-list .second {
  background: rgba(74, 61, 28, 0.5);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .second a {
  color: white;
}
.wrapper-galery .gallery-list .third {
  background: rgba(205, 181, 121, 0.3);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .third a {
  color: rgb(74, 61, 28);
}
.wrapper-galery .gallery-list .forth {
  background: rgba(74, 61, 28, 0.5);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .forth a {
  color: white;
}
.wrapper-galery .gallery-list .fifth {
  background: rgba(205, 181, 121, 0.3);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .fifth a {
  color: rgb(74, 61, 28);
}
.wrapper-galery .gallery-list .sixth {
  background: rgba(74, 61, 28, 0.5);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .sixth a {
  color: white;
}
.wrapper-galery .gallery-list .seventh {
  background: rgba(74, 61, 28, 0.5);
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.wrapper-galery .gallery-list .seventh a {
  color: white;
}
.wrapper-galery .gallery-list .gallery-card-image {
  width: 300px;
  height: 250px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0 1em 0 1em;
  vertical-align: middle;
  padding-top: 1em;
}

.contact {
  max-width: 1200px;
  margin: 0 auto;
  height: 480px;
  background: rgba(205, 181, 121, 0.3);
  color: rgb(74, 61, 28);
  font-size: 2rem;
  box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 2em;
  border-radius: 0 2em 0 2em;
}
.contact .title-contact {
  font-size: 2.6rem;
  font-weight: 700;
  margin-top: 0;
}
.contact .contact-name {
  font-weight: 500;
  font-size: 2.3rem;
}
.contact .social-contact {
  width: 30%;
  display: flex;
  margin: 0 auto;
  justify-content: space-evenly;
  font-size: 4rem;
  margin-top: 0.6em;
}
.contact .social-contact a {
  color: #4A3D1C;
}
.contact .ajanlat {
  display: grid;
  margin: 0 auto;
  font-size: 2.3rem;
  gap: 0.2em;
  font-weight: 600;
}
.contact .ajanlat i {
  font-size: 8rem;
  color: rgb(74, 61, 28);
}

/*MEDIA*/
@media screen and (max-width: 700px) {
  html {
    font-size: 8px;
  }
  .open-nav {
    transform: translateX(0%);
  }
  nav.main-nav ul {
    list-style-type: none;
    padding: 1em 0 0 0;
    list-style-type: none;
    display: block;
    gap: 4.1em;
    margin-top: 6em;
  }
  nav.main-nav ul a {
    padding: 2em 0 0 2em;
    display: block;
    text-decoration: none;
    color: #4A3D1C;
    text-transform: uppercase;
    font-size: 1.8rem;
    position: relative;
  }
  nav.main-nav ul li a.active::before {
    position: absolute;
    content: "";
    width: 10%;
    height: 1px;
    border-bottom: 2px solid #4A3D1C;
    bottom: -6px;
  }
  nav.main-nav ul li a:before {
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    border-bottom: 2px solid rgba(74, 61, 28, 0.4);
    bottom: -6px;
    transition: width 0.4s;
  }
  nav.main-nav ul li a:hover::before {
    width: 10%;
  }
  nav.main-nav .close {
    float: right;
    margin: 3em;
    width: 2.8em;
    z-index: 20;
  }
  header {
    margin-bottom: 4rem;
  }
  header nav {
    position: fixed;
    right: 0;
    top: 0;
    background: white;
    height: 100vh;
    width: 50%;
    z-index: 999;
    text-transform: uppercase;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
  }
  header svg {
    width: 5em;
    margin-top: -0.6em;
    cursor: pointer;
  }
  header menu {
    color: #4A3D1C;
  }
  .contact {
    font-size: 1rem;
  }
  .contact .social-contact a {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  main {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  main .left-col {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  main .left-col .head {
    margin-bottom: 2rem;
    font-size: 6rem;
  }
  main .left-col .subhead {
    margin-bottom: 3rem;
  }
  main .left-col .cta-btns {
    text-align: center;
    justify-content: center;
  }
  main .right-col {
    width: 100%;
    text-align: center;
    margin-top: 6em;
  }
  .background {
    height: 150px;
  }
  .list {
    display: block;
    width: 80%;
    margin: auto;
  }
  .list li {
    margin-top: 6rem;
  }
  .list li:nth-child(even) {
    background: rgba(74, 61, 28, 0.5);
    color: white;
    margin-right: 3rem;
    margin-left: -3rem;
  }
  .wrapper-galery .gallery-list {
    display: block;
  }
  .wrapper-galery .gallery-list li {
    width: 80%;
    margin: 2em auto;
    font-size: 3rem;
  }
  .wrapper-galery .gallery-list a {
    display: inline-grid;
  }
  .wrapper-galery .gallery-list .noli {
    display: none;
  }
  .wrapper-galery .gallery-list .seventh {
    background: rgba(205, 181, 121, 0.3);
    box-shadow: 0.25rem 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
  }
  .wrapper-galery .gallery-list .seventh a {
    color: rgb(74, 61, 28);
  }
  .wrapper-galery .gallery-list .gallery-card-image {
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    border-radius: 0 1em 0 1em;
    vertical-align: middle;
    padding-top: 1em;
  }
  footer {
    display: table;
    width: 100%;
    text-align: center;
    align-items: center;
    margin: auto 0;
    height: 38rem;
    padding: 2em 0;
  }
  footer .container {
    display: table-cell;
    vertical-align: middle;
    margin: auto 0;
    text-align: center;
  }
  footer .container nav.footer-nav {
    display: inline-block;
  }
  footer .container nav.footer-nav ul {
    list-style-type: none;
    display: table-cell;
    padding: 0;
  }
  footer .container nav.footer-nav ul li {
    padding: 1em;
  }
  footer .container nav.footer-nav ul li a {
    text-decoration: none;
    color: #4A3D1C;
    text-transform: uppercase;
    font-size: 1.8rem;
    position: relative;
  }
  footer .container nav.footer-nav ul li a.active::before {
    position: absolute;
    content: "";
    width: 25%;
    height: 1px;
    border-bottom: 2px solid #4A3D1C;
    bottom: -6px;
  }
  footer .container nav.footer-nav ul li a:before {
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    border-bottom: 2px solid rgba(74, 61, 28, 0.4);
    bottom: -6px;
    transition: width 0.4s;
  }
  footer .container nav.footer-nav ul ul li a:hover::before {
    width: 25%;
  }
  footer .container nav.footer-nav ul li a:hover::before {
    width: 25%;
  }
  footer img {
    width: 14rem;
  }
  footer .social-contact {
    width: 30%;
    display: flex;
    margin: 1em auto;
    justify-content: space-evenly;
    font-size: 4rem;
    vertical-align: middle;
    color: #4A3D1C;
  }
  footer .social-contact a {
    color: #4A3D1C;
  }
  footer .social-contact i {
    padding: left 2em;
  }
  footer nav ul {
    list-style-type: none;
    display: table-cell;
    padding: 0;
  }
  footer nav ul li {
    padding: 1em;
  }
  footer nav ul li a {
    text-decoration: none;
    color: #4A3D1C;
    text-transform: uppercase;
    font-size: 1.8rem;
    position: relative;
  }
  footer nav ul li a.active::before {
    position: absolute;
    content: "";
    width: 25%;
    height: 1px;
    border-bottom: 2px solid #4A3D1C;
    bottom: -6px;
  }
  footer nav ul li a:before {
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    border-bottom: 2px solid rgba(74, 61, 28, 0.4);
    bottom: -6px;
    transition: width 0.4s;
  }
}
@media only screen and (min-width: 701px) {
  svg.close {
    display: none;
  }
  svg.menu {
    display: none;
  }
}

@media screen and (min-height: 400px) and (max-height: 800px)  and (min-width: 300px) {
    .outer-wrapper {
        height: 140vh;
    }
}





/*# sourceMappingURL=style.css.map */