* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:focus:not(:focus-visible) {
  outline: none;
}

html,
body,
#__next {
  height: 100%;
  overflow: auto;
}

body {
  background-color: #f5f6f7;
  font-family: Poppins, sans-serif;
}

.hide {
  display: none;
}

nav {
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(221, 221, 221, 0.5);
  padding: 10px 30px;
  display: flex;
  margin-bottom: 20px;
}

nav .logo {
  display: flex;
  align-items: center;
}

nav .logo iframe {
  width: 100px;
  height: 21px;
  margin-left: 10px;
}

.nav-items .upgrade-to-pro {
  background: #ff9b00;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
}

.nav-items .upgrade-to-pro img {
  margin-right: 8px;
}

.nav-items {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 16px;
}

.nav-items a {
  margin-right: 16px;
  color: #8f909c;
  text-decoration: none;
  cursor: pointer;
}

.nav-items a:last-child {
  margin-right: 0;
}

.nav-items .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}

.container {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.container.designer {
  max-width: 1440px;
}

.left {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14);
  padding: 16px;
  width: 632px;
}

.right {
  display: flex;
  margin-left: 36px;
  flex-wrap: wrap;
}

/* Two Column Layout */

.two-column-layout {
  display: flex;
  height: 100%;
}

.left-column {
  background-color: rgb(242, 243, 246);
  width: 70%;
}

.right-column {
  padding-top: 40px;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  padding-bottom: 20px;
  overflow: scroll;
}

.right-column>* {
  max-width: 76%;
}

.two-column-layout .logo {
  display: block;
  margin-bottom: 50px;
  width: 100%;
}

.two-column-layout h1 {
  font-size: 35px;
  color: rgb(20, 33, 60);
  margin-bottom: 30px;
  width: 100%;
}

.two-column-layout input {
  font-size: 18px;
  font-weight: 500;
  color: rgb(14, 24, 35);
  width: 100%;
  height: 52px;
  border: solid 1px rgb(143, 144, 156);
  padding: 15px 15px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.two-column-layout input[type='submit'] {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  background-color: rgb(2, 96, 238);
  border: none;
  margin-top: 20px;
}

.two-column-layout a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: rgb(2, 96, 238);
}

.right-column .secondary-action {
  width: 100%;
  margin: auto 0;
}

.right-column .secondary-action a {
  font-size: 18px;
  font-weight: 500;
  background-color: #fff;
  color: rgb(2, 96, 238);
  border: solid 1px rgb(151, 151, 151);
  border-radius: 8px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-messages,
.success-messages {
  list-style: none;
}

.success-messages {
  color: #18bc27;
}

.error-messages {
  color: #dd3c3c;
}

@media all and (max-width: 769px) {
  .nav-items {
    flex-wrap: wrap;
  }
  .two-column-layout {
    height: inherit;
  }
  .two-column-layout .logo {
    margin-bottom: 30px;
  }
  .left-column {
    display: none;
  }
  .right-column {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    padding: 20px 20px;
    text-align: center;
  }
  .two-column-layout h1 {
    font-size: 32px;
  }
  .two-column-layout input {
    font-size: 14px;
    margin-bottom: 30px;
    display: block;
  }
  .right-column .secondary-action {
    position: relative;
    margin: 30px auto;
    bottom: auto;
    width: 300px;
  }
  .right-column>* {
    max-width: 100%;
    width: 300px;
  }
}

.close-modal-button {
  background: #fff;
  border-radius: 50%;
  height: 12px;
  padding: 14px 14px 13px;
  width: 12px;
  align-self: flex-start;
  margin: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  top: 0;
}

@media all and (min-width: 769px) {
  .demo-video {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .demo-video video {
    transform: rotateY(15deg);
    max-width: 768px;
  }
  .fake-border {
    background: rgba(0, 0, 0, 0);
    width: 100%;
    position: absolute;
    z-index: 1;
    transform: rotateY(-15deg);
    right: -1px;
    border-right: 2px solid #f2f3f6;
    box-sizing: border-box;
    top: 5px;
    bottom: 10px;
    display: none;
  }
}

@media all and (max-width: 769px) {
  .close-modal-button {
    position: relative;
  }
}