* {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: black;

  /* Standard syntax (most modern browsers) */
  font-variant-ligatures: common-ligatures;

  /* Older Firefox */
  -moz-font-feature-settings: "liga", "clig";
  /* Older WebKit (Safari, Chrome) */
  -webkit-font-feature-settings: "liga", "clig";
  /* Older IE */
  -ms-font-feature-settings: "liga", "clig";
  /* Standard syntax (for future-proofing) */
  font-feature-settings: "liga", "clig";

/* no ligatures
  font-variant-ligatures: none;
  -moz-font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "hlig" 0;
  -webkit-font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "hlig" 0;
  -ms-font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "hlig" 0;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "hlig" 0;
*/

}


body, html {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans", serif;
  font-size: clamp(1rem, .95vw, 1rem);
  line-height: clamp(1.4rem, 1.3vw, 1.6rem);
  font-weight: 400;
  box-sizing: border-box;
}

a:link,
a:visited {
  color: black;
}

.container {
  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  z-index: 0;
}

#current-bg, #next-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease-in-out;
}

#current-bg {
    z-index: 1;
}

#next-bg {
    z-index: 0;
}

#scroll-left-bg, #scroll-right-bg {
  z-index: 3;
}

.bg-slider {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}

/* page arrangements */
.page {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  top: 100%;
  background: #fff;
  box-sizing: border-box;
  transition: top 1.5s ease;
  overflow-y: auto;
  z-index: 4;
}

.page#pTabletler, .page#pIsler {
  overflow-y: hidden;
}

.page.active {
  top: 0;
  z-index: 5;
}

.content.pIletisim {
  display: block;
  padding-left: 2rem;
}

.page:not(.active) {
  top: 100%;
  z-index: 4;
}

.page #pTabletler {
  background-color: #333;
  display: flex;
  align-items: center;
}

.page #pIsler {
  background-color: #fff;
  display: flex;
  align-items: center;
}

/*** page organization ***********/
.page-container {
  display: flex;
  width: 100%;
  position: relative;
}

.column-1>* {
  flex: 1;
}

#pTabletler .page-container, #pIsler .page-container {
  height: calc(100vh - 50px);
}

.column-0 {
  display: flex;
  flex: 2;
}

.column-1 {
  display: flex;
  flex-direction: row;
  flex: 4;
}

#pEtkinlikler .column-0 {
  flex: 1;
}

#pEtkinlikler .column-1 {
  flex: 5;
}

.menuLabel {
  display: none;
}

.content {
  max-width: 500px;
  padding: 1rem;
}

.content-header {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

#pDanismanlik .content-header{
  padding-top: .5rem;
  padding-bottom: .3rem;
}

