:root {
  --color-bg-light: #F4EFE6;
  --color-primary-dark: #151235;
  --color-accent-blue: #717F9E;

  --text-color: #F4EFE6;
  --dark-text-color: #151235;
  --hover-color: #717F9E;
  
  --width-con: 1400px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  background-color: var(--color-bg-light);
  background-image: url("assets/vlnkamobilelightblue.svg");
  background-repeat: no-repeat;
  background-size: 55vh;
  background-position: top;

  font-family: "work-sans", sans-serif;
  font-weight: 100;
  line-height: 1.5;
  font-style: normal;
  color: var(--color-primary-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

main {
  flex-grow: 1;
  margin: 3em 2.5em;
}


/*-------------------HEADER-------------------------------------------------------------------------*/


header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--width-con);
}

.header-container {
  max-width: var(--width-con);
  margin-left: 3.7em;
  padding-left: 1em;
  padding-right: 2em;
}


.logo {
  width: 6em;
  height: auto;
  padding-left: 2.5em;
  padding-top: 1.5em;
}

.sipka {
  position: fixed;
  top: 1.7em;
  left: 1.7em;
  width: 2em;
  height: auto;
}


/*---------------------------------------OTHER_STUFF-----------------------------------------------------*/


section.not-done-yet {
  margin: 0 auto;
  padding-top: 8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  justify-items: center;

}

section.not-done-yet img {
  width: 6em;
  height: auto;
}

a,
a:active,
a:hover,
a:visited {
  color: inherit;
  text-decoration: none;
}

.copyright {
  padding-top: 0.5em;
}


/*----------------------NAVIGACE_MENU------------------------------------------------------------------*/
/*https://codepen.io/MohamedDine/pen/KwPaNXW*/


.burger-container {
  position: fixed;
  top: 1.7em;
  right: 1.7em;
  z-index: 1000;
  cursor: pointer;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

.burger-line {
  width: auto;
  height: 4px;
  border-radius: 2px;
  background-color: var(--color-accent-blue);
  transform-origin: center;
  transition: all 0.4s ease-in-out;
}

label.burger-container {
  z-index: 10000;
}

#burger-toggle {
  display: none;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent-blue) 85%); 
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  box-shadow: 0 4px 6px #0000001a;
  overflow-y: auto;
  padding-top: 100px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.nav-menu img {
  width: 2.5em;
  height: auto;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7em;
  background: var(--color-primary-dark, var(--color-accent-blue));
  backdrop-filter: blur(10px);
}

.nav-menu ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  list-style: none;
  flex-grow: 0;
  height: 100%;
  padding-top: 1em;
}

.nav-menu ul li {
  margin: 0 15px;
  border-bottom: 1px solid #ffffff1a;
}

.nav-menu ul li a {
  font-family: "tangier", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  color: var(--text-color);
  text-decoration: none;
  display: block;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.nav-menu ul li:last-child {
  margin-top: auto;
  padding-bottom: 15px;
  border-bottom: none;
  transition: none;
}

.nav-menu img[alt="Iluze"] {
  display: block;
}

.nav-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent-blue);
  transition: left 0.3s ease;
}

