/* Theming */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: "Radimszky-Light";
  src: url("Radimszky-Light.woff2") format('woff2'),
    url("Radimszky-Light.woff") format('woff');
}

@font-face {
  font-family: "Radimszky-LightItalic";
  src: url("Radimszky-LightItalic.woff2") format('woff2'),
    url("Radimszky-LightItalic.woff") format('woff');
}

:root {
  --textColor: #000000;
  --buttonColor: #0a0a0a;
  --mainColor: #F5F0EF;
  --secondaryColor: #FFFFFF;
  --highlightColor1: #64a0ff;
  --highlightColor2: #edffdf;
  --color1: #B8AFF9;
  --color2: #FCE594;
  --color3: #E2FC93;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--mainColor);
  font-family: "WorkSans", sans-serif;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Header */
.header {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 36px;
  align-items: center;
  height: 100px;
  background-color: none;
  position: sticky;
  top: 0;
  width: 100%;
}

/* Logo */
.logoCont {
  grid-column: 2/8;
  position: absolute;
  top: 0px;
  padding: 40px 0px;
}

.logo {
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: var(--buttonColor);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
  display: inline-block;
}

/*.logo:hover {
  text-decoration: none;
  position: relative;
  color: var(--textColor);
}*/

.logo::before {
  content: "";
  position: absolute;
  width: 0%;
  opacity: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--highlightColor1);
  visibility: hidden;
  transition: width 0.3s ease-in-out, opacity 0.5s ease;
}

/*.logo:hover::before {
  visibility: visible;
  width: 100%;
  opacity: 1;
}*/

/* Nav menu */
.nav {
  display: grid;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  color: var(--buttonColor);
  width: 100%;
  position: absolute;
  background-color: transparent;
  overflow: visible;
  grid-column: 7/13;
  justify-content: flex-end;
  
}

 .menu li {
   float: left;
   background-color: transparent;
  margin-top: 0px;
    margin-bottom: 0px;
   
 }

.menu a {
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: var(--buttonColor);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 36px;
  margin-right: 0px;
  
  
  

}


/*.menu a:hover {
  text-decoration: none;
  position: relative;
  color: var(--textColor);
}*/

.menu a:before {
  content: "";
  position: absolute;
  width: 0%;
  opacity: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--highlightColor1);
  visibility: hidden;
  transition: width 0.3s ease-in-out, opacity 0.5s ease;
}


/*.menu a:hover:before {
  visibility: visible;
  width: 100%;
  opacity: 1;
}

/* Menu Icon */

/*.hamb {
  grid-column: 11/13;
  cursor: pointer;
  float: right;
  padding: 40px 20px;
  position: absolute;
  top: 7px;
}


.hamb-line {
  background: var(--buttonColor);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;
}

.hamb-line::before,
.hamb-line::after {
  background: var(--buttonColor);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;


}

.hamb-line::before {
  top: 5px;
}

.hamb-line::after {
  top: -5px;
}


.side-menu {
  display: none;
}*/

/* Toggle menu icon */

.side-menu:checked~nav {
  max-height: 120px;
}

.side-menu:checked~.hamb .hamb-line {
  background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;

}

.side-menu:checked~.hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}


.content {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 36px;
  min-width: auto;
  max-width: auto;
  background-color: var(--mainColor);
  margin-top: 4em;
  margin-bottom: 100px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 36px;
  min-width: auto;
  max-width: auto;
  margin-top: -100px;
  margin-bottom: 3em;
  padding-top: 8em;
  padding-bottom: 3em;
  background-color: var(--highlightColor2);

}

/* textsyles main pages  - mobile */
.mainTitle {
  grid-column: 2/13;
  margin-bottom: 0em;
  margin-top: 0;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  font-size: 44px;
  line-height: 50px;
  color: var(--textColor);
}

.mainTitleInfo {
  grid-column: 2/13;
  margin-bottom: 0em;
  margin-top: 0;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  font-size: 44px;
  line-height: 50px;
  color: var(--textColor);
}

.mainTitleItalic {
  font-family: "Radimszky-LightItalic";
}
.mainTitleItalicInfo {
  font-family: "Radimszky-LightItalic";
}

.mainTitleAlt {
  grid-column: 2/13;
  margin-bottom: 0em;
  margin-top: 0;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  font-size: 44px;
  line-height: 50px;
  color: var(--textColor);
}

.mainTitleAltInfo {
grid-column: 2/13;
  margin-bottom: 0em;
  margin-top: 0;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  font-size: 44px;
  line-height: 50px;
  color: var(--textColor);
}

.mainTitleAltLink {
  grid-column: 2/13;
  margin-bottom: 0em;
  margin-top: 0;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-color: var(--highlightColor1);
  font-size: 44px;
  line-height: 50px;
  color: var(--textColor);
}


.mainBodytext {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 32px;
  margin-top: 1.5em;
  color: var(--textColor);
}

