﻿/*-----------------------------------------------------

    Title :  Sound of Hope 2024 Campaign
    Usage :  Global styles
    Edited:  2024-11-29

-------------------------------------------------------

    1. reset
    2. font
    3. typography
    4. default
    5. container
    6. skip link
    7. banner
    8. main content
       8.1. presentation 1
       8.2. presentation video 2
       8.3. How Donating will Make a Difference
       8.4. Help Sound of Hope Save Lives
       8.5. Help Sound of Hope Save Lives
       8.6. Make a stand against the CCP
       8.7. What They’re Saying
       8.8. Your Support Matters
       8.9. presentation video 3
       8.10. About Sound of Hope
    9. content info
   10. responsive (1023px)

-------------------------------------------------------*/



/*  1. reset
-------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition-property: visibility, opacity, color, background-color, border-color, box-shadow;
	transition-duration: var(--trans-dur);
	}

html {
	-webkit-text-size-adjust: none;
	        text-size-adjust: none;
	font-size: 62.5%;
	line-height: 1.2;
	}

h1, h2, h3, h4, h5, h6,
input, select, button, textarea,
small {
	font-size: 100%;
	}

::marker {
	color: transparent;
	font-size: 0;
	}

img, svg, video, iframe {
	max-width: 100%;
	}

img, fieldset, iframe {
	border-width: 0;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
	}

input, select, textarea, button {
	color: inherit;
	font-weight: inherit;
	line-height: inherit;
	font-family: inherit;
	text-transform: inherit;
	background-color: transparent;
	border-width: 0;
	border-radius: 0;
	}

textarea {
	-webkit-appearance: none;
	overflow: auto;
	resize: vertical;
	border-radius: 0;
	}

::-webkit-input-placeholder {
	color: inherit;
	}

::-moz-placeholder {
	opacity: 1;
	}

button {
	cursor: pointer;
	overflow: visible;
	}



/*  2. font
-------------------------------------------------------*/

@font-face { /* Elza Condensed - regular */
	font-style: normal;
	font-weight: 400;
	font-family: "Elza Condensed";
	src: local("Elza Condensed"),
	     url(../fonts/elza-condensed.otf) format("opentype");
	}

@font-face { /* Elza Condensed - medium */
	font-style: normal;
	font-weight: 500;
	font-family: "Elza Condensed";
	src: local("Elza Condensed Medium"),
	     url(../fonts/elza-condensed-medium.otf) format("opentype");
	}

@font-face { /* Elza Condensed - bold */
	font-style: normal;
	font-weight: 700;
	font-family: "Elza Condensed";
	src: local("Elza Condensed Bold"),
	     url(../fonts/elza-condensed-bold.otf) format("opentype");
	}

@font-face { /* Elza Condensed - black */
	font-style: normal;
	font-weight: 900;
	font-family: "Elza Condensed";
	src: local("Elza Condensed Black"),
	     url(../fonts/elza-condensed-black.otf) format("opentype");
	}



/*  3. typography
-------------------------------------------------------*/

body {
	color: #000;
	font-family: "Elza Condensed", sans-serif;
	}

a {
	color: inherit;
	text-decoration: none;
	}

a:is(:hover, :focus) {
	text-decoration: underline;
	background-color: transparent;
	}



/*  4. default
-------------------------------------------------------*/

/*  variables  */

html {
	--dist-min-cont-edge: 15px;
	--width-content: 1140px;
	--padding-inline-center-content: max(var(--dist-min-cont-edge), (100% - var(--width-content)) / 2);
	--width-center-section: min(var(--width-content), 100% - var(--dist-min-cont-edge) * 2);
	--trans-dur: 250ms;
	}


/*  heading  */

h1 {
	display: flex;
	flex-direction: column;
	color: #000063;
	font-size: 62.5px;
	line-height: 1;
	letter-spacing: -0.01em;
	}

h1::before {
	content: "";
	margin-bottom: 13px;
	width: 180px;
	height: 7px;
	background-color: #ff003c;
	}


/*  tabs  */

.wrapper-tabpanels {
	position: relative;
	transition-property: height;
	}

div[role="tabpanel"] {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	visibility: hidden;
	opacity: 0;
	width: 100%;
	pointer-events: none;
	transition-property: visibility, opacity;
	}

