/*======COLORS======*/
/*======SOURCES======*/
/*======MAIN  MENU======*/
/*======PORTFOLIO======*/
/*======ADJUST WIDTH TO PHOTOS RATIO======*/
/*======ADJUST MARGIN TO PHOTOS RATIO======*/
/*
$photo-ratio: 1.5;
$photo-thumb-margin: ($photo-column-width * $photo-ratio - $photo-column-width / $photo-ratio * 2) / 2;
*/
/*======OTHER SIZES======*/
@font-face {
  font-family: "Righteous";
  font-weight: normal;
  font-style: normal;
  src: url("../media/font/Righteous-Regular.ttf");
}
@font-face {
  font-family: "Open Sans";
  font-weight: 300;
  font-style: normal;
  src: url("../media/font/OpenSans-Light.ttf");
}
@font-face {
  font-family: "Open Sans";
  font-weight: 300;
  font-style: italic;
  src: url("../media/font/OpenSans-LightItalic.ttf");
}
@font-face {
  font-family: "Open Sans";
  font-weight: normal;
  font-style: normal;
  src: url("../media/font/OpenSans-Regular.ttf");
}
@font-face {
  font-family: "Open Sans";
  font-weight: normal;
  font-style: italic;
  src: url("../media/font/OpenSans-Italic.ttf");
}
@font-face {
  font-family: "Open Sans";
  font-weight: bold;
  font-style: normal;
  src: url("../media/font/OpenSans-Bold.ttf");
}
@font-face {
  font-family: "Open Sans";
  font-weight: bold;
  font-style: italic;
  src: url("../media/font/OpenSans-BoldItalic.ttf");
}
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url("../media/font/MaterialIcons-Regular.ttf") format("truetype");
}
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Open Sans", sans-serif;
  background: black;
  color: white;
  overflow: auto;
}

* {
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
  font: inherit;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

.link-underline:hover {
  text-decoration: underline;
}
.link-underline:hover .link {
  text-decoration: underline;
}

.link-color {
  color: #dcb184;
}

.footer {
  background: black;
  border-top: 1px solid #1f1f1f;
  padding: 10px 20px;
  text-align: center;
}
.footer section > div {
  margin: 10px;
}
.footer .company-stamp {
  font-size: 0.85em;
  color: #b3b3b3;
  margin: 0;
  margin-top: 10px;
  white-space: pre-wrap;
}
.footer .attribution {
  font-size: 0.85em;
  color: gray;
}

/*======FORM======*/
.button {
  display: inline-block;
  width: auto;
  padding: 12px 20px;
  font-size: 16px;
  line-height: 16px;
  background: #141414;
  outline: none;
  border: none;
  cursor: pointer;
  color: white;
  transition: all 300ms;
}
.button:hover, .button:focus {
  background: #dcb184;
  color: black;
}

.buttons-inactive .button:not(.buttons-active), .buttons-inactive.button:not(.buttons-active) {
  background: #141414;
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
}
.buttons-inactive .button:not(.buttons-active):hover, .buttons-inactive .button:not(.buttons-active):focus, .buttons-inactive.button:not(.buttons-active):hover, .buttons-inactive.button:not(.buttons-active):focus {
  background: #141414;
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
}

.input-label {
  display: block;
  margin: 20px 0;
}
.input-label div {
  margin-bottom: 10px;
}

.input-error {
  font-size: 14px;
  color: #FF3636;
  font-weight: bold;
  margin-top: 5px;
}

.input-oneline {
  display: flex;
  justify-content: space-between;
}
.input-oneline > * {
  width: calc(50% - 10px);
}

input, textarea {
  box-sizing: border-box;
  border: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  line-height: 16px;
  color: #FFFFFF;
  padding: 10px 20px;
  background: #141414;
  transition: background 200ms ease, color 200ms ease;
}
input:active, input:focus, textarea:active, textarea:focus {
  background: #1f1f1f;
}

textarea {
  line-height: 22px;
}

.main-menu {
  position: fixed;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  height: 70px;
  padding: 0 12px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 36px;
  color: white;
  transition: padding 500ms ease, background 300ms ease;
}
.main-menu::after {
  content: "";
  display: block;
  clear: both;
}
.main-menu::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  z-index: -100;
  transition: 300ms opacity ease;
}
.main-menu .menu-button {
  float: left;
  cursor: pointer;
  display: block;
  background: none;
  padding: 0 3px;
  line-height: inherit;
  height: 36px;
  margin: 17px;
  border-bottom: 2px solid transparent;
  transition: border 120ms ease-out, color 120ms ease-out;
}
.main-menu .menu-button:hover {
  border-bottom-color: white;
}
.main-menu .menu-language-button {
  float: right;
}
.main-menu .menu-language-button::after {
  content: "";
  display: block;
  clear: both;
}
.main-menu .menu-language-button * {
  float: left;
}
.main-menu .menu-language-button img {
  height: 16px;
}
.main-menu #menu-language-button {
  margin-left: 0px;
}
.main-menu .language-choose {
  position: absolute;
  clear: both;
  color: white;
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;
  height: 0;
  right: 0;
  top: 70px;
  transition: 300ms all ease;
}
.main-menu .language-choose .menu-button {
  float: none;
}
.main-menu .menu-logo {
  position: relative;
  float: left;
  height: 32px;
  padding: 10px;
  margin: 9px;
}
.main-menu .menu-logo img {
  height: inherit;
  transition: 300ms all ease;
}
.main-menu .menu-logo .menu-logo-black {
  opacity: 0;
  position: absolute;
  left: 10px;
}

