@import url('https://fonts.googleapis.com/css2?family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Radio+Canada:ital,wght@0,300..700;1,300..700&display=swap');

/* Local self-hosted font: TAN Buster (placed in ./fonts/TAN-Buster-Font/) */
@font-face {
    font-family: 'TAN Buster';
	src: url('../assets/fonts/TAN-Buster-Font/TAN-BUSTER-Regular.woff2') format('woff2'),
			 url('../assets/fonts/TAN-Buster-Font/TAN-BUSTER-Regular.ttf') format('truetype'),
			 url('../assets/fonts/TAN-Buster-Font/TAN-BUSTER-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

header {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 1365px;
	aspect-ratio: 1365 / 2048;
	box-sizing: border-box;
	background-image: url('../assets/img/index/header-bg.webp');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;
	gap: clamp(0.5rem, 1.5vw, 1.5rem);
	padding: 0;
}

header h1,
header h2,
header h3 {
	margin: 0;
	display: flex;
	justify-content: center;
}

header h1 {
    padding-top: 500px;
}

@media (max-width: 768px) {
    header h1 {
        padding-top: 175px;
    }

    p, h1, h2, h3, h4 {
        padding: 0 20px;
		display: flex;
		justify-content: center;
		width: 100%;
    }

	
	header h1 img,
	header h2 img,
	header h3 img,
	header > img {
		display: block;
		max-width: 100%;
		width: 100%;
		height: auto;
		object-fit: contain;
	}

    .read-guide-btn {
	    background-image: linear-gradient(315deg, #27600a, #2c3a7a, #c70f0f);
        margin-top: -30px !important;
        margin-bottom: 30px;
    }
}

header h1 img,
header h2 img,
header h3 img,
header > img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

header h1 img {
	width: 70%;
}

header h2 img {
	width: 60%;
}

header h3 img {
	width: 40%;
}

header > img {
	width: 40%;
}

p {
	max-width: 800px;
	text-align: justify;
    font-family: "Montserrat", sans-serif;
    font-size: 1.25rem;
}

a {
	text-decoration: none;
	color: inherit;
    font-family: "TAN Buster", sans-serif;
    font-size: 2em;
    text-align: center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 100%;
}

h4 {
	text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5em;
}

button {
	border: none;
	cursor: pointer;
	transform: translateY(0);
	transition: transform 0.3s ease;
}

button:hover {
	transform: translateY(-5px);
	transition: transform 0.3s ease;
}

.read-guide-btn,
.donate-btn {
	border-radius: 50px;
	padding: 20px 5% 15px 5%;
	color: white;
}

.read-guide-btn {
	background-image: linear-gradient(315deg, #27600a, #2c3a7a, #c70f0f);
    margin-top: -100px;
    margin-bottom: 50px;
}

.donate-btn {
	background-image: linear-gradient(315deg, #c70f0f, #ff2d9b, #ff66c4);
}

.frontpage-divisor {
	width: 100%;
	height: 2px;
	background-image: url(../assets/img/main-div.svg);
	background-repeat: repeat-x;
}

.bizum-section {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.bizum-section img {
	width: 200px;
	height: auto;
}

.team-section {
	display: flex;
    flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
	margin-top: 20px;
}

.team-member {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.team-member img {
	width: 300px;
	height: auto;
	border-radius: 10px;
}

.team-member h5 {
	text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.25em;
    margin: 1rem 0 0 0;
}

.read-guide-btn a,
.donate-btn a {
	display: block;
}

p.small {
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;
}

img.stc-logo {
    width: 20%;
    height: auto;
    margin-bottom: 20px;
}


footer {
    background-color:hsla(0, 0%, 100%, 0.5);
    backdrop-filter: blur(10px);
    border-top: solid 1px grey;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-top: 50px;
}

.footer {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    color: black;
    margin: 5px 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.socials, .legals {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.socials {
    text-align: left;
    width: 50%;
}

.legals {
    text-align: right;
    width: 50%;
}

.legals > * {
    align-self: flex-end;
}

a.footer, p.footer {
    width: auto;
    padding: 1%;
    margin: 1%;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
}

section {
	margin-top: 50px;
}

h2 {
	margin-top: 100px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 2rem;
}