
html { overflow-y: scroll; }

* {
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

body {
  margin: 0;
  color: #333333;
  font-family: "AG", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.4;
  padding-top: 90px;
}

.admin-bar .progress-container, .admin-bar header {
  top: 32px;
}

/* Gap Settings */
/* .small* + .large* = 100% */
.small {
  width: 40%;
}
.small-m {
  margin-left: 40%;
}
.large {
  width: 60%;
}
.large-m {
  margin-left: 60%;
}

/* Padding */
.padding-30 {
  padding: 30px 0;
}
.padding-top-30 {
  padding-top: 30px;
}
.padding-60 {
  padding: 60px 0;
}
.padding-top-60 {
  padding-top: 60px;
}
.padding-90 {
  padding-top: 90px;
  padding-bottom: 90px;
}
.padding-top-90 {
  padding-top: 90px;
}

.container {
  margin: 0 8rem;
}

.bold {
  font-weight: bold;
}
/* Link */
a, .more {
  text-decoration: none;
  color: #aca4a0;
  cursor: pointer;
}

nav a {
  color: #333333;
}

nav a:hover {
  color: #aca4a0;
}

li.current_page_item a{
  color: #aca4a0
}

/* Scroll Progress bar */
.progress-container {
  top: 0;
  width: 100%;
  height: 3px;
  background: #e7e5e4;
  position: fixed;
  z-index: 101;
}

.progress-bar {
  height: 3px;
  background: #ff0d01;
  width: 0%;
  transition: all 0.05s ease-in-out;
}

/* Header */
header {
  background-color: #FFF;
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  z-index: 100;
}

/* Menu Toggle */
.menu-toggle {
  padding: 13px;
  position: relative;
  display: none;
  cursor: pointer;
}

.menu-toggle:hover {
  opacity: .7;
}

.menu-lines, .menu-lines::before, .menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 25px;
  height: 3px;
  background-color: black;
}
.menu-lines::before {
  top: -6px;
}
.menu-lines::after {
  top: 6px;
}
.menu-lines.active::before, .menu-lines.active::after {
  top: 0;
}

header nav {
  display: flex;
  padding: 2rem 0;
}

header nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav ul li {
  padding-right: 60px;
}

/* Index-container */
.index-container {
  display: flex;
}

.left-container, .right-container {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.item-container {
  height: 0;
  padding-top: calc(634.44 / 1127.34 * 100%);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.content {
  display: grid;
  grid-template-columns: 50% 50%;
}

.item-img {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.item-container, .item-contet, .cover-img {
  background-position: center;
  background-size: cover;
}

.item-container .item-contet:hover {
  background-image: none!important;
}

.big {
  padding-top: calc(654.44 / 1127.34 * 200%);
}

.item-container .item-contet, .item-container .cover-img, .item-container .item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.item-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
}
 
.item-text .large, .item-text .small {
  width: 50%;
}

img {
  width: 100%;
}

.item-container:hover .item-contet .cover-img {
  opacity: 0;
}

.arrow {
  font-family: "EssenceSigns";
}

.desc,
.arrow {
  opacity: 0;
}

.item-container:hover .desc,
.item-container:hover .arrow {
  opacity: 1;
}

.item-container .item-contet .hover {
  position: absolute;
  left: 0;
  z-index: -1;
}

.label {
  position: absolute;
  display: flex;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 64px;
  color: white;
  z-index: 2;
}

.label .desc {
  padding-left: 30px;
}

.label .arrow {
  flex: 1;
  text-align: right;
}

/* Section */
section h1, section h2 {
  margin: 0;
  margin-left: auto;
  width: 230px;
  color: #333333;
  font-size: 22px;
  text-align: right;
  font-weight: normal;
}

section p {
  margin-top: 0;
  margin-left: auto;
  font-size: 22px;
}

section a {
  margin-left: auto;
}

section small {
  display: none;
}

.more {
  display: inline;
}

.more:hover, #more-button:hover {
  color: #ff0d01;
}

.details-btn {
  margin-bottom: 22px;
}

#details-text {
  height: 100%;
  overflow: hidden;
}

.input-wrapper {
  margin-left: auto;
}

#more-button {
  border-style: none;
  background: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-family: "AG", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.4;
  color: #aca4a0;
}

#grow {
  height: 0;
  overflow: hidden;
  margin-left: auto;
  opacity: 0;
}

/* Pagination */
.pagination a {
  display: flex;
  flex-direction: column;
}

.pagination-text {
  color: #333333;
}

.pagination .more {
  margin: 0;
}

.next {
  margin-left: auto;
  width: 40%;
}

