@supports (display: grid) {
  .grid {
    display: grid;
    grid-gap: 0vw;
    min-height: 100vh;
    padding: 0vw;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows:
      minmax(10vh, auto)
      minmax(10vh, auto)
      minmax(10vh, auto)
      minmax(10vh, auto)
      minmax(10vh, auto)
      minmax(10vh, auto)
      minmax(10vh, auto);
    grid-template-areas:
      "q1 q1"
      "q11 q11"
      "t1 t1"
      "t11 t11"
      "f2 f2"
      "footerright footerright"
      "footerleft footerleft ";
  }

  @media screen and (min-width: 1px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows:
        minmax(10vh, auto)
        minmax(10vh, auto)
        minmax(0.1vh, auto)
        minmax(0.1vh, auto)
        minmax(10vh, auto)
        minmax(10vh, auto)
        minmax(10vh, auto);
      grid-template-areas:
        "q1 q1"
        "q11 q11"
        "t1 t1"
        "t11 t11"
        "f2 f2"
        "footerright footerright"
        "footerleft footerleft ";
    }
  }
  @media screen and (min-width: 810px) {
    .grid {
      grid-template-columns: repeat(11, 1fr);
      grid-template-rows:
        minmax(10vh, auto)
        minmax(0.1vh, auto)
        minmax(10vh, auto)
        minmax(10vh, auto);
      grid-template-areas:
        "r0 q1 q1 q1 q1 q1 q1 q11 q11 q11 r00 "
        "r0 t1 t1 t1 t1 t1 t11 t11 t11 t11 r00 "
        "r000 r000 r000 f2 f2 f2 f2 f2 r0000 r0000 r0000 "
        "footerleft footerleft footerleft footerleft footerleft footerright footerright footerright footerright footerright footerright";
    }
  }

  @media screen and (min-width: 1400px) {
    .grid {
      grid-template-columns: repeat(11, 1fr);
      grid-template-rows:
        minmax(10vh, auto)
        minmax(0.1vh, auto)
        minmax(10vh, auto)
        minmax(10vh, auto);
      grid-template-areas:
        "r0 q1 q1 q1 q1 q1 q1 q11 q11 q11 r00 "
        "r0 t1 t1 t1 t1 t1 t11 t11 t11 t11 r00 "
        "r000 r000 r000 f2 f2 f2 f2 f2 r0000 r0000 r0000 "
        "footerleft footerleft footerleft footerleft footerleft footerright footerright footerright footerright footerright footerright";
    }
  }

  .grid .item:nth-child(1) {
    grid-area: r0;
  }
  .grid .item:nth-child(2) {
    grid-area: q1;
  }
  .grid .item:nth-child(3) {
    grid-area: q11;
  }
  .grid .item:nth-child(4) {
    grid-area: r00;
  }
  .grid .item:nth-child(5) {
    grid-area: t1;
  }
  .grid .item:nth-child(6) {
    grid-area: t11;
  }
  .grid .item:nth-child(7) {
    grid-area: r000;
  }
  .grid .item:nth-child(8) {
    grid-area: f2;
  }
  .grid .item:nth-child(9) {
    grid-area: r0000;
  }
  .grid .item:nth-child(10) {
    grid-area: footerright;
  }
  .grid .item:nth-child(11) {
    grid-area: footerleft;
  }
}

