/* CSS Document */
/* css reset -------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 15px;
  font: inherit;
  color: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

html { height: 101%; font-family: 'Helvetica', sans-serif; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; } 
table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; } 
  
p, li { font-size: 0.9rem; line-height: 1.5rem; }
  
h1 {font-size:1.5em; font-weight: bold; line-height: 120%; margin: 30px; }
h2 {font-size:1em; font-weight: bold; line-height: 110%; }

#body {
  min-height:100%;
  height:100%;
  width: 100%;
  position: absolute;
  top: 0px;
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-family: 'Nanum Gothic', sans-serif;
  text-align: left;
}

:root {
  --background-dark: #2F2C2D;
  --background-light: #E6E7E8;
  --highlight-red: #d23a39;
  --highlight-white: #cecece; 
  --top-bar-fixed: 3.5rem;
}




/* HEADER N MENU ================================================== */
#header-logo {
  padding-top: 1rem;
  & img {
    display: block;
    margin: 0 auto;
  }
}
#header-menu {
  position: sticky;
  z-index: 900;   
  top:0;
  width:auto;
  padding-top: 1.4rem;
  background-color: #ffffff;
  height: var(--top-bar-fixed);  
  box-shadow: var(--background-dark) 0px 10px 10px -10px;

  & ul {
    position: relative;
    width:fit-content;
    display: flex;
    margin:0 auto;
    & li {
      padding: 0 1rem;
      align-self: center; 
      & a {
        color: #2F2C2D;
        font-size: 1.0rem;
        line-height: 1.5em;
        font-family: 'Advent', Tahoma;
        font-weight: bold;
        -moz-transition: all 0.5s;
        -webkit-transition: all 0.5s;
        transition: all 0.5s;
      }
      &:hover a {color: var(--highlight-red);}
     }
  }
}

/*add icons to social media and stuff !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
#header-icons {
  position: fixed;
  top: 2rem;
  right: 0.5rem;
  & a {
    display: block;
    position: relative;
    height: 3rem;
    width: 3rem;
    padding: 0.5rem 0.5rem 0 0.5rem;
      -moz-transition: all 0.5s;
      -webkit-transition: all 0.5s;
      transition: all 0.5s;
  }
  & a:last-of-type {
    top: 1rem;
    padding: 0.5rem 0.65rem 0 0.65rem;
  }
  & a:hover {
    padding: 0rem 0rem 0rem 0rem;
  }
}

#header-langswitch {
  padding-right: 1rem;
  width: 2.5rem; 
  top: 24px;
  right: 0px;	
}



/* SECTIONS ================================================== */
.section {
  width: 100%;
  min-width: 20rem;
  scroll-margin-top: var(--top-bar-fixed); 
  padding: 3rem 15%;
  &.white {background-color: #ffffff;}   
  &.grey  {background-color: var(--background-light);}
  &.black {background-color: var(--background-dark);}
  & > div {
    max-width: 80rem;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}


/*@media (min-width: 701px) and (max-width: 900px) {*/
@media (max-width: 900px) {
  .section {
    padding: 2rem 10%;
    & > div{
      flex-direction: column;
    }
  }
}
@media (max-width: 500px) {
  .section {
    padding: 2rem;
  }
}

/* intro splash screen  ------------------------------------------ */
div#content-splash {
  & img {
    width: 80%;
    display: block;
    margin:0 auto;
  }
}



/* warsztat  ---------------------------------------------------- */
div#content-warsztat div { 
  & > div:nth-child(1) {
    padding-right: 2rem;
    & p { 
      color: var(--background-light);
      text-align: justify;
    }
  }
  & > div:nth-child(2) {
    padding-left: 2rem; 
    flex-direction: column;
    border-left: 1px solid var(--background-light);
    align-items: baseline;
    & p {
      width: max-content; 
      color: var(--highlight-red);
      font-size: 1.2rem;
      line-height: 2.3rem;
      & span {
        font-size: 1.5em;
        vertical-align:middle;
        padding-right:0.5em;
      }
    }
    & p:nth-child(4) {
      margin-top:1rem;
    }
    & span.season-hours {
      color: var(--highlight-white);
      font-size: 0.8em;
      line-height: 1.3em;
      padding-left: 3em;
      display: block;
    }
  }
}

@media (max-width: 900px) {
  div#content-warsztat div {
    & > div {
      padding: 0 !important;
      padding-bottom: 2rem !important;
    }
    & > div:nth-child(2) {
      padding-top: 2rem !important;
      border-left: none;
      border-top: 1px solid var(--background-light);
    }
  }
}




/* oferta  ----------------------------------------------------- */
div#content-oferta div {
  & ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    column-gap: 2rem;
    row-gap: 2rem;
    justify-items: stretch;
    & li {
      text-align: center;
      display: flex;
      flex-direction: column;
    }
    & span.material-symbols-outlined {
      color: var(--highlight-red);
      font-size: 2.5rem;
    }
  }
}

@media (max-width: 900px) {
  div#content-oferta div {
    & ul {
      grid-template-columns: 1fr 1fr;
    }
  }
}



/* kontakt  ---------------------------------------------------- */
div#content-kontakt {
  background: linear-gradient(0deg, var(--background-dark) 25%, var(--background-light) 25%,   var(--background-light) 75%, var(--background-dark) 75%);

  & > div {
    justify-content:space-evenly; 
    & div:nth-child(1) {
      & p {
        font-size: 1.1em;
        line-height: 3em;
        width: max-content;
        color: var(--highlight-red);
        & span {
          vertical-align: middle;
          font-size: 1.3em;
        }
      }
    }
    & div:nth-child(2) {
      width: 49%;
      color: var(--highlight-red);
      border: var(--background-light) solid 10px;
    }
  }
}   
  
@media (max-width: 900px) {
  div#content-kontakt {
    background: var(--background-dark);
    & > div div:nth-child(1) {
      display: flex;
      flex-direction: row; 
      flex-wrap: wrap;
      justify-content: space-evenly;
      & p span {
        padding-right:0.5em;
      }
    }
    & > div div:nth-child(2) {
      width: 100%;
      border: none;
    }
  }
}








