@font-face {
    font-family: 'gilroymedium';
    src: url('gilroy-medium-webfont.woff2') format('woff2'),
         url('gilroy-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'gilroyregular';
    src: url('gilroy-regular.woff2') format('woff2'),
         url('gilroy-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
*{
  margin:0;
  padding:0;
}
body {
  background-color: #A17DF9;
  font-family: 'gilroymedium', "arial";
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: normal;
  align-content: normal;
  padding: 50px;
}

.flex-items:nth-child(1) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  padding-top: 40px;
}

.flex-items:nth-child(2) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  width: 420px;
  padding-top: 230px;
  padding-left: 50px;
}

.logo {
  width: 306px;
  height: auto;
  margin-bottom: 40px;
}
p{
  font-size: 26px;
  color: #E3D8FD;
  font-family: 'gilroyregular', "arial";
  line-height: 36px;
  margin-bottom: 50px;
}
.visual1{
  width: 100%;
  height: auto;
  max-width: 887px;
}

.btnAppstore{
  width: 210px;
  height: auto;
}
.social {
  margin-top: 150px;
}
.social a{
  margin-right: 30px;
  opacity: 0.6;
}
.social a:hover{
  opacity: 1;
}
.social img{
  width: 48px;
  height: 48px;
}
.flex-items:nth-child(1) .social{
  display: none;
}
@media (max-width: 1500px) {
  .flex-container {
    padding: 0;
  }
  .flex-items:nth-child(2) {
    padding-left: 0px;
    margin-left: -20px;
  }
  .visual1 {
    width: 100%;
    height: auto;
    max-width: 887px;
    margin-left: -40px;
}
}

@media (max-width: 1200px) {
  .flex-container {
    flex-direction: column-reverse;
    justify-content: center;
    padding: 0;
  }
  .flex-items:nth-child(1) {
    padding-top: 30px;
  }
  .flex-items:nth-child(2) {
    padding-top: 0px;
    padding-left: 0px;
    text-align: center;
    width: 100%;
    margin-left: 0;
  }
  .logo {
    width: 196px;
    height: auto;
    margin-top: 60px;
  }
  .btnAppstore {
    width: 202px;
    height: auto;
  }
  .social {
    margin-top: 70px;
  }
  p {
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .social a{
    margin-right: 15px;
    margin-left: 15px;
  }
  .visual1 {
    margin: 0 auto;
    display: block;
  }
  .flex-items:nth-child(1) .social {
    display: block;
    margin: 0 auto 50px auto;
    width: 214px;
  }
  .social img {
    width: 38px;
    height: 38px;
  }
  .flex-items:nth-child(2) .social{
    display: none;
  }
}
