/* zalando-sans-semiexpanded-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans SemiExpanded';
  font-style: normal;
  font-weight: 400;
  src: url('zalando.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* syne-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Syne Mono';
  font-style: normal;
  font-weight: 400;
  src: url('syne-mono-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ballet-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ballet';
  font-style: normal;
  font-weight: 400;
  src: url('ballet-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body{
    background-color: #ECEBE7;
}


.menu_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ECEBE7;
    border: solid #030702;
    border-radius: 9px;
    position: relative;
    overflow: visible;
    height: 52px;
    min-height: 52px;
    line-height: normal;
    box-sizing: border-box;
}

.logo img{
    height: 69px;
    padding-top: 12px;
    margin-left: 5px;
    z-index: 2000;
}

.menu_links {
    position: relative;
}

.menu_links ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
}

.menu_links li {
    font-family: 'Zalando Sans SemiExpanded';
    font-weight: 600;
    font-size: larger;
    display: flex;
    align-items: center;
}

 /* menu link a's */
.home_nav {
    display: block;
    color: #030702;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
}

.home_nav:hover {
    background-color: #030702;
    color: #EFE9E6;
    transition-duration: 0.5s;
}

.me_nav {
    display: block;
    color: #030702;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
}

.me_nav:hover {
    background-color: #030702;
    color: #EFE9E6;
    transition-duration: 0.5s;
}


.portfolio_nav {
    display: block;
    color: #EFE9E6 !important;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
    background-color: #030702 !important;
}

/* hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #030702;
  padding: 14px 12px;
  margin: 0;
  cursor: pointer;
  align-self: center;

}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
  }

  .menu_links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ECEBE7;
    border-left: 1px solid #030702;
    border-right: 1px solid #030702;
    border-bottom: 1px solid #030702;
    border-top: none;
    border-radius: 0 0 9px 9px;
    height: 0;
    max-height: none;
    overflow: hidden;
    transition: height 0.3s ease;
    width: 100%;
    box-sizing: content-box;
  }

  .menu_links.active {
    height: 162px;

  }

  .menu_links ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .menu_links li {
    margin: 0;
    width: 100%;
  }

  .menu_links a {
    display: block;
    padding: 14px 24px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
}

h1 {
    font-family: 'Syne Mono';
    margin-top: 50px;
    text-align: center;
    margin-bottom: 55px;
}

/*archive folders list*/
.archive_folder_png {
    max-height: 49px;
    margin-top: 24px;
    margin-left: 24px;
    margin-bottom: 35px;
}

.archive_nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-family: 'Syne Mono';
    font-style: normal;
    font-weight: 500;
}

.folders {
    flex: 0.7;
    padding-left: 1.5em;
}

.folders ul {
    list-style: none;
    margin: 10px;
    padding: 10px;
    column-count: 1;
    column-gap: 2em;
    width: 100%;
}

.folders ul li {
    margin-bottom: 0.5em;
}

.folders ul li a:link, a:visited{
    text-decoration: none;
    color: #030702;
    border-style: solid;
    border-radius: 4px;
    border-width: 1px;
}

@media (min-width: 480px)
{

.archive_folder_png {
    max-height: 77px;
    margin-top: 55px;
    margin-left: 24px;
    margin-bottom: 42px;
}

.archive {
    font-family: 'Syne Mono';
    margin-top: -111px;
    margin-left: 60px;
}

.archive_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-family: 'Syne Mono';
    font-style: normal;
    font-weight: 500;

}

.archive_nav > div:first-child { /*folder image*/
    flex-shrink: 0;
    display: flex;
    align-items: center;

}

.folders {
    flex: 0.5;
    padding-left: 2em;
}

.folders ul {
    list-style: none;
    margin: 6%;
    padding: 6%;
    column-count: 2;
    column-gap: 2em;
    width: 100%;
}

.folders ul li a:link {
    text-decoration-color: #030702;
}
}

@media (min-width: 768px) {
  .folders ul {
    column-count: 3;
  }
}

@media (min-width: 1024px) {
  .folders ul {
    column-count: 4;
  }
}

.gallery-thumb {
  cursor: pointer;
}

/* open images in bigger */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    max-width: 90%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    list-style: none;
    padding: 0 10px;
}

.item {
    flex: 1 1 420px;
    max-width: 100%;
    box-sizing: border-box;
    font-size: medium;
    border-style: solid;
    border-radius: 4px;
    border-width: 1px;
    border-color: #292E28;
    padding: 12px;
}

@media (max-width: 480px) {
    .gallery {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
}

/*div items*/
.gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.descript {
    font-family: 'Syne Mono';
    font-style: normal;
    font-weight: 500;
    line-height: 0.6;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1em;
}

.descript .descript_left {
    flex: 1;
}
.descript .date {
    flex-shrink: 0;
    text-align: right;
    margin-right: 20px;
}

.title {
    font-family: 'Syne Mono';
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 600px) {
    .descript {
        line-height: 1.2;
    }

    .descript .title,
    .descript .medium,
    .descript .size,
    .descript .date {
        line-height: 1.2;
    }
}

footer {
  font-family: 'Zalando Sans SemiExpanded';
  font-style: normal;
  font-weight: 600;
  margin-left: 22px;
  margin-bottom: 72px;
    padding-top: 111px;
}

