:root {
    --white: #fff;
    --black: #000;
    --primary: #008000;
    --transition: all 0.3s ease-in-out;
}

*{ padding: 0; margin: 0; box-sizing: border-box; }

body { font-family: "Poppins", sans-serif; font-size: 16px; color: var(--black); line-height: 2; background-color: #dfeada; }
img { display: block; max-width: 100%; height: auto; }
a { outline: none; text-decoration: none; color: var(--black); transition: var(--transition); }
a:hover { color: var(--primary); }
p { margin-bottom: 30px; }
p a { text-decoration: underline; }
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; font-family: 'Poppins', sans-serif; }
h1 { font-size: 60px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }

/* global */
.centered { padding-right: calc((100% - 1300px)/ 2); padding-left: calc((100% - 1300px)/ 2); }
.mobile { display: none; }
 
/* wrapper */
.wrapper { width: 100%; position: relative; }

/* hero */
.hero { margin-bottom: 50px; width: 100%; overflow: hidden; display: flex; align-content: center; position: relative; min-height: 100svh; }
.hero .logo { position: absolute; left: 50%; top: 15px; transform: translateX(-50%); z-index: 2; width: 125px; height: 29px; }
.hero .logo svg { width: 125px; height: 29px; display: block; fill: #fff; }
.hero .scroll { padding-bottom: 30px; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); color: var(--white);  text-transform: uppercase; font-weight: 500; z-index: 1; }
.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; filter: invert(1) brightness(100%); }
.hero .bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero .desktop,
.hero .mobile { width: 100%; height: 100%; }

/* text side */
.textSide { margin-bottom: 80px; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-start; }
.textSide .author { margin-bottom: 20px; width: 100%; text-align: center; }
.textSide .heading { padding-bottom: 40px; padding-right: 30px; max-width: 300px; width: 100%; position: sticky; top: 20px; left: 0; }
.textSide .heading h2 { padding-bottom: 20px; position: relative; text-transform: capitalize; color: #008000; }
.textSide .heading h2:after { position: absolute; left: 0; bottom: 0; content: ''; height: 14px; width: 100%; background: url(../images/line.gif) no-repeat; }
.textSide .text { width: calc(100% - 600px); }
.textSide .right { padding-bottom: 120px; margin-left: auto; max-width: 280px; width: 100%; position: sticky; top: 20px; }
.textSide .right.nogap { padding-bottom: 0; }
.textSide .blockquote { margin-top: 40px; margin-bottom: 40px; width: 100%; }
.textSide .blockquote:last-child { margin-bottom: 0; }
.textSide blockquote { padding: 70px 40px 0 40px; font-size: 20px; font-weight: 700; text-align: center; line-height: 1.8; position: relative; }
.textSide blockquote:before,
.textSide blockquote:after { position: absolute; content: ''; }
.textSide blockquote:before { left: 0; top: 0; width: 100px; height: 72px; background: url(../images/quote-top.png) no-repeat; background-size: contain; }
.textSide blockquote:after { right: 0; bottom: 0; width: 50px; height: 36px; background: url(../images/quote-bottom.png) no-repeat; background-size: contain; }
.textSide blockquote span { margin-top: 10px; display: block; font-size: 16px; font-weight: 400; text-align: center; }
.textSide .devaider { margin-top: 40px; width: 100%; display: flex; justify-content: center; }
.textSide .devaider img { width: 100%; height: auto; }
.textSide h2 { margin-bottom: 20px; }
.textSide h3 { margin-bottom: 20px; }
.textSide ul { margin-bottom: 30px; }
.textSide ul:last-child { margin-bottom: 0; }
.textSide ul li { padding-left: 25px; position: relative; }
.textSide ul li a { text-decoration: underline; }
.textSide ul li:before { position: absolute; left: 0; top: 8px; width: 12px; height: 12px; content: ''; background: url(../images/arrow.svg) no-repeat; background-size: contain; }
.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; font-weight: 400; }
.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; filter: grayscale(100%); }
.textSide .audio-text { width: calc(100% - 100px); }
.textSide audio { width: 100%; height: 46px; }
.textSide .image { margin-bottom: 30px; width: 100%; }
.textSide .fact { padding: 20px 20px 50px 20px; margin-bottom: 30px; position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: #88aa7d; }
.textSide .fact:before,
.textSide .fact:after { position: absolute; left: 0; bottom: 0; content: ''; }
.textSide .fact:before { width: 100%; height: 50px; background: url(../images/fact-bottom.png) right bottom no-repeat; }
.textSide .fact:after { bottom: 1px; width: calc(100% - 150px); height: 2px; background: #334929; }
.textSide .fact li { padding-left: 18px; font-size: 14px; }
.textSide .fact li:before { width: 8px; height: 8px; }

/* 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); }
.copyright { padding-bottom: 20px; font-size: 12px; text-align: center; color: var(--white); background-color: var(--black); }

/* share btn */
.share-btn { position: fixed; right: 20px; bottom: 20px; z-index: 99; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: #404040; cursor: pointer; border: 0; transition: var(--transition); opacity: 0; visibility: hidden; }
.share-btn.show { opacity: 1; visibility: visible; }
.share-btn svg { width: 25px; height: 25px; fill: var(--white); }

/* animation */
@keyframes bounce {
    50% { transform: translate(-50%, -15px); }
}

@media screen and (max-width: 1340px)  {
    .centered { padding-left: 20px; padding-right: 20px; }
}

@media screen and (max-width: 1199px)  {
    .textSide .text { width: calc(100% - 300px); max-width: 100%; }
    .textSide .right { padding-bottom: 0; margin-top: 30px; position: relative; width: calc(100% - 300px); max-width: 100%; }
}

@media screen and (max-width: 992px)  {
    .hero { min-height: 600px; }
}


@media screen and (max-width: 767px)  {
    h1 { font-size: 40px; }
    h2 { font-size: 24px; }    
    h3 { font-size: 20px; }

    .hero { min-height: 100svh; }
    .hero .desktop { display: none; }
    .hero .mobile { display: block; }
    
    .textSide { margin-bottom: 50px; }
    .textSide .heading { padding-bottom: 0; padding-right: 0; margin-bottom: 30px; position: relative; top: 0; width: 100%; max-width: 100%; }
    .textSide .text { width: 100%; }
    .textSide .right { width: 100%; }
    .textSide .audio { padding-left: 10px; padding-right: 10px; }
    .textSide .audio-img { margin-right: 10px; width: 70px; height: 70px; }
    .textSide .audio-text { width: calc(100% - 80px); }
    .textSide blockquote { padding: 40px 20px 0 20px; font-size: 18px; }
    .textSide blockquote:before { height: 38px; width: 54px; }
    .textSide blockquote:after { height: 20px; width: 30px; }
    .textSide blockquote span { font-size: 14px; }
    .textSide .devaider { margin-top: 20px; }
}

@media screen and (max-width: 479px)  {
    .textSide blockquote { padding-left: 0; padding-right: 0; font-size: 16px; }
    .textSide blockquote span { font-size: 13px; }
    .textSide blockquote:before { height: 30px; width: 42px; }
}
