/*

Theme Name: Anna Max Studio Theme
Author: Filip
Version: 1.0

*/


/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

body {
  background-repeat: repeat!important;
  background-attachment: unset;
  background-position: top center!important;
  -webkit-background-size: auto!important;
  -moz-background-size: auto!important;
  background-size: auto!important;
  background-image: url(/assets/Bg_texture_pattern.jpg);
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}


body {
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

p, ul, ol {
  margin: 0 0 1.65em 0;
}

li {
  line-height: 1.65;
}

/** Typography **/

p {
  font-size: 1.15em;
  line-height: 1.9em;
  font-family: 'Raleway', sans-serif;
}

h1 {
  color: #63553e;
  font-size: 5.5em;
  font-family: 'Philosopher', sans-serif;
  margin: 0;
}

h2 {
  color: #63553e;
  font-family: 'Philosopher', sans-serif;
  font-size: 3.5em;
  text-transform: uppercase;
}

h3 {
  color: #63553e;
  font-family: 'Philosopher', sans-serif;
  font-size: 2.5em;
}

h4 {
  color: #63553e;
  font-family: 'Philosopher', sans-serif;
  font-size: 1.7em;
  margin: 0;
}


/** Header **/

.site-header {
  text-align: center;
}

.header-divider {
  padding-top: 15px;
}

.header-divider img {
  max-width: 220px;
}

/* Menu */

.menu {
  padding: 1.4em 0 1em 0;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  display: inline-block;
}

.menu li a {
  margin-right: 1em;
  color: #63553e;
  font-size: 1.7em;
  font-family: 'Philosopher', sans-serif;
  text-decoration: none;
  transition: 0.5s all;
}

.menu li a:hover {
  color: #b9965b;
  text-shadow: 0 0 10px #efe7db57;
}

/* Mobile */

.open-button {
  width: 60px;
  height: 30px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  position: absolute;
  cursor: pointer;
  border-bottom: 0;
  top: 4em;
  right: 100px;
  z-index: 9999;
  border-bottom: 0;
}
@media (min-width: 1024px) {
  .open-button {
    display: none;
  }
}

.open-button.open {
  width: 60px;
  height: 60px;
}

.open-button:hover {
  border-bottom: 0;
}

.open-button span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #63553e;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

a.open-button.open span{
  background: #fff;
}

.open-button span:nth-child(1) {
  top: -1px;
  transform-origin: left center;
}

.open-button span:nth-child(2) {
  top: 11px;
  transform-origin: left center;
}

.open-button span:nth-child(3) {
  top: 22px;
  transform-origin: left center;
}

.open-button.open span:nth-child(1) {
  transform: rotate(45deg);
  top: -20px;
  left: 8px;
}

.open-button.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.open-button.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 19px;
  left: 8px;
}

.mobile-menu.open {
  z-index: 200;
  opacity: 1;
}

/** Home **/

/* Slider */

