/* BODY

body {
  background:
    repeating-linear-gradient(180deg, transparent 0 19px, var(--clrb2) 19px 20px),
    linear-gradient(90deg, transparent 0 1000px, var(--clrb2) 1000px 1001px, transparent 1001px 1600px);
  background-size: 1600px 1000px;
} */





/* MAIN, HEADER, SECTION, FOOTER */

main,
header,
section,
footer {
  width: 60rem;
}

main {
  margin: 0 0 0 100rem;
}

header,
section,
footer {
  grid-template-columns: 42.5rem;
  grid-template-rows: auto;
}

header {
  padding: 2rem 0 0 0; /* t1 */
}

section {
  padding: 2rem 0 8rem 0; /* t1 b4 */
}

footer {
  contain-intrinsic-size: 12rem; /* 6 */
  height: 12rem; /* 6 */
  padding: 2rem 0 4rem 0; /* 1-3-2 */
}





/* TEXT */

p {
  font-size: 1.4rem;
  line-height: 2rem;
  margin: .49rem 0 -.49rem 0;
}





/* NAVIGATION */

nav.n1 {
  display: block;
}

li > a:focus::before,
li > a:hover::before {
  color: var(--clrb7);
  fill: var(--clrb7);

  display: inline-block;
  content: "\2192";
  width: 2rem;
  height: auto;
  margin: 0 0 0 -2rem;
}





/* SVG */

.svg1,
.svg2,
.svg3 {
  position: fixed;
  display: block;
  height: 4.8rem;
  margin: 0;
  padding: 0;
}

.svg1 {
  width: 4.8rem;
  bottom: 4rem;
  left: 4rem;
}

.svg2 {
  width: 4.8rem;
  bottom: 3.8rem;
  left: 8.6rem;
}

.svg3 {
  width: 6rem;
  bottom: 4rem;
  left: 4rem;
}

.i1,
.i2 {
  position: fixed;
  display: none;
  left: 26rem; /* 50 - 24 */
  width: 48rem;
  height: 24rem;
  margin: 0;
  padding: 0;

  fill: none;
  stroke-width: .025rem;
}

.i1 { top: 26rem; } /* 50 - 24 */
.i2 { top: 50rem; }

.g1 { stroke: var(--clrb3); }
.g2 { stroke: var(--clr210); }
.g3 { stroke: var(--clrb7); }

.photo { display: none; }





/* MACBOOK */

@media all and (max-width: 1441px) {
  main {
    margin: 0 0 0 90rem;
  }
}

/* IPHONE */

@media all and (max-width: 960px) { /*
  body { 
    background: repeating-linear-gradient(180deg, transparent 0 4.9vw, var(--clrb2) 4.9vw 5vw);
    background-size: 100vw 100vw;
  } */

  main,
  header,
  section,
  footer {
    width: 90vw;
  }

  main {
    margin: 0 5vw 0 5vw;
  }

  header,
  section,
  footer {
    grid-template-columns: 91vw;
    grid-template-rows: auto;
  }

  header {
    padding: 0 0 5vw 0;
  }
  
  section {
    padding: 0 0 25vw 0;
  }
  
  footer {
    contain-intrinsic-size: 60vw;
    height: 60vw;
    padding: 0 0 40vw 0;
  }




  nav.n1,
  li > a:focus::before,
  li > a:hover::before {
    display: none;
  }
  
  nav.n3 {
    background-color: var(--clr255);

    display: grid;
    position: relative;
    width: 100vw;
    height: 35vw;
    margin: 0 0 0 -5vw;
    padding: 5vw 5vw 25vw 5vw;
    z-index: 1000;

    grid-template-columns: 55vw 35vw;
    grid-template-rows: auto;
  }

  .mobile {
    background-color: var(--clr255);
    box-shadow: 0 0 0 .1vw var(--clr210);
    
    display: none;
    position: absolute;
    top: 15vw;
    left: 0;
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 25vw 5vw 20vw 5vw;
    z-index: 1000;

    grid-template-columns: auto;
    grid-template-rows: auto;
  }

  .show {
    display: grid;
  }

  .btn {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--clr15);

    text-align: right;

    width: 35vw;
    height: 5vw;
    margin: 0;
    padding: 0;
  }

  .btn > h1 {
    pointer-events: none;
  }

  li {
    height: 10vw;
    padding: 0;
  }





  h1, li {
    font-size: 6vw;
    line-height: 5vw;
    margin: .3vw 0 -.3vw 0;
  }

  h2, footer > p, p {
    font-size: 3vw;
    line-height: 5vw;
    margin: 1.41vw 0 -1.41vw 0;
  }





  .svg1,
  .svg2,
  .svg3 {
    position: absolute;
    height: 15vw;
  }

  .svg1 {
    width: 15vw;
    bottom: 5vw;
    left: 0;
  }
  
  .svg2 {
    width: 15vw;
    bottom: 4.5vw;
    left: 15vw;
  }

  .svg3 {
    width: 18.75vw;
    bottom: 5vw;
    left: 0;
  }

  .i1,
  .i2 {
    position: relative;
    display: block;
    top: auto;
    left: auto;
    width: 90vw;
    height: 45vw;
  }

  .i1 {
    margin-top: -5vw;
  }

  .i2 {
    margin-bottom: 25vw;
  }
}





