/* SECTION 00: Globals */

*::after {
    box-sizing: border-box;
}

html {
    color-scheme: dark light;
}

body {
    font-family: system-ui;
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
}

/* SECTION 01: Main structure */

section {
    padding-block: .5rem;
    width: 100%;
    display: inline-block;
}

.contentWrapper {
    max-width: 50rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

.headWrapper {
    top:0px;
    left:0px;
}

.headWrapper, #footWrapper {
    max-width: 90rem;
    padding-inline: 1rem;
    margin-inline: auto;
    display: inline-block;
}

header {
    font-size: 5rem;
    display: inline-block;
    vertical-align: middle;
    font-family: "Teko", sans-serif;
}

.headWrapper p {
    display: inline-block;
    font-family: "Teko", sans-serif;
    vertical-align: super;
}

.dummy {
    padding-block: 7rem;
}

/* SECTION 02: Content */

.pageImage img {
    inline-size: 30rem;
    padding-inline: 1rem;
    right: 5px;
    bottom: 0px;
    display: block;
    position: fixed;
    z-index: -1;
}


.mask {
    background: linear-gradient(rgb(94, 13, 13), grey);
    z-index: -1;
    height: 600px;
    width: 600px;
    right: 0px;
    bottom: 30px;
    position: fixed;
    -webkit-mask-image: url(src/img/condenser.webp);
    mask-image: url(src/img/condenser.webp);
    mask-repeat: no-repeat;
    mask-size: 60rem;
    mask-mode: luminance;
    }

.maskTarget {

}

#logo {
    inline-size: 7rem;
    padding-inline: 2rem;
    vertical-align: middle;
}

.navShape {  
    background: rgb(94, 13, 13);
    position: fixed;
    height: 3rem;
    clip-path: polygon(0 0, 100% 0%, 100% 80%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% 80%, 0 100%);
    margin-bottom: -10vw;
    padding-block-end: 8rem;
    z-index: 2;
}

.footShape {
    background: #ffffff;
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 2rem;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
    margin-top: -10vw;
    padding-block-start: 3.5rem;
    padding-block-end: 5rem;
    z-index: 1;
    text-align: right;
}

.footImg {
    inline-size: 5rem;
    padding-inline: 2rem;
    vertical-align: middle;
    display: inline-block;
}
    
.financing {
    left: 0px;
    position: absolute;
    display: block;
    margin-left: 0px;
    padding-bottom: 0px;
}


.dummy {
}

/* SECTION 03: Navigation - Code Snippet */

#menuToggle, #headMenuToggle
{
  display: block;
  /* You can also use relative/absolute here if you want to stay on the top */
  position: fixed;
  top: 13rem;
  left: 50px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a, #headMenuToggle a
{
  text-decoration: none;
  color: #ffffff;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover, #headMenuToggle a:hover
{
  color: tomato;
}


#menuToggle input, #headMenuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span, #headMenuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #ffffff;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child, #headMenuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2), #headMenuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span, #headMenuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #ffffff;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3), #headMenuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2), #headMenuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu, #headMenu
{
  position: absolute;
  max-width: 200px;
  width: 100vw;
  max-height: 100vh;
  height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #134783;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li, #headMenu li
{
  padding: 10px 0;
  font-size: 22px;
  
}

#menu li label, #headMenu li label
{
  cursor: pointer;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul, #headMenuToggle input:checked
{
  transform: none;
}

/* SECTION 04: Fonts */

/*  
 *  <weight>: Use a value from 300 to 700
 *  <uniquifier>: Use a unique and descriptive class name
 */
    

.teko-logoFont> {
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/* SECTION 05: Responsiveness */

@media only screen and (min-width: 1101px){
    #mobileNav {
        display:none;
    }

    #menuToggle {
        display: fixed;
    }
}

@media only screen and (max-width: 1100px){
    .footShape, .mask {
        display: none;
    }

    .navShape {
        height: .25rem;
        margin-bottom: -5vw;
        padding-block-end: 5rem;
    }

    .contentWrapper {
 
    }

    #logo {
        inline-size: 3rem;
        padding-inline: .5rem;
    }

    header {
        font-size: 3rem;
    }

    .headWrapper p {
        font-size: .25rem;
    }

    .dummy {
        padding-block-end: .5rem;
    }

    #menuToggle{
        display: none;
    }

    #mobileNav {
        top: 0px;
        right: 25px;
        inline-size: 5rem;
        display: block;
        position: absolute;
    }
}