div[role="tabpanel"]:not([hidden]) {
	position: relative;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	}


/*  donation tabs  */

.tabs.donation {
	padding: 10px;
	width: min(468px, 100%);
	color: #000;
	background-color: #fff;
	border: 20px solid #dcf4ff;
	}

.tabs.donation [role="tablist"] {
	display: grid;
	grid-template-columns: 50% 50%;
	}

.tabs.donation [role="tablist"] > button {
	position: relative;
	height: 58px;
	font-weight: 700;
	font-size: 31.25px;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	background-color: #beecff;
	border: 4px solid transparent;
	border-bottom-width: 0;
	}

.tabs.donation [role="tablist"] > button::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: -4px;
	width: calc(100% + 8px);
	height: 4px;
	background-color: #f00;
	transition: background-color var(--trans-dur);
	}

.tabs.donation [role="tablist"] > button[aria-selected="true"] {
	background-color: #fff;
	border-color: #f00;
	}

.tabs.donation [role="tablist"] > button[aria-selected="true"]::before {
	background-color: transparent;
	}

.tabs.donation div[role="tabpanel"] {
	border: solid #f00;
	border-width: 0 4px 4px;
	}

.tabs.donation form {
	padding: 15px 10px 41px;
	}

.tabs.donation fieldset {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 10px;
	}

.tabs.donation legend {
	position: absolute;
	left: -5000px;
	}

.tabs.donation fieldset div {
	position: relative;
	}

.tabs.donation fieldset input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	}

.tabs.donation fieldset label {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 4px;
	height: 46px;
	cursor: pointer;
	font-weight: 500;
	font-size: 31.25px;
	letter-spacing: -0.01em;
	border: 1px solid #a7a9ac;
	}

.tabs.donation fieldset label:is(:hover, :checked + label, :focus + label) {
	background-color: #eee;
	}

.tabs.donation h1 {
	margin-top: 31px;
	color: #000;
	font-size: 31.25px;
	letter-spacing: -0.005em;
	text-align: center;
	text-transform: uppercase;
	}

.tabs.donation h1::before {
	content: none;
	}

.tabs.donation p {
	margin-top: 13px;
	color: #000;
	font-size: 20.83px;
	line-height: 1.3;
	letter-spacing: -0.0075em;
	text-align: center;
	}

.tabs.donation input[type="text"] {
	display: block;
	margin-top: 36px;
	margin-inline: auto;
	padding-inline: 10px;
	width: min(285px, 100%);
	height: 47px;
	color: #000;
	font-weight: 500;
	font-size: 31.25px;
	letter-spacing: -0.0075em;
	text-transform: uppercase;
	border: 1px solid #a7a9ac;
	outline-style: none;
	}

.tabs.donation button[type="submit"] {
	display: block;
	margin-top: 25px;
	margin-inline: auto;
	width: min(285px, 100%);
	height: 47px;
	color: #fff;
	font-weight: 700;
	font-size: 31.25px;
	text-transform: uppercase;
	background-color: #f00;
	}


/*  videos  */

.video-wrapper {
	position: relative;
	}

.video-wrapper button {
	position: absolute;
	inset: 0;
	}

.video-wrapper button img {
	width: 20vw;
	transition: filter 0.25s;
	}

#presentation-1 + button img {
	width: 150px;
	}

.video-wrapper button:is(:hover, :focus) img {
	filter: drop-shadow(1px 3px 4px #ffffff);
	}



/*  5. container
-------------------------------------------------------*/










/*  6. skip link
-------------------------------------------------------*/

#skip {
	position: fixed;
	top: 50%;
	left: 0;
	z-index: 3000;
	margin-top: -20px;
	width: 100%;
	height: 0;
	font-size: 0;
	text-align: center;
	}

#skip a {
	float: right;
	margin-right: 50%;
	padding: 8px 14px;
	opacity: 0;
	pointer-events: none;
	color: #555;
	font-size: 20px;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	transform: translateX(50%);
	transition: opacity var(--trans-dur) ease-out;
	}

#skip a:is(:focus, :active) {
	opacity: 1;
	pointer-events: auto;
	text-decoration: none;
	background-color: #fff;
	}

#skip a:hover {
	text-decoration: none;
	}



/*  7. banner
-------------------------------------------------------*/