/* ANIMATIONS */

.in0 { -webkit-animation: in0 4s ease-in-out; -moz-animation: in0 4s ease-in-out; animation: in0 4s ease-in-out; }
.in1 { -webkit-animation: in1 4s ease-in-out; -moz-animation: in1 4s ease-in-out; animation: in1 4s ease-in-out; }
.in2 { -webkit-animation: in2 4s ease-in-out; -moz-animation: in2 4s ease-in-out; animation: in2 4s ease-in-out; }
.in3 { -webkit-animation: in3 4s ease-in-out; -moz-animation: in3 4s ease-in-out; animation: in3 4s ease-in-out; }
.in4 { -webkit-animation: in4 4s ease-in-out; -moz-animation: in4 4s ease-in-out; animation: in4 4s ease-in-out; }
.in5 { -webkit-animation: in5 4s ease-in-out; -moz-animation: in5 4s ease-in-out; animation: in5 4s ease-in-out; }
.in6 { -webkit-animation: in6 4s ease-in-out; -moz-animation: in6 4s ease-in-out; animation: in6 4s ease-in-out; }
.in7 { -webkit-animation: in7 4s ease-in-out; -moz-animation: in7 4s ease-in-out; animation: in7 4s ease-in-out; }
.in8 { -webkit-animation: in8 4s ease-in-out; -moz-animation: in8 4s ease-in-out; animation: in8 4s ease-in-out; }
.in9 { -webkit-animation: in9 4s ease-in-out; -moz-animation: in9 4s ease-in-out; animation: in9 4s ease-in-out; }

@-webkit-keyframes in0 { 0%{opacity:0} 10%{opacity:0} 30%{opacity:1}; } /* 0.4-1.2s */
   @-moz-keyframes in0 { 0%{opacity:0} 10%{opacity:0} 30%{opacity:1}; }
        @keyframes in0 { 0%{opacity:0} 10%{opacity:0} 30%{opacity:1}; }

@-webkit-keyframes in1 { 0%{opacity:0} 15%{opacity:0} 35%{opacity:1}; } /* 0.6-1.4s */
   @-moz-keyframes in1 { 0%{opacity:0} 15%{opacity:0} 35%{opacity:1}; }
        @keyframes in1 { 0%{opacity:0} 15%{opacity:0} 35%{opacity:1}; }

@-webkit-keyframes in2 { 0%{opacity:0} 20%{opacity:0} 40%{opacity:1}; } /* 0.8-1.6s */
   @-moz-keyframes in2 { 0%{opacity:0} 20%{opacity:0} 40%{opacity:1}; }
        @keyframes in2 { 0%{opacity:0} 20%{opacity:0} 40%{opacity:1}; }

@-webkit-keyframes in3 { 0%{opacity:0} 25%{opacity:0} 45%{opacity:1}; } /* 1.0-1.8s */
   @-moz-keyframes in3 { 0%{opacity:0} 25%{opacity:0} 45%{opacity:1}; }
        @keyframes in3 { 0%{opacity:0} 25%{opacity:0} 45%{opacity:1}; }

@-webkit-keyframes in4 { 0%{opacity:0} 30%{opacity:0} 50%{opacity:1}; } /* 1.2-2.0s */
   @-moz-keyframes in4 { 0%{opacity:0} 30%{opacity:0} 50%{opacity:1}; }
        @keyframes in4 { 0%{opacity:0} 30%{opacity:0} 50%{opacity:1}; }

@-webkit-keyframes in5 { 0%{opacity:0} 35%{opacity:0} 55%{opacity:1}; } /* 1.4-2.2s */
   @-moz-keyframes in5 { 0%{opacity:0} 35%{opacity:0} 55%{opacity:1}; }
        @keyframes in5 { 0%{opacity:0} 35%{opacity:0} 55%{opacity:1}; }

@-webkit-keyframes in6 { 0%{opacity:0} 40%{opacity:0} 60%{opacity:1}; } /* 1.6-2.4s */
   @-moz-keyframes in6 { 0%{opacity:0} 40%{opacity:0} 60%{opacity:1}; }
        @keyframes in6 { 0%{opacity:0} 40%{opacity:0} 60%{opacity:1}; }

@-webkit-keyframes in7 { 0%{opacity:0} 50%{opacity:0} 70%{opacity:1}; }
   @-moz-keyframes in7 { 0%{opacity:0} 50%{opacity:0} 70%{opacity:1}; }
        @keyframes in7 { 0%{opacity:0} 50%{opacity:0} 70%{opacity:1}; }

@-webkit-keyframes in8 { 0%{opacity:0} 65%{opacity:0} 85%{opacity:1}; }
   @-moz-keyframes in8 { 0%{opacity:0} 65%{opacity:0} 85%{opacity:1}; }
        @keyframes in8 { 0%{opacity:0} 65%{opacity:0} 85%{opacity:1}; }

@-webkit-keyframes in9 { 0%{opacity:0} 80%{opacity:0} 100%{opacity:1}; }
   @-moz-keyframes in9 { 0%{opacity:0} 80%{opacity:0} 100%{opacity:1}; }
        @keyframes in9 { 0%{opacity:0} 80%{opacity:0} 100%{opacity:1}; }
