/*------------------------------------------------------------------
Project:  ComingSoon template
Version:  1.0
Last change:  2.07.2020
Assigned to:  Pawel Zuchowski
Primary use:  Free to use under Creative Commons
-------------------------------------------------------------------*/

:root {
  color-scheme: light dark;
}
body,
body * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: white;
  color: #6d6464
}

body,
.container,
.row {
  margin: 0;
  padding: 0;
  width: 100vw;
}

p:not(.slogan),
.left,
.icon,
.icon-list,
h1,
.right,
.mainInfo {
  width: auto;
}

.container .row .left-wrap {
  padding-right: 0;
  padding-left: 0;
  -webkit-filter: drop-shadow(15px 0px 10px rgba(50, 50, 0, 0.5));
  filter: drop-shadow(15px 0px 10px rgba(50, 50, 0, 0.5));
}

.container .row .left-wrap .left {
  background-image: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
  height: 100vh;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
}

@media screen and (max-width: 576px) {
  .container .row .left-wrap .left {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    height: 50vh;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
  }
}

.container .row .left-wrap .left p {
  font-family: "Muli", sans-serif;
  font-size: 3.5em;
  margin-right: 2em;
  font-weight: bold;
  color: white;
}

@media screen and (max-width: 576px) {
  .container .row .left-wrap .left p {
    font-size: 2em;
    margin: 0.5em 0 0.5em 0;
    -ms-flex-preferred-size: 10%;
    flex-basis: 10%;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .container .row .left-wrap .left p {
    font-size: 2.4em;
  }
}

.container .row .left-wrap .left p .small {
  vertical-align: text-top;
  font-size: 0.5em;
}

.container .right {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media screen and (max-width: 576px) {
  .container .right {
    height: 50vh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.container .right .mainInfo {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

@media screen and (max-width: 576px) {
  .container .right .mainInfo {
    text-align: center;
  }
}

.container .right .mainInfo h1 {
  font-size: 2em;
  margin-left: 1em;
}

@media screen and (max-width: 576px) {
  .container .right .mainInfo h1 {
    margin-left: 0;
  }
}

.container .right .mainInfo .slogan {
  width: 50vw;
  margin-top: 1.5em;
  color: #6d6464;
}

@media screen and (max-width: 576px) {
  .container .right .mainInfo .slogan {
    width: auto;
  }
}

.container .right .mainInfo .form-subscribe {
  margin-top: 0.5em;
}

@media screen and (max-width: 576px) {
  .container .right .mainInfo .form-subscribe {
    margin-left: 0;
  }
}

.container .right .mainInfo .form-subscribe .form {
  height: 40px;
  padding: 0;
  margin-right: -6px;
  border: 1px solid black;
  border-right: none;
  padding-left: 0.5em;
}

.container .right .mainInfo .form-subscribe button {
  width: 120px;
  height: 40px;
  border: 1px solid black;
  border-top: 2px solid black;
  border-radius: 0 25px 25px 0;
  padding: 0;
  color: white;
  background-color: black;
}

@media screen and (max-width: 576px) {
  .container .right .mainInfo .form-subscribe button {
    width: 100px;
  }
}

.container .right .mainInfo .form-subscribe button:hover {
  cursor: pointer;
}

.container .right .icon-list {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transform: translateY(-3em);
  transform: translateY(-3em);
}

@media screen and (max-width: 576px) {
  .container .right .icon-list {
    -webkit-transform: translateY(-0.1em);
    transform: translateY(-0.1em);
    padding-left: 0;
  }
}

.container .right .icon-list .icon {
  margin-right: 1em;
  font-size: 2.5em;
}

.container .right .icon-list .icon a {
  color: #202020;
  text-decoration: none;
}

.right,
.mainInfo,
.left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

h1,
.slogan,
button,
.form {
  font-family: "Lato", sans-serif;
}

.slogan,
.form-subscribe {
  margin-left: 2em;
}

@media screen and (max-width: 576px) {

  .slogan,
  .form-subscribe {
    margin-left: auto;
  }
}

.twitter::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f099";
}

.facebook::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f09a";
}

.instagram::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f16d";
}

.github::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f09b";
}

.stackoverflow::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f16c";
}

.youtube::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f167";
}

.medium::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f23a";
}

.linkedin::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f08c";
}

.email::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
  font-weight: 900;
}

.website::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f0ac';
  font-weight: 900;
}

.phone::before {
  font-family: "Font Awesome 5 Free";
  content: "\f095";
  font-weight: 900;
}

.logo {
  max-width: 240px;
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .logo {
    position: relative;
    max-width: 180px;
    margin-top: -100px;
    left: 50%;
    margin-left: -90px;
  }

  .container .right .icon-list{
    padding: 0;
    color: #202020;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .container .right .icon-list .icon{
    margin: 0;
    margin-bottom: 10px;
  }

  .left {
    max-height: 45vh;
  }
 
  .icon-list {
    position: fixed;
    bottom: env(safe-area-inset-bottom);
  }
}

@media screen and (max-width: 768px) and (max-height: 700px){
  .left {
    max-height: 35vh;
  }

  .logo {
    margin-top: -40px;
    margin-bottom: 0;
  }
}


.container .right .icon-list li:hover a::before {
  color: #f1302b;
}

.logo {
  animation: entry 1s ease-in-out;
}

.slogan {
  animation: fadeIn 1s ease-in-out;
}

ul li {
  opacity: 0;
}

ul li:first-child {
  animation: fadeIn .3s .5s ease-in-out forwards;
}

ul li:nth-child(2) {
  animation: fadeIn .3s .7s ease-in-out forwards;
}

ul li:nth-child(3) {
  animation: fadeIn .3s 1s ease-in-out forwards;
}

ul li:nth-child(4) {
  animation: fadeIn .3s 1.3s ease-in-out forwards;
}

@keyframes entry {
  0% {
    transform: scale(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(-20deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: white;
    color: #6d6464
  }
}