.mainBodytextLink {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 32px;
  color: var(--textColor);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--highlightColor1);
}


/* textsyles case study pages  - mobile */
.title {
  grid-column: 2/13;
  margin-top: 0.3em;
  margin-bottom: 0.7em;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  font-size: 42px;
  line-height: 42px;
  color: var(--textColor);
}


.chapterTitle {
  grid-column: 2/13;
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  font-size: 33px;
  line-height: 33px;
  margin-top: 0.5em;
  margin-bottom: 0em;
  color: var(--textColor);
}


.subtitle {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-style: bold;
  font-size: 18px;
  line-height: 32px;
  margin-top: 0.5em;
  margin-bottom: -1em;
  color: var(--textColor);
}

.bodytext {
  grid-column: 2/13;
  font-size: 18px;
  line-height: 32px;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: narmal;
  color: var(--textColor);
  margin-bottom: 0em;

}

.caption {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  font-size: 13px;
  line-height: 23px;
  color: var(--textColor);
  margin-bottom: 3em;
}

.intro {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 32px;
  color: var(--text);
  margin-bottom: 1em;
}

.resp {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 32px;
  color: var(--text);
  margin-bottom: 1em;
}

.respBold{
  font-weight: 600;
}

.role {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 32px;
  color: var(--text);
  margin-bottom: 1em;
}
.roleBold {
  font-weight: 600;
}

.year {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 32px;
  color: var(--text);
  margin-bottom: 1em;
}

.yearBold {
  font-weight: 600;
}


li {
  grid-column: 2/13;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: var(--textColor);
  margin-top: -1em;
}

mark {
  background-color: var(--highlightColor2);
  color: #32372F;
  font-size: inherit;
}



/* scroll up button */

#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: transparent;
  /* Set a background color */
  color: var(--buttonColor);
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /* Some padding */
  font-size: 32px;
  font-family: "Work Sans", sans-serif;
}



html {
  scroll-behavior: smooth;
}

controls {
  visibility: on hover;
}

.imgSmall {
  grid-column: 2/13;
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.imgLarge {
  grid-column: 2/13;
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.imgMax {
  grid-column: 1/14;
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

.sideButtons {
  display: flex;
  flex-direction: column;
  grid-column: 2/13;
  justify-content: space-between;

}

.button {
  max-width: 100%;
  height: auto;
  text-decoration: none;

}

#lo {
  margin-top: 9em;
  max-width: fit-content;
}

#page {
  margin-top: 15em;
  max-width: fit-content;

}
.buttonImg {
  width: auto;
  height: auto;
  fill: var(--highlightColor1);
  position: absolute;
  cursor: pointer;
  z-index: 0;
}

.buttonText {
  font-size: 92px;
  line-height: 92px;
  color: var(--textColor);
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  visibility: visible;
  opacity: 100%;
  position: relative;
  z-index: 1;
}

footer{
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 36px;
  align-items: top;
  height: 200px;
  background-color: none;
  position: relative;
  top: 0;
  width: 100%;
}

.prev{
grid-column: 5/7;
text-decoration: none;
font-family: "Work Sans", sans-serif;
font-size: 18px;
line-height: 22px;
color: var(--buttonColor);
}

.prev:hover {
  color: var(--highlightColor1);
}

.next {
grid-column: 9/11;
text-decoration: none;
font-family: "Work Sans", sans-serif;
font-size: 18px;
line-height: 22px;
color: var(--buttonColor);
}

.next:hover{
color: var(--highlightColor1);
}

/* RESPONSIVENESS _______________________________________________________TABLET_______________________800px________________*/

@media (min-width: 800px) {


  .nav {
    grid-column: 9/13;
    justify-self: end;
    justify-content: space-between;
    max-height: revert;
    float: right;
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    overflow: visible;
    top: revert;
  }

  ul {
    text-decoration: none;
    background-color: transparent;
  }

  .menu li {
    float: left;
    background-color: transparent;
  }

  .menu a {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    color: var(--buttonColor);
    -webkit-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
    display: inline-block;
    margin-left: 36px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
  }

    /*.menu a:hover {
    text-decoration: none;
    position: relative;
    color: var(--textColor);
  }*/

  .menu a:before {
    content: "";
    position: absolute;
    width: 0%;
    opacity: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--highlightColor1);
    visibility: hidden;
    transition: width 0.3s ease-in-out, opacity 0.5s ease;
  }

    /*.menu a:hover:before {
    visibility: visible;
    width: 100%;
    opacity: 1;
  }*/


  .hamb {
    display: none;
  }


  /*  ___________________________textsyles Main pages - tablet */


  .mainTitle {
    font-size: clamp(42px, 8vw, 58px);
    line-height: clamp(42px, 8vw, 58px);
  }

  .mainTitleInfo {
  font-size: clamp(42px, 8vw, 84px);
  line-height: clamp(42px, 8vw, 84px);
  }

  .mainTitleAlt {
    font-size: clamp(42px, 8vw, 58px);
    line-height: clamp(42px, 8vw, 58px);
  }
  .mainTitleAltInfo {
    font-size: clamp(42px, 8vw, 84px);
    line-height: clamp(42px, 8vw, 84px);
  }

  .mainTitleAltLink {
    font-size: clamp(42px, 8vw, 58px);
    line-height: clamp(42px, 8vw, 58px);
  }



  /* ________________________________textsyles case study pages -tablet */
  .title {
    grid-column: 2/13;
    font-size: clamp(42px, 8vw, 84px);
    line-height: clamp(42px, 8vw, 84px);

  }

  .chapterTitle {
    grid-column: 2/13;
    font-size: clamp(33px, 4vw, 42px);
    line-height: clamp(33px, 4vw, 42px);
  }

  .subtitle {
    grid-column: 2/13;
  }


  .bodytext {
    grid-column: 2/13;
  }

  .caption {
    grid-column: 2/13;
  }

  .intro {
    grid-column: 2/13;
  }

 .resp {
   grid-column: 2/13;
 }

 .role {
   grid-column: 2/13;
 }

 .year {
   grid-column: 2/13;
 }

  li {
    grid-column: 4/11;
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--textColor);
  }

 

}

