@charset "utf-8";


/* Reset */

*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
	padding: 0;
	font: inherit;
}
html {
	hanging-punctuation: first last;
	scroll-behavior: smooth;
}
body {
	min-height: 100svh;
	font-family: Raleway;
  line-height: 1.5;
  font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p {
	text-wrap: pretty;
  overflow-wrap: break-word;
	border-radius: 8px;
}
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
li {
	text-wrap: pretty;
}
a {
	white-space: nowrap;
}
#root, #__next {
  isolation: isolate;
}



/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v29/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v29/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v29/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v29/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v29/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* General */

#site-container {
	display: block;
	margin: auto;
	width: 100%;
	max-width: 1200px;
	padding: 0 10px;
	border: 1px solid #DDE5F1;
}

p {
  font-size: clamp(22px, 2vmin, 42px);
	margin: 0.8rem;
}

a {
	font-weight: bold;
}
a:hover {
	text-decoration: none;
}


h1 {
	text-align: center;
  font-size: clamp(30px, 2vmin, 42px);
	color: white;
	background-color: #439298;
	padding: 12px 20px;
	box-shadow: 8px 8px 10px rgb(0,0,0,0.3);
	margin-top: 2rem;
}

h2 {
	text-align: center;
  font-size: clamp(24px, 2vmin, 38px);
	font-weight: bold;
}




/* Header */

header {
	container: myheader / inline-size;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: auto;
	justify-items: stretch;
	align-items: stretch;
	/* grid-template-rows: repeat(5, 1fr); */
	/* background-color: #F2EEDD; */
	/* height: clamp(250px, 300px, 400px); */
	border: 2px solid #439298;

	& .image {
		grid-column: 1 / 2; */
		grid-row: 1 / 1; */
	}

	& .title {
		grid-column: 2 / -1;
		grid-row: 1 / 2;
	}
}


@container myheader (inline-size < 600px) {

	header {
		border: 5px dotted red;

		& .image {
			grid-column: 1 / 3;
			grid-row: 1 / 2;
		}

		& .title {
			grid-column: 1 / 3;
			grid-row: 1 / 2;
			opacity: 0.85;
		}
	}

}
	



/* Navigation */

nav {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
	color: white;
	background-color: #439298;
	font-size: 1.2rem;
	font-weight: normal;

	& a {
		padding: 10px 14px;
		text-decoration: none;
		font-weight: normal;
	}

	& a:hover {
		color: white;
		background-color: #4571AF;
	}

}




/* Search Engine Lists */

.card-list-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	/* grid-template-columns: repeat(3, 1fr); */
	grid-auto-rows: auto;
	grid-gap: 30px;

}

.card {
	display: flex;
	flex-direction: column;
	border: 1px solid #439298;
	text-decoration: none;
	box-shadow: 4px 4px 12px #888;
	border-radius: 8px;

	& .header-container {
		order: 1;
		display: flex;
		flex-direction: column;
		background-color: hsl(184, 56%, 60%, 0.5); 
		padding: 5px;
		flex: 0 1;

		& .header {
			white-space: wrap;
			margin: 0;
			text-align: center;
			color: black;
			font-size: 2rem;
		}

		& .subheader {
			white-space: wrap;
			margin: 0;
			text-align: center;
			color: black;
			font-size: 1.4em;
		}
	}

	& .logo-container {
		order: 2;
		height: 80px;
		display: block;
		margin: auto;
		padding: 10px 15px;

		& .logo {
			height: 100%;
			object-fit: scale-down;
		}
	}
	

	& .description {
		order: 3;
		font-size: 1.2rem;
		background-color: lightgray;
		margin: 0;
		padding: 0.8rem;
		flex: 1 1;
	}

}



/* Ad Card */

.a-card {
	display: block;
	height: 100%;
	width: 100%;
	border: 1px solid #439298;
	text-decoration: none;
	box-shadow: 4px 4px 12px #888;
	border-radius: 8px;

	/* background-color: red; */
	/* animation: fadeInOut 1s ease-in-out forwards; */
	transition: opacity 1s ease-in-out;

	/*
	opacity: 1;
	transition-duration: 300ms;
	transition-property: opacity;
	transition-timing-function: ease-in-out;
	*/
}

@keyframes fadeInOut {
	0%, 100% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
}




/* Footer */

footer {
	display: grid;
	justify-items: center;
	align-items: stretch;
	text-align: center;
	background-color: none;
	padding: 12px 20px;
	margin-top: 20px;
	border-top: 2px solid #439298;
	
	& p {
  	font-size: clamp(22px, 2vmin, 42px);
	}

}



/* Copy Site URL */

#SiteURL_TextBox {
  padding: 10px;
  font-size: 1.4rem;
	font-weight: bold;
	border-radius: 8px;
	margin-left: 10px;
	border: 2px solid lightgray;
}

#SiteURL_Button {
  padding: 10px;
  font-size: 1.4rem;
	font-weight: bold;
	border-radius: 8px;
	margin-left: 10px;
	border: 2px solid gray;
	background-color: #AFE4E8;
}




/* Scroll-To-Top Button */

#TopBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: #0c0c0d;
	background-color: rgb(0,0,0,0.3);
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 50%;
}

#TopBtn:hover {
	background-color: rgb(0,0,0,0.5);
}




/* Subsections */

.Welcome {
	font-weight: bold;
}

.SectionDescription {
	font-weight: bold;
}




/* Utility Classes */

.nowrap {
	white-space: nowrap;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

iframe {
	display: block;
	border: none;
	height: 100%;
	width: 100%;
	border-radius: 8px;
}