#banner {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-inline: var(--padding-inline-center-content);
	height: 90px;
	border-bottom: 1px solid #d1d2d4;
	}

#banner > a {
	position: absolute;
	top: 18px;
	left: calc(50% - 79px);
	}

#banner > p {
	margin-top: 23px;
	color: #bbbbd7;
	font-weight: 700;
	font-size: 52.08px;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	}

#banner .radio-menu-widget {
	position: relative;
	z-index: 1;
	margin-top: 34px;
	}

#label-language {
	position: absolute;
	left: -5000px;
	}

#btn-language {
	width: 25px;
	height: 25px;
	overflow: hidden;
	text-indent: -5000px;
	background: no-repeat url(../img/sprite.png);
	}

#menu-language {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	opacity: 0;
	padding-block: 10px;
	color: rgb(0, 102, 204);
	font-size: 18px;
	white-space: nowrap;
	background-color: #fff;
	border-radius: 5px;
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
	}

#menu-language li {
	padding: 7px 15px 3px;
	cursor: pointer;
	}

[aria-expanded="true"] + #menu-language {
	opacity: 1;
	}

#menu-language li:is(:hover, :focus) {
	background-color: #eee;
	}

#menu-language li[aria-checked="true"] {
	background-color: #eee;
	}



/*  8. main content
-------------------------------------------------------*/

/*  8.1. welcome
-------------------------------------------------------*/

#welcome {
	margin-inline: auto;
	margin-bottom: 40px;
	padding-top: 58px;
	width: var(--width-center-section);
	}

#welcome::after {
	content: "";
	clear: both;
	display: block;
	}

#welcome :nth-child(1).w {
	float: right;
	width: 48.6%;
	}

#welcome :nth-child(2).w {
	float: left;
	width: 41.05%;
	}

#presentation-1 {
	display: block;
	}

#protect {
	margin-bottom: 41px;
	}

#change {
	margin-top: 87px;
	}

:is(#change, #protect) h1 {
	font-size: 52.08px;
	}

#change h1::before {
	content: none;
	}

:is(#change, #protect) p {
	margin-top: 18px;
	font-size: 29.25px;
	letter-spacing: -0.01em;
	}

#change::after {
	content: "";
	display: block;
	/* margin-top: 18px;
	width: 129px;
	height: 79px;
	background: 0 -35px no-repeat url(../img/sprite.png); */
	}



/*  8.2. presentation video 2
-------------------------------------------------------*/

#presentation-2 {
	display: block;
	width: 100%;
	}



/*  8.3. How Donating will Make a Difference
-------------------------------------------------------*/

#diff {
	margin-inline: auto;
	padding-block: 47px;
	width: var(--width-center-section);
	text-align: center;
	}

#diff h1 {
	align-items: center;
	row-gap: 8px;
	}

#diff dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 32px;
	gap: 106px;
	}

#diff dl > div {
	width: 246px;
	}

#diff dt {
	font-weight: 900;
	font-size: 25px;
	line-height: 1.0832;
	letter-spacing: 0.015em;
	text-transform: uppercase;
	}

#diff dt::before {
	content: "";
	display: block;
	margin-inline: auto;
	/* margin-bottom: 13px;
	width: 103px;
	height: 92px;
	background: 0 -124px no-repeat url(../img/sprite.png);
	border-left: 12px solid transparent; */
	}

#diff dd {
	margin-top: 13px;
	font-size: 27.08px;
	line-height: 1.078;
	letter-spacing: -0.01em;
	}



/*  8.4. Help Sound of Hope Save Lives
-------------------------------------------------------*/

#help {
	--width-content: 1020px;
	display: flex;
	justify-content: space-between;
	padding: 45px max(var(--dist-min-cont-edge), (100% - var(--width-content)) / 2);
	color: #fff;
	background: 0 0 / cover no-repeat url(../img/bg_help.png);
	}

#help .w {
	margin-top: 13px;
	width: 45%;
	}

#help .w h1 {
	row-gap: 41px;
	max-width: 360px;
	color: inherit;
	font-size: 52.08px;
	}

#help .w p {
	margin-top: 25px;
	font-size: 31.25px;
	}

#help .w::after {
	content: "";
	display: block;
	/* margin-top: 19px;
	width: 134px;
	height: 83px;
	background: 0 -226px no-repeat url(../img/sprite.png); */
	}