.scroll-container {
  display: flex;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
  gap: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.tablet-container {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.tc-p {
  align-items: center;
  padding-right: 4rem
}



.tablet-container img {
  height: 99%;
  object-fit: contain;
  width: 99%;
}

img:not([src]) {
  visibility: hidden;
}

.the-work-description {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.8rem, 0.9vw, 1rem);
}

.the-work-description b {
  margin-right: 3px;
}

.tight-y {
  margin-left: -0.2em;
  display: inline-block;
}

.worksTitle {
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(0.9rem, 1vw, 1rem);
  position: fixed;
  color: #EC008C;
  display: none;
  margin-right: 2rem;
  line-height: 1.4;
}

.slider-buttons {
  display: block;
  position: absolute;
  z-index: 10;
  width: 50px;
  cursor: pointer;
  align-self: center;
}

.scroll-left {
  left: 20px;
  z-index: 11;
}

.scroll-right {
  right: 20px;
}

.works-slider-buttons {
  display: block;
  cursor: pointer;
  z-index: 10;
  width: 30px;
  align-self: center;
}

/*** Navigation ******************/
.bottom-nav {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
  max-height: 70px;
}

.bottom-nav-left {
  display: flex;
  justify-content: flex-start;
  margin-left: 1rem;
  margin-bottom: 1rem;
  flex: 1;
  height: 100%;
  width: auto;
}

.bottom-nav-left img {
  min-width: 200px;
  max-width: 250px;
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
}

.bottom-nav-middle {
  flex: 1;
}

.bottom-nav-right {
  display: flex;
  justify-content: space-between;
  margin-right: 20px;
  flex: 4;
  color: #000;
}

.bottom-nav button {
  background: none;
  border: none;
  padding: .2rem 1rem 0 1rem;
  bottom: 0;
  cursor: pointer;
  font-family: "IBM Plex Sans", serif;
  font-size: clamp(0.8rem, 1.1vw, 1.4rem);
  font-weight: 500;
  text-transform: uppercase;
}

.bottom-nav button:hover {
  color: #EC008C;
}

.subMenu {
  position: fixed;
  display: none;
  flex-direction: column;
  right: 0;
  bottom: 0;
  padding-left: 0.3rem;
  padding-right: 0.2rem;
  width: 300px;
  background-color: #000;
  color: #fff;
  height: 90%;
  justify-content: center;
  z-index: 5;
}

.subMenu button {
  background: none;
  border: none;
  color: white;
  bottom: 1px;
  cursor: pointer;
  font-family: "IBM Plex Sans", serif;
  font-size: clamp(0.8rem, 1vw, 1.18rem);
  font-weight: 500;
  line-height: clamp(1.3rem, 1.3vw, 1.6rem);
  text-align: left;
  text-transform: uppercase;
}

#hamburger-menu {
  display: none;
  position: relative;
  z-index: 5;
  border: none;
  cursor: pointer;
  text-align: center;
  padding-top: 1.5rem;
}

#hamburger-menu img {
  width: 2.5rem;
}

.show-on-mobile-only {
  display: none;
}

/*** responsivness ******************/
/*** responsivness ******************/
.bottom-nav-right.mobile {
  display: flex;
}

/*** responsivness 858px ******************
/*** responsivness 858px ******************/
/*** responsivness 858px ******************/
@media (max-width: 858px) {
  html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    font-size: clamp(1rem, .95vw, 1.2rem);
  }

  #current-bg, #next-bg {
    background-size: cover;
  }

  .page {
    transition: none;
  }

  .page-container {
    position: relative;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .column-1 {
    flex-direction: column;
  }


  .column-0 {
    flex: 0;
  }

  .tc-p{
    align-items: flex-start;
    flex-direction: column;
    padding-right: unset;
  }

  .tc-p .content:first-child {
    padding-bottom: 0;
  }
  .tc-p .content:nth-child(2) {
    padding-top: 0;
  }
  .tc-p .content:first-child p:nth-child(2) {
    margin-bottom: 0;
  }



  .tablet-container {
    display: flex;
    padding: 0;
  }

  .tablet-container.tbl img {
    padding: 1rem;
  }

  #pEtkinlikler .column-0 {
    flex: 0;
  }

  #pEtkinlikler .content:first-child {
    padding-bottom: 0;
  }
  #pEtkinlikler .content:nth-child(2) {
    padding-top: 0;
  }
  #pEtkinlikler .content:first-child p {
    margin-bottom: 0;
  }
  #pEtkinlikler .content:nth-child(2) p {
    margin-top: 0;
  }

  #islerContainer {
    padding: 1rem;
    width: initial
  }

  #scroll-container-pReferanslar .tablet-container {
    flex: 1;
  }

  .content {
    width: 90%;
    overflow-wrap: normal;
    padding-left: 1rem;
    padding-top: 0;
  }

  .scroll-container {
    overflow-x: unset;
  }

  #scroll-container-pReferanslar {
    flex-direction: column;
  }

  #scroll-container-pTabletler, #scroll-container-pIsler {
    overflow-x: auto;
  }

  #pReferanslar .content {
    //  padding-left: 1rem;
  }

  .content.pIletisim {
    /*position: fixed;*/
    padding-left: 1rem;
    top: 1rem;
  }

  .bottom-nav {
    top: 0;
    bottom: auto;
  }

  .bottom-nav button:not(#hamburger-menu) {
    color: #fff;
    font-family: "IBM Plex Sans", serif;
    font-weight: 500;
  }

  .bottom-nav-right {
    display: none;
    margin-right: 0.5em;
  }

  #hamburger-menu {
    display: block;
    z-index: 16;
    margin-top: -1rem
  }

  .bottom-nav button:hover {
    color: #EC008C;
  }

  .bottom-nav-right {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    bottom: 0;
    background-color: #000;
    color: #fff;
    left: 0;
    padding-left: 1rem;
    width: 100%;
    height: 100%;
    z-index: 12;
  }

  .bottom-nav-right button {
    font-size: clamp(1rem, 2rem, 2.5rem);
  }

  .slider-buttons.scroll-left, .slider-buttons.scroll-right {
    display: none;
    top: 50%;
  }

  #scroll-left-bg, #scroll-right-bg {
    display: none;
  }

  .subMenu {
    position: fixed;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    left: 0;
    bottom: 0;
    padding-left: 1rem;
    background-color: #000;
    color: #fff;
    z-index: 16;
    height: 100%;
    width: 100%;
  }

  .subMenu button {
    font-size: clamp(0.8rem, 4.5vw, 1.5rem);
    line-height: clamp(1rem, 5vw, 1.4rem);
  }

  .worksTitle {
    position: fixed;
    bottom: 0;
    text-align: left;
    margin-left: 1rem;
    justify-content: center
  }

  .the-work-description {
    left: 0;
    margin-left: 1rem;
    transform: none;
    line-height: 1.2rem;
    text-align: left;
  }

  .menuLabel {
    padding: 1em 0 0.4em 1rem;
    font-size: 2.5em;
    font-weight: 500;
    color: #EC008C;
    display: block;
  }

  .show-on-mobile-only {
    display: block;
  }
}