.slider-txt-area {
  position: relative;
  background-color: rgba(132, 107, 65, 0.38);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-image: url(https://annamaxstudio.com/wp-content/uploads/2019/02/Slider_Arabeska.png);
}

.slider-txt {
  padding: 0 8em;
}

.no-margin {
  padding-top: 8em;
}

/* Slider bg */

/*
.slider-img:before, .gallery-img-item:before, .inner-img:before {
  content: url(https://annamaxstudio.com/wp-content/uploads/2019/02/Arabeska_frame.png);
  top:1em;
  left:7em;
  right:7em;
  bottom:5em;
  position: absolute;
  z-index: 100;
  text-align: center;
  filter: brightness(1.4);
}
*/

.slider-img:after, .gallery-img-item:after, .inner-img:after {
  content: "";
  top:5em;
  left:7em;
  right:7em;
  bottom:5em;
  border: 10px solid rgba(150, 113, 54, 0.7);
  position: absolute;
}

.slider-img img, .about-img img {
  display: block;
}

.slider-img-area {
  position: relative;
}

.arrow {
  cursor: pointer;
  height: 120px;
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
  transition: transform .1s;
  width: 60px;
}

.prev {
  transform: rotate(180deg)!important;
  bottom: 2em;
  right: 2em;
}

.next {
  transform: none!important;
  bottom: 2.2em;
  left: 2em; 
}

.arrow-top, .arrow-bottom {
  background-color: #63553e;
  height: 4px;
  left: -5px;
  position: absolute;
  top: 50%;
  width: 100%;
}

.arrow-top:after, .arrow-bottom:after {
  background-color: #fff;
  content: '';
  height: 100%;
  position: absolute;
  top: 0;
  transition: all 0.15s;
}

.arrow-top {
  transform: rotate(45deg);
  transform-origin: bottom right;
}

.arrow-top:after {
  left: 100%;
  right: 0;
  transition-delay: 0s;
}

.arrow-bottom {
  transform: rotate(-45deg);
  transform-origin: top right;
}

.arrow-bottom:after {
  left: 0;
  right: 100%;
  transition-delay: 0.15s;
}

.arrow:hover .arrow-top:after {
  left: 0;
  transition-delay: 0.15s;
}

.arrow:hover .arrow-bottom:after {
  right: 0;
  transition-delay: 0s;
}

.arrow:active {
  transform: translateX(-50%) translateY(-50%) scale(0.9);
}

.about-img img {
  height: 100%;
  width: max-content;
  object-fit: cover;
}

/* About me */

.section-div {
  text-align: center;
  padding: 3.5em;
}

.s-divider img {
  max-width: 30em;
}

.about-text-area {
  background-color: rgba(255, 255, 255, 0.5);
  background-repeat: no-repeat;
  background-position: center left;
  background-image: url(https://annamaxstudio.com/wp-content/uploads/2019/02/About_us_bg.png);
}

.about-text {
  padding: 6em;
  max-width: 60%;
  margin-left: auto;
}

.about-img img, .slick-slide img{
  height: 100%;
  
  object-fit: cover;
}

.gallery-item img{
  width: max-content;
}

/* Button */

.cst-btn.brown {
  color: #63553e;
  background: transparent;
  border: 3px solid #63553e;
  font-size: 1.2em;
  padding: 1em 5em;
  transition: all 0.5s;
}

.cst-btn.brown:hover {
  cursor: pointer;
  background: #bca78152;
}


/* Gallery */

.white-bg {
  margin: 2em 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.gallery-box {
  position: relative;
}

.gallery-slider {
  margin: 2em 0;
}

.gallery-width {
  margin: 0 8em;
  
}

.gallery-item {
  outline: none;
}

.gallery-text-area {
  padding: 2em;
  background-color: rgba(255, 255, 255, 0.55);
}

.gallery-img {
  position: relative;
}

/*
.gallery-img:before {
  background-image: url(https://annamaxstudio.com/wp-content/uploads/2019/02/Arabeska_frame.png);
  background-repeat: no-repeat;
  top:0.5em;
  left:calc(50% - 2em);
  right:0;
  bottom:0;
  width: 100%;
  position: absolute;
  z-index: 100;
  text-align: center;
  background-size: 10%;
  display: inline-block;
  content:"";
  filter: brightness(1.4);
}
*/

.gallery-img:after {
  content: "";
  top:2em;
  left:2em;
  right:2em;
  bottom:2em;
  border: 10px solid rgba(150, 113, 54, 0.7);
  position: absolute;
}


.prev-gallery {
  transform: rotate(180deg)!important;
  top: 40%;
  right: 85%;
  width: 40px;
}

.next-gallery {
  transform: none!important;
  top: 40%;
  left: 85%;
  width: 40px;
}

/* Quote */

.quote-section {
  padding: 2em 1em;
  margin: 7em 0;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(https://annamaxstudio.com/wp-content/uploads/2019/02/Qoute_bg.jpg);
}


/* Contact */

.contact-section {
  padding-top: 2em;
  text-align: center;
  background-color: rgba(132, 107, 65, 0.38);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-image: url(https://annamaxstudio.com/wp-content/uploads/2019/02/Contact_Bg.png);
}

.padding-top {
  padding-top: 2em;
}

.contact-info {
  text-align: left;
  max-width: 60%;
  margin: 0 auto;
}

.contact-form {
  text-align: left;
  margin: 0 auto;
  padding-bottom: 2em;
}

.contact-form p{
    margin: 1em;
}

input[type="text"], input[type="email"], textarea {
		background-color: rgba(255, 255, 255, 0.5);
		width: 50%;
		width: 100%;
		border: none;
		padding: 10px;
		margin: 4px 0;
    font-size: 1em;
    font-family: 'Raleway', sans-serif;
  }
  
	input[type="submit"] {
    color: #63553e;
    background: transparent;
    border: 3px solid #63553e;
    font-size: 1em;
    padding: 1rem 5rem;
    transition: all 0.5s;
  }
  
  input[type="submit"]:hover {
    cursor: pointer;
    background: #bca78152;
  }

  div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: none;
}

/** Inner Pages **/

.gallery-control {
  margin: 3em 0;
  padding: 3em 0;
  padding-left: 1.3vw !important;
  background-color: rgba(255, 255, 255, 0.5);
}

.contrl-item {
  overflow: hidden;
}

.contrl-item img {
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  outline: 0px solid  rgba(185, 141, 69, 0.7);
}

.contrl-item img:hover {
  outline: 5px solid  rgba(185, 141, 69, 0.7);
  outline-offset: -20px;
}

.contrl-item.slick-slide {
  outline: none;
}

.page-description {
  max-width: 50%;
  margin: 0 auto;
}

.page-description-2{
  max-width: 50%;
  margin: 3em auto;
}

.inner-img img {
  display: block;
  height: 100%;
  object-fit: cover;
}

.no-border:after {
  border: none !important;
}

.center-flex {
  display: flex;
  align-items: center;
}

/** Footer **/

.site-footer {
  text-align: center;
}

.footer-divider img {
  max-width: 220px;
}

.text-center{
  text-align: center;
}

.absolute-center {
  width: 100%;
  top: 50%;
  transform: translate(0, -50%);
  position: absolute;
  text-align: center;
}

.social-icons{
  padding-top: 2em;
  padding-left: 0;
}

.social-icons li{
  text-align: center;
  display: inline-block;
  padding: 0 5px;
}

.social-icons li i{
  vertical-align: middle;
}

.social-icons li a{
  color: #63553e;
  display: inline-block;
  font-size: 2em;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #63553e;
  transition: all 0.5s;
}

.social-icons li a:hover{
  background-color: #63553e;
  color: #fff;
}

.copiright {
  padding-top: 1em;
}

.copiright p, .copiright a{
  color: #cac0ae;
}

/** Grid **/

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

/** Mic **/

/* Back to top */

button.back-to-top{
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
	height: 0px;
  width: 0px;
  overflow: hidden;
	border-radius: 0px;
	-webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  transform: rotate(45deg);
  color: transparent;
	clear: both;
  visibility: hidden;
  position: fixed;
  cursor: pointer;
  display: block;
  border: none;
  right: 50px;
	bottom: 75px;
  font-size: 0px;
  outline: 0 !important;
  z-index: 99;
  transition: all .3s ease-in-out;
}
button.back-to-top:hover,
button.back-to-top:active,
button.back-to-top:focus,{
  outline: 0 !important;
}
button.back-to-top::before {
  content: "\f077";
  font-family: "FontAwesome";
  display: block;
  vertical-align: middle;
  transform: rotate(-45deg);
  margin: 0px auto;
  margin-top: -2px;
}
button.back-to-top.show {
  display: block;
  background: #fff;
  color: #63553e;
  font-size: 25px;
  right: 25px;
	bottom: 50px;
  height: 50px;
  width: 50px;
  visibility: visible;
	box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}
button.back-to-top.show:active {
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
}

/* Preloader */

.js div#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background-repeat: repeat!important;
  background-attachment: unset;
  background-position: top center!important;
  -webkit-background-size: auto!important;
  -moz-background-size: auto!important;
  background-size: auto!important;
  background-image: url(/assets/Bg_texture_pattern.jpg);
}

.js div#preloader2 {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: rgba(0, 0, 0, 0.25);
}


/** Ressponsivnes **/

@media only screen and (max-width: 1600px) {
  body {
    font-size: 15px;
  }
}

@media only screen and (max-width: 1440px) {
  body {
    font-size: 14px;
  }

  .slider-txt {
    padding: 0 6em;
  }

  .no-margin {
    padding-top: 6em;
  }
}

@media only screen and (max-width: 980px) {
  body {
    font-size: 26px;
  }

  p {
    font-size: 1.5em;
  }

  .half-grid {
    display: block;
  }

  .next {
    top: 2.2em;
    right: 2em;
    left: unset;
  }

  .slider-txt {
    padding: 0 3em;
  }

  .no-margin {
    padding-top: 3em;
  }

  .about-text {
    max-width: 100%;
    padding: 3em;
  }

  .gallery-width {
    margin: 0 5em;
    height: 100%;
  }

  .prev-gallery {
    right: 92%;
  }

  .next-gallery {
    left: 92%;
  }

  .about-img img, .slick-slide img {
    width: 100%;
  }

  .quote-section {
    padding: 1em 0em;
    margin: 5em 0;
    background-size: cover;
  }

  .contact-info {
    text-align: center
  }

  .contact-form {
    text-align: center;
    margin: 3em;
  }

  .page-description {
    max-width: 100%;
    padding: 0 3em;
  }
  
  .mobile-menu {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    min-height: 100%;
    height: 100%;
    background:rgba(99, 85, 62, 0.85);;
    margin: 0;
    position: fixed;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s;
  }

  .menu {
    margin-top: 6em;
  }

  .menu li {
    display: block;
  }

  .menu li a {
    margin-right: 0em;
    color: #efe7db;
    font-size: 2.7em;
  }

  .header-divider {
    margin-bottom: 2em;
  }

  .page-description-2 {
    max-width: 100%;
    margin: 3em;
  }

  button.back-to-top.show {
    font-size: 35px;
    height: 90px;
    width: 90px;
  }

}