body{
  margin: 0 !important;
  color: #000000;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  text-align: right;
}

a{
  color: #000000;
  text-decoration: none;
}

#mail{
  text-decoration: underline;
}

.main{
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.background{
  height: 100%;
  width: 55%;
  display: flex;
  background-image: url("../img/drive-vision-bg-racetrack-v2.jpg");
  background-origin: content-box;
  background-size: cover;
  background-position: center left;
  position: absolute;
  top: 0px;
}

.diagonal{
  height: 100%;
  width: 60vw;
  position: relative;
  right: -42vw;
  transform: skewX(25deg);
  background-color: #ffffff;
  overflow: hidden;
}

.diagonal span{
  position: absolute;
  visibility: hidden;
}

.diagonal:nth-child(2){
  position: relative;
  background-color: #ffffff;
  height: 100%;
  width: 100%;
}

.diagonal:nth-child(3){
  position: absolute;
  background-color: #36f5cc;
  height: 130px;
  width: 5%;
  transform: skewX(-0deg);
  bottom: 10vh;
  left: 0px;
}

.diagonal:nth-child(4){
  visibility: hidden;
}

.logo{
  visibility: visible;
  position: absolute;
  top: 35px;
  right: 40px;
}

.content{
  width: 100%;
  height: 100%;
  position: absolute;
  text-align: right;
  display: block;
  right: 19vh;
  top: 30vh;
  line-height: 140%;
  font-size: 105%;
}

.about{
  right: 0vh;
  top: 0vh;
  position: absolute;
}

.about-alt{
  visibility: hidden;
  padding-left: 49vw;
  top: 0vh;
  right: 0vh;
  position: absolute;
}

.contact{
  position: absolute;
  right: 19vh;
  bottom: 10vh;
  display: flex;
  font-size: 120%;
  line-height: 160%;
  text-align: left;
}

#address{
  padding-right: 8vw;
}


@media screen and (max-width: 1450px) {
  .background{
    width: 65%
  }
  .content{
    right: 13vh;
    font-size: 100%;
  }
  .contact{
    right:13vh;
    font-size: 110%;
  }
  #address{
    padding-right: 5vw;
  }
  .diagonal:nth-child(3){
    height: 115px;
  }
}
@media screen and (max-width: 1200px) {
  .content{
    right: 8vh;
    font-size: 95%;
  }
  .about{
    visibility: hidden;
  }
  .about-alt{
    visibility: visible;
  }
  .contact{
    right: 8vh;
    font-size: 100%;
    bottom: 10vh;
  }
  #address{
    padding-right: 2vw;
  }
  .diagonal:nth-child(3){
    height: 100px;
  }
}
@media screen and (max-width: 1000px){
  .content{
    right: 5vh;
  }
  #address{
    padding-right: 1vw;
  }
  .contact{
    right: 5vh;
    font-size: 95%;
  }
  .diagonal:nth-child(3){
    height: 80px;
    bottom: 11vh;
  }
}
@media screen and (max-width: 900px) {
  body{
    margin: 0px !important;
  }
  .about-alt{
    padding-left: 43vw;
  }
  .contact{
    right: 6vh;
    bottom: 7vh;
    display: block;
    font-size: 105%;
    font-weight: bold;
  }
  .content{
    top: 28vh;
  }
  .logo{
    top: 50px;
    right: 40px;
  }
  .main{
    height: 100vh;
    width: 100vw;
  }
  .background{
    top: 0vh;
    height: 100%;
    width: 100%;
  }
  .diagonal:nth-child(2){
    right: -34vw;
    width: 200vw;
  }
  .diagonal:nth-child(3){
    height: 210px;
    bottom: 6vh;
    width: 3%;
  }
  #address{
    padding-right:0vw;
  }
}
@media screen and (max-width: 650px) {
  .about-alt{
    visibility: hidden;
  }
  .contact{
    font-size: 125%;
    display: block;
    top: 52%;
    right: 10%;
    text-align: right;
  }
  #address{
    padding-right: 0vw;
  }
  .diagonal{
    visibility: hidden
  }
  .background{
    width:100%;
    height: calc(40% - 1px);
    top: 12%;
    background-image: url("../img/drive-vision-bg-racetrack.jpg");
  }
  .logo{
    left: calc(50% - 90px);
    top: 1.5vh;
    width: 180px;
  }
}

@media screen and (min-height: 900px){
  .background{
    height: calc(85% - 2px);
    width: 75%;
  }
  .diagonal:first-child{
    height: 85%;
  }
  .diagonal:nth-child(2){
    height: 85%;
  }
  .diagonal:nth-child(3){
    height: 18%;
    bottom: 2px;
  }
  .content{
    top: 24vh;
    font-size: 115%;
  }
  .about-alt{
    visibility: visible;
    padding-left: 58vw;
  }
  .contact{
    right: 10vh;
    bottom: 2%;
    font-size: 130%;
    font-weight: bold;
    display: flex;
  }
  #address{
    text-align: left;
    padding-right: 6vw;
  }
}
@media screen and (min-height: 900px) and (max-width: 600px){
  .about-alt{
    visibility: hidden;
  }
}
@media screen and (min-height: 900px) and (min-width: 1201px){
  .about-alt{
    visibility: hidden;
  }
  .content{
    font-size: 105%;
  }
}
@media screen and (min-height: 800px) and (min-width: 1400px){
  .contact{
    bottom: 22vh;
  }
  .diagonal:nth-child(3){
    height: 130px;
    bottom: 7vh;
  }
}
@media screen and (min-height: 800px) and (min-width: 1600px) {
  .content {
    font-size: 130%;
  }
}
@media only screen and (max-height: 600px) and (min-aspect-ratio: 1/1){
  .about{
    visibility: hidden;
  }
  .about-alt{
    visibility: hidden;
  }
  .background{
    top: 0px;
    height: calc(100% - 1px);
  }
  .diagonal{
    visibility: visible !important;
  }
  .diagonal:nth-child(2){
    right: -42vw;
  }
  .diagonal:nth-child(3){
    visibility: hidden !important;
  }
  .contact{
    bottom: 5vh;
    top: unset;
  }
  .logo{
    height: 20%;
    right: 3vw;
    top: 3vh;
    left: unset;
  }
}