.main-menu.with-bg::before {
  opacity: 1;
}

.main-menu.choosing {
  background: black;
}
.body-portfolio___DISABLED___ .main-menu:not(.choosing):not(.with-bg):not(.hamburger-visible) {
  color: black;
}
.body-portfolio___DISABLED___ .main-menu:not(.choosing):not(.with-bg):not(.hamburger-visible) .menu-logo-white {
  opacity: 0;
}
.body-portfolio___DISABLED___ .main-menu:not(.choosing):not(.with-bg):not(.hamburger-visible) .menu-logo-black {
  opacity: 1;
}
.body-portfolio___DISABLED___ .main-menu:not(.choosing):not(.with-bg):not(.hamburger-visible) .hamburger-button {
  background-image: url("../media/hamburger_black.png");
}

.body-portfoli___DISABLED___ .main-menu:not(.choosing):not(.with-bg) .menu-button:hover {
  border-color: black;
}

.language-choose.choosing {
  background: #0a0a0a;
  height: 188px;
}

.language-flag {
  margin-top: 11px;
  margin-right: 10px;
}

.hamburger-button {
  display: none;
  cursor: pointer;
  background-image: url("../media/hamburger_white.png");
  width: 36px;
  height: 36px;
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  float: right;
  margin: 18px;
  transition: all 300ms ease;
}