/*  8.5. Help Sound of Hope Save Lives
-------------------------------------------------------*/

#why {
	padding: 38px var(--padding-inline-center-content);
	text-align: center;
	}

#why h1 {
	align-items: center;
	row-gap: 8px;
	}

#why dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 52px;
	gap: 90px;
	}

#why dl > div {
	width: 263px;
	}

#why dt {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 13px;
	font-weight: 900;
	font-size: 25px;
	line-height: 1.0832;
	letter-spacing: 0.015em;
	text-transform: uppercase;
	}

#why dd {
	margin-top: 13px;
	font-size: 27.08px;
	line-height: 1.078;
	letter-spacing: -0.01em;
	}



/*  8.6. Make a stand against the CCP
-------------------------------------------------------*/

#stand {
	display: flex;
	justify-content: space-between;
	margin-inline: auto;
	padding-block: 55px;
	width: min(1020px, 100% - var(--dist-min-cont-edge) * 2);
	}

#stand .w {
	width: 53.8%;
	}

#stand .w h1 {
	row-gap: 3px;
	font-size: 52.08px;
	}

#stand .w p {
	margin-top: 19px;
	font-size: 34.5px;
	letter-spacing: -0.01em;
	}

#stand dl {
	margin-top: 42px;
	padding-right: 24px;
	}

#stand dl > div + div::before {
	content: "";
	display: block;
	margin-block: 12px 11px;
	width: 180px;
	height: 7px;
	background-color: #ff003c;
	}

#stand dt {
	margin-bottom: 12px;
	font-weight: 900;
	font-size: 29.17px;
	letter-spacing: -0.005em;
	}



/*  8.7. What They’re Saying
-------------------------------------------------------*/

#testi {
	margin-inline: auto;
	padding-block: 21px;
	width: var(--width-center-section);
	text-align: center;
	}

#testi h1 {
	align-items: center;
	row-gap: 8px;
	}

#testi dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 41px;
	gap: 74px;
	}

#testi dl > div {
	width: 326px;
	}

#testi dt {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 21px;
	font-weight: 900;
	font-size: 25px;
	line-height: 1.0832;
	letter-spacing: 0.015em;
	text-transform: uppercase;
	}

#testi dt img {
	border-radius: 50%;
	}

#testi dt + dd {
	margin-bottom: 30px;
	min-height: 54.6px;
	font-size: 25px;
	line-height: 1.0832;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	}

#testi dd blockquote {
	font-weight: 500;
	font-size: 35.42px;
	line-height: 1.235;
	letter-spacing: -0.01em;
	}

#testi dd blockquote::before {
	content: "“";
	}

#testi dd blockquote::after {
	content: "”";
	}



/*  8.8. Your Support Matters
-------------------------------------------------------*/

#support {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	margin-inline: auto;
	padding-block: 36px;
	width: min(1020px, 100% - var(--dist-min-cont-edge) * 2);
	}

#support .w {
	margin-top: 14px;
	width: 47%;
	}

#support .w h1 {
	font-size: 52.08px;
	}

#support .w p {
	margin-top: 18px;
	font-size: 31.25px;
	letter-spacing: -0.01em;
	}

#support .w::after {
	content: "";
	display: block;
	/* margin-top: 33px;
	width: 129px;
	height: 79px;
	background: 0 -35px no-repeat url(../img/sprite.png); */
	}



/*  8.9. presentation video 3
-------------------------------------------------------*/

#presentation-3 {
	display: block;
	width: 100%;
	}



/*  8.10. About Sound of Hope
-------------------------------------------------------*/

#about {
	display: flex;
	justify-content: space-between;
	margin-inline: auto;
	padding-block: 61px;
	width: min(1050px, 100% - var(--dist-min-cont-edge) * 2);
	}

#about .w {
	width: 50%;
	}

#about .w h1 {
	margin-bottom: 22px;
	font-size: 52.08px;
	}

#about .w h1::before {
	content: none;
	}

#about .w p {
	font-size: 31.25px;
	letter-spacing: -0.01em;
	}

#about .w p + p {
	margin-top: 24px;
	}

#about .tabs.donation {
	margin-top: 5px;
	}



/*  9. content info
-------------------------------------------------------*/

