/* Ipad portait */

@media only screen and (min-width: 700px) and (max-device-width: 1200px) and (orientation: portrait) {

  :root {
    --canvas-height:60vh;
  }

  p {font-size: 3.5rem;}

  h1 {font-size: 4rem;}

  html {
    overflow: auto;
  }
  

  .section2 {
    padding: 1%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
    grid-column-gap: 1%;
    grid-template-areas:
      "a2 a2"
      "b2 c2";
    justify-items: center;
    align-items: center;
  }
  .contacts3 {
    /* grid-area: d2; */
    display: none;
}
  .section1 {
    padding: 1%;
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 1%;
    grid-template-areas: "a b c";
  }

  .skills_extended,
  .skills_concise {
    padding: 1%;
    display: grid;
    grid-column-gap: 0;
    grid-row-gap: 0;
    grid-template-rows: 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr;
    grid-template-columns: 1fr;
    grid-template-areas:
      "a_top"
      "a"
      "b_top"
      "b"
      "c_top"
      "c";
  }
}

/* mobile portrait */

@media only screen and (max-device-width: 768px) and (orientation: portrait) {

  :root {
    --canvas-height:60vh;
  }

  p {font-size: 3.3rem;}

   .progressText {
    text-align: center;
    font-size: 30px;
  }

  h3 {
    font-size: 30px;
  }
  h2 {
    font-size: 30px;
    padding: 1%;
  }
  h1 {
    font-size: 7.5rem;
  }
  .progressText B {
    font-weight: normal;
  }
  #one,
  #two,
  #three {
    padding-left: 5%;
    padding-right: 5%;
  }
  .progressText {
    font-size: 25px;
  }

  .contacts3 {
    /* grid-area: d2; */
    display: none;
}

  .section2 {
    padding: 1%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
    grid-column-gap: 1%;
    grid-template-areas:
      "c2"
      "b2"; 
    justify-items: center;
    align-items: center;
  }

  .skills_extended,
  .skills_concise {
    padding: 1%;
    display: grid;
    grid-column-gap: 0;
    grid-row-gap: 0;
    grid-template-rows: 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr;
    grid-template-columns: 1fr;
    grid-template-areas:
      "a_top"
      "a"
      "b_top"
      "b"
      "c_top"
      "c";
  }

  
.toggleWrapper { 
  top: 3%;
}
}

/* Mobile landscape */

@media only screen and (max-device-width: 900px) and (orientation: landscape) {
  :root {
    --canvas-height:30vh;
  }

  b{font-size: 1.2rem;}
  p {
    font-size: 1.5rem;
  }
  .main {
    margin:5%;
    margin-top:0;
  }
  html {
    overflow: auto;
  }
  h1 {
    font-size: 4vh;
  }

  .progressText {
    text-align: center;
    font-size: 12px;
  }

  h3 {
    font-size: 17px;
  }
  h2 {
    font-size: 2rem
  }

  .barWrapper {
    margin-top: -2vh;
}

.skills_extended,
.skills_concise {
  grid-row-gap: 4%;
}

.Portfollio {
  width:70%;
  margin: 0 auto;
}

}

/* IPAD LANDSCAPE*/

@media only screen and (min-device-width: 900px) and (max-device-width: 1600px) and (orientation: landscape) {

  p {
    font-size: 2.5rem;
  }

  h1 {font-size: 3rem;}

  html {
    overflow: auto;
  }  

  .barWrapper {
    margin-top: -2vh;
}
.main {
  margin:5%;
  margin-top:0;
}
.skills_extended,
.skills_concise {
  grid-row-gap: 4%;
}

}