@media (max-width: 375px) {
  body {
    font-size: 14px;
  }

  .bottom-nav-right {
    padding-left: 1px;
  }

  .subMenu {
    padding-left: 0;
  }

  .subMenu button{
    line-height: clamp(1rem,3vw, 1.2rem);
  }
}

@media (max-width: 858px) and (orientation: landscape) {
  #dontRotate {
    display: flex;
    background-image: url(img/background_m/10_gazete-3-ilan_landscape.webp);
    background-size: cover;
    background-position: center;
    align-items: center;
    /* Vertical Centering */
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 58px;
    text-align: center;
  }

  .dontRotate {
    position: fixed;
    top: 65%;
    left: 50%;
    font-size: 2rem;
    line-height: 2.5rem;
    color: white;
    font-weight: bold;
    padding: 0 2rem;
    transform: translate(-50%, calc(-50% - 58px));
  }

#hamburger-menu {
  display:none;
}

.bottom-nav-left{
    pointer-events: none;
  }

}


/*** FONTFACE *******************************/
.ibm-plex-sans-thin {
  font-family: "IBM Plex Sans", serif;
  font-weight: 100;
  font-style: normal;
  top: 0;
}

.ibm-plex-sans-extralight {
  font-family: "IBM Plex Sans", serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-sans-light {
  font-family: "IBM Plex Sans", serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-sans-regular {
  font-family: "IBM Plex Sans", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-medium {
  font-family: "IBM Plex Sans", serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-sans-semibold {
  font-family: "IBM Plex Sans", serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-sans-bold {
  font-family: "IBM Plex Sans", serif;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-sans-black {
  font-family: "IBM Plex Sans", serif;
  font-weight: 900;
  font-style: normal;
}

.ibm-plex-sans-thin-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-sans-extralight-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-sans-light-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-sans-regular-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-sans-medium-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-sans-semibold-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-sans-bold-italic {
  font-family: "IBM Plex Sans", serif;
  font-weight: 700;
  font-style: italic;
}
