/* ====== CONTAINS TABS & DOWNLOAD BUTTON ====== */
.tab-container {
	width: 100%;
	margin-inline: auto;
	height: 50px;
	display: grid;
	grid: auto / 4fr 1fr;
	border-radius: 0 0.5em 0.5em 0;
}

/* pressured tabs */
.pressured {
	background-image: linear-gradient(
		to bottom in oklch,
		#0073dc,
		#3f94f4,
		#81befc
	);
}
.pressured > .tab-link:hover,
.pressured > .current {
	background: #08408f;
}

/* bargain tabs */
.bargain {
  background-image: linear-gradient(
    to bottom in oklch, 
    #FFE8B8, 
    #fdd377
  );
}
.bargain > .tab-link:hover,
.bargain >  .current {
  background: #D65E1B;
}

/* identicode tabs */
.identicode {
  background-image: linear-gradient(
    to bottom in oklch, 
    #b3d8f5, 
    #7dbdee
  );
}
.identicode > .tab-link:hover,
.identicode >  .current {
  background: #1874ba;
}

/* plaques tabs */
.plaques {
  background-image: linear-gradient(
    to bottom in oklch, 
    #fecaee, 
    #fb8fdb
  );
}
.plaques > .tab-link:hover, 
.plaques >  .current {
  background: #fb5ccb;
}

/* words tabs */
.words {
  background-image: linear-gradient(
    to bottom in oklch, 
    #f3dcbd, 
    #e0ac60
  );
}
.words > .tab-link:hover, 
.words >  .current {
  background: #222222;
}

/* ======= HOLDS DOWNLOAD BUTTON ======= */
.download-button {
	place-self: end center;
	margin: 0;
	padding: 5px;
}

/* ==============
    THE TABS
============== */
ul.tabs {
	height: 50px;
	list-style: none;
	font-size: 14pt;
	line-height: 1.6;
}
li.current:last-child,
li.current:not(:last-child) {
	color: #fff;
}
ul.tabs li {
	display: inline-block;
	height: 50px;
	padding: 8px 15px;
	color: #222;
	cursor: pointer;
}
ul.tabs,
.tab-link {
	transition: 0.5s ease-in-out;
}
.tab-link:hover {
	color: #fff;
}

/* ====================
    TABS CONTENT
==================== */
.tab-content {
	display: none;
	padding: 15px;
	background: white;
	h4 {
		font-size: 1.05rem;
	}
	.answer {
		padding-inline-start: 0.5em;
	}
}
.tab-content.current {
	display: inherit;
	animation: fade forwards 0.75s ease-out;
}


#features > p::before {
	margin-right: 10px;
	font-size: 1.25rem;
}

@keyframes fade {
	0% {
		transform: translateY(0.7rem);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
/* ========================
        END TABS NAV
======================== */

@media screen and (width <=800px) {
	.download a {
		width: 100%;
		line-height: 1.1;
	}
	.download a img {
		display: block;
		width: 100%;
	}
}
@media screen and (width <=950px) {
	.download-button {
		margin: 0 auto;
	}
	ul.tabs,
	.tab-container {
		height: auto;
		margin: 0 auto;
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
		background: white;
	}
	ul.tabs {
		width: 100%;
		background: white;
	}
	ul.tabs,
	ul.tabs li {
		height: auto;
	}
	ul.tabs li {
		width: 23%;
		margin: 3px;
		padding: 2px;
		text-align: center;
		border: 1px solid #202744;
		border-radius: 5px;
	}
}
@media screen and (width <=550px) {
	ul.tabs li {
		width: 45%;
	}
}