#contentinfo {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 76px;
	padding-inline: var(--padding-inline-center-content);
	height: 135px;
	border-top: 1px solid #d1d2d4;
	}



/* 10. responsive (1023px)
-------------------------------------------------------*/

@media (max-width: 1023px) {

/*  4. default - heading  */

h1 {
	font-size: 34px;
	}


/*  4. default - donation tabs  */

.tabs.donation h1 {
	margin-top: 25px;
	}

.tabs.donation input[type="text"] {
	margin-top: 25px;
	}

.tabs.donation form {
	padding-bottom: 25px;
	}

.tabs.donation fieldset label {
	padding-top: 1px;
	}


/*  4. default - videos  */

.video-wrapper button img {
	width: 120px !important;
	}



/*  7. banner  */

#banner {
	height: 60px;
	}

#banner > a {
	position: static;
	margin-top: 10px;
	}

#banner > a img {
	width: 110px;
	height: auto;
	}

#banner > p {
	margin-top: 16px;
	margin-inline: 15px auto;
	font-size: 24px;
	}

#banner .radio-menu-widget {
	margin-top: 17px;
	}


/*  8.1. welcome  */

#welcome {
	display: flex;
	flex-direction: column;
	padding-top: 30px;
	}

#welcome :nth-child(1).w {
	display: contents;
	}

#welcome :nth-child(2).w {
	display: contents;
	}

#presentation-1 {
	order: 1;
	margin-inline: calc(-1 * var(--dist-min-cont-edge));
	width: calc(100% + 2 * var(--dist-min-cont-edge));
	max-width: none;
	}

#protect {
	order: 2;
	margin-top: 30px;
	margin-bottom: 0;
	}

#change {
	order: 3;
	margin-top: 40px;
	margin-bottom: 30px;
	}

:is(#change, #protect) h1 {
	font-size: 34px;
	}

:is(#change, #protect) p {
	font-size: 26px;
	}

#change::after {
	content: none;
	}

#welcome .tabs.donation {
	order: 4;
	}


/*  8.3. How Donating will Make a Difference  */

#diff dl {
	gap: 50px;
	}


/*  8.4. Help Sound of Hope Save Lives  */

#help {
	display: block;
	}

#help .w {
	margin-top: 0;
	margin-bottom: 30px;
	width: auto;
	}

#help .w h1 {
	row-gap: 5px;
	font-size: 34px;
	}

#help .w p {
	margin-top: 18px;
	font-size: 26px;
	}

#help .w::after {
	content: none;
	}


/*  8.5. Help Sound of Hope Save Lives  */

#why dl {
	margin-top: 35px;
	gap: 50px;
	}


/*  8.6. Make a stand against the CCP  */

#stand {
	display: block;
	padding-top: 40px;
	}

#stand .w {
	width: auto;
	}

#stand .w h1 {
	font-size: 34px;
	}

#stand .w p {
	font-size: 26px;
	}

#stand dl {
	margin-top: 30px;
	padding-right: 0;
	}


/*  8.7. What They’re Saying  */

#testi dl {
	gap: 50px;
	}

#testi dt + dd {
	margin-bottom: 20px;
	min-height: 0;
	}

#testi dd blockquote {
	font-size: 30px;
	}


/*  8.8. Your Support Matters  */

#support {
	display: block;
	margin-top: 15px;
	padding-bottom: 60px;
	}

#support .w {
	margin-top: 0;
	margin-bottom: 30px;
	width: auto;
	}

#support .w h1 {
    row-gap: 8px;
	font-size: 34px;
	}

#support .w p {
    font-size: 26px;
	}

#support .w::after {
	content: none;
	}


/*  8.10. About Sound of Hope  */

#about {
	display: block;
	padding-block: 30px;
	}

#about .w {
	width: auto;
	}

#about .w h1 {
	margin-bottom: 18px;
	font-size: 34px;
	}

#about .w h1::before {
	content: none;
	}

#about .w p {
	font-size: 26px;
	}

#about .w p + p {
	margin-top: 18px;
	}

#about .tabs.donation {
	margin-top: 30px;
	}


/*  9. content info  */

#contentinfo {
	margin-top: 30px;
	height: 70px;
	}

#contentinfo img {
	width: 100px;
	height: auto;
	}

}