.nav-menu ul li a:hover::after {
  left: 0;
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(2) {
  opacity: 0;
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

#burger-toggle:checked ~ .nav-menu {
  right: 0;
}

.menu img{
  width: 2rem;
  height: auto;
}


/*---------------------PISMO-----------------------------------------------------------------------------*/


h1 {
  font-family: "tangier", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

h2 {
  font-family: "tangier", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 3rem;
  line-height: normal;
}


h3 {
  font-family: "tangier", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  line-height: normal;
}

p {
  font-family: "work-sans", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.email,
.phone{
  font-weight: 500;
}
section.page-title-section{
  text-align: left;
  padding-top: 1em;

}



.about-info {
  margin: 3em 0em 3em 0em;
  text-align: left;
  line-height: normal;
}

.tiraz {
  margin: 3em 0em 1em 0em;
  text-align: left;
}
.tiraz p {
  font-size: 0.6rem;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

/*----------------SLOGAN-------------------------------------------------------------------------------*/


section.slogan {
 margin: 5em 2.5em 5em 0em;
 margin-bottom: 15em;
}


/*----------------COMPOSER_CARDS----------------------------------------------------------------------*/


.composers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
}
section.composers-grid {
  position: relative;
  padding-bottom: 5rem;
  margin: 0;
}

.composer-card {
  text-align: left;
  color: var(--color-bg-light);
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
}

.composer-card h3 {
  color: var(--color-bg-light);
  margin-top: auto;
  line-height: 1.2;
  padding-left: 10%;
}

.composer-image img {
    width: 100%;
    height: auto;
    display: block;
}

.composer-name {
  position: absolute;
  bottom: 35px;
  left: 12px;
  pointer-events: none;
  max-width: 160px;
}


/*---------------VIDEO----------------------------------------------------------------------------------*/


.video-container {
  width: 100%;
  display: grid;
  gap: 1.5em;
}

.video {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  margin: 0 auto;
}
.video iframe{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 25px;
}

.video-info h3{
  text-align: left;
}


/*---------------FOOTER--------------------------------------------------------------------------------*/


footer {
  background-image: url("assets/gradientmobilecontact.svg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3em 1.7em;
}

.footer-container {
  margin: 0 auto;
  padding-left: 0.5em;
  padding-right: 0.5em;
  display: grid;
  gap: 40px;
  grid-template-areas:  "contact-info"  "contact-social" ;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
.contact-info{
  grid-area: contact-info;
}
.contact-social{
  grid-area: contact-social;
}

footer p {
  color: var(--color-bg-light);
  font-style: normal;
  line-height: 1.5;
}

footer h2 {
  color: var(--color-bg-light);
  margin-bottom: 20px;
}
.social-icons{
  display: flex;
  gap: 1em;
}

.social-icons img {
  width: 25px;
  height: 25px;
}


/*---------------LOADING---------------------------------------------------------------------------------*/
/*https://www.w3schools.com/howto/howto_css_modals.asp*/


.loading-screen{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 999999;
  overflow: hidden;

  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-screen img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;  
}

.loading-picture {
  width: 100vw;
  height: 100vh;
  display: block;
}



/*------------------------MEDIA-----------------------------------------------------------------------*/



@media (min-width: 766px) {

  .composers-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5em;
    padding: 0px;
    .nav-menu {
      width: 250px;
    }
  }
 

  footer {
  background-image: url("assets/gradientdesktopcontact.svg");
  padding: 3em 4em;
 }
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    display: flex;
    gap: 40px;
    padding: 0;
  }

  .contact-info {
    text-align: right;
  }

  body {
    background-image: url(assets/vlnkadesktoplightblue.svg);
    background-position: 0px 50px;
    background-size: 100vw;
  }
  main {
    margin: 3em 4em;
  }

  .slider {
  visibility: hidden;
}
  .slider-track {
  display: contents;
}
  input {
  visibility: hidden;
}


  .burger-container {
    top: 2.7em;
    right: 4em;
}
  .sipka {
    left: 4em;
    top: 3em;
  }
  .logo {
  width: 10em;
  padding-left: 4em;
  padding-top: 3em;
}
  section.page-title-section {
    padding-top: 2em;
    padding-left: 3em;
  }
  .video-container {
    grid-auto-flow: column;
    gap: 4em;
    padding-bottom: 8.5em;
  }
}




@media (max-width: 766px) {
  main {
    margin: 2em;
  }

  section.slogan {
    margin: 2em 0em 11em 0.2em;
  }

  .composer-card {
    padding: 0;
    display: flex;
    flex: 0 0 calc(50% - 7px);
  }
  .composers-grid {
    display: block;
    overflow: hidden;
    padding: 0;
  }

  section.not-done-yet {
    padding-top: 4rem;
  }

  body {
    background-size: 65vh;
  }

  /*-------------------THE_SLIDER_THING------------------------------------------------------------------*/
/*https://codepen.io/batuhanbas/pen/LYGZQeg*/

#slideImg:checked ~ .composer-card {
  padding: 0;
  transition: .1s ease-in;
}

.composer-card .img {
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
}

#slideImg:checked ~ .composer-card .img {
 z-index: 99;
 transition: .3s .2s ease-in;
}

.img img {
  height: 100%;
  width: 100%;
  cursor: pointer;
}

#slide_1:checked ~ .slider-track {
  transform: translateX(0);
}
#slide_2:checked ~ .slider-track {
  transform: translateX(calc(-100% - 13px));
}

.composer-image {
  opacity: 1;
}

#slide_1:checked ~ .composer-card .content_1,
#slide_2:checked ~ .composer-card .content_2 {
  opacity: 1;
  margin-left: -50;
  z-index: 100;
  transition-delay: .3s;
}

.composer-image .text {
  text-align: justify;
}

.slider {
  position: absolute;
  left: 50%;
  bottom: 0.5em;
  transform: translateX(-50%);
  z-index: 10;
}

#slideImg:checked ~ .slider {
  display: none;
}

.slider .slide {
  position: relative;
  height: 10px;
  width: 50px;
  background: var(--color-accent-blue);
  border-radius: 5px;
  display: inline-flex;
  margin: 0 5px;
  cursor: pointer;
}

.slider .slide:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: 100%;
  width: -100%;
  background: var(--color-primary-dark);
  border-radius: 10px;
  transition: width 0.4s ease;
}

#slide_1:checked ~ .slider .slide_1:before,
#slide_2:checked ~ .slider .slide_2:before {
  transform: scaleX(1);
  width: 100%;
}

.slider-track {
  display: flex;
  width: 100%;
  gap: 13px;
  transition: transform .6s cubic-bezier(0.25, 1, 0.25, 1);
}

input {
  display: none;
}

}


/*----------------OTHER_MEDIA--------------------------------------------------------------------------*/


@media (max-width: 450px) {
  body {
    background-size: 55vh;
  }
}


@media (min-width: 922px) {
  .nav-menu {
    width: 350px;
  }

  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 3rem;
  }
  h3 {
    font-size: 2.5rem;
  }

  footer {
  background-image: url("assets/gradientdesktopcontact.svg");
 }

  .slogan h1{
    text-align: right;
  }

  .slider {
  visibility: hidden;
}
  input {
  visibility: hidden;
}

} 

@media (min-width: 1200px) {
  .nav-menu {
    width: 500px;
  }

  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 3.5rem;
  }
 h3 {
    font-size: 3rem;
  }

    footer {
  background-image: url("assets/gradientdesktopcontact.svg");
 }

  .slogan h1{
    text-align: right;
  }
  
  .slider {
  visibility: hidden;
}
  input {
  visibility: hidden;
}

}