
body {
	background-color: rgb(247, 248, 248);
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	padding: 0 1rem;
}

.logo-container {
	text-align: center;
}
.logo-container img {
	width: 210px;
}
.logo-container h1 {
	font-size: 4rem;
    font-family: "Amatic SC";
    font-weight: 700;
}

h2 {
    font-family: Ubuntu;
    font-weight: bold;
    font-size: 30px;
}

header {
	display: flex;
	align-items: center;
	padding: 1.5rem 0px;
	justify-content: space-around;
}

.nav-container {
	max-width: 100%;
	overflow: hidden;
	width: 100%;
}

.nav-links-container {
	display: flex;
	float: right
}

.nav-links-container a {
	border-width: 2px; 
	color: rgb(22, 29, 56);
	font-size: 1.25em;
	font-family: "Titillium Web";
	font-weight: normal;
	text-align: center;
	line-height: 1.1;
	border-color: rgb(247, 248, 248);
	border-style: solid;
	border-radius: 0px;
    padding: 1rem;
    text-decoration: none;
}

.nav-links-container a.selected,
.navbar-light .navbar-nav .active>.nav-link
 {
    color: rgb(247, 248, 248);
    border-color: rgb(22, 29, 56);    
    background-color: rgb(22, 29, 56);
}

.slogan-container {
	background-color: #194F5A;
	padding: 3rem 0;
    color: rgb(247, 248, 248);
    font-size: 4.6875em;
    text-align: center;
    font-family:"Amatic SC"; 
    font-weight: bold;
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: normal;
}

.slogan-container p {	
    margin: 0;
    padding: 0;
	font-size: 70px;
    font-weight: 700;
}

main {
	max-width: 1236px;
	margin: 0 auto;
	flex: 1;
}
 
.home-tips-container-main,
.home-tips-container-secondary .tips-container {
	padding: 1.5rem 0;
	display: flex;
	gap: 1.5rem;
}

.home-tips-container-tertiary .tips-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 1fr;
	grid-gap: 1.5rem;	
}

.home-tips-container-main .tips-container-main {
    width: 60%;
}

.home-tips-container-main aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    width: 40%
}

.tip-container.main {
	flex-grow: 1;
	width: 100%;
}

.tip-container img {
	aspect-ratio: 4 / 3;
	cursor: pointer;
    -o-object-fit: cover;
    object-fit: cover;
	border-radius: 0.375rem;
	max-width: 100%;
	width: 100%;
	max-height: 100%;
}

.tip-text-container {
	margin-top: 1.5rem;
	text-align: center;
}

.tip-container.main .tip-text-container {
	text-align: left;
}

.tip-text-container h3 {
    font-size: 1.5625em;
    font-family: Ubuntu;
    font-weight: bold;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: normal;
	margin-bottom: 0.75rem;
}

.tip-text-container h3 a,
.tip-text-container p a {
	color: rgb(22, 29, 56);
	text-decoration: none;
}

.tip-text-container p {
	color: rgb(22, 29, 56);
    font-size: 1.25em;
    font-family: "Titillium Web";
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: normal;
	margin: 0;
}

/**** SUBSCRIBE ****/
.subscribeBanner {
	background-color: rgb(22, 29, 56); container-type: inline-size; display: flex; gap: 1.5rem;
}

.subscribeBanner .leftCol {
	width: 50%; background-color: white; text-align: center;
}

.subscribeBanner .rightCol {
	color: rgb(247, 248, 248); font-size: 1.875em; text-align: center; font-family: Jost; line-height: 1.5; overflow-wrap: anywhere; word-break: normal; width: 50%; padding: 1.5rem;
}

.subscribeTitle {
	margin: 0; font-size: 70px;
}
.subscribeSubtitle {
	color: rgb(22, 29, 56); font-size: 1.875em; text-align: center; font-family: Jost; line-height: 1.5;
}

.subscribeUnsubscribeButton {
	cursor: pointer; margin-top: 1rem; border: 0;color: rgb(22, 29, 56); border-color: rgb(0, 84, 87); border-radius: 0px; background-color: rgb(247, 248, 248); font-size: 2em; font-family: Lato; line-height: 1.5; letter-spacing: 0.02em; text-align: center; overflow-wrap: anywhere; word-break: normal;
}

.subscribeUnsubscribeButton:hover {
	color: rgb(247, 248, 248);
    border-color: rgb(22, 29, 56);
    background-color: rgb(22, 29, 56);
} 

.privacyTitle {
	text-align: center;
}

footer {
    font-family: "Titillium Web";
    container-type: inline-size; background-color: rgb(22, 29, 56); padding: 1.5rem; color: #fff;
}

footer div {
	max-width: 1236px;
    margin: 0 auto;
	text-align: center;
}

article#articleDetail #imageContainer img {
	max-width: 100%;
	margin-bottom: 2rem;
	width: 600px;
}

#pagination {
	justify-content: center;
	margin: 1rem 0;
	font-size: 1.3em;
}

#pagination .page-item .page-link {
	border: none;
    background: transparent;
    color: rgba(0, 0, 0, .7);
}

#pagination .page-item .page-link:hover,
#pagination .page-item.active .page-link {
	cursor: pointer;
	color: rgb(247, 248, 248);
    border-color: rgb(22, 29, 56);
    background-color: rgb(22, 29, 56);;
}


@media only screen and (max-width: 850px) {
	
	.slogan-container {
		padding: 1rem 0;
	}
	
	.slogan-container p {
		font-size: 2rem;
	}
	
	.home-tips-container {
		flex-direction: column;
	}
	
	.home-tips-container-main aside {
		display: none;
	}
	
	.home-tips-container-main .tips-container-main {
		width: 100%;
		padding: 0 1rem;
	}
	
	.home-tips-container-secondary .tips-container {
		flex-direction: column;
	}
	.home-tips-container-tertiary .tips-container {
		grid-template-columns: repeat(1, 1fr);
	}
	
}

@media only screen and (max-width: 414px) {
		
	.slogan-container p {
		font-size: 1.5rem;
	}
		
	/**** SUBSCRIBE ****/
	.subscribeBanner .leftCol  {
		display: none;
	}
	.subscribeBanner .rightCol {
		width: 100%;
		font-size: 13px;
	}	
	.subscribeTitle {
		margin: 1rem 0; font-size: 20px;
	}
	
	.subscribeSubtitle {
		font-size: 1rem;
	}
}