@media screen and (max-width: 700px) {
  .main-menu {
    padding: 0;
  }
  .main-menu .language-choose {
    padding: 0px;
  }
  .main-menu .language-change-text {
    display: none;
  }
  .main-menu .language-flag {
    margin-right: 0px;
  }
  .main-menu .hamburger-button {
    display: block;
  }
  .main-menu .menu-content {
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .main-menu .menu-content .menu-button {
    float: none;
    padding: 10px;
    border: none;
    opacity: 0;
    line-height: 0px;
    font-size: 26px;
    margin: 5px auto;
    transition: border 120ms ease-out, color 120ms ease-out, line-height 300ms ease, margin 300ms ease, padding 300ms ease;
  }
  .main-menu .menu-content .menu-button:hover {
    border-bottom-color: white;
  }

  .main-menu.hamburger-visible .hamburger-button {
    background-image: url("../media/close_white.png");
    transform: rotate(90deg);
  }
  .main-menu.hamburger-visible .menu-content {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    pointer-events: all;
  }
  .main-menu.hamburger-visible .menu-content .menu-button {
    opacity: 1;
    line-height: 30px;
    margin: 5px auto;
    height: auto;
  }
}
.main-menu.hamburger .menu-content {
  transition: backdrop-filter 100ms ease, -webkit-backdrop-filter 100ms ease, background 300ms ease, height 300ms ease;
}

@media screen and (max-width: 400px) {
  .main-menu:not(.hamburger) .menu-button:not(.menu-language-button) {
    padding: 0;
    margin-left: 5px;
    margin-right: 5px;
  }
}
/*======GENERAL CONTAINERS======*/
.container {
  display: block;
}

.section {
  color: white;
}

/*======SECTION 1 - LANDING PAGE======*/
.top-section {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.landing-section {
  background: black url("../media/background_about.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}
.landing-section::before {
  background-color: rgba(0, 0, 0, 0.3);
}

.landing-content {
  text-align: center;
  margin: 160px 0;
}
.landing-content img {
  width: 265px;
  transition: all 400ms ease;
}
.landing-content .landing-slogan {
  font-size: 38px;
  font-family: "Righteous", sans-serif;
  font-weight: normal;
  margin: 40px 20px;
  transition: all 400ms ease;
}
.landing-content .outline-button {
  margin: 10px 0;
}

.outline-button {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 20px;
  color: white;
  background: transparent;
  border: 2px solid white;
  cursor: pointer;
  transition: all 400ms ease;
  box-shadow: 0 0px 0 white inset;
}
.outline-button:hover {
  box-shadow: 0 -50px 0 white inset;
  color: black;
}

@media screen and (max-width: 600px) {
  .landing-content {
    margin-top: 110px;
    margin-bottom: 70px;
  }
  .landing-content img {
    width: 200px;
  }
  .landing-content .landing-slogan {
    font-size: 32px;
  }
  .landing-content .outline-button {
    margin: 10px 0;
  }
}
/*======OTHER SECTIONS======*/
.content-block {
  margin: 30px 45px;
}
.content-block .title {
  font-size: 30px;
  font-weight: bold;
  display: inline-block;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #dcb184;
}
.content-block .content {
  font-size: 17px;
  font-weight: 300;
  margin: 19px 0;
}
.content-block .image-frame {
  position: relative;
  width: inherit;
  height: inherit;
  box-sizing: border-box;
}
.content-block .my-image {
  display: block;
  width: 420px;
  max-width: calc(100vw - 60px);
  position: relative;
}

/*======SECTION ABOUT ME======*/
.about-me-section {
  background: black;
  padding: 70px 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: white;
}

@media screen and (max-width: 1000px) {
  .about-me-section {
    flex-wrap: wrap;
  }

  .content-block .my-image {
    width: 500px;
  }
}
.content-about-me {
  width: 500px;
}

/*======SECTION OFFER AND CONTACT======*/
.my-info-section {
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.my-info-section::after {
  content: "";
  display: block;
  clear: both;
}

.half-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-basis: 50%;
  padding: 50px 0;
  float: left;
}
.half-section.half-section-stretch {
  flex-basis: 100%;
}
.half-section .content-block {
  margin-top: 0;
  margin-bottom: 0;
}

.offer-section {
  background: #0a0a0a;
}

.contact-section {
  background: #141414;
  padding-bottom: 15px;
}

.content-offer {
  max-width: 500px;
}
.content-offer ul {
  list-style-position: inside;
  padding: 0;
}

@media screen and (max-width: 1000px) {
  .my-info-section {
    flex-wrap: wrap;
  }

  .half-section {
    flex-basis: 100%;
  }

  .content-offer, .content-contact {
    width: 500px;
  }
}
@media screen and (max-width: 600px) {
  .content-offer, .content-contact {
    width: 100%;
  }

  .content-block {
    margin: 30px 30px;
  }
  .content-block .title {
    font-size: 24px;
  }

  .about-me-section {
    padding-top: 15px;
    padding-bottom: 40px;
  }
}
.contact-methods-half-section {
  float: left;
}
.contact-methods-half-section:nth-child(1) {
  margin-right: 36px;
}

.contact-methods::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (max-width: 1366px) {
  .contact-methods-half-section {
    float: none;
  }
}
.contact-method {
  margin-bottom: 36px;
  max-width: 270px;
}
.contact-method::after {
  content: "";
  display: block;
  clear: both;
}
.contact-method .flaticon {
  float: left;
  margin-top: 10px;
}
.contact-method .flaticon > span::before {
  font-size: 32px;
  color: inherit;
  margin: 0;
}
.contact-method .icontext {
  float: left;
  margin-left: 14px;
}
.contact-method .icontext span {
  display: block;
  max-width: 208px;
}
.contact-method .icontext .method-title {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
}
.contact-method .icontext .method-link {
  margin-top: 3px;
  line-height: 25px;
}

.aligned .method-link {
  height: 50px;
}

@media screen and (max-width: 1000px) {
  .contact-methods-half-section:nth-child(1) {
    margin-right: 0;
  }

  .contact-method {
    max-width: none;
  }
  .contact-method .icontext span {
    overflow: visible;
    max-width: calc(100vw - 140px);
    white-space: normal;
  }
}
.top-portfolio {
  background-color: #000000;
  background-image: url("../media/background_portfolio.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left bottom;
}
.top-portfolio::before {
  background-color: rgba(0, 0, 0, 0.4);
}

.portfolio-title {
  font-size: 50px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.body-portfolio___DISABLED___ .portfolio-title {
  color: black;
}

.gallery-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 200px;
}
.gallery-container::after {
  content: "";
  display: block;
  clear: both;
}
.gallery-container.full-width .photo-column {
  width: calc(100% - 31px*2);
  max-width: calc(600px - 31px*2);
}
.gallery-container.full-width .photo-column .photo-thumb {
  margin: 31px 0;
}

.photo-column {
  width: 372px;
  float: left;
  margin: 0 31px;
}

.photo-thumb {
  width: 100%;
  margin: 62px 0;
  cursor: pointer;
  box-shadow: 0 0 0 0 black, 0 0 0 0 transparent;
  transition: box-shadow 200ms ease;
}
.photo-thumb:hover {
  box-shadow: 0 0 0 14px black, 0 0 0 16px white;
}
.photo-thumb img {
  width: 100%;
  display: block;
}

.photo-view {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.photo-view.visible {
  opacity: 1;
  pointer-events: all;
}
.photo-view .photo-container {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  min-width: 120px;
  min-height: 120px;
  transition: all 600ms ease;
  background: black;
}
.photo-view .material-icons {
  font-size: 32px;
  color: white;
}
.photo-view .close {
  position: absolute;
  padding: 24px;
  top: 0;
  right: 0;
  cursor: pointer;
}
.photo-view .arrow {
  position: absolute;
  top: calc(50% - 40px);
  padding: 24px;
  cursor: pointer;
}
.photo-view .prev {
  left: 0;
}
.photo-view .next {
  right: 0;
}

.photo-container, .photo-container img {
  max-height: 90vh;
  max-width: calc(100vw - 144px);
}

.photo-child-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.photo-child-container::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  pointer-events: none;
  opacity: 0;
}

.loading .photo-child-container::after {
  opacity: 0.6;
  transition: opacity 500ms ease;
}

@media screen and (max-width: 800px) {
  .photo-container, .photo-container img {
    max-width: calc(800px - 24px * 4 - 32px * 2);
  }

  .photo-thumb:hover {
    box-shadow: none;
  }
}
@media screen and (max-width: calc(800px - 24px * 4 - 32px * 2)) {
  .photo-container, .photo-container img {
    max-width: 100vw;
  }
}
/*======LOADING CIRCLE======*/
.loading-circle {
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  background: transparent url(../media/loading.png) center/160px no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
  animation-name: rotate;
  animation-duration: 600ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  mix-blend-mode: lighten;
}

.loading .loading-circle {
  opacity: 1;
  transition: all 200ms ease 200ms;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.body-admin, .body-log-in {
  color: white;
}

.body-log-in .container {
  padding: 10px;
}

.body-admin .container {
  padding: 30px;
}
.body-admin .container section {
  margin-top: 60px;
}
.body-admin .container .form {
  margin: 15px 0;
}

.log-in-form {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.log-in-form input[type=password] {
  width: 100%;
}
.log-in-form #return {
  float: left;
}

/*======PHOTOS======*/
.settings-gallery > div, .settings-gallery > span {
  padding-top: 15px;
  padding-bottom: 15px;
}
.settings-gallery > span {
  display: block;
}

.settings-gallery-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.settings-photo {
  width: 180px;
  height: 180px;
  margin: 10px;
  background-color: #dcb184;
  transition: all 300ms ease;
  cursor: pointer;
}
.settings-photo.selected .settings-photo-thumbnail {
  transform: scale(0.75);
  background-color: #0a0a0a;
}

.settings-photo-thumbnail {
  width: 100%;
  height: 100%;
  background-color: black;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 300ms ease;
}

@media screen and (max-width: 700px) {
  .settings-gallery-list {
    margin-left: -2px;
    margin-right: -2px;
  }

  .settings-photo {
    cursor: default;
    width: calc(((100vw - 2 * 30px) - 2*3 * 2px) / 3);
    height: calc(((100vw - 2 * 30px) - 2*3 * 2px) / 3);
    margin: 2px;
  }
}
.settings-gallery-buttons {
  background: black;
  position: sticky;
  z-index: 9000;
  top: 0;
}

#settings-files {
  max-width: 100%;
  box-sizing: border-box;
}

/*======TEXTS======*/
.edit-texts::after {
  content: "";
  display: block;
  clear: both;
}

.edit-texts-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 -30px;
}

.settings-text {
  margin: 30px;
}
.settings-text h3 {
  margin-bottom: 20px;
  text-transform: capitalize;
}
.settings-text span {
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.settings-text textarea, .settings-text input {
  margin-bottom: 10px;
}
.settings-text textarea {
  width: 300px;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}

.settings-texts-buttons {
  background: black;
  padding: 15px;
  margin-top: 40px;
  position: sticky;
  bottom: 0;
}
.settings-texts-buttons::after {
  content: "";
  display: block;
  clear: both;
}

#save-texts-button {
  float: right;
}
