@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap");

:root {
	--cor: #1b1926;
	--cor1: #400101;
	--cor2: #730202;
	--cor3: #a61103;
	--cor4: #f21905;
	--font: "Oswald", sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.frases {
	text-shadow: 2px 2px 10px black;
	padding: 20px;
}

.dicas {
	padding: 15px;
}

.title {
	color: yellow;
	text-decoration: overline;
	text-align: center;
	margin: 20px 0;
	padding: 10px;
}

.fotosPilotos {
	background-size: contain;
	height: 250px;
	box-shadow: inset 6px 6px 13px 0px black;
}
.card {
	text-align: center;
	font-size: 1em;
	background-color: var(--cor);

	width: 30vw;
	height: 25vh;
	padding: 5px;
	display: inline-block;
	margin: 10px 15px;
	border-radius: 12px;
}

.logo {
	height: 15vh;
	margin: auto;
	border-radius: 10px;
}

.card1-header {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.card-header1 h3,
button {
	color: white;
	background-color: rgba(0, 0, 0, 0.389);
	border: none;
	border-radius: 7px;

	padding: 2px;
}

.card1 {
	color: white;
	background-color: var(--cor);
	text-align: justify;
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.75);
	border-radius: 7px;

	height: 90vh;
	width: 90vw;
	padding: 12px;

	display: none;
	flex-flow: column wrap;
	justify-content: start;
	align-items: start;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	overflow: hidden;
}

.card1 ul {
	list-style: none;
	margin: 0;
}

.card1 img {
	width: 100%;
	border-radius: 7px;
}

abbr {
	text-decoration: none;
}

hr {
	margin: 10px auto;
}

a {
	color: yellow;
}

a:hover {
	color: yellowgreen;
	text-decoration: overline;
}

body {
	font-family: var(--font), Arial, Helvetica, sans-serif;
	text-align: justify;
	color: white;
	background-color: var(--cor2);
}

header {
	color: white;
	text-align: center;
	background-color: var(--cor);
	box-shadow: 5px 3px 10px black;

	position: fixed;
	top: 0;
	left: 0;
	height: 93px;
	width: 100%;
}

header h1,
nav {
	margin-top: 5px;
}

nav li,
a {
	text-decoration: none;
	list-style: none;
	display: inline-block;
	margin-left: 8px;
	margin-right: 10px;
}

#introducao {
	padding: 15px;
	margin-top: 100px;
}

#showromCarros {
	background: url("../imagens/f1Car.webp") center top no-repeat fixed;
	height: 300px;
	box-shadow: inset 6px 6px 13px 0px black;
}

#melhoresPilotos p {
	margin-left: 10px;
	padding: 15px;
}

#melhoresPilotos h3 {
	text-align: center;
	background-image: linear-gradient(to right, #1b1926, #0d0c12);

	width: 200px;
	padding: 5px;
	border-radius: 0 10px 10px 0;
}

#ayrtonSenna {
	background: url("../imagens/ayrton.webp") center top no-repeat fixed;
}

#lewisHamilton {
	background: url("../imagens/hamilton.webp") center center no-repeat fixed;
}

#michaelSchumacher {
	background: url("../imagens/schumacher.webp") center top no-repeat fixed;
}

#melhoresEquipes {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

#mercedesLogo {
	background: black url("../imagens/mercedes-logo.webp") center center no-repeat;
	background-size: cover;
}

#ferrariLogo {
	background: black url("../imagens/ferrari-logo.webp") center center no-repeat;
	background-size: cover;
}
#mclarenLogo {
	background: black url("../imagens/mclaren-logo.webp") center center no-repeat;
	background-size: cover;
}
#williamsLogo {
	background: black url("../imagens/williams-logo.webp") center center no-repeat;
	background-size: cover;
}

#pistas {
	margin: 10px 15px;
}

#pistas p {
	margin-bottom: 20px;
}

#pistas h3 {
	color: yellow;
	text-decoration: overline;
	padding: 7px;
}

#historias {
	background-color: var(--cor4);
}

#historias h2 {
	text-align: center;
	padding: 10px;
}

#historias h3 {
	text-align: center;
	font-size: 1em;
	padding: 7px;
}

#historias article {
	color: black;
	background-color: white;

	width: 70vw;
	margin: 7px auto;
	border-radius: 5px;
	padding: 25px;
}

#historias a {
	color: darkblue;
}

#historias img {
	border-radius: 7px;
	width: 100%;
}

footer {
	background-color: var(--cor);
	text-align: center;
	line-height: 25px;

	width: 100%;
	height: 80px;
}

footer li {
	text-decoration: none;
	list-style: none;

	display: inline-block;
	margin: 8px 10px;
}
