*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Karla", sans-serif;
}

img {
	max-width: 100%;
	display: block;
}

/* Typography */

.cat-img {
	width: 80px;
}

.site-title {
	font-size: 1rem;
}

.accent-text {
	font-size: 1.75rem;
	display: block;
}

.selection-title {
	font-size: 1.1875rem;
	font-weight: 700;
	text-transform: capitalize;
}

.radios,
.gif {
	font-size: .875rem;
}

input[type="radio"] {
	cursor: pointer;
}

input[type="checkbox"] {
	accent-color: #777;
}

.btn {
	display: inline-block;
	background-color: #67595E;
	color: #EED6D3;
	border: none;
	padding: .5em 1.5em;
	border-radius: 5px;
	font: inherit;
	font-size: 1.5rem;
	text-transform: capitalize;
	cursor: pointer;
}

.btn:active {
	transform: scale(.95);
}

.highlight {
	background-color: #FFF0EE;
	color: #BD301D;
	font-weight: 900;
	accent-color: #BD301D;
}

/* Layout */

.container {
	max-width: 370px;
	margin: 0 auto;
	text-align: center;
}

.row {
	display: flex;
	align-items: center;
	column-gap: 1rem;
	justify-content: center;
}

.header {
	background-color: #67595E;
	color: #EED6D3;
}

.radios {
	max-width: 200px;
	margin: 0 auto 1rem;
	border: 1px #BCBCBC solid;
	border-radius: 5px;
}

.radio-box {
	display: flex;
	justify-content: space-between;
	padding: .5em;
}

.radio-box + .radio-box {
	border-top: 1px #BCBCBC solid;
}

.gif {
	display: flex;
	justify-content: center;
	gap: .25rem;
	margin-bottom: 1rem;
}

.meme-modal {
	background-color: #FFF0EE;
	width: 420px;
	height: 490px;
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	margin: 0 auto;
	border: 1px #67595E solid;
	border-radius: 5px;
	display: none; /* change to flex to appear */
	justify-content: center;
	align-items: center;
}

.meme-modal-close-btn {
	background: none;
	border: 2px solid #555;
	border-radius: 50%;
	padding: .25em .5em;
	position: absolute;
	right: 7px;
	top: 7px;
	cursor: pointer;
}

.meme-modal-close-btn:hover {
	background-color: #BD301D;
	color: #FFF;
	border: 2px solid #BD301D;
}

.meme-img {
	border-radius: 5px;
	max-width: 340px;
	max-height: 420px;
}