.previous {
  margin-right: auto;
  text-align: right;
  width: 60%;
}

/* Single */
.wp-block-image:last-of-type {
  margin-bottom: 0;
}

/* Footer */
.line {
  border-bottom: 1px solid #e7e5e4;
  margin: 0;
}

footer {
  display: flex;
}

footer div {
  display: flex;
  flex-direction: column;
  padding-right: 60px;
}

footer div span {
  color: black;
}

footer div.adress {
  color: black;
}

/* Profile */
.profile.container {
  padding-bottom: 60px;
}

.profile .container.padding-30:first-of-type{
  padding-top: 1000px;
}

.profile .large h1 {
  width: 40%;
}

.profile .small {
  margin-bottom: 0;
  margin-left: auto;
}

.profile .slide-show {
  display: grid;
  margin-bottom: 90px;
}

.profile .slide {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
}

.profile .slide.active-slide {
  z-index: 3;
}

.link-wrapper {
  width: 100%;
  margin-left: auto;
  padding: 0;
}

.contact .contact-left .link-wrapper {
  margin-left: 0;
}

.link-wrapper * {
  display: inline;
}

.contact .link-wrapper {
  width: 67%;
  margin-left: auto;
}

/* Contact */
.contact {
  display: flex;
}

.contact-left {
  flex: 1;
}

.contact-right {
  width: 60%;
  max-width: 60%;
}

.contact span {
  display: block;
}

.contact .group {
  margin-bottom: 30px;
}

.contact .title {
  width: 33%;
  text-align: right;
}

.contact .text {
  width: 67%;
  margin-left: auto;
}

@media only screen and (max-width: 1450px) {
  .item-text {
    padding: 0 1rem;
  }
}

@media only screen and (max-width: 1300px) {
  .item-text {
    padding: 0 2rem;
  }

  .container h1, .container h2, .container p, .container a, .container span, .label, .item-text, .item-text h1, .item-text p, #more-button {
    font-size: 18px;
    line-height: 1.2;
  }

  .item-text .large, .item-text .large h1, .item-text .small {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
}
@media only screen and (max-width: 1000px) {
  .container {
    margin: 0 2rem;
  }
}
@media only screen and (max-width: 782px) {
  .container h1, .container h2, .container p, .container a, .container span, .label, .item-text, .item-text h1, .item-text p, #more-button {
    font-size: 22px;
    line-height: 1.4;
  }

  .admin-bar .progress-container {
    top: 46px;
  }

  .small {
    width: 100%;
  }
  .small-m {
    margin-left: 0%;
  }
  
  .large {
    width: 100%;
  }
  .large-m {
    margin-left: 0%;
  }
  .container {
    margin: 0 2rem;
  }

  header nav {
    padding: 2rem 0;
  }
  
  header nav ul {
    background-color: #f5f4f3;
    position: absolute;
    width: 100vw;
    top: 90px;
    left: -150vw;
    display: block;
    z-index: -1;
  }
  
  header nav ul li {
    padding: 0;
    padding-left: 20%;
    border-top: 1px solid #FFFFFF;
    opacity: 0;
  }
  
  header nav ul li a {
    padding: 32px;
    display: block;
  }
  
  header nav .menu-toggle {
    display: block;
  }

  section h1, section h2 {
    text-align: left;
    margin-left: 0;
    width: 100%;
  }

  .single section .large {
    margin-bottom: 30px;
  }

  .profile section p.small {
    margin-bottom: 30px;
  }

  .index-container {
    flex-direction: column;
  }

  .left-container, .right-container {
    width: 100%;
  }

  .profile .large h1 {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .content {
    grid-template-columns: 100%;
  }

  .contact {
    display: block;
  }
  
  .contact-right {
    width: 100%;
    max-width: 100%;
  }
  
  .contact .title {
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
  }
  
  .contact .text {
    width: 100%;
    margin-left: 0;
  }

  footer {
    flex-direction: column;
  }

  footer div {
    padding-bottom: 60px;
  }

  footer div:last-of-type {
    padding-bottom: 0;
  }
}
@media only screen and (max-width: 600px) {
  .container {
    margin: 0 1rem;
  }

  .item-text {
    padding: 0 1rem;
  }

  .container h1, .container h2, .container p, .container a, .container span, .label, .item-text, .item-text h1, .item-text p, #more-button {
    font-size: 18px;
    line-height: 1.2;
  }

  .label {
    padding: 1rem;
  }

  nav .small {
    width: 0;
  }
}
@media only screen and (max-width: 600px) {
  .next, .previous {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .next {
    text-align: right;
  }
}
