@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Roboto", Avenir, Helvetica, Arial, sans-serif;
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font-family: "Roboto", Avenir, Helvetica, Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: white;
  border: 1px solid #EEEEEE;
}

.ad__logo-box {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background-color: white;
  display: flex;
  opacity: 0;
  animation-name: ad-logo-appear;
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-delay: 1.5s;
  animation-timing-function: linear;
}

.ad__logo {
  width: 220px;
  margin: auto;
}

.ad__wrapper {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}

.ad__background-box {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  position: relative;
  background: url("bg.jpg") no-repeat right top;
  background-size: 160% auto;
  animation-name: ad-move-bg;
  animation-fill-mode: forwards;
  animation-duration: 7s;
  animation-delay: 0s;
  animation-timing-function: linear;
}

.ad__text-box__button {
  cursor: pointer;
  width: 60%;
  margin: 0 auto;
  height: inherit;
  color: white;
  border: 2px solid #018ee3;
  background-color: #018ee3;
  font-weight: 500;
  font-size: 16px;
  transition: color linear 0.2s, background-color linear 0.2s;
}

.ad__text-box__button:hover {
  color: #018ee3;
  background-color: white;
}

@keyframes ad-logo-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ad-move-bg {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 80% 100%;
  }
}
