/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Arima:wght@100;200;300;400;500;600;700&display=swap');

@font-face {
    font-family: 'The Bold Font';
    src: url('TheBoldFont-Bold.woff2') format('woff2'),
        url('TheBoldFont-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --white: #fff;
    --black: #000;
    --primary: #f90008;
    --gray-100: #f9f5f4;
    --gray-200: #323131;
    --yellow: #fff8be;
    --blue: #105e99;
    --transition: all 0.3s ease-in-out;
}

*{ padding: 0; margin: 0; box-sizing: border-box; }

body { font-family: 'Arima', sans-serif; font-size: 24px; color: var(--black); line-height: 2; background-color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { outline: none; text-decoration: none; color: var(--black); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
p { margin-bottom: 30px; }
p:last-child { margin-bottom: 0; }
ul,ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 120px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }

/* global */
.centered { padding-right: calc((100% - 1000px)/ 2); padding-left: calc((100% - 1000px)/ 2); }
 
/* wrapper */
.wrapper { width: 100%; position: relative; }

/* hero */
.hero { margin-bottom: 80px; width: 100%; overflow: hidden; display: flex; align-content: center; position: relative; min-height: 100svh; background-color: var(--gray-100); }
.hero .top { position: absolute; left: 0; top: 15px; z-index: 2; width: 100%; }
.hero .logo { width: 125px; height: 29px; }
.hero .logo svg { width: 125px; height: 29px; display: block; fill: #569141; }
.hero .block { padding-top: 80px; padding-bottom: 80px; position: relative; display: flex; align-items: center; width: 100%; z-index: 1; min-height: 100svh; }
.hero .text { width: 60%; position: relative; z-index: 1; }
.hero .subtitle { font-size: 40px; font-weight: 500; color: var(--gray-200); line-height: 1.2; }
.hero h1 { margin-bottom: 20px; text-transform: uppercase; line-height: 1; background-image: linear-gradient(to right, rgba(255,141,18,1) 0%,rgba(249,0,8,1) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'The Bold Font', sans-serif; -webkit-animation: hue 10s infinite linear; }
.hero .description { margin-bottom: 15px; font-size: 24px; font-weight: 300; color: var(--gray-200); line-height: 1.6; border-bottom: 1px solid #e5e5e5; }
.hero .story { font-size: 18px; color: var(--gray-200); }
.hero .scroll { padding-bottom: 30px; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); color: var(--gray-200); font-size: 16px; text-transform: uppercase; font-weight: 500; z-index: 1; }
.hero .scroll:before { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 45px; height: 58px; background: url(../images/arrow-down.svg) no-repeat; animation: bounce 1600ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.hero .scroll:hover { color: var(--primary); }
.hero .icon { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); animation: bounce 1600ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.hero .icon img { width: 15px; }
.hero .dotLeft { position: absolute; left: 0; bottom: 0; width: 35%; animation: dot 2000ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.hero .dotRight { position: absolute; right: 0; top: 0; width: 35%; display: flex; justify-content: flex-end; animation: dot 2000ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.hero .shapeLeft { position: absolute; left: 30px; bottom: 10px; width: 20%; animation: rotate 3000ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.hero .shapeRight { position: absolute; right: 60px; top: -50px; opacity: 0.46; width: 40%; animation: rotate 2000ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.hero .hand { position: absolute; right: -200px; top: 0; height: 100vh; }
.hero .hand img { width: 100%; height: 100%; object-fit: cover; }

/* text side */
.textSide { margin-bottom: 50px; width: 100%; }
.textSide h2 { margin-bottom: 20px; }
.textSide h3 { margin-bottom: 20px; }
.textSide p a { text-decoration: underline; }
.textSide ul { margin-bottom: 30px; }
.textSide ul:last-child { margin-bottom: 0; }
.textSide ul li { padding-left: 25px; position: relative; }
.textSide ul li:before { position: absolute; left: 0; top: 17px; width: 8px; height: 8px; content: ''; border-radius: 50%; background-color: var(--black); }
.textSide .graphBlock { margin-bottom: 30px; width: 100%; }
.textSide .graphBlock:last-child { margin-bottom: 0; }
.textSide .graph { width: 100%; }
.textSide .graph li { padding-left: 0; margin-bottom: 12px; width: 100%; display: flex; align-items: center; position: relative; line-height: 1.4; }
.textSide .graph li:before { display: none; }
.textSide .graph li label { padding-right: 10px; width: 150px; font-weight: 600; }
.textSide .barbg { width: calc(100% - 250px); height: 40px; background-color: var(--yellow); }
.textSide .bar { height: 100%; background-color: var(--blue); }
.textSide .count { width: 100px; text-align: right; }
.textSide .source { width: 100%; text-align: right; font-size: 16px; }
.textSide .audio { padding: 20px; margin-bottom: 30px; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-start; background-color: rgba(247,247,247,0.34); }
.textSide .audio h5 { margin-bottom: 10px; }
.textSide .audio-img { margin-right: 20px; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; }
.textSide .audio-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.textSide .audio-text { width: calc(100% - 100px); }
.textSide audio { width: 100%; height: 46px; }
.textSide .video { margin-bottom: 30px; width: 100%; display: flex; justify-content: center; }
.textSide .video figure { position: relative; overflow: hidden; padding-top: 56.25%; width: 80%; box-shadow: 0px 0px 15px -3px rgba(0,0,0,0.3); }
.textSide .video iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none; }
.textSide .image { margin-bottom: 30px; width: 100%; }

/* credit */
.credit { padding-top: 50px; padding-bottom: 50px; color: var(--white); width: 100%; background-color: var(--black); }
.credit h2 { margin-bottom: 20px; color: var(--white); }

/* animation */
@keyframes bounce {
    50% { transform: translate(-50%, -15px); }
}

@keyframes dot {
    50% { transform: translateY(-10px); }
}

@-webkit-keyframes hue {
    from {
      -webkit-filter: hue-rotate(0deg);
    }
    to {
      -webkit-filter: hue-rotate(-360deg);
    }
}

@keyframes rotate {
    0% { transform: translateY(-5px); }
    30% { transform: translateX(10px); }
    60% { transform: translateX(0); }
    100% { transform: translateY(-10px); }
}
  

@media screen and (max-width: 1040px)  {
    .centered { padding-left: 20px; padding-right: 20px; }

    .hero .text { width: 70%; }
}

@media screen and (max-width: 767px)  {
    body { font-size: 18px; }
    h1 { font-size: 70px; }
    h2 { font-size: 30px; }

    .hero .text { width: 100%; }
    .hero .subtitle { font-size: 28px; }
    .hero .description { font-size: 18px; }
    .hero .story { font-size: 16px; }
    .hero .dotRight { width: 50%; }
    .hero .dotLeft { width: 50%; }
    .hero .shapeLeft { width: 30%; }
    .hero .shapeRight  { top: -20px; width: 50%; }
    .hero .hand { right: -30px; width: 150px; height: auto; }
    
    .textSide .video figure { width: 100%; }
    .textSide .video iframe { width: 100%; }
    .textSide ul li:before { top: 13px; }
    .textSide .graph li label { width: 80px; }
    .textSide .barbg { width: calc(100% - 150px); }
    .textSide .count { width: 70px; }
    .textSide .audio-img { margin-right: 10px; width: 70px; height: 70px; }
    .textSide .audio-text { width: calc(100% - 80px); }
}
