@font-face {
  src: url(../fonts/genera/Genera-AltLight.ttf);
  font-family: genera;
}

nav{
  padding: 0.5vh 0;
  display: table;
  width: 100%;
  text-align: center;
  font-family: genera;
  font-size: calc(100vw / 80);
  font-style: italic;
  z-index: 10;
  background-color: #4363ac;
}

nav ul{
  margin: 0; padding: 0;
  list-style-type: none;
  display: inline-block;
}

nav li{
  padding: 0 calc(100vw / 75);
  float: left;
  text-align: center;
  display: inline-block;
}

nav a{
  color: lightgrey;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

nav a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -10%;
  left: 0;
  background-color: lightgrey;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

nav a:hover:before {
  visibility: visible;
  width: 100%;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.contact{
  width: 60%;
  margin: 10vh 20% 0 20%; /*5vh*/
  display: inline-block;
  font-family: genera;
  box-shadow: 7px 7px 20px grey;
}

.contact .container{
  width: calc(41.5% + 0.5px);
  height: calc(60vh); /* *1 */
  padding: 0 2.5vw 5vw 2.5vw;
  display: inline-block;
  float: left;
}

.contact img{
  box-sizing: border-box;
  width: 70%;
  margin: 0 15% 0 15%;
  max-width: 50vw;
}

.one div{
  width: 100%;
  display: inline-block;
  max-width: 50vw;
}

.one i{
  display: inline-block;
  float: left;
  font-size: 1.8vw;
}

.one p{
  display: inline-block;
  float: right;
  text-align: left;
  width: 85%;
}

.contact .title{
  font-size: 1.5vw;
  font-weight: bold;
  margin: 0;
}

.two .title{
  font-size: 3vw;
  margin: 10vh 0 5vh 0;
}

.two div p{
  font-size: 1.2vw;
}

iframe{
  width: 100%;
  height: calc(60vw / 3);
}

footer{
  margin-top: 10vh; /*10vh*/
  font-family: Genera;
  display: table;
  text-align: center;
  width: 100%;
  background-color: #4363ac;
}

footer .box{
  margin: 2vh 10vw 10vw 0;
  color: white;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

@media (max-width: 1024px) {
  .contact{
    width: 100%;
    margin: 0;
    padding: 0;
    height: calc(50vw * 1.5);
  }
  .contact .container{
    width: 100%;
    height: auto;/*50 vw * 1.5*/
    padding: 0 0 5vh 0;
    text-align: center;
    font-weight: bold;
  }
  .contact .img{
    margin-bottom: 2vh;
  }

  .one p{
    font-size: 3.2vw;
    width: 100%;
  }
  .one .title{
    font-size: 5vw;
    margin-top: 2vh;
  }
  .one i{
    display: none;
  }

  .two{
    background: rgb(195,195,195);
    background: linear-gradient(180deg, rgba(195,195,195,1) 0%, rgba(255,255,255,1) 50%, rgba(195,195,195,1) 100%);
    color: black;
  }
  .two div{
    display: inline-block;
    width: auto;
    text-align: left;
  }
  .two div p{
    font-size: 3.2vw;
  }
  .two .title{
    font-size: 5vw;
    margin-top: 5vh;
    margin-bottom: 2.5vh;
  }

  iframe{
    height: 100vw;
  }

  footer{
    display: none;
  }
}