/* RESPONSIVENESS _____________________________________________________WEB_______________________1200px________________*/

@media (min-width: 1200px) {

  /* Logo */
.logoCont {
  grid-column: 2/8;
  position: absolute;
  top: 0px;
  padding: 40px 0px;
}

.logo {
  text-decoration: none;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: var(--buttonColor);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
  display: inline-block;
}

.logo:hover {
  text-decoration: none;
  position: relative;
  color: var(--textColor);
}

.logo::before {
  content: "";
  position: absolute;
  width: 0%;
  opacity: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--highlightColor1);
  visibility: hidden;
  transition: width 0.3s ease-in-out, opacity 0.5s ease;
}

.logo:hover::before {
  visibility: visible;
  width: 100%;
  opacity: 1;
}



.menu a:hover {
    text-decoration: none;
    position: relative;
    color: var(--textColor);
  }


.menu a:hover:before {
    visibility: visible;
    width: 100%;
    opacity: 1;
  }

/* textsyles main pages  - web */

.mainTitle:hover {
  text-decoration: none;
  color: var(--highlightColor1);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.2s ease-in-out;
}

.mainTitleInfo:hover {
  text-decoration: none;
  color: var(--highlightColor1);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.2s ease-in-out;
}

.mainTitleAltLink:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--highlightColor1);
  color: var(--highlightColor1);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.2s ease-in-out;
}

.mainBodytextLink:hover {
  color: var(--highlightColor1);
}

/* textsyles case study pages  - web */

  .title {
    grid-column: 2/8;
    font-size: 84px;
    line-height: 84px;
  }

  .chapterTitle {
    grid-column: 5/10;
    font-size: 42px;
    line-height: 42px;
  }

  .subtitle {
    grid-column: 5/10;
  }


  .bodytext {
    grid-column: 5/10;
  }

  .caption {
    grid-column: 5/10;
  }

  .intro {
    grid-column: 2/8 ;
  }

 .resp {
   grid-column: 8/11;
 }

  .role {
    grid-column: 11/13 ;
  }

 .year {
   grid-column: 11/13;
 }


  li {
    grid-column: 4/11;
  }




 /* scroll up button -hover */
#myBtn:hover {
  background-color: none;
  color: var(--textColor);
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

  .imgSmall {
    grid-column: 5/10;
    max-width: 100%;
    height: auto;

  }

  .imgLarge {
    grid-column: 2/13;
    max-width: 100%;
    height: auto;
  }

  .imgMax {
    grid-column: 1/14;
    max-width: 100%;
    height: auto;
  }

.sideButtons{
  display: flex;
  flex-direction: row;
  grid-column: 2/13;
  justify-content: space-between;

}

.button {
  max-width: 100%;
  height: auto;
  text-decoration: none;

}

#lo{
margin-top: 9em;
max-width: fit-content;
}

#page{
  margin-top: 15em;
  max-width: fit-content;
 
}


.buttonImg {
  width: auto;
  height: auto;
  fill: var(--buttonColor);
  position: absolute;
  cursor: pointer;
  z-index: 0;
}

.buttonText {
  font-size: 92px;
  line-height: 92px;
  color: var(--textColor);
  font-family: "Radimszky-Light";
  font-weight: normal;
  font-style: normal;
  visibility: hidden;
  opacity: 0;
  position: relative;
  z-index: 1;
}

.button:hover svg {
  fill: var(--highlightColor1);
}

.button:hover span {
  visibility: visible;
  opacity: 1;
}
}