h2{
  font-family: sans-serif;
  font-weight: lighter;
  font-size: 35px;
}

#backgroundImg{
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -100;
}


.grid{
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 50px;
}



.info{
  width: 40%;
  /*background-color: #1fbcff;*/
  line-height: 100%;
  font-family: sans-serif;

}

#text{
  margin-left: 50px;
  margin-top: 80px;
}

#text h3{
  position: relative;
  font-size: 20px;
  color: rgb(139, 147, 255);
}

#text h1{
  position: relative;
  font-size: 80px;
  margin-top: 20px;
  margin-bottom: 30px;
  line-height: 70px;
}

#text p{
  margin-top: 50px;
  width: 430px;
}

.photo{
  width: 60%;
  /*background-color: #f86;*/
}

.photo img{
  width: calc(100% - 20px);
  margin: 10px;
}

.threebox{
  font-family: sans-serif;
  display: flex;
  text-align: center;
  margin-left: 5%;
  margin-right: 5%;
  justify-content: center;
}

.box{
  width: calc(100%/3 - 20px);
  margin: 20px;
  border: solid 1px #aaa;
  border-radius: 5px;
  max-width: 400px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.box img{
  margin-top: 20px;
}

.box .icon{
  margin: 10px;
}

.box p{
  margin: 20px;
  text-align: justify;
}

.box a{
  color: #000;
}

#videoD{
  width: 90%;
  max-width: 720px;
  margin: 30px auto;
  font-family: sans-serif;
}

#videoD h2{
  margin: 0 0 10px 0;
  font-weight: lighter;
}

#videoD div{
position: relative;
padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
}

#video{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

#SDF{
  width: 100%;
  display: flex;
  background-color: rgba(0, 28, 255, 0.2);
}

#SDF .img {
  width: 55%;
}

#SDF .img img{
  width: 100%;
  height: 100%;
  position: relative;
}

#SDF .text{
  padding: 30px;
  width: 45%;
  max-width: 700px;
  font-family: sans-serif;
}

#SDF .text h2{
  margin-bottom: 10px;
}

#SDF .text p{
  top: 50%;
  margin: auto;
  text-align: justify;
}

@media (max-width: 1200px){
  .grid{
    display: block;
  }
  .info{
    width: 100%;
  }
  #text{
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 0;
  }
  .photo{
    width: 100%;
  }

  #text h3{
    padding-top: 20px;
  }
  #text p{
    width: 100%;
    text-align: justify;
  }
  .threebox{
    display: block;
    width: 100%;
    margin: 0;
    justify-content: center;
  }
  .box{
    width: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
  }
}



@media (max-width: 900px){
  #SDF{
    display: block;
  }
  #SDF .img{
    width: 100%;
  }
  #SDF .text{
    width: calc(100% - 60px);
    max-width: none;
  }
  #SDF .text p{
    width: 100%;
  }
}

@media (max-width: 720px){
  .box{
    margin-left: 20px;
    transform: translateX(0);
    width: auto;
    max-width: 1000px;
  }
  #text{
    margin-left: 20px;
    margin-right: 20px;
  }
  #text h1{
    font-size: 14vw;
  }
}