/* flexbox fallback is the browser does not support display:grid */
@supports not (display: grid) {
  .grid {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    min-height: 100vh;
    padding: 0.75vw;
  }

  .grid .item {
    min-height: 20vh;
    margin: 0.75vw;
  }

  .grid .item:nth-child(1) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(100% - 1.5vw);
    height: 50vh;
  }
  .grid .item:nth-child(2) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(100% - 1.5vw);
    height: 30vh;
  }
  .grid .item:nth-child(3) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(100% - 1.5vw);
  }
  .grid .item:nth-child(4) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(100% - 1.5vw);
  }
  .grid .item:nth-child(5) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(50% - 1.5vw);
  }
  .grid .item:nth-child(6) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(50% - 1.5vw);
  }
  .grid .item:nth-child(7) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(50% - 1.5vw);
  }
  .grid .item:nth-child(8) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(50% - 1.5vw);
  }
  .grid .item:nth-child(9) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(50% - 1.5vw);
  }
  .grid .item:nth-child(10) {
    -webkit-box-flex: 0;
    flex: 0 1 calc(50% - 1.5vw);
  }

  @media screen and (min-width: 750px) {
    .grid .item:nth-child(1) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(60% - 1.5vw);
    }
    .grid .item:nth-child(2) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(40% - 1.5vw);
      height: 50vh;
    }
  }

  @media screen and (min-width: 1400px) {
    .grid .item:nth-child(1) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(60% - 1.5vw);
    }
    .grid .item:nth-child(2) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(40% - 1.5vw);
    }
    .grid .item:nth-child(3) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(50% - 1.5vw);
    }
    .grid .item:nth-child(4) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(50% - 1.5vw);
    }
    .grid .item:nth-child(5) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(25% - 1.5vw);
    }
    .grid .item:nth-child(6) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(25% - 1.5vw);
    }
    .grid .item:nth-child(7) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(25% - 1.5vw);
    }
    .grid .item:nth-child(8) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(25% - 1.5vw);
    }
    .grid .item:nth-child(9) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(25% - 1.5vw);
    }
    .grid .item:nth-child(10) {
      -webkit-box-flex: 0;
      flex: 0 1 calc(25% - 1.5vw);
    }
  }
}

/* Styles, just for fun */

*,
*:before,
*:after {
  box-sizing: border-box;
  text-decoration: none !important;
}

@supports not (display: grid) {
  body:before {
    content: "Sorry, seems like your browser doesn't support display: grid. Below is the flexbox fallback.";
    display: block;
    padding: 2rem 2rem 0;
    color: #ffffff;
    text-align: center;
  }
}

@media screen and (min-width: 1px) {
  body {
    overflow-x: hidden;
  }
  .grid .item {
    position: relative;
    background-position: left bottom;
    background-size: 150% 100%;
    -webkit-transition: background 500ms, outline 500ms;
    transition: background 500ms, outline 500ms;
    background-position: top left;
    outline: transparent;
    background-color: #ffffff;
  }

  .grid .item:hover,
  .grid .item:focus {
    background-position: top right;
  }

  .grid .item:focus {
    outline: 1px solid #ff8000;
  }
  .boxwhite {
    background-color: #ffffff;
  }
  .boxconstrucaotext {
    height: 100%;
    width: 100%;
    padding-top: 10vh;
    padding-bottom: 1vh;
    padding-left: 10vw;
    padding-right: 10vw;
    text-align: center;
    font-size: 18px;
    color: rgb(0, 0, 0);
  }
  .boxconstrucaoimage {
    height: auto;
    width: 100%;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 10vw;
    padding-right: 10vw;
    margin: auto;
    text-align: center;
    position: relative;
  }
  .imgconstrucao {
    height: auto;
    width: 100%;
    padding-top: 0vh;
    padding-bottom: 0vh;
    padding-left: 0vw;
    padding-right: 0vw;
    position: relative;
  }
  svg#freepik_stories-under-construction:not(.animated) .animable {
    opacity: 0;
  }
  svg#freepik_stories-under-construction.animated #freepik--Plants--inject-35 {
    animation: 1.5s Infinite linear floating;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Device--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Sign--inject-35 {
    animation: 1.5s Infinite linear heartbeat;
    animation-delay: 0.5s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Cone--inject-35 {
    animation: 1.5s Infinite linear heartbeat;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Lamp--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 1.5s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Shade--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 0s;
  }
  @keyframes floating {
    0% {
      opacity: 1;
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }
  @keyframes wind {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(1deg);
    }
    75% {
      transform: rotate(-1deg);
    }
  }
  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    10% {
      transform: scale(1.1);
    }
    30% {
      transform: scale(1);
    }
    40% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    60% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
  .boxform {
    height: auto;
    width: 100%;
    color: #000000;
    padding-top: 0vh;
    padding-bottom: 0vh;
    padding-left: 0vw;
    padding-right: 0vw;
    text-align: justify;
  }
  .siz1 {
    height: auto;
    width: 100%;
    padding-bottom: 10px;
  }
  .siz2 {
    height: auto;
    width: 100%;
    padding-bottom: 10px;
  }
  .siz3 {
    height: auto;
    width: 100%;
    padding-bottom: 10px;
  }
  .siz4 {
    height: auto;
    width: 100%;
    padding-bottom: 10px;
  }

  .formcenter {
    text-align: center;
  }

  .redondo {
    max-width: 200px;
    min-width: 150px;
    height: 40px;
    margin: 0 auto;
    margin-top: 20px;
  }
  .boxgroupflex {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: justify;
  }
  .boxgroup {
    height: 100%;
    width: 50%;
  }
  .boxgrouptext {
    height: 100%;
    width: 100%;
    padding-top: 2vh;
    padding-bottom: 2vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: center;
    position: relative;
    top: 30%;
  }

  .boxfooterright {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #000000 0%, #000000 100%);
    padding-top: 8vh;
    padding-bottom: 1vh;
    padding-left: 2vw;
    padding-right: 2vw;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }

  .boxfooterleft {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #000000 0%, #000000 100%);
    padding-top: 4vh;
    padding-bottom: 2vh;
    padding-left: 8vw;
    padding-right: 8vw;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }
}

