.main {
  background-color: #122d36;
  color: hsla(0, 0%, 100%, 0.9);
  font-size: 18px;
  line-height: 28px;
  padding: 0;
}

.layout {
  align-items: flex-start;
  display: flex;
}

.left {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  padding: 20px 56px;
  width: 35vw;
}

.left .logo img {
  display: inline-block;
  width: 300px;
}

.left .contact {
  font-size: 18px;
  line-height: 36px;
  margin-left: 40px;
}

.left .copy {
  font-size: 13px;
  line-height: 24px;
  opacity: 0.5;
  align-self: flex-end;
}

.right {
  height: 100vh;
  position: relative;
  width: 65vw;
}

.right .cover {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
  margin: 0 auto;
}

.right .cover img {
  position: absolute;
  left: 0;
  height: 100vh;
  transition: opacity 0.5s ease-in-out;
}

@keyframes fade1 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade2 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade3 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.right .cover img:nth-of-type(1) {
  animation: fade1 12s ease-in-out infinite;
}
.right .cover img:nth-of-type(2) {
  animation: fade2 12s ease-in-out infinite;
}
.right .cover img:nth-of-type(3) {
  animation: fade3 12s ease-in-out infinite;
}

@media only screen and (min-device-width: 769px) and (max-device-width: 1024px) {
  .left {
    padding: 20px;
  }
  .left .logo img {
    width: 200px;
  }
  .left .contact {
    margin: 0;
  }
}

@media only screen and (max-width: 768px) {
  .layout {
    flex-direction: column;
  }
  .left {
    padding: 0 20px;
    position: absolute;
    width: 100%;
    z-index: 100;
    justify-content: flex-end;
  }
  .left .logo img {
    position: absolute;
    top: 0;
    width: 100px;
  }
  .left .contact {
    background-color: #122d36;
    margin-left: 0px;
    margin-bottom: 20px;
    opacity: 0.8;
    padding: 10px;
    width: 100%;
  }
  .right {
    width: 100%;
  }
}
