@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Poppins-Regular.woff2") format("woff2"),
    url("fonts/Poppins-Regular.woff") format("woff");
}
@font-face {
  font-family: "PoppinsMedium";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/Poppins-Medium.woff2") format("woff2"),
    url("fonts/Poppins-Medium.woff") format("woff");
}
@font-face {
  font-family: "PoppinsSemiBold";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/Poppins-SemiBold.woff2") format("woff2"),
    url("fonts/Poppins-SemiBold.woff") format("woff");
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
section,
article {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* General styles */

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  hyphens: none;
}

h1,
h2,
h3 {
  font-family: "PoppinsSemiBold", sans-serif;
  font-weight: 600;
}

a {
  font-family: "PoppinsSemiBold", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #4e0f24;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Specific styles */

section.main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
@media only screen and (max-width: 910px) {
  section.main {
    flex-direction: column;
  }
}

article.text,
article.animation {
  width: 40vw;
  height: 96vh;
  padding: 4vh 5vw 0 5vw;
  overflow: hidden;
}
@media only screen and (max-width: 1240px) {
  article.text,
  article.animation {
    width: 46vw;
    padding: 4vh 2vw 0 2vw;
  }
}
@media only screen and (max-width: 910px) {
  article.text,
  article.animation {
    width: 100%;
    min-height: 70vh;
    height: 100%;
    padding: 4vh 1rem 4rem 1rem;
  }
}
@media only screen and (max-width: 500px) {
  article.text,
  article.animation {
    width: 100%;
    min-height: 70vh;
    height: 100%;
    padding: 4vh 1rem 4rem 1rem;
  }
}
article.text {
  background-color: #b01e53;
}
article.text img {
  margin-bottom: 60px;
}
article.text h1 {
  margin-bottom: 10px;
  font-size: 94px;
  line-height: 80px;
  color: #df7995;
}
article.text p {
  margin-bottom: 30px;
  font-family: "PoppinsSemiBold", sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 50px;
  color: #eda9c0;
}
article.text p sup {
  font-size: 20px;
  line-height: 0;
}
@media only screen and (max-width: 1080px) {
  article.text h1 {
    font-size: 71px;
    line-height: 59px;
  }
  article.text p {
    font-size: 39px;
    line-height: 43px;
  }
}
@media only screen and (max-width: 440px) {
  article.text h1 {
    font-size: 66px;
    line-height: 56px;
  }
  article.text p {
    font-size: 26px;
    line-height: 37px;
  }
}

article.animation {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  background-color: #e6eac9;
}
article.animation .logo {
  width: 100%;
  margin-bottom: 40px;
  text-align: right;
}
article.animation .logo img {
  width: 70px;
}
article.animation .anim {
  position: relative;
  margin-bottom: 60px;
  width: fit-content;
  text-align: center;
}
article.animation .anim img.circle {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  width: 510px;
  -webkit-animation: rotate 18s steps(18) infinite;
  animation: rotate 18s steps(18) infinite;
}
@media only screen and (max-width: 1080px) {
  article.animation .anim img.circle {
    width: 400px;
  }
}
@media only screen and (max-width: 460px) {
  article.animation .anim img.circle {
    max-width: 260px;
  }
}
@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate {
  from {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
article.animation .anim figure {
  position: absolute;
  top: 161px;
  left: 148px;
  z-index: 9;
  width: fit-content;
}
article.animation .anim figure img {
  width: 224px;
}
@media only screen and (max-width: 1080px) {
  article.animation .anim figure {
    top: 132px;
    left: 118px;
  }
  article.animation .anim figure img {
    width: 161px;
  }
}
article.animation .anim figure figcaption {
  margin-top: 6px;
  font-size: 16px;
  color: #675f56;
}
article.animation .legal p {
  font-size: 12.5px;
  color: #605d52;
}
@media only screen and (max-width: 460px) {
  article.animation .anim figure {
    top: 78px;
    left: 78px;
  }
  article.animation .anim figure img {
    width: 100px;
  }
  article.animation .anim figure figcaption {
    font-size: 12px;
  }
}