@media screen and (min-width: 810px) {
  .grid .item {
    position: relative;
    background-position: left bottom;
    background-size: 150% 100%;
    -webkit-transition: background 500ms, outline 500ms;
    transition: background 500ms, outline 500ms;
    background-position: top left;
    outline: transparent;
    background-color: #ffffff;
  }
  .grid .item:hover,
  .grid .item:focus {
    background-position: top right;
  }
  .grid .item:focus {
    outline: 1px solid #ff8000;
  }
  .boxwhite {
    background-color: #ffffff;
  }
  .boxconstrucaotext {
    height: 100%;
    width: 100%;
    padding-top: 8vh;
    padding-bottom: 2vh;
    padding-left: 0vw;
    padding-right: 2vw;
    text-align: left;
    font-size: 18px;
    color: rgb(0, 0, 0);
  }
  .boxconstrucaoimage {
    height: auto;
    width: 100%;
    padding-top: 6vh;
    padding-bottom: 1vh;
    padding-left: 0vw;
    padding-right: 0vw;
    margin: auto;
    text-align: center;
    position: relative;
  }
  .imgconstrucao {
    height: auto;
    width: 50%;
    padding-top: 0vh;
    padding-bottom: 0vh;
    padding-left: 0vw;
    padding-right: 0vw;
    position: relative;
  }
  svg#freepik_stories-under-construction:not(.animated) .animable {
    opacity: 0;
  }
  svg#freepik_stories-under-construction.animated #freepik--Plants--inject-35 {
    animation: 1.5s Infinite linear floating;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Device--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Sign--inject-35 {
    animation: 1.5s Infinite linear heartbeat;
    animation-delay: 0.5s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Cone--inject-35 {
    animation: 1.5s Infinite linear heartbeat;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Lamp--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 1.5s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Shade--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 0s;
  }
  @keyframes floating {
    0% {
      opacity: 1;
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }
  @keyframes wind {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(1deg);
    }
    75% {
      transform: rotate(-1deg);
    }
  }
  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    10% {
      transform: scale(1.1);
    }
    30% {
      transform: scale(1);
    }
    40% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    60% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
  .boxform {
    height: auto;
    width: 100%;
    color: #000000;
    padding-top: 0vh;
    padding-bottom: 0vh;
    padding-left: 0vw;
    padding-right: 0vw;
    text-align: justify;
  }
  .siz1 {
    height: auto;
    width: 73.1%;
  }
  .siz2 {
    height: auto;
    width: 25%;
  }
  .siz3 {
    height: auto;
    width: 59.1%;
  }
  .siz4 {
    height: auto;
    width: 39%;
  }
  .formcenter {
    text-align: center;
  }
  .redondo {
    max-width: 200px;
    min-width: 150px;
    height: 40px;
    margin: 0 auto;
    margin-top: 20px;
  }
  .boxgroupflex {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: justify;
  }
  .boxgroup {
    height: 100%;
    width: 50%;
  }
  .boxgrouptext {
    height: 100%;
    width: 100%;
    padding-top: 2vh;
    padding-bottom: 2vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: center;
    position: relative;
    top: 30%;
  }
  .boxfooterright {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #000000 0%, #000000 100%);
    padding-top: 8vh;
    padding-bottom: 2vh;
    padding-left: 0vw;
    padding-right: 8vw;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }
  .boxfooterleft {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #000000 0%, #000000 100%);
    padding-top: 6vh;
    padding-bottom: 2vh;
    padding-left: 10vw;
    padding-right: 0vw;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }
}

@media screen and (min-width: 1400px) {
  .grid .item {
    position: relative;
    background-position: left bottom;
    background-size: 150% 100%;
    -webkit-transition: background 500ms, outline 500ms;
    transition: background 500ms, outline 500ms;
    background-position: top left;
    outline: transparent;
    background-color: #ffffff;
  }
  .grid .item:hover,
  .grid .item:focus {
    background-position: top right;
  }
  .grid .item:focus {
    outline: 1px solid #ff8000;
  }
  .boxwhite {
    background-color: #ffffff;
  }
  .boxconstrucaotext {
    height: 100%;
    width: 100%;
    padding-top: 8vh;
    padding-bottom: 2vh;
    padding-left: 0vw;
    padding-right: 2vw;
    text-align: left;
    font-size: 18px;
    color: rgb(0, 0, 0);
  }
  .boxconstrucaoimage {
    height: auto;
    width: 100%;
    padding-top: 6vh;
    padding-bottom: 1vh;
    padding-left: 0vw;
    padding-right: 0vw;
    margin: auto;
    text-align: center;
    position: relative;
  }
  .imgconstrucao {
    height: auto;
    width: 50%;
    padding-top: 0vh;
    padding-bottom: 0vh;
    padding-left: 0vw;
    padding-right: 0vw;
    position: relative;
  }
  svg#freepik_stories-under-construction:not(.animated) .animable {
    opacity: 0;
  }
  svg#freepik_stories-under-construction.animated #freepik--Plants--inject-35 {
    animation: 1.5s Infinite linear floating;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Device--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Sign--inject-35 {
    animation: 1.5s Infinite linear heartbeat;
    animation-delay: 0.5s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Cone--inject-35 {
    animation: 1.5s Infinite linear heartbeat;
    animation-delay: 0s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Lamp--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 1.5s;
  }
  svg#freepik_stories-under-construction.animated #freepik--Shade--inject-35 {
    animation: 1.5s Infinite linear wind;
    animation-delay: 0s;
  }
  @keyframes floating {
    0% {
      opacity: 1;
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }
  @keyframes wind {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(1deg);
    }
    75% {
      transform: rotate(-1deg);
    }
  }
  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    10% {
      transform: scale(1.1);
    }
    30% {
      transform: scale(1);
    }
    40% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    60% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
  .boxform {
    height: auto;
    width: 100%;
    color: #000000;
    padding-top: 0vh;
    padding-bottom: 0vh;
    padding-left: 0vw;
    padding-right: 0vw;
    text-align: justify;
  }
  .siz1 {
    height: auto;
    width: 73.1%;
  }
  .siz2 {
    height: auto;
    width: 26%;
  }
  .siz3 {
    height: auto;
    width: 59.1%;
  }
  .siz4 {
    height: auto;
    width: 40%;
  }
  .formcenter {
    text-align: center;
  }
  .redondo {
    max-width: 200px;
    min-width: 150px;
    height: 40px;
    margin: 0 auto;
    margin-top: 20px;
  }
  .boxgroupflex {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: justify;
  }
  .boxgroup {
    height: 100%;
    width: 50%;
  }
  .boxgrouptext {
    height: 100%;
    width: 100%;
    padding-top: 2vh;
    padding-bottom: 2vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: center;
    position: relative;
    top: 30%;
  }
  .boxfooterright {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #000000 0%, #000000 100%);
    padding-top: 8vh;
    padding-bottom: 2vh;
    padding-left: 0vw;
    padding-right: 10vw;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }
  .boxfooterleft {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to top, #000000 0%, #000000 100%);
    padding-top: 6vh;
    padding-bottom: 2vh;
    padding-left: 10vw;
    padding-right: 0vw;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 18px;
  }
}
